HTML Embed Autoplay="False", But Still Plays Automatically

HTML embed autoplay=false, but still plays automatically

Chrome doesn't seem to understand true and false.
Use autostart="1" and autostart="0" instead.


Source: (Google Groups: https://productforums.google.com/forum/#!topic/chrome/LkA8FoBoleU)

How to stop auto play of embedded video?

The link you have as the source for the iFrame is a link to a web page, not to a video.

You can see this by loading the link in a browser and then 'inspecting' the page with developer tools.

That web page then contains the link to video itself and a player, which has autoplay set so the video starts immediately.

If you have access to the video link then you may find it easier to add it to your own page - the video looks like at least one version of it is a HLS file so you will need either a JavaScript web player or a browser which supports HLS natively - using a player is safer as it offer wider support.

HTML 5 Video autoplay not automatically starting in CHROME

You need to add playsinline autoplay muted loop because Chrome does not allow a video to autostart if it is not muted. Also, right now I don't know why it is not working in all Android devices. I'm trying to look if it's version specific, if I find something I'll let you know.

Chrome issue:
After some research I have found that it doesn't work on Chrome sometimes because in responsive you can activate the data saver, and it blocks any video to autostart.

HTML5 Video Autoplay not working correctly

Try autoplay="autoplay" instead of the "true" value. That's the documented way to enable autoplay. That sounds weirdly redundant, I know.



Related Topics



Leave a reply



Submit