APMG / APMPlayer

a javascript media player framework.
Other
21 stars 7 forks source link

Firefox support? #1

Closed egolts closed 12 years ago

egolts commented 12 years ago

when running the player in firefox 16.0.2 this message comes up:

We're sorry, but your browser is not able to play the stream. Please try one of these options:

1) Install or enable Adobe Flash Player 2) Use a browser that supports HTML5 and MP3 audio, such as Chrome, Safari, or Internet Explorer 9 3) Stream the audio using a third-party player (eg. iTunes)

other flash movies work in the browser. Does this player support firefox?

adamlutz commented 12 years ago

the player currently only supports mp3s, which aren't supported natively in HTML5 on Firefox because it's a closed-source codec. In order for the player to work on Firefox, flash is currently required. :( Now you say that other flash movies work in the browser-- are you using flashblock? if so, make sure it's not blocking on the player page.

as fyi, I was originally planning to add support for Ogg Vorbis so it will also work in HTML5 mode for FF, but haven't gotten around to it yet.

I verified that it works fine in FF 16.0.2 osx w/ flash enabled.

egolts commented 12 years ago

I was trying the player by opening examples/basic/index.html directly into the browser - this worked on safari + chrome, but not on firefox. I've since added the player to an app running locally and it works fine. So I'm guessing firefox doesn't run flash when it's called from a page using file:// vs http://.

thx for the quick reply, and looking forward to using it - looks great.