Install MutationObserver in DOMContentLoaded
They are mostly meant to detect when a player is dynamically added/removed by AJAX when e.g. an overlay opens. I don't think it's necessary to monitor the page being constructed, potentially slowing it down. Especially since in DOMContentLoaded we will register all players anyway.
parent
ccd47495
Please register or sign in to comment