+ 8

How to add video to a html webpage

10th Nov 2016, 5:04 AM
David Kariuki
David Kariuki - avatar
4 odpowiedzi
+ 14
<video width="320" height="240" controls> <source src="movie.mp4" type="video/mp4"> <source src="movie.ogg" type="video/ogg"> Your browser does not support the video tag. </video>
10th Nov 2016, 5:04 AM
David Kariuki
David Kariuki - avatar
+ 5
i also recommend that if the video doesn't work for the user, provide the link to the video that way they can see it.
10th Nov 2016, 1:48 PM
Aquarius
Aquarius - avatar
+ 1
:D upload the video to YouTube and use the embed
17th Nov 2016, 9:59 PM
Ola
Ola - avatar
0
I recommend video width set to 100℅ to make it responsive or follow it container width.
19th Nov 2016, 10:50 AM
Rusydi Hasan
Rusydi Hasan - avatar