move reusable code from new-course controller to youtubePlayerApi