WordPress.org

Ready to get started?Download WordPress

Forums

Featured Video Plus
[resolved] Lightbox video on featured image click (7 posts)

  1. thatgregdaniels
    Member
    Posted 1 year ago #

    I am trying to use your plugin for its easy backend access to add video output to the homepage and would like to adjust it to make the Featured Image output but when clicked, the video is then loaded in it's place - better yet, loaded in a pop out lightbox.

    I don't know PHP well but I have tried to modify your plugin to work with WP Lightbox http://www.tipsandtricks-hq.com/wordpress-video-lightbox-plugin-display-videos-in-a-fancy-lightbox-overlay-2700 so that the output follows this syntax:

    Post Title

    But I have failed on every account.

    Any ideas? If you added this as a built in feature you could very easily make this one of the most popular plugins out there for video. Even could make a premium version I and others would totally pay for.

    http://wordpress.org/extend/plugins/featured-video-plus/

  2. Alexander Hoereth
    Member
    Plugin Author

    Posted 1 year ago #

    Hey,
    thanks for the positive feedback!

    If I understood your explanation right you want to have a link which onclick opens a lightbox containing the featured video? I will consider implementing a shortcode for this in the future, but atm this is not possible using my plugin.

    Why are you not using the WP Lightbox plugin? Looks like it provides everything you are looking for. Do you rely on my plugin's admin interface?

    Regards, Alex

    Edit: I reread the title of your post: Linking the featured image to a featured video lightbox. Nice idea! I will look into it.

  3. thatgregdaniels
    Member
    Posted 1 year ago #

    Hey no worries - you have created a very valuable plugin in that it provides easy end user support to just paste a video link and be done with it.

    If you were able to keep that functionality but instead of displaying the video it kept the post thumbnail, then when you click on the post thumbnail it either lightboxes out the video or replaces the thumbnail with the video. This has a couple advantages:

    • Decreases pageload by not rendering the video code on page load
    • Allows you to maintain better design by being able to customize a proper image and a custom play button on top

    The WP Lightbox plugin only adds the functionality to be able to lightbox out. It doesn't replace the featured image as your wonderful plugin does.

  4. Alexander Hoereth
    Member
    Plugin Author

    Posted 1 year ago #

    I just released Version 1.7 of the plugin. You can now choose not replace the featured images but make them clickable to either replace them with the video or open the video in a lightbox. Both are using an AJAX request to grab the embed code for reduced load times.
    At the moment you need to somehow indicate that the image will bring up the video yourself. I will integrate an overlay of some sort in the future.
    Feel free to make a donation. The link is on the right of the plugin's repository page ;) You would be the first one to do so! =D

    Regards, Alex

  5. gwydionismyhero
    Member
    Posted 1 year ago #

    Is it possible to not automatically replace featured images and to also not do the ajax image replacement with video?

    Right now, all of my manual php calls are being wrapped in a link that replaces the image with the video, and it's messing with a lot of my layouts!

  6. Alexander Hoereth
    Member
    Plugin Author

    Posted 1 year ago #

    Use option "None of the above: Manually use PHP-functions or shortcodes" now, was broken. Thanks for reporting! Just fixed it.. 3 times in a row *.*.1 - grr :D

  7. gwydionismyhero
    Member
    Posted 1 year ago #

    works great, thank you!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.