From a5ed8ed8ed14066d4860cc30b4c377bd48be120e Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Wed, 12 Feb 2014 15:31:11 +0000 Subject: [PATCH] fix setting clip.out if not given --- source/Ox.UI/js/Video/VideoElement.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/Ox.UI/js/Video/VideoElement.js b/source/Ox.UI/js/Video/VideoElement.js index f0f51ad7..0f779812 100644 --- a/source/Ox.UI/js/Video/VideoElement.js +++ b/source/Ox.UI/js/Video/VideoElement.js @@ -201,7 +201,7 @@ Ox.VideoElement = function(options, self) { } if (item.duration) { if (!item.out) { - item.out = item.duration - item['in']; + item.out = item.duration; } currentTime += item.duration; item.id = getId(item); @@ -210,7 +210,7 @@ Ox.VideoElement = function(options, self) { Ox.getVideoInfo(item.src, function(info) { item.duration = info.duration; if (!item.out) { - item.out = item['in'] + item.duration; + item.out = item.duration; } currentTime += item.duration; item.id = getId(item);