From 632cb5bd8d5a5315422efd51c850e316414f4ee6 Mon Sep 17 00:00:00 2001 From: adavier <30839200+adavier@users.noreply.github.com> Date: Sun, 17 May 2020 17:19:40 +0100 Subject: [PATCH] Update src/components/qualityOptions.js Co-authored-by: Julien Machiels --- src/components/qualityOptions.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/qualityOptions.js b/src/components/qualityOptions.js index 03bb9dacf7..898a1ac626 100644 --- a/src/components/qualityOptions.js +++ b/src/components/qualityOptions.js @@ -9,8 +9,8 @@ define(['globalize'], function (globalize) { //If the aspect ratio is less than 16/9 (1.77), set the height as if it were pillerboxed. // 4:3 1440x1080 -> 1920x1080 - if (videoWidth/videoHeight < 16/9) { - videoWidth=videoHeight*(16/9); + if (videoWidth / videoHeight < 16 / 9) { + videoWidth = videoHeight * (16 / 9); } var maxAllowedWidth = videoWidth || 4096;