-
1. Re: Audio and animation on iPad?
resdesign Dec 10, 2012 11:10 AM (in response to devel0per)I suppose you could have your code for the animation included in your code for the play button. Since I do not know what the structure of your composition is, it is hard to give a precise answer.
-
2. Re: Audio and animation on iPad?
Joe Bowden Dec 10, 2012 11:56 AM (in response to devel0per)Hi there,
No autoplay support for audio is a limitation of iOS.
There's no reason I can see that you couldn't control your animation playback and audio playback with the same button, though.
hth,
Joe
-
3. Re: Audio and animation on iPad?
devel0per Dec 10, 2012 5:12 PM (in response to resdesign)That's what I was thinking, but, the audio button needs to live in the html page, yes? So, I'm not sure how that will start the audio and then potentially launch to another page to play the html5/Edge animation? There's no way to put the button inside the Edge animation is there? Or to pass a command to the Edge animation from the html button?
Basically, I've got a 2 minute Edge animation and a slightly longer audio file that need to play together (not synced, but roughly the same time). And, from my understanding, the button to cue the sound will have to be on the HTML page and I'm not sure how that will start the animation and play the sound if it can't interact with Edge.
Thanks for any help/direction.
-
4. Re: Audio and animation on iPad?
Jacksoneon Dec 10, 2012 7:32 PM (in response to devel0per)I'm not sure if I understand, but, is the animation set to automatically play when you open it? Could you have a stop command in the Edge timeline at the beginning of the animation, and have the user click again activating a play and sound command?
-
5. Re: Audio and animation on iPad?
Joe Bowden Dec 11, 2012 10:57 AM (in response to Jacksoneon)Jacksoneon wrote:
I'm not sure if I understand, but, is the animation set to automatically play when you open it? Could you have a stop command in the Edge timeline at the beginning of the animation, and have the user click again activating a play and sound command?
This is just how you'd do it - put the code to play both the timeline and the audio in the same button.
hth,
Joe
-
6. Re: Audio and animation on iPad?
devel0per Dec 11, 2012 12:59 PM (in response to Jacksoneon)Thanks for the help! I ended up putting a stop at the beginning of the animation and, for some reason, didn't realize that I could put the code to play the animation and the audio on the same button until you mentioned it. Was stuck in the flash mindset where the swf and the html are 2 seperate pieces instead of everything being html.
Working great now!
Thanks!
-
7. Re: Audio and animation on iPad?
steph_sanglier Mar 11, 2013 2:33 AM (in response to devel0per)Hello,
I'm doing animation for DPS too.
But I d'ont know how to put a sound in a button, that is playing after in DPS for the iPad.
I try this code : $('<embed src="thunder.mp3" autostart="true" hidden="true" loop="false">').appendTo("#Stage");
that I find in an another discussion, but it daesn't work on the iPad
Thank you for your help
Steph
-
8. Re: Audio and animation on iPad?
penn11 Mar 28, 2013 3:21 PM (in response to steph_sanglier)Same here. I have code to play audio after clicking a button that works on every browser and android mobile except on an iPad. Is this a common problem? And is there a way to avoid this. Thanks for answering!
Dinant
-
9. Re: Audio and animation on iPad?
Murray Hutcherson Feb 20, 2014 9:55 AM (in response to devel0per)The talk about audio not playing automatically in iOS, and some of the speculations as to why this is, don't make sense to me. If I place an audio link directly on the page in InDesign and click Autoplay in the Overlay panel it plays automatically on the iPad just fine. It only fails to play when I have instead made the audio part of the Edge animation, so as to make it sync correctly with the visuals. The problem seems to me to be more of an issue with audio playing automatically inside an html animation. Maybe more clarification is needed. Adding a button is less than ideal, and hopefully unnecessary.



