1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00
This commit is contained in:
Sarab Singh 2020-05-02 02:40:48 +05:30
parent 779bb20944
commit d920afe61b

View file

@ -22,24 +22,24 @@ define(['browser', 'require', 'events', 'apphost', 'loading', 'dom', 'playbackMa
var index = options.startIndex || 0; var index = options.startIndex || 0;
var apiClient = connectionManager.currentApiClient(); var apiClient = connectionManager.currentApiClient();
apiClient.getCurrentUser().then(function(result){ apiClient.getCurrentUser().then(function(result){
var newSlideShow = new slideshow({ var newSlideShow = new slideshow({
showTitle: false, showTitle: false,
cover: false, cover: false,
items: options.items, items: options.items,
startIndex: index, startIndex: index,
interval: 11000, interval: 11000,
interactive: true, interactive: true,
user: result user: result
});
newSlideShow.show();
resolve();
}); });
newSlideShow.show();
resolve();
}); });
});
}); });
}; };