Order Now AdSolution Sign Up | Login » Bits on the Run Sign Up | Login »

Forums

/

JW Player / Wordpress plugin for multi-site Wordpress installs

9 replies [Last post]
Reply

I was able to resolve the issues that I had with getting skins to load in a multi-site setup, but I've noticed a few things that need to be addressed for large multi-site Wordpress installs.

1) There needs to be a way to hide "Uninstall Plugin" section on the player settings, or at least hide it from all but super-admins. I have far too many users who would click on that and zap it for everyone. (We are going to do a custom hack to hide this, but it should be built in).

2) There should be a way to install the player once globally for all sites. I'm not looking forward to installing this manually on each of our subsites that are using video, or to having users attempt to activate the plugin and then calling me when they can't get it to work.

I have over 150 subsites with 500+ users, with about 15 or so of the subsites currently with video, but I'm sure that will grow, so you can see how managing some of this at the higher level would be a good thing. :-)

Reply

Hi Karl,

I'm glad you got the initial issue resolved.

Multi-site was not something we considered as part of the initial design of the plugin. However, this is something we can start to look into now that the plugin is maturing. Thanks for your feedback.

Reply

Hi Karl,

Any chance you could post your solutions (read hacks) to the Jes player plugin on wordpress installs using multi-site?

I'm specifically having troubles with skins and playlists...

Any help on anything related to this plugin on multi-site is appreciated.

*note: I searched for answers before posting and couldn't find anything... forgive me if this has been answered elsewhere.

Reply

@Jono,

Could you provide more detail about your skin and playlist issues? Do you have a link to a post where these issues are visible? It would help with debugging your issue.

Thanks.

Reply

@Cameron,

I should have kept up with this thread... sorry :)

I think i've narrowed the problem down to ssl.
We FORCE the wordpress admin login as well as all admin pages to use ssl. So ANYTIME you're in the back-end of wordpress, you're using https:// . But the front-end of the site (what the non-logged in sees) is NOT https or ssl.

I've noticed that when I look at the code that your player plugin generates, in my circumstance outlined above, the parameter for the path to the SKIN begins with "https". NONE of the other parameters begin with https (they began with http)

I've found that when i DO NOT force ssl in the admin panel, everything works fine.

But in the admin ssl situation, the skins do NOT load.

Thoughts?

Reply

also... some examples:

this is a site that DOES NOT force SSL through the admin panel:
http://test.1stoptechshop.com/

now, THIS is a site that DOES force SSL in the admin panel:
http://jwtest.4act.com/2011/10/27/hello-world/

notice the skin is just the default skin even though the parameter for the skin says it should be using "bekle.zip"

Reply

@Karl,

Definately an SSL problem. Check this out:

Works:
https://jwtest.4act.com/2011/10/27/hello-world/

DOES NOT work:
http://jwtest.4act.com/2011/10/27/hello-world/

Reply

@Jono,

Thank you for providing detailed examples. I can definitely see the issue.

The plugin as part of its initialization checks to see if the site is in ssl mode. If it is, it uses https to generate all the relevant URLs for player configuration and embedding. This was added to support sites using SSL.

Since the player is edited in the admin section it is using the https URL when saving the path to the skin. This is likely what is causing the issue.

I will create a ticket to add a user configurable toggle for SSL mode.

If you're up for editing the plugin code there is a one line change you can use as a workaround. Change line 64 to the following.

$isHttps = false;

Thanks.

Reply

Hi Karl!

I'm in a situation similar to yours.

I run a wordpress with many subsites and many users.

I would like more control and simplified plugin options.
Jwplayer Us Licensed have a personalized and used to deliver streaming video of our platform.

How can we limit the settings in this type of system?

Tanks.

Reply

@sercuto,

We're looking to add permissioning in one of our next updates. What would be some examples of things you would like to control?

Thanks.

Post new comment

  • Allowed HTML tags: <code> <blockquote> <em> <strong> <strike> <ul> <li> <ol>
  • You may post code using <code>...</code> .
  • Lines and paragraphs break automatically.
  • Web page addresses and e-mail addresses turn into links automatically.

More information about formatting options