diff --git a/source/Ox.UI/js/Video/LargeVideoTimeline.js b/source/Ox.UI/js/Video/LargeVideoTimeline.js index 0d1df8fd..7b9cedb2 100644 --- a/source/Ox.UI/js/Video/LargeVideoTimeline.js +++ b/source/Ox.UI/js/Video/LargeVideoTimeline.js @@ -96,7 +96,9 @@ Ox.LargeVideoTimeline = function(options, self) { } setTimeout(function() { - var chapters = self.options.chapters.slice(1); + var chapters = self.options.chapters.slice(1).map(function(chapter) { + return chapter.position; + }); Ox.unique(chapters.concat(self.options.cuts)).forEach(function(v, i) { self.$cuts[i] = $('') .addClass(Ox.contains(chapters, v) ? 'OxChapter' : 'OxCut')