Skip to main content

Video Lightbox

Live preview of the Video Lightbox element in the Salient WordPress theme. A round play button with two rings pulsing out from it and the words View Explainer Video beside it; hovering grows the button and clicking opens the video in a lightbox. Sample content, for demonstration only.

The Video Lightbox element places a trigger on your page (a play button, a preview image, or a styled button) that opens a YouTube or Vimeo video in an overlay above the page. Nothing loads until the visitor clicks, so a page can offer video without paying for the embed on first load.

It is the usual choice for:

  • Hero sections with a "Watch the film" play button over a background image
  • Product or feature pages where the video supports the copy rather than leading it
  • Demo reels and case studies presented as a poster image
  • Any page where an inline embed would push the real content below the fold
Self-hosted video

This element expects a YouTube or Vimeo URL. To play a video file hosted on your own server, use the Self Hosted Video Player element instead.

Usage​

  1. Add the Element: In the Salient WPBakery page builder, click Add Element and choose Video Lightbox.
  2. Paste the Video URL: Enter the full YouTube or Vimeo URL, for example https://vimeo.com/118023315 or https://www.youtube.com/watch?v=6oTurM7gESE.
  3. Choose a Link Style: Decide how the trigger looks: a bare play button, a play button with text, a preview image, or a Nectar Button.
  4. Style the Trigger: Set the button color and style. For the image styles, also set the preview image, its corner radius and shadow.
  5. Add Accessible Link Text: Fill in Link Screen Reader Text so the trigger describes itself to assistive technology.

Options​

Determines what the visitor clicks. Several options further down apply to only one or two of these styles.

Link StyleTrigger
Play ButtonA standalone play button, usually placed over a row background image.
Play Button With textA play button with a text label beside it.
Play Button With ImageA preview image with a play button centered on it.
Play Button With Image - Mouse FollowA preview image where the play indicator follows the cursor across it.
Nectar ButtonA standard theme button in any of your accent colors.
  • Video URL Text The URL of the video on YouTube or Vimeo.
  • Play Button Color Choice Applies one of your theme colors, defined in Theme Options > Accent Colors, to the play button.

Play Button Style Choice​

The play button treatment:

  • Colored Button Pulse (default): a filled button with a pulsing ring
  • Button Bordered Small: a smaller outlined button
  • Button Bordered Top: an outlined variant
  • Play Button Size Choice Default or Larger.
  • Text Color Choice Sets the label color for the styles that include text: Default, White or Black.
  • Video Preview Image Media The poster image shown for the two image-based link styles. Choose an image that reads at the size it will actually render. A frame from the video itself usually beats a stock thumbnail.
  • Image size Text Optionally load a specific registered WordPress image size for the preview image rather than the default.
  • Hover Effect Choice What happens when the visitor hovers the trigger: Zoom BG Image or Zoom Button.
  • Box Shadow Choice The depth of the shadow under the preview image: None, Small Depth, Medium Depth, Large Depth or Very Large Depth.
  • Border Radius Choice Rounds the corners of the preview image: 0px, 3px, 5px, 10px, 15px or 20px.
  • Mouse Indicator Style Choice For the mouse-follow style, how the cursor indicator is drawn: Default, See Through Contrast or Solid Color.
  • Mouse Indicator Color Color The color of that indicator when Solid Color is selected.
  • Link Text Text The text shown beside the play button, or on the Nectar Button, for the styles that use a label.
  • Text Font Style Choice Which element the link text inherits its styling from, so the label matches your existing type scale instead of introducing a new size.
  • Color Choice For the Nectar Button style, the button color: your accent color or extra colors 1 to 3, each available solid or transparent.
  • Parent Row BG Hover Relationship Toggle Zooms the parent row's background image slightly when the visitor hovers the trigger. This is what ties a play button to the hero image behind it, so the whole section responds as one.
  • Link Screen Reader Text Text Text describing the link for screen readers. Worth filling in on every instance: a play button with no label is otherwise announced as an unlabelled link.
  • Nofollow Link Toggle Adds rel="nofollow" to the trigger link.