Video widgets (shortcode)

On this page

A video widget is a round thumbnail or play button. When a visitor clicks it, your video opens in a lightbox. You can place a widget anywhere with a shortcode, or at a chosen spot on a WooCommerce product page.

Note

Video widgets only show on your site while your license is active.

Create a video widget

  1. Go to Video Connect > Add new Video Widget (the Video Widgets tab in the top bar).
  2. Enter a title. It is only for you; visitors don't see it.
  3. In the Video options box, add your video in one of two ways:
    • YouTube Video URL: paste a link such as https://www.youtube.com/watch?v=... or https://youtu.be/....
    • Upload Video File (MP4/WebM): click Choose or Upload Video and pick a file from the Media Library. Click the trash icon to remove it.
  4. In the Featured image box, click Set featured image. This image becomes the round thumbnail visitors click. Without one, a default image is used.
  5. Choose a template and animation (see the sections below).
  6. Click Publish.

Note

If you add both a YouTube URL and an uploaded file, the uploaded file is used.

Note

Screenshot coming soon: the video widget editor with Video options (YouTube URL / OR / Upload), Template Settings and the side boxes (wp-admin/post-new.php?post_type=wp_videomsg_record)

Choose a template

In the Template Settings box, pick one of four options under Select Template. A Template Preview image shows each design.

Default: your featured image as a round thumbnail with a play icon.

Default video widget template

Call to Action: the thumbnail with a line of text and a button next to it. This template adds four more fields:

  • Call to Action Text, for example "We have a special offer!"
  • Button Label, for example "Learn More" or "Buy Now"
  • Button Target URL: where the button links to
  • Open in New Tab: opens the link in a new browser tab
Call to Action video widget template

Image with Play Button: your image with a separate play button beside it.

Image with Play Button video widget template

Play Button Only: just a play button, with no image.

Choose landscape or portrait

Under Display Mode, choose the shape of the lightbox player:

  • Landscape Mode (16:9): the default, for standard horizontal videos.
  • Portrait Mode (9:16): for vertical videos such as Shorts and Reels.

Add an animation

In the Choose Element Animation box in the editor sidebar, pick an entrance effect under Element Animation, such as bounce, pulse, fadeIn or zoomIn. The animation plays when the widget scrolls into view. Leave it on None (Default) for no animation.

Place the widget with a shortcode

After publishing, copy the shortcode from the Shortcode box in the editor sidebar. You can also click the shortcode in the Shortcode column on Video Connect > All Video Widgets. It looks like this:

[videoconnect_widget id="123"]

123 is your widget's ID.

Paste it into any page, post or widget area. In the block editor, add a Shortcode block and paste it there.

Adding a Shortcode block in the block editor

Show a widget on a WooCommerce product page

  1. Edit a product in Products.
  2. In the Product data box, open the Video widget tab.
  3. In Video widget, select the widget.
  4. In Video data position, choose where it appears, for example woocommerce before add to cart button or woocommerce after single product summary.
  5. Click Update.

Note

Screenshot coming soon: the Video widget tab in WooCommerce Product data with the Video widget and Video data position selects (Products > Edit product)