How do I remove the autoplay from an embed?


I have the following html code:

<embed width="320" height="50" pluginspage="" src="" play="false" loop="false" type="application/x-shockwave-flash" menu="false" title="Streaming HD By GLOBALHOST" autoplay="false"></embed>

I have the code with autoplay="false" and still it keeps playing.

asked by mestanza 10.11.2016 в 15:56

3 answers


You can try with autostart="0" or autostart="1" .

You can also try removing the autoplay value from the tag so it does not load automatically.

It seems that the problems in assigning true or false is due to Google Chrome that does not detect them.

Reference: HTML embed autoplay="false", but still plays automatically

answered by 10.11.2016 / 16:05

By the simple fact that the attribute is there, some browsers will take it as true and execute it.

Simply remove the attribute from the html. Or if it serves you better, by javascript:

answered by 10.11.2016 в 18:41

try using, it served me in google chrome and then let me know if it helped you

<video controls="" width="50%" height="50%" name="media"><source src="tuvideo.mp4" type="video/mp4"></video>
answered by 25.07.2018 в 08:44