# Field: Video Modal

#### **Video Modal**

**A video modal. Activated by "Id". This can be on a hyperlink or button**

---

Category: Waterlogic Fields.

---

[![video-popup-modal.png](http://websitedocs.waterlogic.com/uploads/images/gallery/2020-07/scaled-1680-/video-popup-modal.png)](http://websitedocs.waterlogic.com/uploads/images/gallery/2020-07/video-popup-modal.png)

**Settings**

**Video Type:** The video source (where the url is hosted from, Youtube or Vimeo). Default Youtube

**For Youtube Videos:**

To show a video on the WL site from Youtube, you need to obtain the video id (i.e for [https://www.youtube.com/embed/68uftTvRKCY](https://www.youtube.com/embed/68uftTvRKCY) the value to put into the video field would be **68uftTvRKCY**). The only value required is the ID.

[![video-youtube-embed-url.png](http://websitedocs.waterlogic.com/uploads/images/gallery/2020-07/scaled-1680-/video-youtube-embed-url.png)](http://websitedocs.waterlogic.com/uploads/images/gallery/2020-07/video-youtube-embed-url.png)

**For Vimeo Videos:**

To show a video on the WL site from Youtube, you need to obtain the video id (i.e for &lt;iframe title="vimeo-player" src="https://player.vimeo.com/video/**441349745**" width="640" height="360" frameborder="0" allowfullscreen&gt;&lt;/iframe&gt;) the value to put into the video field would be **441349745**). The only value required is the ID.

[![vide-vimeo-embed-url.png](http://websitedocs.waterlogic.com/uploads/images/gallery/2020-07/scaled-1680-/vide-vimeo-embed-url.png)](http://websitedocs.waterlogic.com/uploads/images/gallery/2020-07/vide-vimeo-embed-url.png)

**Video URL:** the ID's of the video as advised above, different for both Youtube and Vimeo.

**Modal ID:** A unique ID to us as a reference for opening this video modal. The modal can be triggered to open from hyperlinks and buttons (see [http://websitedocs.waterlogic.com/books/content-blocks/page/field-wl-button](http://websitedocs.waterlogic.com/books/content-blocks/page/field-wl-button) for buttons and [http://websitedocs.waterlogic.com/books/content-blocks/page/field-wl-hyperlink](http://websitedocs.waterlogic.com/books/content-blocks/page/field-wl-hyperlink) for hyperlinks). This **needs to be** be unique to any other ID on the page.