dont reset video.src on stop, this happens in GC on dom removal now, fixes #1003
This commit is contained in:
parent
609d1355fe
commit
1c02b95f82
1 changed files with 0 additions and 1 deletions
|
@ -145,7 +145,6 @@ Ox.VideoElement = function(options, self) {
|
||||||
// custom event to be triggered on removal from the DOM
|
// custom event to be triggered on removal from the DOM
|
||||||
if (self.video) {
|
if (self.video) {
|
||||||
self.video.pause();
|
self.video.pause();
|
||||||
self.video.src = '';
|
|
||||||
}
|
}
|
||||||
that.triggerEvent('ended');
|
that.triggerEvent('ended');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue