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:
parent
ad3f285ded
commit
bd697d36fc
15 changed files with 879 additions and 715 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue