subtitles have .value for text

This commit is contained in:
j 2011-01-28 15:01:12 +05:30
parent d625114048
commit 3c12802ece

View file

@ -10817,7 +10817,7 @@ requires
self.$tooltip = new Ox.Tooltip({
title: subtitle ?
'<span class=\'OxBright\'>' +
Ox.highlight(subtitle.text, self.options.find).replace(/\n/g, '<br/>') + '</span><br/>' +
Ox.highlight(subtitle.value, self.options.find).replace(/\n/g, '<br/>') + '</span><br/>' +
Ox.formatDuration(subtitle['in'], 3) + ' - ' + Ox.formatDuration(subtitle['out'], 3) :
Ox.formatDuration(position, 3)
})
@ -10955,7 +10955,7 @@ requires
left: (v['in'] * self.fps) + 'px',
width: (((v['out'] - v['in']) * self.fps) - 4) + 'px'
})
.html(Ox.highlight(v.text, self.options.find))
.html(Ox.highlight(v.value, self.options.find))
.appendTo(self.$timeline)
});
@ -11233,7 +11233,7 @@ requires
self.$tooltip = new Ox.Tooltip({
title: subtitle ?
'<span class=\'OxBright\'>' +
Ox.highlight(subtitle.text, self.options.find).replace(/\n/g, '<br/>') + '</span><br/>' +
Ox.highlight(subtitle.value, self.options.find).replace(/\n/g, '<br/>') + '</span><br/>' +
Ox.formatDuration(subtitle['in'], 3) + ' - ' + Ox.formatDuration(subtitle['out'], 3) :
Ox.formatDuration(position, 3)
})
@ -11977,7 +11977,7 @@ requires
var subtitle = '';
$.each(self.options.subtitles, function(i, v) {
if (v['in'] <= self.options.position && v['out'] > self.options.position) {
subtitle = v.text;
subtitle = v.value;
return false;
}
});