Hi, there. Working on a site where the client wants a video to auto open in a Lightbox when the page opens. I figured the easiest way to do that may be to first put a link to a video in a “Hero” button and have that open the Lightbox manually.
I was trying “$(‘.themeblvd-lightbox.lightbox-iframe, li.menu-item.video > a’).magnificPopup.open();” as that seems like what you’re attaching Magnific to, but it’s throwing errors.
Any ideas? For what it’s worth, my button class is: “themeblvd-lightbox mfp-iframe lightbox-iframe btn btn-default btn-lg”
- You must be logged in to reply to this topic.