This commit is contained in:
Tamius Han 2021-01-31 00:47:32 +01:00
parent 38d1be5fc2
commit 56ebd2d36c

View File

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