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

update components

This commit is contained in:
Luke Pulverenti 2016-01-30 13:31:31 -05:00
parent 4a3a518fb7
commit 54d014972b
3 changed files with 8 additions and 8 deletions

View file

@ -89,6 +89,9 @@ define(['browser'], function (browser) {
// Only put mp3 first if mkv support is there
// Otherwise with HLS and mp3 audio we're seeing some browsers
if (videoTestElement.canPlayType('audio/mp4; codecs="ac-3"').replace(/no/, '')) {
videoAudioCodecs.push('ac3');
}
if (canPlayMkv) {
if (supportsMp3VideoAudio) {
videoAudioCodecs.push('mp3');
@ -102,9 +105,6 @@ define(['browser'], function (browser) {
videoAudioCodecs.push('mp3');
}
}
if (videoTestElement.canPlayType('audio/mp4; codecs="ac-3"').replace(/no/, '')) {
videoAudioCodecs.push('ac3');
}
if (canPlayH264()) {
profile.DirectPlayProfiles.push({