Adding YouTube videos

It may be that your practice wishes to supplement a news item or a page with a relevant video. Videos can be a great way of getting visitors to engage with information.

Simple guidelines for adding a YouTube video

  • In order to add a YouTube video to your website, you will need to log in.
  • Navigate to the page you wish to add a video to, either through the main site or using the ‘Pages’ option from the black sidebar. Selecting ‘Edit Page’ will open up the editor.
  • Select a blank spot in the editor for your document to be placed.
  • Once you have found the video you wish to link to on YouTube, look below the video to find the ‘Share’ button.

Screenshot of the share button at the bottom of a YouTube video

  • Note: If the video does not have a ‘Share’ button, this means that the owner has not deemed their video available for public sharing. You may not use this video.
  • Once you have selected the ‘Share’ button, a new window will open up. Use the ‘Copy’ button to copy the URL of the video.
  • Once pasted into the editor, the URL will automatically insert the video into the page.

Screenshot of the YouTube video embedded into the editor

Don’t forget to click on the blue ‘Update’ button to save your changes!

Advanced guidelines for adding a YouTube video

By default YouTube will offer related videos at the end of any video you watch. This is based on the user’s personal YouTube history, so it is unlikely that our Change4Life – Sugar Swaps video will lead to more videos on the topic.

It is possible to remove the related videos from a video you insert into your website. This will be replaced by a playlist of videos that the channel has uploaded, which may be more relevant to your visitors.

  • In order to remove the related videos from a YouTube video, you will need to log in.
  • Navigate to the page you wish to add a video to, either through the main site or using the ‘Pages’ option from the black sidebar. Selecting ‘Edit Page’ will open up the editor.
  • Select a blank spot in the editor for your document to be placed.
  • Once you have found the video you wish to link to on YouTube, look below the video to find the ‘Share’ button.

Screenshot of the embed option on YouTube

  • Select the ‘Embed’ option. This will take you to a screen that displays the video along with a line of code. You will need to copy the code.

Screenshot of the code available to embed into the editor

  • In the editor, you will need to make sure that you are viewing the page from the ‘Text’ tab, which can be found in the right hand corner of the box. This will ensure that the code gets pasted correctly into the editor.

Screenshot of the video URL found within the code

  • Once we have pasted the code into the ‘Text’ tab, we will need to find the full URL within the code. It will be in quotation marks, as seen above. In order to remove related videos from our video, we will need to insert a piece of code in between these quotation marks.
  • After the last letter of the URL but before the closing quotation mark, we will need to type ?rel=0. ‘Rel’ refers to related videos, and the ‘0’ means that we do not wish to show these related videos.

Screenshot of the updated video URL within the code

  • This updated code should ensure that no related videos get shown at the end of the video. When we view our live page, we can see that the related videos have been replaced with a playlist from the channel.

Don’t forget to click on the blue ‘Update’ button to save your changes!