1
0
Fork 0
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:
Techywarrior 2013-05-02 22:29:03 -07:00
parent d453f9419f
commit 050b5909fc
3 changed files with 66 additions and 37 deletions

View file

@ -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);
});
};