Commit 1eccf937 authored by Jonas Heinrich's avatar Jonas Heinrich

fix responsivness desktop small vertical window size

parent fec1a77d
...@@ -215,7 +215,7 @@ h3 { ...@@ -215,7 +215,7 @@ h3 {
cursor: pointer; cursor: pointer;
} }
@media only screen and (max-device-width: 480px) { @media only screen and (max-width: 900px) {
.container { .container {
height:100vh; height:100vh;
......
...@@ -32,12 +32,11 @@ if (typeof Object.create !== "function") { ...@@ -32,12 +32,11 @@ if (typeof Object.create !== "function") {
base.options = $.extend({}, $.fn.videre.options, options); base.options = $.extend({}, $.fn.videre.options, options);
var base = this; var base = this;
base.decodeMedia(el); base.decodeMedia(el);
var screen_change_events = "webkitfullscreenchange mozfullscreenchange fullscreenchange MSFullscreenChange"; var screen_change_events = "webkitfullscreenchange mozfullscreenchange fullscreenchange MSFullscreenChange";
$(document).off(screen_change_events); $(document).off(screen_change_events);
$(document).on(screen_change_events, function () { $(document).on(screen_change_events, function () {
base.isFullscreen(); 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