debugging...

This commit is contained in:
rlx 2011-08-19 17:02:38 +00:00
parent 842ad71cb9
commit 6d47477890

View file

@ -133,14 +133,14 @@ Ox.VideoPlayer = function(options, self) {
}
});
if (Ox.isString(self.options.video)) {
self.video = self.options.video;
} else {
if (Ox.isObject(self.options.video)) {
self.resolutions = Ox.sort(Object.keys(self.options.video));
if (!(self.options.resolution in self.options.video)) {
self.options.resolution = self.resolutions[0];
}
self.video = self.options.video[self.options.resolution];
} else {
self.video = self.options.video;
}
if (self.options.playInToOut) {