dont reset time to 0 on remove, fixes #1543
This commit is contained in:
parent
ac50af0509
commit
b665bb54d1
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue