dont reset time to 0 on remove, fixes #1543

This commit is contained in:
j 2014-09-24 22:32:08 +02:00
parent ac50af0509
commit b665bb54d1

View file

@ -469,6 +469,8 @@ Ox.VideoElement = function(options, self) {
}; };
that.removeElement = function() { that.removeElement = function() {
self.currentTime = getCurrentTime();
self.loading = true;
clearInterval(self.timeupdate); clearInterval(self.timeupdate);
//Chrome does not properly release resources, reset manually //Chrome does not properly release resources, reset manually
//http://code.google.com/p/chromium/issues/detail?id=31014 //http://code.google.com/p/chromium/issues/detail?id=31014