Skip to main content

Video

Syntax:

<Video start={"my-video"}>
<source src={`${MEDIA_URL}/video/video.webm`} type="video/webm"/>
<source src={`${MEDIA_URL}/video/video.mp4`} type="video/mp4"/>
</Video>

Web Autoplay Policy#

Although it is possible to combine traditional videos with ractives using this component, the Web Autoplay Policy makes it complicated. The recommended solution is to extract the audio from your video and merge it with your main audio file, then use the audio-less video file.