diff --git a/source/Ox.UI/js/Video/VideoElement.js b/source/Ox.UI/js/Video/VideoElement.js index 445cfe47..7178421d 100644 --- a/source/Ox.UI/js/Video/VideoElement.js +++ b/source/Ox.UI/js/Video/VideoElement.js @@ -468,15 +468,14 @@ Ox.VideoElement = function(options, self) { return that; }; - self.superRemove = that.remove.bind(that); - that.remove = function() { + that.removeElement = function() { clearInterval(self.timeupdate); //Chrome does not properly release resources, reset manually //http://code.google.com/p/chromium/issues/detail?id=31014 self.$videos.forEach(function($video) { $video.attr({src: ''}); }); - return self.superRemove(arguments); + return Ox.Element.prototype.removeElement.apply(that, arguments); }; /*@