set default results in Ox.SmallVideoTimeline, make sure self.results is defined in Ox.VideoPlayer
This commit is contained in:
parent
109e34725c
commit
062547daa1
2 changed files with 3 additions and 1 deletions
|
@ -13,6 +13,7 @@ Ox.SmallVideoTimeline = function(options, self) {
|
|||
'in': 0,
|
||||
out: 0,
|
||||
paused: false,
|
||||
results: [],
|
||||
showMilliseconds: 0,
|
||||
timeline: '',
|
||||
type: 'player',
|
||||
|
@ -239,4 +240,4 @@ Ox.SmallVideoTimeline = function(options, self) {
|
|||
|
||||
return that;
|
||||
|
||||
};
|
||||
};
|
||||
|
|
|
@ -173,6 +173,7 @@ Ox.VideoPlayer = function(options, self) {
|
|||
self.height = self.options.fullscreen ? window.innerHeight : self.options.height;
|
||||
self.videoWidth = self.options.width;
|
||||
self.videoHeight = self.options.height;
|
||||
self.results = [];
|
||||
|
||||
/*
|
||||
----------------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in a new issue