Skip to main content

Video List Block (VideoListModule)

Description​

VideoListModule is a static object that is used to display a list of videos. The content can be highly customized, including custom fields (see Custom object property).

Fields are not all required.

The main idea is that this should be a block with a list of videos. This can be displayed as carousel, grid, list or any other way the developer wants to display it.

{object:VideoListModule 
id="object_id"
displayType="display_Type"
name="List of videos with text"
section="exampleSectionName"
thumbnail="path/to/image.jpg"}

{:Title}
{:SubTitle}
{:Description}

{block:VideoListItem
itemCount="1"
url="https://thewebsite.com/path/to/video"}

{:ItemNode}

{:URL}

{:ImageS defaultValue='path/to/image.jpg'}
{:ImageL defaultValue='path/to/image.jpg'}

{:Title}
{:SubTitle}
{:Description}

{/block:VideoListItem}

{/object:VideoListModule}

Object attributes​

  • :VideoListModule - name of the object and the Type
  • id - used to identify the object, this will be used to match the correct object when the user is updating the template
  • displayType - object info display type, see Object Display Type
  • name - name of the object, seen by the user when editing the website content
  • section see Settings
  • thumbnail - preview of the object

Block attributes​

  • id - used to identify an list when there are more than one list in the object, see Item Node Property
  • itemCount - default items when the object is first rendered, using the imageL as default image
  • isCircular - flag that indicates if the list is circular, moving items in list and reaching the ends, the item would be pushed at the other end
  • menuVerticalPosition - the position of the item menu in website editor, values: middle and top, default value is top
  • menuDisabled - a flag telling the website editor to show the item menu or not

Property attributes (available for all properties)​

  • isExternalEdit - flag that marks the field to be edited in the sidebar, useful when the property is inside a link.

Properties​

  • :VideoListItem - items block
  • :ItemNode - see Item Node Property
  • :URL - url of the video
  • :ImageL - will be replaced the the image URL - the large version of it
  • :ImageS - will be replaced the the image URL - the small version of it
  • :Title - title of the module
  • :SubTitle - sub title of the module
  • :Description - description or just some text that goes with the image or the module.
  • itemCount - default items to be rendered
  • url - default item video url when rendered