Commit 3a952939 authored by Jonas Heinrich's avatar Jonas Heinrich

fix exit fullscreen

parent 1eccf937
...@@ -109,6 +109,8 @@ if (typeof Object.create !== "function") { ...@@ -109,6 +109,8 @@ if (typeof Object.create !== "function") {
} else if ( media.webkitRequestFullscreen ) { } else if ( media.webkitRequestFullscreen ) {
player.webkitRequestFullscreen(); player.webkitRequestFullscreen();
}; };
/* register exitfullscreen function */
base.exitFullscreen();
}); });
$('.vid-request-fullscreen').unbind().click(function(){ $('.vid-request-fullscreen').unbind().click(function(){
...@@ -120,6 +122,8 @@ if (typeof Object.create !== "function") { ...@@ -120,6 +122,8 @@ if (typeof Object.create !== "function") {
} else if ( media.webkitRequestFullscreen ) { } else if ( media.webkitRequestFullscreen ) {
player.webkitRequestFullscreen(); player.webkitRequestFullscreen();
}; };
/* register exitfullscreen function */
base.exitFullscreen();
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment