码迷,mamicode.com
首页 > 编程语言 > 详细

Native Fullscreen JavaScript API (plus jQuery plugin)

时间:2014-06-25 14:49:46      阅读:229      评论:0      收藏:0      [点我收藏+]

标签:code   java   http   ext   com   os   

http://johndyer.name/native-fullscreen-javascript-api-plus-jquery-plugin/

 

HTML5 <video> is great, but when it was first released, one of the big complaints was that it couldn’t do true FullScreen like Flash. Thankfully, this is changing and native FullScreen support is coming to most browsers in the next few months (no word from the Internet Explorer team Update on IE below #5))

The API is still heavily in flux especially since the W3C joined in this week. I spent some time working through the differences to implement FullScreen in MediaElement.js HTML5 video player, and it’s working great in Safari 5.1+, Chrome Canary Chrome 15+, or Firefox Nightly (go to about:config and set full-screen-api.enabled= true) and scheduled for Firefox 10. Below I’m going to try to explain how things evolved, where we are today, and then some code that you can play with.

A Brief History of the FullScreen API

视频全屏标签:标记

Native Fullscreen JavaScript API (plus jQuery plugin),布布扣,bubuko.com

Native Fullscreen JavaScript API (plus jQuery plugin)

标签:code   java   http   ext   com   os   

原文地址:http://www.cnblogs.com/hubing/p/3806492.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!