Video Block

Settings

This section will help you set up the video block. Let’s take a look at the available options.

  1. Autoplay: If enabled the video will begin playing automatically when the page loads. (does not work on mobile devices).
  2. Loop: If enabled the playback will restart when the video reaches its end.
  3. Muted: If enabled the video will be muted by default.
  4. Playback Controls: If enabled will display interactive playback controls.
  5. Play Inline: If enabled, mobile browsers will play the video in-place instead of fullscreen by default.
  6. Preload: Choose what sort of data will be preloaded ( before the user clicks to play the video).
  7. Poster Image: Choose an image which will be displayed as a placeholder before the playback starts.

Block Appearance

Under the block appearance tab you can control how the block looks. Let’s check out the options.

  1. Border: This option allows you to select the border style via the drop down and then select the border color and width.
  2. Border Radius: This option allows you to round the block’s corners.
  3. Box Shadow: This option allows you to apply an inset/outset box shadow, its color, spread, blur radius and offset.
  4. Padding: With this option you can individually control the padding on each side of the block.
  5. Margin: With this option you can individually control the margin on each side of the block.

Notice that the Padding and Margin options have three icons next to their label. These are the Desktop, Tablet and Mobile icons. By clicking each icon you can separately modify the values of padding/margin for each device.


Visibility Settings

Via the Visibility Settings you can hide the block for certain type of device or user.

The Viewport visibility toggles allow you to hide the block on desktops, tablets and mobiles. You can choose to hide it on more than one device type.

The Authentication visibility toggles allow you to display the block only to logged in or logged out users.