Quantcast
Channel: Adobe Community : All Content - Edge Animate
Viewing all articles
Browse latest Browse all 9897

Preload audio, "mute on" and "mute off" on IOS

$
0
0

I created a flipping book.

When you open the first page begins audio1.mp3.

When I turn the page and go to the second page audio1.mp3 stops and starts audio2.mp3.

On pc (chrome, IE, Firefox) works fine but on Ipad I do not hear audio1.mp3 when I load the flipping book.

I used this code on the timeline:

sym.$("_audio1")[0].play();

 

The other MP3 files work fine on the following pages.

Maybe because I used this code on the action "swipeleft" of the page2.jpg:

sym.play();

sym.$("_audio1")[0].pause();

sym.$("_audio2")[0].play();

 

Even the "mute on" function does not work on Ipad:

$("audio").prop("muted", true);

and the "mute off"

$("audio").prop("muted", false);

 

I know that the preload on iOS is not working properly. There is a solution to the problem?


Viewing all articles
Browse latest Browse all 9897

Trending Articles