1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

update recording dialogs

This commit is contained in:
Luke Pulverenti 2016-09-20 12:51:16 -04:00
parent df635e0c5b
commit 8aaa2c7e47
78 changed files with 432 additions and 965 deletions

View file

@ -269,19 +269,20 @@ define(['browser'], function (browser) {
}
var mp3Added = false;
if ((canPlayMkv && options.enableMkvProgressive !== false) || (canPlayTs && options.enableMkvProgressive !== false)) {
if (canPlayMkv || canPlayTs) {
if (supportsMp3VideoAudio) {
mp3Added = true;
videoAudioCodecs.push('mp3');
hlsVideoAudioCodecs.push('mp3');
}
}
if (videoTestElement.canPlayType('video/mp4; codecs="avc1.640029, mp4a.40.2"').replace(/no/, '')) {
videoAudioCodecs.push('aac');
hlsVideoAudioCodecs.push('aac');
}
if (!mp3Added && supportsMp3VideoAudio) {
videoAudioCodecs.push('mp3');
if (supportsMp3VideoAudio) {
if (!mp3Added) {
videoAudioCodecs.push('mp3');
}
hlsVideoAudioCodecs.push('mp3');
}