Video Widget

The Video widget lets you easily embed videos from different sources directly onto your site.

This widget lets you add videos from platforms like YouTube, Vimeo, and self-hosted videos. It provides customization options for video controls, play buttons, and other display settings to ensure your video fits seamlessly with your site’s design.

How to add the Video widget to the layout builder

In the layout, you need to create a new section, choose a grid layout and click adding a new element. Adding a new element will show a popup including all the widgets available.

Simply select the Video widget from the Widget panel, and then it'll be added to the layout section where you want to add the widget.

The Video widget settings come with 4 different settings tabs:

  • General Settings

  • Design Settings

  • Responsive Settings

  • Menu Assignment

I. Video - General Settings

General Options

In the general options, you can choose a video type and upload the video source.

  • Element Title: Enter the element title.

  • Video type: Choose a video type (Youtube/Vimeo or Custom)

  • Video Button URL: If you choose Youtube/Vimeo, enter the video's url into this field.

If you choose Local Video, you can upload MP4 and OGV videos from your computer.

Video Widget Style

In this section, you can find several options for video controls, play buttons, and other display settings.

  • Show Related Videos:

  • Turn off Youtube Cookies:

  • Add Youtube Shorts:

  • Aspect Ratio:

  • Show Author (Vimeo):

  • Mute Video (Vimeo):

  • Show Author’s Profile Image (Vimeo)

  • Show Video Title (Vimeo)

  • Show Control

  • Video Loop

  • Autoplay

II. Video - Design Settings

  • Element Visibility: Choose to set the element to be visible on "Current and all linked pages", or on "Current menu items only".

  • Animation: Choose an animation for the widget.

  • Max Width: Set the Max Width for the widget.

  • Text Alignment: Set the alignment of the text of the widget.

  • Background Type: Select the background type for the widget from None, Color, Image, Video or even add a Gradient.

  • Custom Color: Choose whether you want to enable or disable the custom colors for the widget. If you enable it then you have the option to set Text Color, Link Color & Link Hover Color of the element’s content.

Spacing

Add margin and padding values over the row to improve its appearance on different devices.

III. Video - Responsive Settings

Device Visibility: Choose your preference for hiding or showing the section on different screens like:

  • Hide on Extra Small Devices

  • Hide on Small Devices

  • Hide on Medium Devices

  • Hide on Large Devices

  • Hide on Extra Large Devices

IV. Widget's Menu Assignment

Since Astroid framework 3.0.12, the menu assignment feature has been introduced, which is applied to widgets available in Astroid's widget library.

You can choose between On all pages, No pages, Only on the pages selected from the List.

  • On all pages: the widget will be visible on all pages of your website

  • No pages: the widget will be invisible on all pages

  • Only on the pages selected: "Menu Selection" will show with all the menu items on. You can assign the widget by selecting the menu links that you want the widget associated with on what pages the widget appears.

Last updated

© Astroid Framework 2023.