From 362e4c160b5814d62777aa01f65738036a2eeaea Mon Sep 17 00:00:00 2001 From: Christopher Tam Date: Sun, 8 Sep 2024 11:42:00 -0400 Subject: [PATCH] Make boolean logic more readable --- src/scripts/browserDeviceProfile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scripts/browserDeviceProfile.js b/src/scripts/browserDeviceProfile.js index ee642503c7..bc704aebbe 100644 --- a/src/scripts/browserDeviceProfile.js +++ b/src/scripts/browserDeviceProfile.js @@ -666,7 +666,7 @@ export default function (options) { } if (canPlayVp9) { - if (!browser.iOS && (!browser.firefox || !browser.osx)) { + if (!browser.iOS && !(browser.firefox && browser.osx)) { // iOS safari may fail to direct play vp9 in mp4 container // // Firefox can play vp9 in mp4 container but fails to detect HDR. Since HDR is