mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Merge pull request #6135 from abdulmueid/vidaa-disable-hevc
This commit is contained in:
commit
ddba3130e0
1 changed files with 5 additions and 1 deletions
|
@ -197,6 +197,10 @@ function canPlayAudioFormat(format) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function testCanPlayMkv(videoTestElement) {
|
function testCanPlayMkv(videoTestElement) {
|
||||||
|
if (browser.vidaa) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
if (browser.tizen || browser.web0s) {
|
if (browser.tizen || browser.web0s) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
@ -658,7 +662,7 @@ export default function (options) {
|
||||||
|
|
||||||
if (canPlayHevc(videoTestElement, options)) {
|
if (canPlayHevc(videoTestElement, options)) {
|
||||||
mp4VideoCodecs.push('hevc');
|
mp4VideoCodecs.push('hevc');
|
||||||
if (browser.tizen || browser.web0s) {
|
if (browser.tizen || browser.web0s || browser.vidaa) {
|
||||||
hlsInTsVideoCodecs.push('hevc');
|
hlsInTsVideoCodecs.push('hevc');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue