fix condition

This commit is contained in:
Tamius Han 2021-01-31 00:24:02 +01:00
parent 35208cf9e8
commit 38d1be5fc2

View File

@ -255,7 +255,7 @@ squeezeFactor: ${squeezeFactor}`, '\nvideo', this.conf.video);
* style attribute does). * style attribute does).
*/ */
chromeBugMitigation(stretchFactors) { chromeBugMitigation(stretchFactors) {
if (BrowserDetect.anyChromium && this.conf.player?.isFullScreen && this.conf.player?.dimensions?.fullscreen) { if (BrowserDetect.anyChromium && this.conf.player?.dimensions?.fullscreen) {
const playerAr = playerArOverride || this.conf.player.dimensions.width / this.conf.player.dimensions.height; const playerAr = playerArOverride || this.conf.player.dimensions.width / this.conf.player.dimensions.height;
const streamAr = this.conf.video.videoWidth / this.conf.video.videoHeight; const streamAr = this.conf.video.videoWidth / this.conf.video.videoHeight;