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.

Example video widget.Image Added

Datadef elementDescription
Width Indicates 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.

...

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 video URLs can take several forms. The three example URLs below all reference the same video with an ID of 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 end of the URL, after the last slash.

...