diff --git a/source/Ox.UI/js/Video/Ox.VideoPlayer.js b/source/Ox.UI/js/Video/Ox.VideoPlayer.js index a0efff3c..ff967af4 100644 --- a/source/Ox.UI/js/Video/Ox.VideoPlayer.js +++ b/source/Ox.UI/js/Video/Ox.VideoPlayer.js @@ -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) {