mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Readability fixes
This commit is contained in:
parent
d094d0cbb7
commit
e49c66f250
1 changed files with 6 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue