parent
6eab0cf828
commit
5e7af00f24
@ -317,8 +317,8 @@ class PlayerData {
|
|||||||
if (this.dimensions.fullscreen != isFs) {
|
if (this.dimensions.fullscreen != isFs) {
|
||||||
this.dimensions = {
|
this.dimensions = {
|
||||||
fullscreen: isFs,
|
fullscreen: isFs,
|
||||||
width: screen.width,
|
width: isFs ? screen.width : this.video.offsetWidth,
|
||||||
height: screen.height
|
height: isFs ? screen.height : this.video.offsetHeight
|
||||||
};
|
};
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
@ -331,8 +331,8 @@ class PlayerData {
|
|||||||
|
|
||||||
this.dimensions = {
|
this.dimensions = {
|
||||||
fullscreen: isFs,
|
fullscreen: isFs,
|
||||||
width: screen.width,
|
width: isFs ? screen.width : this.video.offsetWidth,
|
||||||
height: screen.height
|
height: isFs ? screen.height : this.video.offsetHeight
|
||||||
};
|
};
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
Reference in New Issue
Block a user