2 Replies Latest reply on Dec 29, 2014 8:54 AM by Valérie Lapointe

    Problems with sounds and videos using PhoneGap

    Valérie Lapointe

      Hi !

       

      I have an animation that plays sounds using buzz.js and video using the html <video> tag. Everything works well locally with Google Chrome or Safari.

       

      When I create an application with PhoneGap neither the sounds or videos are playing on IOS or Android ?

       

      Here is the code I use to load the sounds:

       

      var mySound = new buzz.sound( "audio/page1_voix_en", {formats: [ "mp3","ogg"]});

      mySound.play();

       

      Is it supposed to work with PhoneGap ? How ?

       

      I am using PhoneGap 3.6.3.

       

      Thank you,

       

      David