Component props
OptionalautoPlay video immediately after loading? Default: false.
OptionalcontrolsTailwind classes for the controls component.
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.
OptionalhideHide the export buttons? Default: false.
OptionaliconStroke width for control icons.
Optionalloop?: booleanLoop the video? Default: false.
OptionalonCalled after export.
OptionalonCalled before export.
OptionalonOnLoading callback function.
Optionalparams?: anyVideo template params. Default; {}.
URL to the video template.
OptionalvideoString to prefix exported video file names with. default: js2video.
JS2Video Component