1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Make boolean logic more readable

This commit is contained in:
Christopher Tam 2024-09-08 11:42:00 -04:00 committed by Chris Tam
parent e4fc8e811a
commit 362e4c160b

View file

@ -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