Friday, November 30, 2012

Playing Youtube Video's in Sharepoint

Playing Youtube Video's in Sharepoint  Procedure:



SharePoint Media web part only supports limited file formats . they WMV (including VC-1), MP4 (H.264), 3GP . If we want to use other file formats means , we need to convert them into supported file formats.

but here used another alternate option  by using content Editor webpart.

Procedure :

1.   Go to YouTube video which you want to embed and copy the video embedded code , should be something like this,

iframe title="YouTube video player" width="480" height="390" src="http://www.youtube.com/embed/ZxwKggJ2ACs" frameborder="0" allowfullscreen
2.   Open notepad and past the above code there, and save the file with name something like “video.txt”.
3.   Go to SharePoint site and open a document library and upload the “videotest.txt” file.
4.   Now go to the page where you want to embed the video and add a content editor web part on page.
5.   Go to the document library where you already added “videotest.txt” file, right click on file and click on “copy shortcut”.
6.   Now go back to the page where you have added the content editor web part, click on web part and select “Edit webpart”.
7.   In the “custom link” property paste the “videotest.txt” shortcut value(already copied in step 5)
8.   Click Ok.