Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

JW player is not working in IE 8

Tags:

People also ask

Is IE 8 supported?

Microsoft ends support for IE8, IE9, IE10, and Windows 8.

What does JW Player do?

JW Player is a New York based company that has developed a video player software of the same name. The player, for embedding videos onto web pages, is used by news, video hosting companies, and for self-hosted web videos.


I am just checking JW Players in compatibility with all browser. But, Not even a blank screen is coming in IE 8 browser, in other browsers it works well.

I have already read the link JWPlayer Not Working for Internet Explorer 8 but couldn't get any help.

<html>
<head>
<script type="text/javascript" src="jwplayer.js"></script>
</head>
<body>
<script>
if((window.outerWidth && window.outerWidth > 640) || (document.body.clientWidth && 
document.body.clientWidth > 640)){
alert('error'); 
 }
</script>
<div id="myElement">Loading the player ...</div>
<script type="text/javascript">
    jwplayer("myElement").setup({
        file: "myVideo.mp4",
         image: "myPoster.jpg",
           });

</script>
<ul>
    <li onclick='jwplayer().play()'>Start playback</li>
    <li onclick='alert(jwplayer().getVolume())'>Get audio volume</li>
    <li onclick='jwplayer().pause();'>pause</li>

</ul>
</body>

</html>