WP Video Lightbox

Buttons X now supports WP Video Lightbox plugin for WordPress.

This feature is available since v1.8.0.

Step-by-step guide

Follow these steps to easily configure video lightbox:

  1. Go to buttons list page. Dashboard > Buttons X > Buttons.
  2. Edit a button or create a new one.
  3. Once on the button edit screen select 'Link' tab under 'Content' section (if not already selected).
  4. Select 'WP Video Lightbox' under Link Type.
  5. Once you select 'WP Video Lightbox' as link type then various fields related to 'WP Video Lightbox' will become visible.
  6. 'WP Video Lightbox - Type' select field contains two options 'Vimeo' and 'Youtube'.
  7. 'WP Video Lightbox - Video ID' :
    1. Vimeo Video ID: If your Vimeo video url is "https://vimeo.com/151048570" then video id is 151048570.
    2. Youtube Video ID: If your Youtube video url is "https://www.youtube.com/watch?v=vqiABPHh1sA" or "https://youtu.be/vqiABPHh1sA" then video id is vqiABPHh1sA.
  8. 'WP Video Lightbox - Video Width'. Add video width (in pixels). Eg: 640. If left empty default width set in WP Video Lightbox settings will be used.
  9. 'WP Video Lightbox - Video Height'. Add video height (in pixels). Eg: 480. If left empty default height set in WP Video Lightbox settings will be used.
  10. Save the button after all options are configured.
  11. That's it! Now if someone clicks on this button then the video lightbox will open.