Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The video widget allows you to embed YouTube and Vimeo videos on a page.

Datadef elementDescription
Width 
TypeIndicates whether the video is hosted on YouTube or Vimeo.
Vimeo/YouTube > Video IDThe video ID.

Finding the video ID

Vimeo

On Vimeo, videos URLs look something like:
https://vimeo.com/61111623

The video ID is numeric string at the end of the URL. So in the above example, the ID is 61111623.

YouTube

YouTube video URLs can take several forms. The three example URLs below all reference the same video with ID FJEqZqwJvzc.

  1. https://www.youtube.com/watch?v=FJEqZqwJvzc
    The ID appears a the end of the URL following 'v='.
  2. https://www.youtube.com/embed/FJEqZqwJvzc?rel=0&controls=0&showinfo=0
    The ID appears after 'embed/', but before '?'. Note that '?' and everything that follows may not be present in every URL of this format.
  3. https://youtu.be/FJEqZqwJvzc
    The ID appears at the ned of the URL, after the last slash.