How do I destroy and remake Video Embed with document.getElement & addEventListener?

From my point of view, embeds have had this issue for a very long time. I can see it in my stats, I go from ReRun to live and all the viewers get dumped which then overtime gets rebuilt back to parity.

Its either the embeds haven’t been restarting correctly, or they have something that doesnt count viewers after a restart or offline to live with out a refresh.

If they fix the problem, then this code will not trigger and thus no issues with possible memory problems.