Adding Youtube videos to sharepoint with full screen option.Sharepoint blog posts, strip out html code for security reasons. With web 2.0 whoknows why. So here is a work around.
Step 1)
Find a video on youtube that you want to post, and copy/paste the embedcode into notepad or other text editor. Do not use word, as some of the formattingmay be copied into the Rich Text Editor in sharepoint. Videos from other sites maywork but has not been tested. Code may also need modified for other sites.Here is what our sample code looks like.<object width="425" height="344"><param name="movie"value="http://www.youtube.com/v/W4ZFlfIEBQA;&hl=en;&fs=1"></param><param name="allowFullScreen" value="true"></param><embedsrc="http://www.youtube.com/v/W4ZFlfIEBQA&hl=en&fs=1"type="application/x-shockwave-flash" allowfullscreen="true" width="425"height="344"></embed></object>Looks like confusing, right? To help I have highlighted the code that we need torecode to post onto sharepoint.
Description of the above.
425 = is the width344 = is the heighthttp://www.youtube.com/v/W4ZFlfIEBQA; = is the Video URL&hl=en; = language selection&fs=1; = is full screen (1 enabled / 0 disabled) True = Allow full screen, (True/False) Needs to be true and enabled with aboveNow that we know what the code is, it’s time to reformat for posting into sharepoint.Copy and Paste…ONLYChange
the sections with color
. The only one that isreally needed is what is highlighted in yellow below. Everything else is optional, butmust be included.<div id=youtubeSNBS1align=center>425,355,http://www.youtube.com/v/W4ZFlfIEBQA;&hl=en;&fs=1,true</div>
Add a Comment
slashieleft a comment