Const
an HTML element to render to or a valid element selector acceptable by document.querySelector()
<div id="webar"></div>
<!-- ... -->
<script>
// ...
Dom.render(player, document.getElementById("webar"))
// or
Dom.render(player, "#webar")
// or even
Dom.render(player, "body")
<script>
Removes a mounted Player from the supplied container
an HTML element from which to unmount Player or a valid element selector acceptable by document.querySelector()
Dom.unmount("#webar")
Renders the Player into the supplied container