Jump to content

No sound in IE (use alternate engine?)


FlashyGoblin
 Share

Recommended Posts

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!!

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...