1
0
mirror of https://github.com/videojs/video.js.git synced 2025-01-02 06:32:07 +02:00

Re-enabled native full screen.

This commit is contained in:
Steve Heffernan 2010-09-10 14:35:29 -07:00
parent 20b33afa10
commit 886f193f1e

View File

@ -693,7 +693,7 @@ var VideoJS = JRClass.extend({
},
nativeFullscreenOn: function(){
if(typeof this.video.webkitEnterFullScreen == 'function' && false) {
if(typeof this.video.webkitEnterFullScreen == 'function') {
// Seems to be broken in Chromium/Chrome
if (!navigator.userAgent.match("Chrome")) {
this.video.webkitEnterFullScreen();