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
|
@ -169,7 +169,7 @@
|
|||
baseParams['StartTimeTicks'] = startPosition;
|
||||
}
|
||||
|
||||
var html = '<video id="videoWindow" class="itemVideo video-js vjs-default-skin"></video>';
|
||||
var html = '<video id="videoWindow" class="itemVideo video-js tubecss"></video>';
|
||||
|
||||
var nowPlayingBar = $('#nowPlayingBar');
|
||||
//hide stop button
|
||||
|
@ -235,9 +235,9 @@
|
|||
(this).addEvent("play", updateProgress);
|
||||
|
||||
(this).addEvent("ended", function () {
|
||||
MediaPlayer.stopVideo();
|
||||
|
||||
Playlist.playNext();
|
||||
//MediaPlayer.stopVideo();
|
||||
//Playlist.playNext();
|
||||
MediaPlayer.stop();
|
||||
});
|
||||
|
||||
});
|
||||
|
@ -402,7 +402,7 @@
|
|||
|
||||
self.playNext = function (itemId) {
|
||||
ApiClient.getItem(Dashboard.getCurrentUserId(), itemId).done(function (item) {
|
||||
Playlist.playNext(item);
|
||||
Playlist.addNext(item);
|
||||
});
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue