Created
July 19, 2012 00:10
-
-
Save mahemoff/3139852 to your computer and use it in GitHub Desktop.
jPlayer Gotcha
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I couldn't get jPlayer to play on Firefox. | |
At first, I thought it must be the fact that Firefox needs Flash (for MP3s) and Chrome doesn't. So I was trying to check the SWF is loading and then the config. | |
Finally, I realised it was visibility of the player element. So yes, this might be something to do with Flash. But the point is, the player must be on displayed (not `display: none`). Which is tricky if you want the player to slide down...means you need to use various tricks instead of just a slideDown() or CSS animation. | |
Anyway, it plays now. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment