Skip to main content

Field: Video

WL Button.Video.

AbilitySimple video field, with the option to selectput a button with content blocks, for use with resource ID, External URL, ModalVimeo or ScrollYoutube tovideo IDonto the resource.


Category: Waterlogic Fields.Default.
Content Blocks Documentation: https://docs.modmore.com/en/ContentBlocks/v1.x/Fields/index.html


WL-Button.pngvideo.png

Additional Settings: (as found within field cog, highlighted in blue)

WL_Button_Additional_Settings.pngvideo-settings.png

Settings

ButtonVideo Text:Type: The textvideo tosource display(where withinthe the url is hosted from, Youtube or Vimeo). Default Youtube

ButtonFor Type:Youtube Videos: Where should this button link go? Options:

    To

    Resourceshow IDa -video The resource ID thaton the buttonWL shouldsite linkfrom Youtube, you need to Externalobtain URLthe -video An external urlid (e.g.i.e for https://www.google.co.ukyoutube.com/embed/68uftTvRKCY the value to put into the video field would be 68uftTvRKCY)  Modal -. The IDonly ofvalue required is the modal popup as defined in the Modal Popup content block Scroll to ID - The section that you would like this button to scroll to. Defined by Layouts ID.

    Button Destination: The location where this button should go to. Relevant to the Button Type setting.video-youtube-embed-url.png

    ButtonFor Colour:Vimeo Videos:

    The

    To colourshow ofa video on the button.WL Defaultsite Lightfrom Blue.

    Youtube,

    Fontyou Size:need Selectto obtain the textvideo size from the pre-defined list of sizes. Default Regular

    Font Awesome Icon: Font Awesome Icon to use to the left of the button text, seeid (i.e for <iframe title="vimeo-player" src="https://fontawesome.player.vimeo.com/icons?d=gallery)video/441349745" forwidth="640" iconsheight="360" thatframeborder="0" can be used. Note: do not add a Font Awesome Icon if you have pointer icon position set to left.

    For Example: Star icon (https:allowfullscreen><//fontawesome.com/icons/star?style=solidiframe>) the value to beput usedinto the video field would be fa-star.441349745). The only value required is the ID.

    Show Pointer Icon: Should the pointer icon show for this button. Default no.

    Pointer Position: If the pointer is set to show as per Show Pointer Icon setting within this field then, where should it be positioned? Note: if pointer position is left, you should not use a Font Awesome Icon.

    Alignment: What position should this sit within the layout. Left, right or centre. Default Left.vide-vimeo-embed-url.png