Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Jun 2014
    Thanked 0 Times in 0 Posts

    How can I code Javascript to play audio continuously from page to page in iBooks.


    I am trying to code a button in iBooks, where the user can touch the button, in order for music to play continuesly throught the book, even when a page is turned.

    I have used the following so far:

    <div id="audioButton" class="ibooks-media-audio" data-ibooks-audio-reset-on-play="true"

    This uses iBooks.js

    The problem is that this only works on a single page. As soon as the user turns to the next page, the audio stops.

    Is there a way to make the audio keep playing when the page is turned. Some kind of global function, which can be controlled from any page.

    I have switched off the background option, native in iBooks, as the Title: Read Aloud is present, which would missleed the user into thinking that

    the book is a read aloud book.

    This book is currently just images and background music.


  • #2
    Master Coder
    Join Date
    Jan 2011
    Thanked 702 Times in 700 Posts
    There is no way I know of doing this, but you can change the contents of a page and eventually show every thing you want to on a single page while the music plays.
    Evolution - The non-random survival of random variants.

    "If you leave hydrogen alone, for long enough, it begins to think about itself."


    Tags for this Thread

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts