mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Update browserdeviceprofile.js
This commit is contained in:
parent
9415cdc73c
commit
154a24bdb0
1 changed files with 12 additions and 12 deletions
|
@ -495,14 +495,14 @@ define(['browser'], function (browser) {
|
|||
hlsVideoCodecs.push('hevc');
|
||||
}
|
||||
|
||||
if (canPlayH265(videoTestElement) && (browser.tizen || browser.web0s)) {
|
||||
if (hlsVideoCodecs.indexOf('h265') === -1) {
|
||||
hlsVideoCodecs.push('h265');
|
||||
}
|
||||
if (hlsVideoCodecs.indexOf('hevc') === -1) {
|
||||
hlsVideoCodecs.push('hevc');
|
||||
}
|
||||
}
|
||||
if (canPlayH265(videoTestElement) && (browser.tizen || browser.web0s)) {
|
||||
if (hlsVideoCodecs.indexOf('h265') === -1) {
|
||||
hlsVideoCodecs.push('h265');
|
||||
}
|
||||
if (hlsVideoCodecs.indexOf('hevc') === -1) {
|
||||
hlsVideoCodecs.push('hevc');
|
||||
}
|
||||
}
|
||||
|
||||
if (supportsMpeg2Video()) {
|
||||
mp4VideoCodecs.push('mpeg2video');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue