The Video component is used to embed videos in your content. Set the src attribute to the video URL, which can be:
- A direct link to an MP4 file
- A video URL from popular platforms like YouTube or Vimeo
No additional processing is required—the system will automatically render it as an embedded video player.
Embedding an MP4 Video
Example:
Code Example:
<Video src="https://<any-video-url>" />
Embedding a YouTube Video
Code:
<Video src="https://www.youtube.com/watch?v=cb_VRYAXan4" />
Configuration options
src the src of the video or youtube link.