• Resolved artifactivate

    (@artifactivate)


    Hey Alex…

    First off, I LOVE THIS PLUGIN! I was looking for something like this for almost 2 years and finally found heaven. It truly is quite brilliant and makes video blogs like my own so much more easy to engage with! Well done!

    I found this post from 2 years ago where someone was stating how they were using this plugin with JW player. But I have been trying to do the same with JW player (version 6) and cant get the shortcode video to launch inside the FVP featured image.

    Example:
    1) I started by adding the video link into the wordpress media library (it is hosted on an external source – Amazon S3).
    2) Then, I copy & paste the JW player video shortcode for that video into the FVP box.
    3) Save & Preview the post

    But when I click on the featured image in the post, the video doesnt open. Is there a way to integrate into JW player for those of us who use that player to display “self-hosted” videos that are stored externally? Perhaps I’m doing something wrong if that user two years ago was able to get it to work? I am prepared to make a donation to this plugin for your assistance and guidance. Many thanks!

    https://www.ads-software.com/plugins/featured-video-plus/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Alex

    (@ahoereth)

    Well.. I just played around with the JW Player plugin. First I ran into some ugly errors and reported them.. again. They already did not fix those errors when they were reported quite some time ago.

    Second I enabled shortcode parsing for raw text in the featured video input – which works awesome for galleries and stuff, thanks for the idea.

    Sadly for you this does not work for the JW Player right away because they do not use the native WordPress shortcode API:

    From jw-player-plugin-for-wordpress/tags/2.1.14/jwp6/jwp6-class-shortcode.php#L82:

    // Adds the filters for this class
    public static function add_filters() {
        if (JWP6_USE_CUSTOM_SHORTCODE_FILTER) {
            add_filter('the_content', array('JWP6_Shortcode', 'the_content_filter'), 11);
            add_filter('the_excerpt', array('JWP6_Shortcode', 'the_excerpt_filter'), 11);
            add_filter('widget_text', array('JWP6_Shortcode', 'widget_text_filter'),  11);
        } else {
            add_shortcode('jwplayer', array('JWP6_Plugin', 'shortcode'));
        }
    }

    The JWP6_USER_CUSTOM_SHORTCODE_FILTER constant is set to true. If you change this to false (jwplayermodule.php file in the plugin’s folder) it works fine (at least on the frontend).


    Because of which functionality exactly do you need to use JW Player? I am planning to support externally hosted videos in a upcoming release – something else?

    Thread Starter artifactivate

    (@artifactivate)

    Glad my post gave you some ideas! A lot of self-hosted video blogs/creators use JW player. And I definitely see how enabling shortcode parsing for the featured video input could give you some interesting options and configurations! So thanks for looking into this…

    For my own functionality request, I’d like to click the featured image and have the lightbox pop-up and play the video using the JW player plugin (on the main index page, search archives, category archives, and single post). That’s basically all I need it for right now.

    Are you saying I will be able to achieve this functionality if I change the above-mentioned setting to FALSE?

    Plugin Author Alex

    (@ahoereth)

    Give it a shot. Loading the video in a lightbox uses ajax (if you use FVP for it) which then again is not supported by the plugin. I posted a feature request in their support forums – can’t really do anything about it.

    But again, FVP supports the ‘load video in lightbox’ on its own with local videos – why do you need JW Player? I will look into enabling externally hosted videos soon, is that the only thing missing for you right now?

    Thread Starter artifactivate

    (@artifactivate)

    Thats basically all that’s really missing for me right now, correct! I will give it a try and post here with my results.

    I was planning to use JW player 6 because of the potential pre-roll and post-roll advertising options that can be enabled with JW player accounts. I also like having my own logo on the player, and like the fact that JW player embeds can be shared on social media sites with links directly to my website. The customization options are pretty nice! Obviously for a video blogger, such opportunities can be a huge help in paying for external video hosting solutions and content delivery. Sometimes youtube isnt always the best, and google adsense isnt always as lucrative as some other platforms.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘JW player integration?’ is closed to new replies.