I am using the following code reference from Adobe Edge Commons example MixitBaby but I keep getting this error on Chrome & IE10, this works fine on Firefox though.
"Uncaught ReferenceError: EC is not defined"
function soundSetup()
{
var assetsPath = "sound/";
EC.Sound.setup(
[
{src: assetsPath + "introsound.mp3|" + assetsPath + "introsound.ogg", id: "intro"}
],
function(){ EC.info("Sound setup finished", "DEMO"); }
);
}
yepnope({
load: "js/EdgeCommons-0.7.1.min.js",
complete: function()
{
if(EC == undefined)
yepnope({load: "js/EdgeCommons-0.7.1.min.js", complete: soundSetup});
else
soundSetup();
} //complete
});
-Thanks