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

Issue

On the front page of this website, there is a sticky post titled “National Radio Advertising Campaign ForACURE” which contains the following HTML:

<embed type="audio/x-wav" src="http://www.foracure.org.au/wp-content/uploads/FOR-A-CURE-RADIO-Daniel-45sec.mp3" autoplay="false" height="20" width="200" autostart="false">

However, when I load this website in Chrome v31.0.1650.57 m, the audio plays automatically, even though both autoplay and autostart are set to false.

Is there a better cross browser method of embedding this audio?

Solution

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)

Answered By – Esteban R V

Answer Checked By – David Goodson (AngularFixing Volunteer)

Leave a Reply

Your email address will not be published.