mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update images
This commit is contained in:
parent
b8f54a3174
commit
8f71cd9871
22 changed files with 25 additions and 11729 deletions
|
@ -682,10 +682,6 @@
|
|||
|
||||
return "<img src='css/images/clients/dlna.png' />";
|
||||
}
|
||||
if (clientLowered == "mbkinect") {
|
||||
|
||||
return "<img src='css/images/clients/mbkinect.png' />";
|
||||
}
|
||||
if (clientLowered == "kodi" || clientLowered == "xbmc") {
|
||||
return "<img src='css/images/clients/kodi.png' />";
|
||||
}
|
||||
|
|
|
@ -161,6 +161,15 @@
|
|||
});
|
||||
}
|
||||
|
||||
var directPlayAudioContainers = AppInfo.directPlayAudioContainers;
|
||||
|
||||
if (directPlayAudioContainers && directPlayAudioContainers.length) {
|
||||
profile.DirectPlayProfiles.push({
|
||||
Container: directPlayAudioContainers.join(','),
|
||||
Type: 'Audio'
|
||||
});
|
||||
}
|
||||
|
||||
if (canPlayWebm) {
|
||||
profile.DirectPlayProfiles.push({
|
||||
Container: 'webm',
|
||||
|
@ -449,15 +458,15 @@
|
|||
self.canPlayNativeHls = function () {
|
||||
|
||||
// Don't use HLS on android 4.x, regardless of what the browser reports
|
||||
if ($.browser.android) {
|
||||
var agent = navigator.userAgent.toLowerCase();
|
||||
//if ($.browser.android) {
|
||||
// var agent = navigator.userAgent.toLowerCase();
|
||||
|
||||
for (var i = 0; i <= 4; i++) {
|
||||
if (agent.indexOf('android 4.' + i) != -1) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
// for (var i = 0; i <= 4; i++) {
|
||||
// if (agent.indexOf('android 4.' + i) != -1) {
|
||||
// return false;
|
||||
// }
|
||||
// }
|
||||
//}
|
||||
|
||||
var media = document.createElement('video');
|
||||
|
||||
|
|
|
@ -1646,6 +1646,12 @@ var AppInfo = {};
|
|||
AppInfo.enableBackButton = (isIOS && window.navigator.standalone) || (isCordova && isIOS);
|
||||
AppInfo.supportsFullScreen = isCordova && isAndroid;
|
||||
AppInfo.supportsSyncPathSetting = isCordova && isAndroid;
|
||||
|
||||
if (isCordova && isAndroid) {
|
||||
AppInfo.directPlayAudioContainers = ['aac', 'mp3', 'ogg', 'flac', 'wma', 'm4a', 'oga'];
|
||||
} else {
|
||||
AppInfo.directPlayAudioContainers = [];
|
||||
}
|
||||
}
|
||||
|
||||
function initializeApiClient(apiClient) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue