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

extract nowplayingbar into standalone widget to work with any player

This commit is contained in:
Luke Pulverenti 2014-04-11 11:36:25 -04:00
parent ad3f285ded
commit bd697d36fc
15 changed files with 879 additions and 715 deletions

View file

@ -175,6 +175,11 @@
})[0];
};
self.getCurrentPlayer = function () {
return currentPlayer;
};
self.pause = function () {
currentPlayer.pause();
};
@ -188,7 +193,7 @@
};
self.seek = function (position) {
currentPlayer.changeStream(position);
currentPlayer.seek(position);
};
self.currentPlaylistIndex = function (i) {