How to trim a YouTube video and embed it into WordPress

Regular followers of my blog, will know that I have previously blogged about different ways of trimming or cropping YouTube videos to use in different situations, e.g:

Trimming videos can be really valuable, as often (in education) there may be a key message or element in a video, that we want to draw attention to, without having to show the entire video, so carefully selecting sections of the video can drastically improve the impact of using that video as a resource.

Up until recently, something that I couldn’t do was to get this to work in WordPress, I could only embed the whole video – however today I found out that I can do trim a video, if you follow these instructions exactly:

  1. Locate the video you want on YouTube.
  2. Under the video choose ‘Share’ and then ‘Embed’.
  3. Underneath the preview, there will be some tick boxes – make sure the one called ‘Show suggested videos when the video finishes‘ is unticked (this is really important).
  4. Copy the embed code that is above the preview.
  5. Go into your WordPress post, and into the HTML editor.
  6. Paste the copied embed code in the correct position.
  7. Preview your post.
  8. Go back to edit your post, and again into the HTML editor.
  9. The code that you pasted in, will have been changed, towards the end of it, locate the text rel=0.
  10. Immediately after rel=0 add &start=xxx&end=yyy (where xxx is the number of seconds you want the video to start at and yyy is the number of seconds you want the video to end at).
  11. Preview your post – if it works then publish.

So – if I have a video that I want to start at 2:35 and end at 3:15 – I convert these into seconds (2:35 = 155, 3:15 = 195) – and the end of the code will change from:

….?rel=0]

to

….?rel=0&start=155&end=195]

Below is an example of one of my YouTube videos, trimmed to start at 155 seconds and end at 195 seconds.

Advertisements

Cropping a YouTube video before adding to Moodle

in April 2011 I blogged about how it is possible to use a service called TubeChop to crop a YouTube video and then embed it into PowerPoint, and this has been one of my most viewed posts on my blog.

I used to use TubeChop as well when embedding a video into a VLE such as Moodle or Blackboard, but have found that it hasn’t always worked, and doesn’t work on iphones/ipads etc as it plays as flash only – so I have found another far more reliable way of cropping a YouTube video before adding it to Moodle, by simply editing the embed code for the video. This technique works really well when accessing videos via Moodle on a mobile device, which I think is going to become a massive feature in the next few years.

The video below will show how to do this (apologies for the poorer than usual sound quality)

In summary:

  1. When we select the embed code we untick all of the option boxes below it.
  2. We copy and paste the embed code into something where we can edit it (e.g. word, notepad)
  3. We find the text “rel=0” and after it add “;start=xxx;end=yyy” where xxx is the number of seconds at which you wish to start the video, and yyy is the number of seconds at which you wish to end the video.

There are lots of uses for this technique – often when watching a YouTube video, you don’t want to show all of it, so cropping the bit that you want makes the process more efficient. You can also use videos as part of Moodle Quizzes, either in the question, the answer choices (it using multiple choice) or in the feedback. So if you find a video of something relevant to your area, you can crop it to just play a few seconds – then ask a question based on what the student has just seen, or have cropped videos in each of the answer choices (e.g. question could be which of the following videos shows the correct technique for ….) then show 4 videos clips, with one correct and 3 incorrect.

I am also a big fan of when using video, we need to instruct the learners what they are doing with it – e.g. asking them to observe something in particular, or critique the video, or watch the video then answer these questions… By breaking a video up using the cropping idea, we can easily add these textual instructions between the clips, rather than just dumping a whole video on the VLE for them to watch without a clear purpose.

This technique works really well with anything that allows iframes to be embedded (e.g. Moodle). It therefore may not work with Blackboard (in which case TubeChop may be still required). I also haven’t too date worked out how to get this to work in PowerPoint – so again for that I am stilling using TubeChop.

 

How to ‘Chop’ a YouTube video and embed it into PowerPoint

 


Addition to this post made on 20/11/12 – if you are wanting to embed a cropped YouTube video into Moodle then visit https://davefoord.wordpress.com/2012/11/20/cropping-a-youtube-video-before-adding-to-moodle/


YouTube is a wonderful source of videos that can be used very effectively within education, but quite often we only want to show a certain part of the video rather than the whole thing. There is now a free and very easy to use method for doing this called TubeChop, and the output from this can be embedded easily into PowerPoint. One of the great things with TubeChop is you don’t even have to create an account on it, so no passwords to remember (or forget!)

Here is a screencast showing how easy this is to use.

Here is an example of a Example Of TubeChop In PowerPoint.

Although not shown in the screencast, TubeChop will also give you some embed code, so you can embed the chopped video into a blog, VLE or webpage. This is particularly useful to Blackboard users, as if you try to embed a YouTube video directly into Blackboard, you can run into difficulties as Blackboard cannot handle iframes (unless you remember to change the settings in Youtube to give the old embed code).

TubeChop (at the moment) doesn’t use iframes, so works well with Blackboard.

Sorry – I have had to turn comments off for this post, as was getting bombarded by spam, you can still comment on other posts in this blog.