Foliovision › Forums › FV Player › How to … › Using the Video Lightbox Effect
-
-
Hi Anthony!
It is certainly possible to have some videos on a page with lightbox and some without. It will not work for videos in one playlist – they will either have lightbox on or off as you choose. Just make sure the videos you want without lightbox do not have lightbox=”true” in their shortcode.
If you are using our editor it is quite easy (make sure in sitewide player defaults lightbox option is enabled). When you insert a video and you wish for it to have lightbox you just click lightbox option and if you do not you won’t include it.
Thanks,
LuciaHello,
The video window ignores the width and height settings if “Integrations/Compatibility/”Always use fixed size player:” is unchecked. video window display is always close to full screen.
If “Always use fixed size player:” is checked, the video window gets correctly sized, but then the splash dimensions from ‘lightbox=”true;150;150;” are ignored and the splash dimensions used are same as set for video window.
this is the short code used [fvplayer src="https://d1sf2l8jdr5bcy.cloudfront.net/c1l1t2.mp4" width="800" height="600" lightbox="true;150;150;"]
Are there any other settings need to control both video window size and splash size at the same time ?
Thanks,
GregHello Greg,
thank you for the bug report. The cause of that bug is that we allowed the playlist to show in the lightbox view not like multiple items (meaning each playlist item has its own lightbox item), but as player together with playlist thumbnails below it.
Now we fixed this bug with single video display and prepared it for the next plugin release. If you need this bug right now, you can reinstall FV Player from this link: https://github.com/foliovision/fv-wordpress-flowplayer/archive/master.zip To do that you will have to first deactivate and delete the current FV Player plugin you are using. WordPress will warn you that you might loose settings and data, but it’s not the case with our plugin, no settings now videos will be lost. Or you can just replace the plugin files via FTP.
Thanks,
MartinHi Martin, which plugin should be replaced with github zip file ? FV player or FV Player Pro ?
Thanks Juraj, the player now get correctly sized for thumbnail and display, as specified in shortcode using ‘lightbox’ method.
However, using this method, in full-screen mode, the display now extends beyond the height of a typical laptop or desktop screen, requiring user to have to scroll down to see control bar.
Full-screen mode displays correctly if not using ‘lightbox’ method in shortcode.
Hi Martin, Juraj,
I spoke too soon on everything working ok… In optimal’s main site (optimalmrm.com) all works fine with versions 7.4.7.727 for both player and pro.
However, in the subdomain (mmf.optimalmrm.com), when the player was upgraded from 7.4.6.727 to 7.4.7.727 (with pro already at 7.4.7.727), the player returns error msg “…html error… try loading adobe flash”. When the player was rolled back to 7.4.6.727, it’s able to play videos again.
The subdomain uses up-to-date technology like woocommerce and learndash. The main optimal site (where everything is working with 7.4.7.727 uses old wordpress technology). Both use aws cloudfront with fvplayer to serve videos.
Regards,
Greg
Hello Gordon,
Thank you for reaching out to us!
Is this what you have been looking for? : https://foliovision.com/player/features/playback/using-lightbox#anchor-text-with-lightbox
It lets you create a text that opens up a lightbox upon clicking.
Thanks,
MariaHello Gordon,
I tried to simply use this markup and it worked:
<a href="https://cdn.foliovision.com/images/2022/06/title-video-in-course-640x368.png" class="colorbox">image</a>
However I found it only works when FV Player is also on the page.
You also need to have “Use video lightbox for images as well” setting in wp-admin -> FV Player -> Settings enabled.
Please reinstall FV Player from this ZIP file: https://foliovision.com/downloads/fv-wordpress-flowplayer.zip
Then it will work. This fix will be also part of the next release.
Thanks,
Martin