Commit fec1a77d authored by Jonas Heinrich's avatar Jonas Heinrich

fix chrome video fullscreen

parent 14f6f1d8
......@@ -34,6 +34,7 @@ if (typeof Object.create !== "function") {
base.decodeMedia(el);
var screen_change_events = "webkitfullscreenchange mozfullscreenchange fullscreenchange MSFullscreenChange";
$(document).off(screen_change_events);
$(document).on(screen_change_events, function () {
base.isFullscreen();
console.log("fullscreen change event");
......
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