0

how do i put video in a site?

i haven't unlocked HTML 5 but i just wanted to try so i went to w3school and tried their video HTML code but it didn't work! help!

20th Mar 2018, 5:30 AM
TunMc
TunMc - avatar
1 Answer
+ 1
html5 <video> element works fine with <source> element and it doesn't need any plugins to run OR you can use iframe to embed youtube videos in your webpage if you want. example :- try this code into your html body <iframe width="300" height="180" src="https://www.youtube.com/embed/D86RtevtfrA" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>
22nd Mar 2018, 4:52 PM
Prateek Narang
Prateek Narang - avatar