Home  >  Article  >  Web Front-end  >  检测浏览器是否支持html5视频的代码_html5教程技巧

检测浏览器是否支持html5视频的代码_html5教程技巧

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

在http://www.w3school.com.cn学习html5的时候,看到一个检测您的浏览器是否支持 HTML5 视频的方法:

运行效果:

1.在EditPlus中运行

2.在chrome浏览器中运行

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

代码部分:

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

复制代码
代码如下:





检测您的浏览器是否支持 HTML5 视频:







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