Building your Course
4. Book: Embedding a Video, Adding Audio and Transcripts
You might also want to add video and/or audio footage to your book. Let’s take a closer look at how to add these different types of assets, and some different approaches to adding transcripts to your course.
Embedding a Video
For storage reasons, videos should be embedded from a host site such as YouTube or Vimeo rather than directly uploaded to your course’s homepage.
If you are creating original video content for your RCH course – rather than embedding existing content – you should discuss hosting on the RCH YouTube channel with your RCH points of contact. They will support with any branding requirements and arrange for your video content to be uploaded to the RCH YouTube channel.
Embedding a video from YouTube requires a slightly different process.
Embedding a Video from Anywhere Other than YouTube
Place the cursor at the point in the course content where you want to add a video and click on the Embed media icon.
This will open a new pop-up window with the heading Content properties.
Copy and paste the URL of a video into the Enter URL: field.
Assuming the URL is valid, the form should automatically populate the title of the video and the video's dimensions in the Describe this content (optional): and Size fields.
- Amend the description as preferred.
- By default the video's dimensions will appear as 200 pixels wide, which is quite small. If you keep the Auto size tickbox ticked and change '200' to '600', the height will adjust automatically.
Click on Save content.
If you want to replace a video you can do so by double-clicking on it while you are editing your book.
Embedding a Video from YouTube
Find the video that you want to embed on YouTube and click on the Share button underneath it.
This opens a pop-up window showing a variety of sharing options. Click on Embed.
Make sure that the Enable privacy-enhanced mode tickbox is ticked. In the embed code 'www.youtube.com' should now read 'www.youtube-nocookie.com'. Click on Copy to copy the embed code.
Go to the page in your Moodle book where you want to add the video and click on the Source code Pro button.
Place the cursor at the point in the course content where you want to add a video and paste the embed code.
Click on Save to return to the editing view and click on Save changes.
Adding an Audio File
To add an audio file, place the cursor at the point in the course content where you want to add a video and click on the Multimedia icon. This will open a new pop-up window with the heading Insert media.
Add the audio file by dragging and dropping it into the area shown or by clicking on the Choose File button and navigating to it.
Edit the title of the audio in the Media title field and tick the relevant tickboxes to choose whether you want the audio to play automatically, be muted or play in a loop. (We recommend that you don’t untick Show controls.) Click on Save.
Note that audio podcast episodes can be added using the same method as embedding a video described above by entering the URL of the RSS feed into the Enter URL: field.
Adding a Transcript
It is good accessibility practice to provide a transcript of video and audio material in your course. Many learners find transcripts helpful, even if the audio or video file is fully accessible to them.
There are two ways of adding a transcript.
Method 1
Click on the Source code Pro icon and scroll down to where you embedded the video. Hit the Enter key on your keyboard to create a blank line in the code.
Copy the following code and paste it onto the blank line:
<details>
<summary><strong>Transcript</strong></summary>
<br>
<p>This is the first paragraph of the transcript.</p>
<p>This is the second paragraph of the transcript.</p>
<p>This is the third paragraph of the transcript.</p>
<hr>
</details>
Here's how the code above works onscreen:
Transcript
This is the first paragraph of the transcript.
This is the second paragraph of the transcript.
This is the third paragraph of the transcript.
Then you’ll need to add the transcript itself.
As you can see, we’ve added three paragraphs with placeholder text at the end of the code. This is where your transcript will go.
- If you have a transcript and it’s already arranged into paragraphs you just need to add ‘<p>’ and ‘</p>’ to the beginning and end of each paragraph and paste them over the placeholder text.
- If you’re relying on an automatically generated transcript (from YouTube, for example), note that you will probably need to carefully edit it to make sure that the text is accurate and makes sense. It needs to be easy to read: several lines from an automatically generated transcript should be combined into one paragraph and you will need to make sure that the timing codes are removed.
Once you’re happy that your video and transcript are in place, click on the Save button and confirm that they’ve been added to the course correctly.
Method 2
Place the cursor at the point in the course content where you want to add it (e.g. under a video or audio file) and click on the HTML Transcript icon.
Give your transcript a Title, which you have the option of showing or hiding.
Add the transcript text in the Content field.
Click on Save.


