diff --git a/source/Ox.UI/js/Video/VideoElement.js b/source/Ox.UI/js/Video/VideoElement.js index 148fc275..2aa41195 100644 --- a/source/Ox.UI/js/Video/VideoElement.js +++ b/source/Ox.UI/js/Video/VideoElement.js @@ -161,7 +161,7 @@ Ox.VideoElement = function(options, self) { } function loadItems(callback) { - var currentTime = 0, i =0, + var currentTime = 0, i = 0, items = self.options.items.map(function(item) { return Ox.isObject(item) ? Ox.clone(item, true) : {src: item}; }); @@ -323,7 +323,7 @@ Ox.VideoElement = function(options, self) { if (self.items.length) { // Set to end of items if time > duration if (Ox.isUndefined(currentItem) && Ox.isUndefined(currentTime)) { - currentItem = self.items.length -1; + currentItem = self.items.length - 1; currentTime = self.items[currentItem].duration + self.items[currentItem]['in']; } Ox.Log('Video', 'sCT', time, '=>', currentItem, currentTime);