The player no longer shows on any page or widget that has the player embedded... this is on an MU install.
The player no longer shows on any page or widget that has the player embedded... this is on an MU install.
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.
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/
...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.
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.
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?
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.
It returns the value "off"... I've added it to a php_info() call for you to view here:
Thanks for doing that. I think I may have a fix then. I'll try and release another small update this afternoon then.
That's great, thank you. I'll try it out as soon as I see you have released it and give you some feedback.
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.
Just seen you've released a new version. I can confirm that is now working on my installation. Thanks for the prompt fix!
Hi Dave,
Glad to hear it's working for you.
Thanks for your patience.
This topic has been closed to new replies.