adding sounds using edge commons
-
I was able to add sounds to the project using code from edge commons.
yepnope({ load: "https://cdn.edgecommons.org/an/1.0.2/js/min/EdgeCommons.js", callback: function() { // Load sound manifest (e.g. in creationComplete) var assetsPath = "media/"; EC.Sound.setup( [ {src: assetsPath + "bird2.mp3|" + assetsPath + "bird2.ogg", id: 'bird2'}, ], function(){ EC.info("Sound setup finished", "Sound with Edge Commons"); } ); } });
The sound files are in media folder. But the OAM file is probably not taking in that folder.
Can you please tell me how to add this folder and which files to edit so the sounds get linked in?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘adding sounds using edge commons’ is closed to new replies.