highlight results in timeline tooltip

This commit is contained in:
rolux 2011-05-17 20:04:26 +02:00
parent 46d71a5734
commit 1d13caaf88
2 changed files with 3 additions and 0 deletions

View file

@ -6,6 +6,7 @@ Ox.SmallVideoTimeline = function(options, self) {
_offset: 0, // hack for cases where all these position: absolute elements have to go into a float: left
duration: 0,
editing: false,
find: '',
'in': 0,
out: 0,
paused: false,

View file

@ -1274,6 +1274,7 @@ Ox.VideoPlayer = function(options, self) {
var $timeline = Ox.SmallVideoTimeline({
_offset: getTimelineLeft(),
duration: self.options.duration,
find: self.options.find,
'in': self.options['in'],
out: self.options.out,
paused: self.options.paused,
@ -1682,6 +1683,7 @@ Ox.VideoPlayer = function(options, self) {
self.results = find(self.options.find);
self.$results.html(self.results.length);
self.$timeline && self.$timeline.options({
find: self.options.find,
results: self.results
});
if (self.results.length) {