don't access the global DOM in PlayerUi, return a node instead;