Field: Video Modal
Video Modal
A video modal. Activated by "Id". This can be on a hyperlink or button
Category: Waterlogic Fields.
Settings
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.
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.
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.