Field: Video Modal
Video
SimpleA video field,modal. withActivated theby option"Id". toThis putcan Vimeobe on a hyperlink or Youtube video onto the resource.button
Category: Default.
Waterlogic Fields.
Additional Settings: (as found within field cog, highlighted in blue)
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://wldocs.gelstudios.co.uk/books/content-blocks/page/field-wl-button for buttons and http://wldocs.gelstudios.co.uk/books/content-blocks/page/field-wl-hyperlink for hyperlinks). This needs to be be unique to any other ID on the page.




