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

Edge Animate and PhoneGap Build - audio problems

$
0
0

I am using EA to build an app and using PGB to build it.

 

I have been using EA's built in audio code to play my sound and uut works great, in a browser.

 

I then built a test app with PGB and the animation and interactivity and links all work great, but there is no sound.

 

The lack of audio is not interfering with the rest of the app though, it's as if the audio plays but at 0 volume.

 

I have the cordova media plugin listed in my config.xml, but I have to assume that the EA code is not compatible. Is there a different plugin I can add to the config.xml?

 

I have also tried using the cordova media code:

 

function playAudio(url) {

     var Nar1 = new Media("media/RUP01_Nar_1.ogg", function(){

          sym.play('Nar1')

     });

}

 

Nar1.play(0);

 

But this doesn't play the audio, and halts the rest of the app - I am thinking that I have either written it incorrectly or I am missing something somewhere else.

 

Any help is gratefully received

 

Thanks

Justin


Viewing all articles
Browse latest Browse all 9897

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>