Fixed video resetting after zoom
This commit is contained in:
parent
39a1dbad40
commit
43cded9f31
5
js/uw.js
5
js/uw.js
@ -862,9 +862,10 @@ function changeCSS(type, what_do){
|
||||
|
||||
return;
|
||||
}
|
||||
var video = { "width": evideo.scrollWidth, "height": evideo.scrollHeight };
|
||||
|
||||
var nplayer = { "width": player.clientWidth, "height": player.clientHeight }
|
||||
var video = { width: evideo.videoWidth, height: evideo.videoHeight };
|
||||
|
||||
var nplayer = { width: player.clientWidth, height: player.clientHeight };
|
||||
|
||||
if(debugmsg)
|
||||
console.log("uw::changeCSS | video dimensions:",video.width,"x",video.height,"; player:",nplayer.width,"x",nplayer.height);
|
||||
|
Loading…
Reference in New Issue
Block a user