Player class with Async + restart button in HtmlPlayer