Daily Archives: December 8, 2011 7:55 am

IT tips #8: How to embed a Youtube clip in a post

Share

I’m going to explain this in relation to WordPress, but the principle is broadly the same in several other contexts. It’s very straightforward, but it’s the part in point 7 below that is the thing that you really need to know to make it work.

  1. Go to the YouTube page where your favourite clip is
  2. Press the ‘share’ button
  3. Press the ’embed’ button [note – some clips don’t allow embedding, and this is the point at which you’ll find out]
  4. Pick a frame-size from the four different sizes shown.  For embedding in a web-post like this, I usually pick a small one so that it fits within post size, but you can always go back and alter it later.
  5. For safety, pick ‘Use old embed code’ – it usually works with anything
  6. Now click in the box with the blue highlighted code, select all of it and copy it.
  7. Go to the place where you want to embed the video, and select ‘HTML’ or ‘Code’ (sometimes shown as < > ona tool bar). In WordPress it looks like the tabs on the left – press the ‘HTML’ tab and it will stop being greyed-out.  Find the end of the HTML code, and paste in the code from Youtube
  8. Press Visual again – and you’ll see a shaded box where the YouTube clip will be once you’ve saved and uploaded.
  9. If you’ve made a mistake about the size, go back to YouTube and select a different frame-size, and re-select and copy the code from the code box.
  10. Here’s a screen shot of what the ’embed’ part of Youtube looks like:

And here’s the result: