• Hi
    I’m using JWPlayer with tweetit and facebookit plugin, but I could not find a simple way to make them work properly.
    My videos are displayed in a category page (with several video per page) and if I share it, the same category page url is shared for all video. I tried to set the tweeit.link option to “true”, but then the shared URL is “true” !

    Here is my hack to solve the issue :
    in framework/JWEmbedderConfig.php

    public function generateEmbedScript() {
        global $post;
        [...]
        $permalink = get_permalink($post->ID);
        $script .= "'fbit.link': \"$permalink\", ";
        $script .= "'tweetit.link': \"$permalink\", ";
        [...]
    }

    Then with the share URL as the video permalink, all facebook meta tags are in place on the right page.

    I you could integrate this in the next release, it could be great !
    Thanks

  • The topic ‘[Plugin: JW Player Plugin for WordPress] Twitter and Facebook’ is closed to new replies.