Skip to content

🎥 Make videos programmatically with React

1.3 KB
Raw Blame
'use strict';
(this['webpackChunk_remotion_example'] =
	this['webpackChunk_remotion_example'] || []).push([
	[46],
	{
		/***/ 3046:
			/***/ (
				__unused_webpack_module,
				__webpack_exports__,
				__webpack_require__,
			) => {
				__webpack_require__.r(__webpack_exports__);
				/* harmony export */ __webpack_require__.d(__webpack_exports__, {
					/* harmony export */ default: () => __WEBPACK_DEFAULT_EXPORT__,
					/* harmony export */
				});
				/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ =
					__webpack_require__(2386);
				/* harmony import */ var remotion__WEBPACK_IMPORTED_MODULE_1__ =
					__webpack_require__(4783);
				/* harmony import */ var remotion__WEBPACK_IMPORTED_MODULE_1___default =
					/*#__PURE__*/ __webpack_require__.n(
						remotion__WEBPACK_IMPORTED_MODULE_1__,
					);

				const IFrameTest = () => {
					const {width, height} = (0,
					remotion__WEBPACK_IMPORTED_MODULE_1__.useVideoConfig)();
					return /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0__.createElement(
						remotion__WEBPACK_IMPORTED_MODULE_1__.IFrame,
						{
							style: {width, height},
							src: 'https://remotion.dev',
						},
					);
				};
				/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ =
					IFrameTest;

				/***/
			},
	},
]);
//# sourceMappingURL=46.bundle.js.map