Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

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

Example video widget.

Datadef elementDescription
WidthIndicates the width of the widget relative to the total amount of horizontal space available. Note that including a secondary navigation or sidebar on your page will decrease the total horizontal space available for widgets. This setting affects widget widths on large screen sizes only.
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 the numeric string at the end of the URL, after the last slash. 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 end of the URL, after the last slash.

 

  • No labels