Removing the youtube player placeholder once the player is visible; Using only ony event handler for both events listeners