[Webkit-unassigned] [Bug 137025] HTMLMediaElement::removedFrom is not clearing the player and causes lock up of video resource

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Oct 2 08:35:19 PDT 2014


https://bugs.webkit.org/show_bug.cgi?id=137025





--- Comment #6 from thouraya <thouraya.andolsi at st.com>  2014-10-02 08:35:17 PST ---
Hi Eric,


> > 
> So the problem is that the element is not being garbage collected before the next one is set up. You can't change this, but you can force the media player to be cleared by changing video.src. Note that if you set it to an empty string, eg. video.src="", you will also need to call video.load(). 
> 
> Do this before removing the <video> element from the DOM and the media player will be cleared before you create the new one.

thank you for the answer.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list