Forums

JW Player for WordPress – Flash & HTML5 Video Player
[resolved] The new v1.4.0 WP plugin has completely stopped working (13 posts)

  1. Dave Boulden
    Member
    Posted 1 year ago #

    The player no longer shows on any page or widget that has the player embedded... this is on an MU install.

  2. LongTail Video
    Member
    Posted 1 year ago #

    Hi Dave,

    Can you provide a link to your site, so I can get a closer look at what's happening?

    Also, do you have the option "Show players on category and search pages" checked in the JW Player admin section?

    Thanks.

  3. Dave Boulden
    Member
    Posted 1 year ago #

    Yes, this site is in a development status, so it's currently set-up as a sub-domain rather than being domain-mapped yet.

    A video playlist embedded in a page is here: http://mbj.daveboulden.co.uk/jelly-telly/

    ..and an MP3 playlist embedded in a the 1st widget in a right hand column is here: http://mbj.daveboulden.co.uk/about/

  4. Dave Boulden
    Member
    Posted 1 year ago #

    ...and I didn't have "Show players on category and search pages", but having now ticked it, it doesn't appear to make any difference.

  5. LongTail Video
    Member
    Posted 1 year ago #

    Hi Dave,

    Thanks for providing the links. I think the problem may be related to the new https support we added as part of the 1.4.0. It looks like the request to jwplayer.js (the embedder) is being made over https which is returning a 404. Without the embedder, the embed code is failing which is why you aren't seeing any players.

    The plugin should only try and use https if you're accessing the current page over https so I'm unsure of why it's behaving this way. Can you provide any more details about your setup?

    Thanks.

  6. Dave Boulden
    Member
    Posted 1 year ago #

    I'm running WP 3.1.1 on IIS7 on Windows Web Server 2008 SP2. Are there any specific details or settings you need info on?

  7. LongTail Video
    Member
    Posted 1 year ago #

    Thanks for the info. Maybe IIS7 is returning something different than I'm assuming in the code.

    Would it be possible for you to check what $_SERVER["HTTPS"] returns on your server when viewing a normal http page? You could probably create a simple php file to test that.

    Thanks.

  8. Dave Boulden
    Member
    Posted 1 year ago #

    It returns the value "off"... I've added it to a php_info() call for you to view here:

    http://mbj.daveboulden.co.uk/lt-info.php

  9. LongTail Video
    Member
    Posted 1 year ago #

    Thanks for doing that. I think I may have a fix then. I'll try and release another small update this afternoon then.

  10. Dave Boulden
    Member
    Posted 1 year ago #

    That's great, thank you. I'll try it out as soon as I see you have released it and give you some feedback.

  11. Dave Boulden
    Member
    Posted 1 year ago #

    Just a quick follow up to your suggestion about HTTPS handling. I took a quick look at the jwplayermodule.php file and if I change line 63 thus:

    $isHttps = ($_SERVER["HTTPS"] == "on");
    $pluginURL = $isHttps ? str_replace("http://", "https://", WP_PLUGIN_URL) : WP_PLUGIN_URL;
    $uploadsURL = $isHttps ? str_replace("http://", "https://", $uploads["baseurl"]) : $uploads["baseurl"];

    Then the player shows correctly. Clearly this probably only works for an IIS7 install, but I think it shows you've correctly identified the issue. Hope that's of some help.

  12. Dave Boulden
    Member
    Posted 1 year ago #

    Just seen you've released a new version. I can confirm that is now working on my installation. Thanks for the prompt fix!

  13. LongTail Video
    Member
    Posted 1 year ago #

    Hi Dave,

    Glad to hear it's working for you.

    Thanks for your patience.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic