goldfire / howler.js

Javascript audio library for the modern web.
https://howlerjs.com
MIT License
23.85k stars 2.23k forks source link

Not playing on Mobile IE10 / WP8 / NOKIA Lumia 625 #203

Closed marikka closed 8 years ago

marikka commented 10 years ago

Howlerjs does not play any sound on Mobile IE10 / WP8 / NOKIA Lumia 625

I have tested this both on the howlerjs web page (http://goldfirestudios.com/blog/104/howler.js-Modern-Web-Audio-Javascript-Library), and in my own pages. The sounds play fine on Desktop Chrome, Android Chrome, Desktop IE11, etc.

Is mobile IE10 supported?

goldfire commented 10 years ago

Have you tested the 2.0 branch on mobile IE10 as well?

marikka commented 10 years ago

@goldfire, I tried playing the tests in https://github.com/goldfire/howler.js/tree/2.0/tests but it doesn't work. I suspect the problem is waiting for the "canplaythrough" event, which Mobile IE 10 does not support, at least according to this test suite: http://areweplayingyet.org/

If you can confirm this, I could look into implementing some fix for this.

marikka commented 10 years ago

@goldfire, could you please comment on the "canplaythrough" event?

slusarigor commented 9 years ago

same problem

goldfire commented 8 years ago

I don't have a Windows Phone device to test this on, but assuming the canplay event is supported, https://github.com/goldfire/howler.js/commit/1ab6398691d78297cc1bbc747425f63e825136ef should fix this.