ricotta_cha_cha

Q: how to make audio playback auto stop

Hello!

I am creating a widget for iBook that will be a cooking instruction step-by-step slides for the user to follow. I used the 'Gallery' object to create the slides so each step is a cell in the gallery, and the user can swipe left/right for the next/previous step. I also have an audio clip for each steps that's set to auto play.

 

My problem is that when I swipe from cell 1 to cell 2, the audio clip 1 does not stop playing even when the cell is not in focus, at the same time audio clip 2 is auto playing, and thus I am hearing overlapped audio clips.

 

note: I am using iAd Producer v. 5.0.1 and will be embedding the widget to iBooks Author v.2.2

iBook, iOS 8.1.1, iAd producer

Posted on Dec 4, 2014 2:15 PM