Monday, April 2, 2012

In Bed With YouTube and Sites - 365 Learn (2)

Yes, I know that the word is "embed", not "in bed"...but it was punny and I couldn't resist.


One great find I had tonight was how to embed a YouTube video, set to begin at a particular second within the video, in a Google Site.

When you'd like to try this yourself, follow these steps:

1. Click Share below the video





2. Click Embed







3. Check Use Old Embed Code







4. Edit the Embed Code - delete the respective (for your chosen video) part crossed out below

<object width="560" height="315"><param name="movie" value="http://www.youtube.com/v/_CAA63umjvU?version=3&amp;hl=en_US&amp;rel=0"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/_CAA63umjvU?version=3&amp;hl=en_US&amp;rel=0" type="application/x-shockwave-flash" width="560" height="315" allowscriptaccess="always" allowfullscreen="true"></embed></object>


5. Then, replace it with the time you'd like your embedded video to begin. Note: the time to begin will be in seconds. So, if you want a video to begin at Minute 3 and 27 Seconds, use the following formula: 3*60+27.... = 207

Your embed code should now read like this (with the number highlighted representing whatever time you'd like your video to begin)

<object width="560" height="315"><param name="movie" value="http://www.youtube.com/v/_CAA63umjvU?version=3&amp;hl=en_US&start=207"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/_CAA63umjvU?version=3&amp;hl=en_US&start=207" type="application/x-shockwave-flash" width="560" height="315" allowscriptaccess="always" allowfullscreen="true"></embed></object>


6. Copy your embed code

7. Go to your Google Sites page and click on the html editing button

8. Paste your embed code wherever you would like it placed, kind of like what I'm about to do here...Enjoy!



As always, thanks for reading!