diff --git a/source/Ox.UI/js/Video/LargeVideoTimeline.js b/source/Ox.UI/js/Video/LargeVideoTimeline.js index 3be01b48..f58fe8a9 100644 --- a/source/Ox.UI/js/Video/LargeVideoTimeline.js +++ b/source/Ox.UI/js/Video/LargeVideoTimeline.js @@ -218,8 +218,8 @@ Ox.LargeVideoTimeline = function(options, self) { self.$subtitles[i] = $('
') .addClass('OxSubtitle' + (found ? ' OxHighlight' : '')) .css({ - left: (subtitle['in'] * self.fps) + 'px', - width: (((subtitle.out - subtitle['in']) * self.fps) - 2) + 'px' + left: Math.round(subtitle['in'] * self.fps) + 'px', + width: Math.round(((subtitle.out - subtitle['in']) * self.fps) - 2) + 'px' }) .html(Ox.highlight( subtitle.text, self.options.find, 'OxHighlight', true