subtitles are html, fixes #845
This commit is contained in:
parent
e443888eba
commit
2a58661c9a
2 changed files with 2 additions and 2 deletions
|
@ -215,7 +215,7 @@ Ox.BlockVideoTimeline = function(options, self) {
|
||||||
self.$tooltip.options({
|
self.$tooltip.options({
|
||||||
title: subtitle
|
title: subtitle
|
||||||
? '<span class=\'OxBright\'>' + Ox.highlight(
|
? '<span class=\'OxBright\'>' + Ox.highlight(
|
||||||
subtitle.text, self.options.find, 'OxHighlight'
|
subtitle.text, self.options.find, 'OxHighlight', true
|
||||||
).replace(/\n/g, '<br/>') + '</span><br/>'
|
).replace(/\n/g, '<br/>') + '</span><br/>'
|
||||||
+ Ox.formatDuration(subtitle['in'], 3) + ' - '
|
+ Ox.formatDuration(subtitle['in'], 3) + ' - '
|
||||||
+ Ox.formatDuration(subtitle['out'], 3)
|
+ Ox.formatDuration(subtitle['out'], 3)
|
||||||
|
|
|
@ -179,7 +179,7 @@ Ox.LargeVideoTimeline = function(options, self) {
|
||||||
width: (((subtitle.out - subtitle['in']) * self.fps) - 2) + 'px'
|
width: (((subtitle.out - subtitle['in']) * self.fps) - 2) + 'px'
|
||||||
})
|
})
|
||||||
.html(Ox.highlight(
|
.html(Ox.highlight(
|
||||||
subtitle.text, self.options.find, 'OxHighlight'
|
subtitle.text, self.options.find, 'OxHighlight', true
|
||||||
))
|
))
|
||||||
.appendTo(self.$timeline);
|
.appendTo(self.$timeline);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue