Applied module pattern for YouTubePlayer view