0 Replies Latest reply on Apr 30, 2013 1:03 PM by sabermaster28

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

    sabermaster28 Level 1

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

       

      this is the code im using

       


      // 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 + "stormymonday.mp3|" + assetsPath + "stormymonday.ogg", id: 'stormymonday'},
                  {src: assetsPath + "loveme.mp3|" + assetsPath + "loveme.ogg", id: 'loveme'},
                  {src: assetsPath + "throwmeaBone.mp3|" + assetsPath + "throwmeaBone.ogg", id: 'throwmeaBone'},
               ],
               function(){ EC.info("Sound setup finished", "Sound with Edge Commons"); }
          );

       


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

       

      // composition ready

       

       

      this is for a clients page if some one could help that would be great thanks.