Tips and Tricks HQ Support Portal › Forums › WP Lightbox Ultimate › WordPress Gallery (video playlist)
- This topic has 5 replies, 2 voices, and was last updated 10 years, 6 months ago by wpCommerce.
-
AuthorPosts
-
May 7, 2014 at 3:00 am #10778sgaleMember
Is there anyway to create a playlist of MP4 videos in the WP Gallery with a lightbox? (Or even a direct URL pointing to multiple video hrefs?)
I found this capability for an Image Gallery.
[gallery link="file" ids="458,457,456,455" wplu_rel="wp_lightbox_colorbox_image"]
I can do this, using the free Video Gallery rel=”wp-video-lightbox[iframes]” with multiple videos in a post. Then can click prev/next to go through each one in the lightbox. But can’t figure out how to do this with the paid Ultimate version. Is there something similar to your iframes lightbox in the Ultimate version?
May 7, 2014 at 12:34 pm #62745wpCommerceModeratorHi, currently we don’t have any option to open a MP4 video in lightbox from a WordPress Gallery. However, you should still be able to pop up a post/page (containing videos) using iframe. Please change the rel to
wp_lightbox_prettyPhoto[iframes]
and see how it goes.May 11, 2014 at 1:41 am #62746sgaleMemberThanks for the reply. Here’s my problem, using either the Ultimate WP or Video Lightbox version. You’re right, the wp_lightbox_prettyPhoto[iframes] or the wp-video-lightbox[iframes] in a post, will bring up all videos in the post and let me prev/next through each one in the lightbox display. Exact behavior I need….
However, the posts I’m trying to get working, are using another [short code] (fwiw facetwp is the plugin) that displays the video href/links using the correct rel=”wp-video-lightbox[iframes]” syntax you provide. (It works great, outside the shortcode) But the lightbox doesn’t work if the facetwp shortcode php template renders my hrefs and rel instead.
I believe it has something to do with the javascript load order, or the way this other shortcode executes *after* whatever your code does on each post display.
Is there a way to execute your code LAST, or enqeue the javascript again to pickup these hrefs and the related rel code? Maybe put your javascript in the facetwp folder, and have a function of yours called again, to reinitialize the rel links after this plugin renders my href links?
FWIW, if I use your shotcode [wp_lightbox_mp4_video link=attachment_url …] works fine in my same php template that renders it. Using the REL method, doesn’t. And your shortcode is limited to only displaying a single video in a lightbox at a time. So I’m stuck.
Any ideas you can give me here, would be greatly appreciated.
May 12, 2014 at 12:07 am #62747wpCommerceModeratorHi, can you please provide a link to the page in question so I can see how facetwp plugin works?
May 12, 2014 at 9:07 pm #62748sgaleMemberSure thing… can you give me an email address so I can send you the private details you’ll also need. Username/password for example. Thanks for your willingness to check it out.
May 13, 2014 at 1:31 am #62749wpCommerceModeratorI just sent an email to your registered email address. You can reply to it with the login details.
-
AuthorPosts
- You must be logged in to reply to this topic.