4

i think there is a problem in jquery.jplayer.min.js file which one i am using.

My jplayer is not working in only IE9.

its working in all other browser.

skaffman
  • 398,947
  • 96
  • 818
  • 769
Mrugen Ramani
  • 41
  • 1
  • 2

5 Answers5

5

In this thread Mark P. notes that you must have MIME types set properly. Try putting this in your .htaccess:

AddType video/mp4 mp4
AddType video/mp4 m4v

More here: http://www.jplayer.org/latest/developer-guide/#jPlayer-server-response

squarecandy
  • 4,894
  • 3
  • 34
  • 45
  • I had my mime types set to video/mpeg which worked fine for every browser but IE9. Switched to video/mp4 for both extensions and now golden. – Ted Jun 05 '12 at 21:01
  • +1 for this. We set the headers in S3 and the videos work. Annoying as heck since there's no way we will remember to do this. So -1 for jPlayer itself. – Jim Wrubel Aug 24 '12 at 01:31
2

I had the same issue. Resolved it by forcing IE9 to use Flash instead of html5.

jPlayer({
    "solution": navigator.userAgent.indexOf("Trident/5")>-1 ? "flash" : "html,flash"
}) 
Fazle Rabbi
  • 902
  • 7
  • 4
2

The current major release (2.0.0) does not support IE9, but support is being added as of version 2.0.8 (github).

  • I am using 2.1.0 and no music is played in IE9. I tryied .mp3, .m4a, and .ogg. Is there a way to force the flash player in IE9? – Guillaume Bois Nov 11 '11 at 14:01
2

Put this line of code at the very beginning of your document.

<!DOCTYPE html> It forces IE9 to work under standard document mode.

Ref: http://msdn.microsoft.com/en-us/ie/ff468705

machine
  • 481
  • 5
  • 4
  • No need to make page html5 as the I've got it working fine in XHTML (of course, specify a doctype, but that goes without saying). Turns out for me that IE9 is particular that the mime type be video/mp4 not video/mpeg (the latter worked fine for all other browsers). – Ted Jun 05 '12 at 21:03
1

The problem is IE9 like always jaa, try playing ogg files or m4a and that works