mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update audio player
This commit is contained in:
parent
ba45e06d36
commit
de67415aa8
2 changed files with 3 additions and 13 deletions
|
@ -196,10 +196,6 @@ define(['appSettings', 'userSettings', 'appStorage'], function (appSettings, use
|
||||||
|
|
||||||
function updateDeviceProfileForIOS(profile) {
|
function updateDeviceProfileForIOS(profile) {
|
||||||
|
|
||||||
profile.DirectPlayProfiles.push({
|
|
||||||
Container: "aac,mp3,mpa,wav,wma,mp2,ogg,oga,webma,ape,opus,flac",
|
|
||||||
Type: 'Audio'
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
|
|
||||||
self.getDeviceProfile = function (maxHeight) {
|
self.getDeviceProfile = function (maxHeight) {
|
||||||
|
|
|
@ -12,13 +12,6 @@
|
||||||
|
|
||||||
})();
|
})();
|
||||||
|
|
||||||
// Compatibility
|
|
||||||
window.Logger = {
|
|
||||||
log: function (msg) {
|
|
||||||
console.log(msg);
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
var Dashboard = {
|
var Dashboard = {
|
||||||
|
|
||||||
isConnectMode: function () {
|
isConnectMode: function () {
|
||||||
|
@ -2001,6 +1994,7 @@ var AppInfo = {};
|
||||||
}
|
}
|
||||||
|
|
||||||
if (Dashboard.isRunningInCordova() && browserInfo.android) {
|
if (Dashboard.isRunningInCordova() && browserInfo.android) {
|
||||||
|
|
||||||
if (MainActivity.getChromeVersion() >= 48) {
|
if (MainActivity.getChromeVersion() >= 48) {
|
||||||
define("audiorenderer", ["scripts/htmlmediarenderer"]);
|
define("audiorenderer", ["scripts/htmlmediarenderer"]);
|
||||||
//define("audiorenderer", ["cordova/android/vlcplayer"]);
|
//define("audiorenderer", ["cordova/android/vlcplayer"]);
|
||||||
|
@ -2011,7 +2005,7 @@ var AppInfo = {};
|
||||||
define("videorenderer", ["cordova/android/vlcplayer"]);
|
define("videorenderer", ["cordova/android/vlcplayer"]);
|
||||||
}
|
}
|
||||||
else if (Dashboard.isRunningInCordova() && browserInfo.safari) {
|
else if (Dashboard.isRunningInCordova() && browserInfo.safari) {
|
||||||
define("audiorenderer", ["cordova/ios/vlcplayer"]);
|
define("audiorenderer", ["cordova/audioplayer"]);
|
||||||
define("videorenderer", ["scripts/htmlmediarenderer"]);
|
define("videorenderer", ["scripts/htmlmediarenderer"]);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
@ -2982,8 +2976,8 @@ var AppInfo = {};
|
||||||
if (browserInfo.safari) {
|
if (browserInfo.safari) {
|
||||||
|
|
||||||
postInitDependencies.push('cordova/ios/chromecast');
|
postInitDependencies.push('cordova/ios/chromecast');
|
||||||
|
|
||||||
postInitDependencies.push('cordova/ios/orientation');
|
postInitDependencies.push('cordova/ios/orientation');
|
||||||
|
postInitDependencies.push('cordova/ios/remotecontrols');
|
||||||
|
|
||||||
if (Dashboard.capabilities().SupportsSync) {
|
if (Dashboard.capabilities().SupportsSync) {
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue