Video.js player in Fancybox issue in IE 8

Purus Source

I have a HTML5 video (using Video.js) playing in a Fancybox popup. The videos play well in all browsers except IE. (partially yes).

It plays for the first time in IE 8 and when I retry to play, nothing happens. And sometimes it plays in a transparent form.

I could not find anything on this. Here is the link of my site.

http://site.com/oxwall/my-videos

I am providing video in three different formats: mp4, webm and ogv

I tried to find the solution here in other question.. but this case looks different from other issues.

1) Tried the below code to the mp4 type file.

type="video/mp4"; codecs="avc1.42E01E, mp4a.40.2" 

2) Added the preload option in the tag as suggested in other SO questins.

preload="none"

3) DOCTYPE is already added. I have no control on it.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
internet-explorerfancyboxvideo.js

Answers

answered 5 years ago Purus #1

The issue was that the IE was in some compatibility quirk mode(the samell icon on the address bar). When I change that everything went fine.

comments powered by Disqus