From 42cd85c59bbf8aa631d0c5500b80188c31a6349f Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Thu, 6 Feb 2014 14:26:39 +0000 Subject: [PATCH] use clip.id if passed to track current video --- source/Ox.UI/js/Video/VideoElement.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/Ox.UI/js/Video/VideoElement.js b/source/Ox.UI/js/Video/VideoElement.js index 97f0e105..148fc275 100644 --- a/source/Ox.UI/js/Video/VideoElement.js +++ b/source/Ox.UI/js/Video/VideoElement.js @@ -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() {