Component props
OptionalautoPlay video immediately after loading? Default: false.
OptionalenableEnables the template to be loaded and executed from outside an iframe. Use with caution, and only set to 'true' if you trust the template code as it enables code execution on the current page. Default: false.
Optionalloop?: booleanLoop the video? Default: false.
OptionalonA function that's called after the video is exported.
OptionalonA function that's called before the video is exported. Must return true for export to continue.
OptionalonOnLoading callback function.
Optionalparams?: anyVideo template params. Default; {}.
URL to the video template.
OptionalvideoString to prefix exported video file names with. default: js2video.
JS2Video Provider Component