Drupal Association members fund grants that make connections all over the world.
Although it is possible to embed YouTube videos, this does not work with YouTube playlists. I'm not sure why this is so. It'd be nice if:
- I could embed playlists
- the preview playlist was just resized (as with videos) OR the preview from the first video in the playlist is used
- the thumbnail image was the thumbnail image from the first video in the playlist (I don't think playlists have their own thumbnail specified)
Here's some example (bogus) embed code:
<object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/videoid"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/videoid" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object>
<object width="530" height="370"><param name="movie" value="http://www.youtube.com/p/playlistid"></param><embed src="http://www.youtube.com/p/playlistid" type="application/x-shockwave-flash" width="530" height="370"></embed></object>
You can distinguish playlists and videos by their url: playlists start with
http://www.youtube.com/p/, whereas videos start with
http://www.youtube.com/v/. This might be helpful if a distinction between videos and playlists needs to be made. Also, playlists always have an extra column listing the videos contained in it. This leads to different widths as with videos, so probably there'd have to be a setting that allows specifying height/width for videos and playlists seperately.