Made the YouTube API calls more generic

This change makes it easier to add other supported players, such as Vimeo. Also changed the slideshow.tpl.php template to potentially support other video types.