mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-15 18:08:17 -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('video/mp4; codecs="dvh1.05.09"')
|
||||
.replace(/no/, '')) supportedProfiles.push(5);
|
||||
.replace(/no/, '')) {
|
||||
supportedProfiles.push(5);
|
||||
}
|
||||
if (videoTestElement
|
||||
.canPlayType('video/mp4; codecs="dvh1.08.09"')
|
||||
.replace(/no/, '')) supportedProfiles.push(8);
|
||||
.replace(/no/, '')) {
|
||||
supportedProfiles.push(8);
|
||||
}
|
||||
}
|
||||
return supportedProfiles;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user