Kerby
Well-known member
Twitch.tv and HTTPS is working on my forum
Surprisingly, Twitch.tv with HTTPS is working fine on my forum
But it's showing me "mixed content" signal (http and https) in browser instead of all elements https. I want to fix that at least for the streams in sidebar of forumlist to get my root url full https signal in browser to "attract" new users.
I'm stucked while tracking the issue down. The thumbnail url of $streams.stream_preview in template EWRrio_Bit_Sidebar is still HTTP. Output in browser:
But I've seen this preview image with HTTPS working on an other forum with following pattern:
So it is possible. I can't PHP, so im stucked and tried following in Twitch.php at some "random" lines but without success:
Can you please help me? How can I get this preview image also HTTPS?
Surprisingly, Twitch.tv with HTTPS is working fine on my forum
But it's showing me "mixed content" signal (http and https) in browser instead of all elements https. I want to fix that at least for the streams in sidebar of forumlist to get my root url full https signal in browser to "attract" new users.
I'm stucked while tracking the issue down. The thumbnail url of $streams.stream_preview in template EWRrio_Bit_Sidebar is still HTTP. Output in browser:
Code:
<span class="img s " style="background-image: url('http://static-cdn.jtvnw.net/previews-ttv/live_user_kerbyexample-320x180.jpg');"></span>
Code:
<span class="img s " style="background-image: url('//static-cdn.jtvnw.net/previews-ttv/live_user_kerbyexample-320x180.jpg');"></span>
Code:
$url = preg_replace("/^http:/i","https:", $url);
Can you please help me? How can I get this preview image also HTTPS?