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

time display change, chapter length check fix

This commit is contained in:
Techywarrior 2013-03-25 22:11:45 -07:00
parent b0b9ab1e19
commit 180d47f04b
2 changed files with 8 additions and 3 deletions

View file

@ -258,7 +258,7 @@ var videoJSextension = {
_V_.merge( _V_.ControlBar.prototype.options.components, { ResolutionSelectorButton : {} } );
//chceck if chapters exist and add chapter selector
if (item.Chapters.length > 0) {
if (item.Chapters && item.Chapters.length) {
// Put together the videojs source arrays for each available chapter
$.each( item.Chapters, function( i, chapter ) {