mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-16 02:18:16 -07:00
Readability fixes
This commit is contained in:
parent
d094d0cbb7
commit
e49c66f250
@ -216,10 +216,14 @@ function supportedDolbyVisionProfilesHevc(videoTestElement) {
|
|||||||
if (videoTestElement.canPlayType) {
|
if (videoTestElement.canPlayType) {
|
||||||
if (videoTestElement
|
if (videoTestElement
|
||||||
.canPlayType('video/mp4; codecs="dvh1.05.09"')
|
.canPlayType('video/mp4; codecs="dvh1.05.09"')
|
||||||
.replace(/no/, '')) supportedProfiles.push(5);
|
.replace(/no/, '')) {
|
||||||
|
supportedProfiles.push(5);
|
||||||
|
}
|
||||||
if (videoTestElement
|
if (videoTestElement
|
||||||
.canPlayType('video/mp4; codecs="dvh1.08.09"')
|
.canPlayType('video/mp4; codecs="dvh1.08.09"')
|
||||||
.replace(/no/, '')) supportedProfiles.push(8);
|
.replace(/no/, '')) {
|
||||||
|
supportedProfiles.push(8);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return supportedProfiles;
|
return supportedProfiles;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user