highlight results in timeline tooltip
This commit is contained in:
parent
46d71a5734
commit
1d13caaf88
2 changed files with 3 additions and 0 deletions
|
@ -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
|
_offset: 0, // hack for cases where all these position: absolute elements have to go into a float: left
|
||||||
duration: 0,
|
duration: 0,
|
||||||
editing: false,
|
editing: false,
|
||||||
|
find: '',
|
||||||
'in': 0,
|
'in': 0,
|
||||||
out: 0,
|
out: 0,
|
||||||
paused: false,
|
paused: false,
|
||||||
|
|
|
@ -1274,6 +1274,7 @@ Ox.VideoPlayer = function(options, self) {
|
||||||
var $timeline = Ox.SmallVideoTimeline({
|
var $timeline = Ox.SmallVideoTimeline({
|
||||||
_offset: getTimelineLeft(),
|
_offset: getTimelineLeft(),
|
||||||
duration: self.options.duration,
|
duration: self.options.duration,
|
||||||
|
find: self.options.find,
|
||||||
'in': self.options['in'],
|
'in': self.options['in'],
|
||||||
out: self.options.out,
|
out: self.options.out,
|
||||||
paused: self.options.paused,
|
paused: self.options.paused,
|
||||||
|
@ -1682,6 +1683,7 @@ Ox.VideoPlayer = function(options, self) {
|
||||||
self.results = find(self.options.find);
|
self.results = find(self.options.find);
|
||||||
self.$results.html(self.results.length);
|
self.$results.html(self.results.length);
|
||||||
self.$timeline && self.$timeline.options({
|
self.$timeline && self.$timeline.options({
|
||||||
|
find: self.options.find,
|
||||||
results: self.results
|
results: self.results
|
||||||
});
|
});
|
||||||
if (self.results.length) {
|
if (self.results.length) {
|
||||||
|
|
Loading…
Reference in a new issue