Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

Formatting lightbox link using Bootstrap button

by

Tips and Tricks HQ Support Portal › Forums › WP Lightbox Ultimate › Formatting lightbox link using Bootstrap button

  • This topic has 3 replies, 2 voices, and was last updated 10 years, 11 months ago by wpCommerce.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • October 5, 2014 at 4:56 pm #11559
    rgreen001
    Member

    I am wanting to play my own mp4 video in wp-Lightbox-ultimate when pressing a button styled in Bootstrap and am having problems. The video plays, but not in a lightbox.

    The button is being displayed in a form with an action= attribute.

    What I would like is something like in wp-lightbox that uses a rel= attribute. Is there one for wp-lightbox-ultimate?

    If not, can you suggest an alternative please rather than using an image?

    Thanks

    Robbieg

    October 6, 2014 at 1:20 am #65836
    wpCommerce
    Moderator

    Hi, currently the popup window can only be opened from a text/image. Can you please share the code you are using? Also provide a link to the page in question so I can take a look.

    October 6, 2014 at 9:39 am #65837
    rgreen001
    Member

    Hi. You can see the effect here:

    [http://www.larato.co.uk/sales-academy/video-test/]

    The code is like this…

    <form action="http://www.larato.co.uk/sales-academy/wp-content/vid/00-Overview-of-Sales-Academy-2.mp4">
    <button type="submit" class="btn btn-sa saas btn-lg">Play ...</button>
    </form>

    You can see that the video plays but not in a lightbox.

    Thanks

    October 6, 2014 at 11:45 pm #65838
    wpCommerce
    Moderator

    MP4 video requires some additional code to open in lightbox. So there is no easier tweak to trigger the lightbox effect other than using a shortcode. Why don’t you make a text link that looks like a button? It’s possible with CSS.

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ