Hi Johnathan,
Just wanted to say thanks again for your help – removing that code worked like a charm!
If you don’t mind, I realize I’ve come across another question related to the behavior of these widgets, and I have not had any luck finding any online threads on the issue.
The question may be more of an iBooks author problem, but do you mind if I run it by you in case you have any ideas? Here is the issue:
When I first created the iBook (that these widgets were built for) the behavior was exactly what I wanted by default, which is this: – on a given page, a button triggers an audio file, and on the same page is placed an interactive widget. If a user pressed the audio button, the audio file would play as expected.
However, if the audio file was triggered first, and then the widget on the page was tapped while the audio was playing, the widget would open and run, while the audio file would continue playing in the background. This is the behavior that used to be built-in, and it’s the behavior I’d love to be able to accomplish in this update.
It seems now by default, opening a widget now stops any background audio from playing. I’d like to try and counteract this and make it such that opening a widget does not stop background audio from playing, but rather lets the audio play to the end of the track.
Do you think it’s possible to accomplish this by adding some JavaScript either in the widget or somewhere in iBooks? It seems to me the issue is likely on the iBooks end of things, which might make it harder, or impossible, to customize this behavior. Do you have any thoughts on whether or not this is even possible to do?
Thanks so much!