baker icon indicating copy to clipboard operation
baker copied to clipboard

Is there a way to have background music playing through multiple pages?

Open astroboyvn88 opened this issue 14 years ago • 3 comments

I am developing an interactive book and wondering how we can implement different background music for different pages?

For example I want from page 1 to page 10, the book plays music1.mp3 and from page 11 to 20, it plays music2.mp3.

Right now I can only embed music within the page itself which means when you swipe to other pages, the music from the previous page stops playing and the app starts playing the music from the current page. Well, this is not practically an ideal way of having background music, isn't it?

Hope you guys come up with a solution.

Cheers,

astroboyvn88 avatar Oct 06 '12 06:10 astroboyvn88

It's not possible right now, but we'll add it as a feature request. :)

Thanks. :)

folletto avatar Oct 07 '12 14:10 folletto

I wanted to do this too a while ago, and found it was possible to load a single mp3 using Javascript in index.html, which then plays throughout the entire book. But managing the audio thereafter is impossible. There was certainly no way of having different background audio for different pages/chapters, which is what I wanted.

stemmo avatar Oct 10 '12 09:10 stemmo

@folletto : Great!!! I'm looking forward to that functionality. It would be nice if you can provide some sort of global sound controller that controls the volume of the background music of the entire book and the music that plays on certain pages.

I know it's quite complicated but if we can manage to make it happen, I think this would be very nice! :)

Cheers,

astroboyvn88 avatar Oct 16 '12 14:10 astroboyvn88