+ 2

Autoplay not working in chrome!

html5 video tag not working in chrome browser for example i give var video = document.getElementById ('test'); video.autoplay = true; video.load (); its not working me any one help me!!!..

12th Jun 2018, 6:05 PM
Selva kumar M
Selva kumar M - avatar
2 Answers
+ 2
try var video = document.getElementById ('test'); video.play();
12th Jun 2018, 6:30 PM
Sudarshan Rai
Sudarshan Rai - avatar
0
hi sudharshan im also put this code for video.play (); but its not working me..!!
13th Jun 2018, 4:45 AM
Selva kumar M
Selva kumar M - avatar