🎥 Make videos programmatically with React
fix nonce after video props
Jonny Burgerff8f22e331cd
diff --git a/packages/core/src/video/props.ts b/packages/core/src/video/props.tsindex 1cb859ed5f..7cef4ba8cd 100644--- a/packages/core/src/video/props.ts+++ b/packages/core/src/video/props.ts@@ -11,7 +11,7 @@ export type RemotionVideoProps = Omit<React.VideoHTMLAttributes<HTMLVideoElement>,HTMLVideoElement>,- 'autoPlay' | 'controls' | 'onEnded'+ 'autoPlay' | 'controls' | 'onEnded' | 'nonce'> & {volume?: VolumeProp;playbackRate?: number;diff --git a/packages/example/package.json b/packages/example/package.jsonindex 7c7a89fcd3..ff6bb33294 100644--- a/packages/example/package.json+++ b/packages/example/package.json@@ -44,7 +44,7 @@"@types/node": "^16.7.5","@types/react": "18.0.23","@types/styled-components": "^5.1.1",- "@types/web": "0.0.48",+ "@types/web": "0.0.78","babel-loader": "^8.2.2","lottie-web": "^5.9.6","mdx-loader": "3.0.2",diff --git a/packages/three/package.json b/packages/three/package.jsonindex af15b37845..5d293db759 100644--- a/packages/three/package.json+++ b/packages/three/package.json@@ -35,7 +35,7 @@"@types/react": "18.0.23","@types/react-reconciler": "^0.26.4","@types/three": "^0.134.0",- "@types/web": "0.0.48",+ "@types/web": "0.0.78","eslint": "8.25.0","prettier": "^2.7.1","prettier-plugin-organize-imports": "^2.3.4",diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex 1c5134bbb0..ad2172b3e3 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -418,7 +418,7 @@ importers:'@types/node': ^16.7.5'@types/react': 18.0.23'@types/styled-components': ^5.1.1- '@types/web': 0.0.48+ '@types/web': 0.0.78'@typescript-eslint/eslint-plugin': 5.18.0'@typescript-eslint/parser': 5.18.0babel-loader: ^8.2.2@@ -460,7 +460,7 @@ importers:'@types/node': 16.10.2'@types/react': 18.0.23'@types/styled-components': 5.1.14- '@types/web': 0.0.48+ '@types/web': 0.0.78babel-loader: 8.2.2_m3opitmgss2x7fiy6klia7uvaalottie-web: 5.9.6mdx-loader: [email protected]@@ -607,6 +607,8 @@ importers:'@remotion/renderer': link:../rendereraws-policies: 1.0.1mime-types: 2.1.34+ react: 18.0.0+ react-dom: [email protected]remotion: link:../coredevDependencies:'@jonny/eslint-config': 3.0.266_t54va6jeo5lf3vtqih5uiyrm5e@@ -617,8 +619,6 @@ importers:eslint: 8.25.0prettier: 2.4.1prettier-plugin-organize-imports: 2.3.4_pxx7xhvr2bexxfjjff3nukai7m- react: 18.0.0- react-dom: [email protected]ts-node: 10.8.0_ysvagj6uoj2jcpx4fli7niyicqtypescript: 4.7.2vitest: 0.24.3@@ -668,6 +668,8 @@ importers:remotion: 3.2.41typescript: ^4.7.0dependencies:+ react: 18.0.0+ react-dom: [email protected]remotion: link:../coredevDependencies:'@jonny/eslint-config': 3.0.266_t54va6jeo5lf3vtqih5uiyrm5e@@ -676,8 +678,6 @@ importers:eslint: 8.25.0prettier: 2.7.1prettier-plugin-organize-imports: 2.3.4_j2odc4yr77iddtreafyicbq5hi- react: 18.0.0- react-dom: [email protected]typescript: 4.7.2packages/motion-blur:@@ -927,7 +927,7 @@ importers:'@types/react': 18.0.23'@types/react-reconciler': ^0.26.4'@types/three': ^0.134.0- '@types/web': 0.0.48+ '@types/web': 0.0.78eslint: 8.25.0prettier: ^2.7.1prettier-plugin-organize-imports: ^2.3.4@@ -945,7 +945,7 @@ importers:'@types/react': 18.0.23'@types/react-reconciler': 0.26.4'@types/three': 0.134.0- '@types/web': 0.0.48+ '@types/web': 0.0.78eslint: 8.25.0prettier: 2.7.1prettier-plugin-organize-imports: 2.3.4_j2odc4yr77iddtreafyicbq5hi@@ -8585,8 +8585,8 @@ packages:resolution: {integrity: sha512-PBjIUxZHOuj0R15/xuwJYjFi+KZdNFrehocChv4g5hu6aFroHue8m0lBP0POdK2nKzbw0cgV1mws8+V/JAcEkQ==}dev: false- /@types/web/0.0.48:- resolution: {integrity: sha512-X5KKfR0MNm5ujo7421tVTF6n9MXh58DfWOuvPnuMAlr12vloTtyxJEC0rHVKIvcpqqoOJSrlkW2dMJjl9eK3Dg==}+ /@types/web/0.0.78:+ resolution: {integrity: sha512-1Apkpr0zolMDECgtokp9ztApWkdlg4Ey4UJ3sKHAGjCHoiUq1/kBd0lR+JxeHlQVqAC6tike7tUJ9uLbVNwsxQ==}/@types/webpack-env/1.16.2:resolution: {integrity: sha512-vKx7WNQNZDyJveYcHAm9ZxhqSGLYwoyLhrHjLBOkw3a7cT76sTdjgtwyijhk1MaHyRIuSztcVwrUOO/NEu68Dw==}