+ 3

How to add videos in html?

Can anyone tell me how to add video in html?

1st Dec 2016, 10:36 PM
Shruti
1 Odpowiedź
+ 4
you can use <iframe> or <embedd> or <video> tags example: <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> ------------------ RECOMMENDED ----- <iframe width="560" height="315" src="https://www.youtube.com/embed/bWPMSSsVdPk" frameborder="0" allowfullscreen></iframe> -------------- <embed width="420" height="315" src="https://www.youtube.com/embed/bWPMSSsVdPk">
1st Dec 2016, 10:39 PM
Nedim Kanat
Nedim Kanat - avatar