Drupal will not display videos on the page for Chrome and Firefox on a https site but only on Opera and IE because javascript loads content over a non SSL connection.

Error message on Firefox:
Blocked loading mixed active content "http://www.kaltura.com/kwidget/wid/_169XXX/entry_id/1_y8e2XXXX/uiconf_id..."

Error message in Chrome:
[blocked] The page at 'https://mysite.com' was loaded over HTTPS, but ran insecure content from 'http://www.kaltura.com/kwidget/wid/_169XXXX/entry_id/1_y8e2XXXX/uiconf_i...': this content should also be loaded over HTTPS.

This renders the module useless for users navigating with the affected browsers.

Comments

le72’s picture

Please fix. Same here.

temkin’s picture

Assigned: Unassigned » temkin
moultonk’s picture

Yes, please. Same thing here.

temkin’s picture

Version: 7.x-2.0 » 7.x-2.1-beta1
Status: Needs work » Closed (fixed)

Fixed in version 2.1-beta1. We've switched to protocol-relative URLs (//:www.kaltura.com) so now they will be constructed based on the protocol being used on your site.

Before upgrading to the newer version make sure you have Libraries module installed and enabled as the new version requires it to work properly.

couloir007’s picture

This still does not work.

couloir007’s picture

I am using the latest version, and I did try the older 7.x-2.1-beta1, and the issue still remains. I'm getting this:

was loaded over HTTPS, but requested an insecure script 'http://www.kaltura.com/p/...
was loaded over HTTPS, but requested an insecure plugin resource 'http://www.kaltura.com/kwidget/wid/...

I have tried to make the changes myself to the module but have failed to identify where where the js is being added with the http url.

Thank you,
Sean

couloir007’s picture

Status: Closed (fixed) » Active
temkin’s picture

Status: Active » Needs review

Sorry for that. It seems that update script didn't get into the previous release. You can fix it manually though. Just update "kaltura_server_url" variable to be a protocol-relative URL. If you have Devel module, you can do so by going to this page - /devel/variable. And then change "http://www.kaltura.com" to "//www.kaltura.com". Hope this helps.

acrosman’s picture

Version: 7.x-2.1-beta1 » 7.x-3.x-dev
Status: Needs review » Needs work

So while this can be fixed in version 2 or 3 using devel or Drush: drush vset kaltura_server_url //www.kaltura.com

This settings should be editable on the settings form for the module incase you ever need to change the server address sometime in the future.

AlejCerro’s picture

The fix suggested by #8 does not work on 7.x-2.0

I just tried it on a client site and it errors out with the following PHP ERROR

KalturaClientException: <url> malformed in KalturaClientBase->doQueue() (line 199 of /var/www/site/docroot/sites/all/modules/kaltura/kaltura_client/KalturaClientBase.php).
larsmw’s picture

Parent issue: » #2919076: 3.3 release test
larsmw’s picture

Status: Needs work » Closed (outdated)