UC San Diego SearchMenu

Embed a Video into a Web Page

Learn how to embed a video into a CMS web page.

  1. Copy the appropriate HTML code to embed the video. For this example, we'll use a video from YouTube (Vimeo also works). Copy the code from the "Embed" area in YouTube.
    embed code screenshot
  2. Go to the CMS page you want to embed the video into.
  3. Open the Edit window by clicking on the icon.
  4. In the WYSIWYG menu, click the Insert/edit media icon.
    insert media button screenshot
  5. In the Insert/edit media window, click on the Embed tab. Paste the embed code into the window.
    paste embed code screenshot
  6. Note: As of late 2018, YouTube no longer has an option to avoid showing reccomended video links at the end of your video. Instead, you should limit those reccomended videos to be just from your channel.
    1. In the embed code, find the link that follows src="
    2. At the end of the link, add the code ?rel=0 inside the quotation marks.
      embed code rel screenshot
  7. Click "OK" to save.
  8. Click Preview Draft, as usual.
  9. Submit and publish when ready.