FAQ

What is the best practice for removing media elements?

The current best practice is to remove all listeners from the media element, set the src attribute to an empty string, delete this attribute, call the load() function on the <video> element, and then remove the media element from the DOM.