--> Sharepoint / YouTube - Impersonation Failure

Sharepoint / YouTube

A couple of days back I was looking for some webparts to help a friend embed YouTube content in their Sharepoint Portal site but there doesn't seem to be any webparts available out there with this functionality. So I've wrapped the 2/3 lines it takes to embed YouTube playlists and videos into two webparts and uploaded the CAB installer package to the downloads section of this blog.

The webparts are signed and should run with minimal trust. To install use the stsadm.exe tool on the Sharepoint server.:

stsadm.exe tool. ie. stsadm.exe -o addwppack -filename <pathtocab>

Once installed the two webparts should show up in the Virtual Server Gallery. The Video or Playlist to display can be set from the Webpart Misc. properties section.

For Videos the id to use is the snippet after v= in the url ie. http://www.youtube.com/watch?v=ABCDEF the video id would be ABCDEF.  For Playlists the ID to use would be the snippet after the p= in the url ie. http://www.youtube.com/view_play_list?p=ABCDEF the Playlist ID would be ABCDEF.

This is for Windows Sharepoint Services 2.0 / SPS 2003. I'm not sure if the older webparts works on WSS 3.0/2007.

The download is available from here.

Comments

No Comments