cancel
Showing results for 
Search instead for 
Did you mean: 

Embedded <audio/> in HTML page has stopped working

Highlighted
Newbie
Posts: 4
Registered: ‎05-08-2007

Embedded <audio/> in HTML page has stopped working

Hello there,

My website has an .mp3 (duke.mp3) that plays automatically whenever anyone goes to the home page. Somehow this seems to have stopped working. The code is  : -

<iframe src="silence.mp3" allow="autoplay" id="audio" style="display:none"></iframe>

<audio id="player" autoplay>
<source src="./duke.mp3" type="audio/mpeg">
</audio>

Could it be something to do with autoplay? I don't know what to try so any pointers would be much appreciated.

Thanks

Michael