Question

I used to test whether a logged-in user could hit the Skype CDN to determine whether or not to show them UI elements:

https://cdn.dev.skype.com/uri/skype-uri.js

But it seems like, out of nowhere, their CDN just moved (breaking my code) to here:

http://www.skypeassets.com/i/scom/js/skype-uri.js

My page is https and I can change the url above to https a la:

https://www.skypeassets.com/i/scom/js/skype-uri.js

But because there is no valid certificate there I can't connect and the browser doesn't throw the "confirm security exception" message.

What are my options to determine if I can connect to Skype CDN from SSL?

Était-ce utile?

La solution

They were made aware of it by a developer here over a month ago.

To sum it up:

  • They are now aware of the problem.
  • They're deploying a fix shortly.
  • It might still cause issues with Chrome.

Seems like you'll just have to hang tight, sorry.


Here is their full official response:

Hi,

Thanks for posting, URIs are supported by the Skype Developer team and you can find out how to contact us by visiting the contact us page on http://developer.skype.com.

I can confirm that using Skype URIs on secure connections is presently broken. We have identified a fix and hope to deploy it shortly. Its likely, however, that the fix will still not work on newer versions of the chrome browser due to a change in the way it handles iframes launched over secure connections.

Allen Smith

Skype Developer Support


Update

7 months later and they still haven't properly fixed it.

However, that same thread now has a solution (of sorts) in its last comment:

Copy skype-ui.js to your project and replace below code to: this.SkypeClientDownloadUrl = this.httpProtocol + "//secure.skype.com/download"; this.assetPrefix = this.httpProtocol + "//secure.skypeassets.com/i/scom/images/skype-buttons/"; this.analyzeScript = this.httpProtocol + "//secure.skypeassets.com/i/scom/js/" + "skype-analytics.js";

Not pretty by any means, but at least it seems to work.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top