开发者

JPlayer issue in IE9

i think there is a problem in jquery.jplayer.min.js file wh开发者_如何学Pythonich one i am using.

My jplayer is not working in only IE9.

its working in all other browser.


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


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


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


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


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜