Skip to content

How to embed a local video #3147

Discussion options

You must be logged in to vote

According to the following article:

The most common video formats are mp4 and webm. Supposedly flac and ogg are also supported by all browsers. But I'd go with mp4.

The video files can be placed anywhere in the public folder. They are referenced by URLs starting with /.

<source src="/path/to/video.mp4" type="video/mp4" />

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by dimaMachina
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants