Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 08-17-2018, 01:54 PM   #1
Barra
Junior Member
Barra began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Aug 2018
Device: none
Stop audio on another page for Epub3

I have audio clips on each page in my book. However, if the user chooses to play a clip, I wish for only one clip to be heard at a time. I have solved this for a single page using JavaScript but I don’t know how to do it for multiple pages. In other words I don’t want multiple audio clips playing at once. And I want all audio to stop when the user turns the page.

I thought that maybe I could store a “current page” variable in a cookie or session with each page monitoring this variable using JavaScript. But I read somewhere that cookies can’t be shared between pages. Is this true and how can I stop the audio playing when a new clip is chosen?
Barra is offline   Reply With Quote
Reply

Tags
audio, epub, epub 3

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
converting ePub3 with embedded audio for Kindle Fire? curtf Kindle Developer's Corner 6 03-21-2017 04:05 PM
feature request: aeneas and epub3 audio books eclipse123 Calibre 5 01-20-2016 04:30 PM
Audio Controls in ePub3 josephmwheeler ePub 23 06-03-2014 07:09 AM
EPUB3 - Float audio pane with page turns _savage ePub 22 01-30-2013 01:38 AM
Audio Controls in ePub3 josephmwheeler Apple Devices 2 07-06-2012 12:39 PM


All times are GMT -4. The time now is 02:27 AM.


MobileRead.com is a privately owned, operated and funded community.