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

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 the value to put into the video field would be 68uftTvRKCY). The only value required is the ID.

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 <iframe title="vimeo-player" src="https://player.vimeo.com/video/441349745" width="640" height="360" frameborder="0" allowfullscreen></iframe>) the value to put into the video field would be 441349745). The only value required is the ID.

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 for buttons and 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.

 

 

 


Revision #3
Created Mon, Jul 27, 2020 11:13 AM by Jamie Haines
Updated Mon, Jul 27, 2020 11:21 AM by Jamie Haines