Embedding swf player over https breaking ssl

Hi. I have embedded a twitch player via https (re: https://github.com/justintv/Twitch-API/blob/master/embedding.md) but the flash player continues to load assets within it over http, which is breaking the ssl lock. Is there some way to tell it I’m using https?

Example files:
http://static-cdn.jtvnw.net/crossdomain.xml
http://static-cdn.jtvnw.net/jtv.thumbs/ (highlight thumbnails)
http://usher.justin.tv/api/channel/hls/channel.m3u8?token={"user_id%

I don’t think you can, unfortunately… :confused:
Just looked it up, and there was suggestions that you changed “http://” to “https://”, which shouldn’t really be a problem as the docs has “//” in it. You could change it to “https://” just in case, though.

You could try to iframe the experimental HTML5 player.

<iframe src="//player.twitch.tv/?channel=sodapoppin"></iframe>

Using “//”, it shouldn’t break SSL, afaik.

Yeah I tried changing it from // to https:// just in case they were doing some check, but that didn’t work. I’ll give the iframe a try and post the results.

1 Like

The video distribution doesn’t support HTTPS yet.

I know the HTML5 player doesn’t support SSL yet, but all he want is that the player doesn’t break his SSL. (If I’m not mistaken)

all he want is that the player doesn’t break his SSL

Exactly.

This is a good example :smile:

Unfortunately, the iframe url (//player.twitch.tv?channel=something) doesn’t load via https. Also, if I do use // in the object url, the flash still has hard coded http urls in it that break the ssl.

Oh well… it was worth a try! Hopefully staff will fix this issue and load everything with SSL when that is defined. There might already be a solution for all I know!

The actual video ts segments are not served over HTTPS so you’re going to get the mixed content warning regardless.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.