use clip.id if passed to track current video

This commit is contained in:
j 2014-02-06 14:26:39 +00:00
parent 734d0ff30e
commit 42cd85c59b

View file

@ -168,7 +168,7 @@ Ox.VideoElement = function(options, self) {
next();
function getId(item) {
return item.src + '/' + item['in'] + '-' + item.out;
return item.id || item.src + '/' + item['in'] + '-' + item.out;
}
function next() {