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

update translations

This commit is contained in:
Luke Pulverenti 2015-05-26 11:31:50 -04:00
parent 4e86a39f8c
commit 28f378f8db
19 changed files with 284 additions and 64 deletions

View file

@ -18,33 +18,6 @@
});
}
function getExternalPlayers(url, mimeType) {
var deferred = $.Deferred();
window.plugins.launcher.canLaunch({
uri: url,
dataType: mimeType,
getAppList: true
}, function (data) {
console.log('plugin canLaunch succcess');
var players = data.appList.map(function (p) {
});
deferred.resolveWith(null, [players]);
}, function () {
console.log('plugin canLaunch error');
deferred.reject();
});
deferred.resolveWith(null, [players]);
return deferred.promise();
}
window.ExternalPlayer.getExternalPlayers = getExternalPlayers;
window.ExternalPlayer.showPlayerSelectionMenu = showPlayerSelectionMenu;
})();