htmlhtml5-videoflash-video

Integrate Video.js to the non-HTML5 page


Is it possible to install Video.js player to the non-HTML5 page (e.g. HTML 4.01 Strict)? i.e. to use HTML5 functionality without actually using HTML5 doctype. What is the best way to do this? What complications or problems it can cause if any?


Solution

  • HTML5 functionality isn't reliant on the doc type of the site you're visiting, but rather on the browser that is displaying the page. If you insert an HTML5 tag ("video", "article", etc) into a page with the html 4.01 strict doc type, it will display properly provided the browser understands the tag in question.