The video widget allows you to embed YouTube and Vimeo videos on a page.
Datadef element | Description |
---|---|
Width | |
Type | Indicates whether the video is hosted on YouTube or Vimeo. |
Vimeo/YouTube > Video ID | The 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.
- https://www.youtube.com/watch?v=FJEqZqwJvzc
The ID appears a the end of the URL following 'v='. - 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. - https://youtu.be/FJEqZqwJvzc
The ID appears at the ned of the URL, after the last slash.