move completely to fetch
This commit is contained in:
parent
ee899a7332
commit
9932bc3eb5
168 changed files with 948 additions and 945 deletions
|
@ -533,7 +533,7 @@
|
|||
|
||||
var player = this;
|
||||
|
||||
player.getPlayerState().done(function (state) {
|
||||
player.getPlayerState().then(function (state) {
|
||||
|
||||
if (player.isDefaultPlayer && state.NowPlayingItem && state.NowPlayingItem.MediaType == 'Video') {
|
||||
return;
|
||||
|
@ -549,7 +549,7 @@
|
|||
|
||||
currentPlayer = player;
|
||||
|
||||
player.getPlayerState().done(function (state) {
|
||||
player.getPlayerState().then(function (state) {
|
||||
|
||||
if (state.NowPlayingItem) {
|
||||
player.beginPlayerUpdates();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue