mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
new videoJS skin, fixed auto play of playlist
This commit is contained in:
parent
d453f9419f
commit
050b5909fc
3 changed files with 66 additions and 37 deletions
|
@ -31,8 +31,13 @@
|
|||
|
||||
self.playNext = function (item) {
|
||||
if (typeof self.queue[0] != "undefined") {
|
||||
//MediaPlayer.play(new Array(self.queue[0]));
|
||||
//self.queue.shift();
|
||||
MediaPlayer.play(new Array(self.queue[0]));
|
||||
self.queue.shift();
|
||||
}
|
||||
};
|
||||
|
||||
self.addNext = function (item) {
|
||||
if (typeof self.queue[0] != "undefined") {
|
||||
self.queue.unshift(item);
|
||||
}else {
|
||||
self.add(item);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue