1
0
Fork 0
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:
Nyanmisaka 2020-01-24 02:38:43 +08:00 committed by GitHub
parent 9415cdc73c
commit 154a24bdb0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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');