fix loading VideoPlayer with just a video url

This commit is contained in:
j 2015-02-16 13:22:48 +00:00
parent cfea71af38
commit e9edeb4629

View file

@ -2367,7 +2367,7 @@ Ox.VideoPlayer = function(options, self) {
} }
self.video = getVideo(); self.video = getVideo();
} else { } else {
self.video = self.options.video; self.video = [{src: self.options.video}];
self.resolutions = []; self.resolutions = [];
self.audioTracks = []; self.audioTracks = [];
} }