• 0
Sign in to follow this  
Followers 0

Generating a lightbox with a video (or form, etc.) when clicking a 'button'


Question

Posted · Report post

I am trying without success to emulate the example in this site: http://www.cleanprogram.com/.

When you click on "Play Video", what is probably a lightbox opens in the center of the screen, without leaving the page, and... well, plays a video.

The idea is to use a component like Masthead (or maybe Hero) and enable the video so that clicking in the Masthead Action Button will trigger the lightbox. 

I thought I could use popup plugins like Simple Popup Plugin, using a shortcode. Didn´t work. 

I then tried Lightbox Plus Color Box, and after reading about it in a forum, JQuery Colorbox plugin. No success there either. 

Then, here - http://support.pagelines.me/docs/miscellaneous/shortcodes/ - I found a PageLines shortcode to insert YouTube and Vimeo videos, but inserting 

 

  1. [pl_video type="vimeo" id="50522981"]

in the link destination just opened the video inside the button itself. 

I couldn´t find any other reference to this problem in the forums.

Please help.

 

Share this post


Link to post
Share on other sites

3 answers to this question

  • 0

Posted · Report post

Hi there, that site looks like it's using http://fancybox.net/ for the lightbox effect.

 

You wouldn't be able to trigger the video from the button inside the pre-set section. However if the section has a text field, like the highlight section, you could make your own button inside the text field using the shortcode the plugin provides to activate the video.

 

http://screencast.com/t/PVVTBZZR8

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Thank you, James.

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Thanks for informing us the issue has been resolved.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0