View Full Version : audio stops when new html file opens


bhuvana786
06-30-2011, 05:50 AM
Hi,

I've created an epub with audio embedded. The audio present in title page(Separate html) and the epub contains other pages like copyright, chapters and backmatter as individual html files. If i click on the audio, which is on title page, audio starts playing. But if scroll down to the next page (which is actually another html document ex: chapter1.html), the audio gets stopped here.

I would like to have the audio played through the book when the user scrolls to the pages. It should stop only when i click stop button.

Can anyone help me how to get this done?

thanks,
bhuvana

SamL
06-30-2011, 12:53 PM
how exactly are you linking the audio? Could you post some code?

bhuvana786
07-15-2011, 06:52 AM
I'm linking audio as follows:

<audio id="audio2" src="Track01.mp3" controls="controls"></audio>