refactored youtube player with views