FlashyGoblin Posted August 11, 2016 Share Posted August 11, 2016 So IE doesn't support Web Audio. And I know Babylon only supports Web Audio within its sound engine. I'm curious to see what others are doing to work around this? Looks like I will need to test if it is supported first, and then use a different sound library if not. BABYLON.Engine.audioEngine.canUseWebAudio Obviously another sound library wouldn't support directional sounds. But I'd like to stay within the Babylon framework as much as possible. I need to support IE, so if I'm going to need a second sound library, I'm wondering if I don't just go 100% to a separate sound library. Anyone else running into a similar issue? What was your approach? Thanks!! Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted August 11, 2016 Share Posted August 11, 2016 I think that most of the time people use Flash Quote Link to comment Share on other sites More sharing options...
Dad72 Posted August 11, 2016 Share Posted August 11, 2016 it some time ago I used this and works very well (you will find attached files): <script type="text/javascript" src="js/swfobject.js"></script> <object type="application/x-shockwave-flash" data="dewplayer-mini.swf" width="200" height="20" id="dewplayer" name="dewplayer" style="z-index:1"> <param name="wmode" value="transparent" /> <param name="movie" value="dewplayer-mini.swf" /> <param name="flashvars" id="LectureSon" value="mp3=audio.mp3&autostart=0&autoreplay=0&randomplay=0&nopointer=0&volume=100&javascript=on" /> </object> Sorry the link is in French, but this can be translated Libs "dewplayer" http://www.informatique-enseignant.com/dewplayer-lecteur-mp3-site-web/ attach: dewplayer-mini.swf swfobject.js exemple of control with JS: index-swfobject-js.htm Quote Link to comment Share on other sites More sharing options...
Nabroski Posted August 13, 2016 Share Posted August 13, 2016 i just leave this here for testinghttp://www.babylonjs-playground.com/#2A6ISX#3 http://www.babylonjs-playground.com/#2A6ISX#8 (i realize 5min ago that sound dont work on IE 11) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.