Using Youtube API to create a custom video player.