diff --git a/.manifest.json.kate-swp b/.manifest.json.kate-swp new file mode 100644 index 0000000..155d51c Binary files /dev/null and b/.manifest.json.kate-swp differ diff --git a/img/fith.png b/img/ytplayer-icons/fith.png similarity index 100% rename from img/fith.png rename to img/ytplayer-icons/fith.png diff --git a/img/fitw.png b/img/ytplayer-icons/fitw.png similarity index 100% rename from img/fitw.png rename to img/ytplayer-icons/fitw.png diff --git a/img/reset.png b/img/ytplayer-icons/reset.png similarity index 100% rename from img/reset.png rename to img/ytplayer-icons/reset.png diff --git a/img/uzoom.png b/img/ytplayer-icons/uzoom.png similarity index 100% rename from img/uzoom.png rename to img/ytplayer-icons/uzoom.png diff --git a/img/zoom.png b/img/ytplayer-icons/zoom.png similarity index 100% rename from img/zoom.png rename to img/ytplayer-icons/zoom.png diff --git a/js/uw.js b/js/uw.js index c0cd7f9..bc9f99d 100644 --- a/js/uw.js +++ b/js/uw.js @@ -7,11 +7,15 @@ var zoomStep = 0.05; var whatdo_persistence = true; var last_whatdo = "reset"; -var debugmsg = false; +var debugmsg = true; + +var ctlbar_classnames = ["ytp-chrome-controls"]; +var serviceArray = [".video-stream" ]; //Youtube $(document).ready(function() { + console.log("=========================================================================================="); // console.log("uw::document.ready | document is ready"); - var serviceArray = [".video-stream" ]; //Youtube + // To bo naš dinamičen css // this will be our dynamic css sheet @@ -46,20 +50,48 @@ $(document).ready(function() { changeCSS(3); } }); - // console.log("uw::document.ready | loaded shortcuts"); document.addEventListener("mozfullscreenchange", function( event ) { inFullScreen = ( window.innerHeight == window.screen.height && window.innerWidth == window.screen.width); inFullScreen ? onFullscreenOn() : onFullscreenOff(); }); -// $("