youtube player, major refactoring