cosmetic changes
This commit is contained in:
parent
42cd85c59b
commit
1420ca914b
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue