Chrome doesn't support HTML5 properly video/audio tag autoplay doesn't work? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Chrome doesn't support HTML5 properly video/audio tag autoplay doesn't work?

HTML5 video tag not support autoplay how to overcome by using javascript

13th Jun 2018, 5:16 AM
Selva kumar M
Selva kumar M - avatar
2 Answers
+ 1
can you post your code here so community can help you
13th Jun 2018, 5:40 AM
Sudarshan Rai
Sudarshan Rai - avatar
0
<video id="test" class="fullwidth" src="http://techslides.com/demos/sample-videos/small.mp4" type ="video/mp4"></video> setTimeout(function (){ document.getElementById ('test').play (); }, 5000);
13th Jun 2018, 7:18 AM
Selva kumar M
Selva kumar M - avatar