javascript - JW player is not working in IE 8 -


I'm just checking the JW Player in compatibility with all browsers. But, there is not even a blank screen in the IE 8 browser, it works well in other browsers.

I have already read the link but no help is found.

  & lt; Html & gt; & Lt; Top & gt; & Lt; Script type = "text / javascript" src = "jwplayer.js" & gt; & Lt; / Script & gt; & Lt; / Head & gt; & Lt; Body & gt; & Lt; Script & gt; If ((window.outerWidth and window.outerWidth> 640) || (document.boney.clitwidth & amp; document; body.clientWidth> 640)) {warning ('error'); } & Lt; / Script & gt; & Lt; Div id = "myElement" & gt; Loading player ... & lt; / Div & gt; & Lt; Script type = "text / javascript" & gt; Jwplayer ("myElement") setup ({file: "myVideo.mp4", image: "myPoster.jpg",}); & Lt; / Script & gt; & Lt; Ul & gt; & Lt; Li onclick = 'jwplayer () Play () '& gt; Start playback & lt; / Li & gt; & Lt; Li onclick = 'alert (jwplayer (). GetVolume ())' & gt; Get audio volume & lt; / Li & gt; & Lt; Li onclick = 'jwplayer () Stop (); ' & Gt; Stop & lt; / Li & gt; & Lt; / Ul & gt; & Lt; / Body & gt; & Lt; / Html & gt; Try    

.

  & lt; Script type = "text / javascript" & gt; Jwplayer ("myElement") setup ({file: "myVideo.mp4", image: "myPoster.jpg"}); & Lt; / Script & gt;   

comma deleted

Comments

Popular posts from this blog

excel vba - How to delete Solver(SOLVER.XLAM) code -

github - Teamcity & Git - PR merge builds - anyway to get HEAD commit hash? -

ios - Replace text in UITextView run slowly -