miniBB ® miniBB®
miniBB Support Forums
 | Forums | Register | Search | Statistics | Manual |
Bugs miniBB Support Forums / Bugs /   

YouTube code bug with https domain

Author harootun
Registered
#1 | Posted: 3 Feb 2014 22:10 
I have converted my site to be https:// everywhere (including the minibb forum) and am having trouble with the youtube (and vimeo) embeds.

I switched the http:// to https:// in the bb_code.php file in all cases for youtube, and it seems to work, I can now embed videos. Only problem is that all of the old videos that members have embedded don't show up. Is there a better solution so members won't have to relink all of their old videos? I'm betting there is, but as usual, I am clueless.

Thanks for any advice! :)

Author harootun
Registered
#2 | Posted: 3 Feb 2014 22:35 | Edited by: Moderator 
Just wanted to report that I got the old youtube videos working by running a mysql query and replacing all of the http://www.youtube.com links with https://www.youtube.com.

Still want to know if what I did, simply changing the bb_codes.php file is the way to go, though everything youtube-wise now seems to be working. :)

Author Paul
Lead Developer
#3 | Posted: 4 Feb 2014 13:33 | Edited by: Paul 
I am not available to my PC these days, but I know already that YouTube code needs a fix, possibly Vimeo too.

If you look at the YouTube embedding code on their website (that one standin in the Embed section) you will see they don't have http or https provided in their code at all. For a long time I was thinking this is kind of bug, but your case now exactly shows it is not. You just need to put their embedding code like it is provided, ie starting with // by default. Then it should work for all domains disregarding their security layer.

I will fix it as soon as I am back. Thanks for reminding...

(P.S. Fixed now).

Author Steve Shaw
Registered
#4 | Posted: 16 Feb 2014 12:52 
Just found the same problem...

Hope you can fix quickly ;o)

Bugs miniBB Support Forums / Bugs / YouTube code bug with https domain Top
This topic is closed. New replies are not allowed.
 
miniBB Support Forums Powered by Forum Software miniBB ® Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contacts
Install the Captcha add-on: protect your miniBB-forums from the automated spam and flood.
Captcha Addon for miniBB