mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
move completely to fetch
This commit is contained in:
parent
ee899a7332
commit
9932bc3eb5
168 changed files with 948 additions and 945 deletions
|
@ -178,7 +178,7 @@
|
|||
}
|
||||
};
|
||||
|
||||
MediaPlayer.createStreamInfo('Video', item, mediaSource, startPosition).done(function (streamInfo) {
|
||||
MediaPlayer.createStreamInfo('Video', item, mediaSource, startPosition).then(function (streamInfo) {
|
||||
|
||||
var currentSrc = streamInfo.url;
|
||||
|
||||
|
@ -437,7 +437,7 @@
|
|||
|
||||
ApiClient.getItem(userId, itemId).then(function (item) {
|
||||
|
||||
getVideoStreamInfo(item).done(function (streamInfo) {
|
||||
getVideoStreamInfo(item).then(function (streamInfo) {
|
||||
|
||||
setTimeout(function () {
|
||||
ExternalPlayer.showPlayerSelectionMenu(item, streamInfo.url, streamInfo.mimeType);
|
||||
|
@ -460,7 +460,7 @@
|
|||
|
||||
function showPlayerSelectionMenu(item, url, mimeType) {
|
||||
|
||||
ExternalPlayer.getExternalPlayers(url, mimeType).done(function (players) {
|
||||
ExternalPlayer.getExternalPlayers(url, mimeType).then(function (players) {
|
||||
showMenuForItem(item, players);
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue