This commit is contained in:
Sam Potts
2015-02-17 10:40:11 +11:00
parent 9a95957d80
commit a36a30f1b0
4 changed files with 4 additions and 6 deletions

View File

@ -8,6 +8,7 @@
// Replace browser sniff with feature detection
// http://diveintohtml5.info/everything.html
//
/*global ActiveXObject*/
@ -624,10 +625,6 @@
// Setup fullscreen
function _setupFullscreen() {
if(player.type === "video" && config.fullscreen.enabled) {
if(config.debug) {
console.log(fullscreen.supportsFullScreen ? "Fullscreen supported" : "No fullscreen supported");
}
if(fullscreen.supportsFullScreen) {
if(config.debug) {
console.log("Fullscreen enabled");