set default results in Ox.SmallVideoTimeline, make sure self.results is defined in Ox.VideoPlayer

This commit is contained in:
j 2011-12-29 02:52:51 +05:30
parent 109e34725c
commit 062547daa1
2 changed files with 3 additions and 1 deletions

View file

@ -13,6 +13,7 @@ Ox.SmallVideoTimeline = function(options, self) {
'in': 0,
out: 0,
paused: false,
results: [],
showMilliseconds: 0,
timeline: '',
type: 'player',

View file

@ -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 = [];
/*
----------------------------------------------------------------------------