autoplay in audio works only once
hi there,
I integrated audio in a book, which works fine.
Now I use the autoplay attribute to make the file play each time you flip to that page. so it should play each time this short page shows on the screen.
But this works only once. Then you have to close the book and open it again to hear the sound.
Here is my code:
<audio autoplay="autoplay" loop="0" preload="auto">
<source src="test.mp3" type="audio/mp3"/>
</audio>
I've played around with loop and preload, but always the same. autoplay="true" makes no difference. The sound plays once, then never again until I re-open the book.
Does someone has a clue?
Thanks
|