+ 1

How to stop Autoplay or autostart of video in a webpage??

I used this code -: <embed src="abc.mp4" autoplay="0" autostart="0" width="490" height="490"> </embed> I have even tried false instead of 0 but no difference the video starts when I load the webpage....😥😥😥I even googled this question and applied the solution "false" but the chrome doesn't apply that code....and the video auto starts

17th Apr 2017, 11:27 AM
Sonu Kumar Jha
Sonu Kumar Jha - avatar
5 Réponses
+ 22
use <video> tag instead...
17th Apr 2017, 11:35 AM
Valen.H. ~
Valen.H. ~ - avatar
+ 14
<video controls> <source src="http://www.sololearn.com/uploads/video.mp4" type="video/mp4"> <source src="http://www.sololearn.com/uploads/video.ogg" type="video/ogg"> Video is not supported by your browser </video>
17th Apr 2017, 11:43 AM
Sachin Artani
Sachin Artani - avatar
+ 13
Just remove it
17th Apr 2017, 11:49 AM
Sachin Artani
Sachin Artani - avatar
+ 1
can u plz write the code I will implement it right now???
17th Apr 2017, 11:37 AM
Sonu Kumar Jha
Sonu Kumar Jha - avatar
+ 1
nope autoplay didn't stop buddy
17th Apr 2017, 11:48 AM
Sonu Kumar Jha
Sonu Kumar Jha - avatar