Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preload and Play sound in IE8 not working #56

Closed
ghost opened this issue Jul 5, 2013 · 10 comments
Closed

Preload and Play sound in IE8 not working #56

ghost opened this issue Jul 5, 2013 · 10 comments

Comments

@ghost
Copy link

ghost commented Jul 5, 2013

I tried to preload and play an audio in IE8 but it's not working. I did my test with the version NEXT of your PreloadJs and SoundJs (of the version 4.1) using Flash plugin and this is were it crashes.

I then tried running your example that was on your website (SoundJS-release_v0.4.1/examples/PreloadAndPlay.html) and i'm getting this error:

Sorry!
SoundJS is not currently supported in your browser.
Please log a bug with the device and browser you are using. Thank you.

Do you support IE8?

If so, what would be the steps to follow to get it to work

@OJayRobinson
Copy link
Contributor

Unfortunately it looks like SoundJS does not support IE8. Sorry I could not be of more help.

@ghost
Copy link
Author

ghost commented Jul 5, 2013

I'm very stupide... i forgot to install Adobe flash player ^^'
Now the installation of the plugin works (the swf is added to the html) but it crash when preloadJS try to load the audio (the error event trigger queue.addEventListener("error",handleFileError)

@OJayRobinson
Copy link
Contributor

I've looked through older versions of SoundJS to see if any of them supported IE8, but as far back as v 0.2.0 it generates errors.
The current SoundJS version will not work in IE8 because we've implemented getter and setter, and the syntax is generating errors.

@ghost
Copy link
Author

ghost commented Jul 6, 2013

Finaly it's possible to use SoundJs 4.1 to preload and play sound (with FlashPlugin)... i'll give more information soon... (i didn't finish testing and i'll go sleep soon.) Maybe tomorow

@ghost
Copy link
Author

ghost commented Jul 6, 2013

PreloadJs gave me an error because the flash player wasn't ready. It's normal, i tried to run it in local!!!! -.- sometime i passby some REALY tiny mistake ;-P

@ghost
Copy link
Author

ghost commented Jul 6, 2013

I changed the code in the exemple to force it to install the FlashPluginPlayer and it work on IE8. (thats work in all browser but i'll write a condition to use the FlashPluginPlayer only when the browser is IE8 or if the other plugin doesn't work).

thank you

@ghost ghost closed this as completed Jul 6, 2013
@ghost
Copy link
Author

ghost commented Jul 9, 2013

Je vien de remarquer... dans le démo il y un lien pour forcé l'installation du plugin Flash... Il fallais juste que je j'installe Adobe Flash Player. que je le mette en ligne et je clique sur le lien pour que ça fonctionne sur IE8...

"Unfortunately it looks like SoundJS does not support IE8. Sorry I could not be of more help."

"The current SoundJS version will not work in IE8 because we've implemented getter and setter, and the syntax is generating errors."

C'est vraiment plate d'avoir eu une réponse de ce genre...

@lannymcnie
Copy link
Member

We are looking at fixing support for IE8 for the next release. Thanks for your patience.

@ghost
Copy link
Author

ghost commented Jul 9, 2013

All already work in IE8, i can preload audio, play it, make pause, resume, mute, onmute, stop and getposition

@OJayRobinson
Copy link
Contributor

Turns out with older versions you simply needed to add a polyfil for Array.indexOf to get IE8 support.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants