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
f647a1b4c3
commit
9415cdc73c
1 changed files with 8 additions and 8 deletions
|
@ -91,6 +91,14 @@ define(['browser'], function (browser) {
|
||||||
return videoTestElement.canPlayType('audio/mp4; codecs="ac-3"').replace(/no/, '');
|
return videoTestElement.canPlayType('audio/mp4; codecs="ac-3"').replace(/no/, '');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function supportsEac3(videoTestElement) {
|
||||||
|
if (browser.tizen || browser.orsay || browser.web0s) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
return videoTestElement.canPlayType('audio/mp4; codecs="ec-3"').replace(/no/, '');
|
||||||
|
}
|
||||||
|
|
||||||
function supportsAc3InHls(videoTestElement) {
|
function supportsAc3InHls(videoTestElement) {
|
||||||
if (browser.tizen || browser.orsay || browser.web0s) {
|
if (browser.tizen || browser.orsay || browser.web0s) {
|
||||||
return true;
|
return true;
|
||||||
|
@ -104,14 +112,6 @@ define(['browser'], function (browser) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
function supportsEac3(videoTestElement) {
|
|
||||||
if (browser.tizen || browser.orsay || browser.web0s) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
return videoTestElement.canPlayType('audio/mp4; codecs="ec-3"').replace(/no/, '');
|
|
||||||
}
|
|
||||||
|
|
||||||
function canPlayAudioFormat(format) {
|
function canPlayAudioFormat(format) {
|
||||||
var typeString;
|
var typeString;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue