2 Replies Latest reply on Apr 29, 2013 1:47 PM by sabermaster28

    Music on my web page plays in firefox although it wont play in google chroome or internet explorer.

    20th Anakin

      Music on my web page plays in firefox although it wont play in google chroome or internet explorer.

       

      This is the code im useing in Edge.


      // creation complete
      try {
          yepnope({
              load: "http://simonwidjaja.github.com/EdgeCommons/live/EdgeCommons-0.6.0.js",
              callback: function() {
          // Load sound manifest (e.g. in creationComplete)
          var assetsPath = "media/";
          EC.Sound.setup(
               [
                      {src: assetsPath + "Kim Adams & the House Cats - Stormy Monday.mp3|" + assetsPath + "Kim Adams & the House Cats - Stormy Monday.ogg", id: 'Kim Adams & the House Cats - Stormy Monday'},
                  {src: assetsPath + "Kim Adams & the House Cats Love me.mp3|" + assetsPath + "Kim Adams & the House Cats Love me.ogg", id: 'Kim Adams & the House Cats Love me'},
                  {src: assetsPath + "Kim_Adams_and_the_House_Cats_Throw_Me_a_Bone.mp3|" + assetsPath + "Kim_Adams_and_the_House_Cats_Throw_Me_a_Bone.ogg", id: 'Kim_Adams_and_the_House_Cats_Throw_Me_a_Bone'},
               ],
               function(){ EC.info("Sound setup finished", "Sound with Edge Commons"); }
          );

       


                  }
          });
      }
      catch(error) {
          console.error("sw", error);
      }

       

      // composition ready