From b665bb54d18e7eadf9e6b11b9465bacf14ced644 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Wed, 24 Sep 2014 22:32:08 +0200 Subject: [PATCH] dont reset time to 0 on remove, fixes #1543 --- source/Ox.UI/js/Video/VideoElement.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/Ox.UI/js/Video/VideoElement.js b/source/Ox.UI/js/Video/VideoElement.js index 7178421d..65ad76aa 100644 --- a/source/Ox.UI/js/Video/VideoElement.js +++ b/source/Ox.UI/js/Video/VideoElement.js @@ -469,6 +469,8 @@ Ox.VideoElement = function(options, self) { }; that.removeElement = function() { + self.currentTime = getCurrentTime(); + self.loading = true; clearInterval(self.timeupdate); //Chrome does not properly release resources, reset manually //http://code.google.com/p/chromium/issues/detail?id=31014