Mrugen Ramani
Mrugen Ramani

Reputation: 41

JPlayer issue in IE9

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.

Upvotes: 4

Views: 6298

Answers (5)

Fazle Rabbi
Fazle Rabbi

Reputation: 902

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"
}) 

Upvotes: 2

machine
machine

Reputation: 481

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

Upvotes: 2

squarecandy
squarecandy

Reputation: 5107

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

Upvotes: 5

Johnny Flowers
Johnny Flowers

Reputation: 43

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

Upvotes: 2

Jesus Rivas
Jesus Rivas

Reputation: 11

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

Upvotes: 1

Related Questions