forked from 0x2620/oxjs
use Ox.highlight; minor reformatting
This commit is contained in:
parent
90147a69fb
commit
4ba06fde41
7 changed files with 21 additions and 15 deletions
|
|
@ -184,8 +184,7 @@ Ox.SmallVideoTimeline = function(options, self) {
|
|||
return subtitle
|
||||
? '<span class=\'OxBright\'>' + Ox.highlight(
|
||||
subtitle.text, self.options.find, 'OxHighlight'
|
||||
).replace(/\n/g, '<br/>') + '</span><br/>'
|
||||
+ Ox.formatDuration(
|
||||
).replace(/\n/g, '<br/>') + '</span><br/>' + Ox.formatDuration(
|
||||
subtitle['in'], self.options.showMilliseconds
|
||||
) + ' - ' + Ox.formatDuration(
|
||||
subtitle['out'], self.options.showMilliseconds
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue