Home >Web Front-end >H5 Tutorial >Code to detect whether the browser supports html5 video_html5 tutorial skills

Code to detect whether the browser supports html5 video_html5 tutorial skills

WBOY
WBOYOriginal
2016-05-16 15:49:521559browse

When I was learning html5 at http://www.w3school.com.cn, I saw a method to detect whether your browser supports HTML5 videos:

Operation effect:

1. Run in EditPlus

2. Run in chrome browser

================================================== ========

Code part:

================================================== ========

Copy code
The code is as follows:

< ;!DUCTYPE HTML>



Check whether your browser supports HTML5 video:






Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn