Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: Dewed on May 16, 2014, 04:16:56 AM

Title: HTTP Youtube works HTTPS doesn't
Post by: Dewed on May 16, 2014, 04:16:56 AM
I'm helping someone running SMF 2.07 and they mentioned a slight annoyance.

If a post contains a URL to a Youtube video that starts with http    Just pasting the link makes the video appear in the post.  I'm not sure if this is a plugin or what, but it works.

The problem is, Youtube videos now all start with httpS  , and unless posters remember to remove the S, their post just contains a link, not the video player.

While there is a Youtube BBC mod installed, I'm not sure that is related, because you don't need to do anything other than copy/paste the video URL, no special BBC tags or anything..  Is this native SMF code? or some mysterious mod that doesn't identify itself as "Youtube" related?

Whatever it is, it seems a slight oversight to parse http.. but not https 



Title: Re: HTTP Youtube works HTTPS doesn't
Post by: Shambles on May 16, 2014, 04:36:16 AM
It's not native SMF - your "plugin" will be doing the conversion. If it's Aeva then yes, you will need to remove the "s" from https to get it recognised as an embedded video.


http://www.simplemachines.org/community/index.php?topic=200401.0#post_post_usage4
Title: Re: HTTP Youtube works HTTPS doesn't
Post by: Steve on May 16, 2014, 08:39:25 AM
Same goes if it's Simple Audio Video Embedder (http://custom.simplemachines.org/mods/index.php?mod=2681) as well.
Title: Re: HTTP Youtube works HTTPS doesn't
Post by: radu81 on May 16, 2014, 09:04:16 AM
you can use Censored words (Admin-> Forum-> Posts and Topics-> Censored Words) to transform the youtube links from https to http ;)
Title: Re: HTTP Youtube works HTTPS doesn't
Post by: NanoSector on May 16, 2014, 09:32:27 AM
Please contact the mod author for support issues for mods.
Title: Re: HTTP Youtube works HTTPS doesn't
Post by: Steve on May 16, 2014, 11:32:29 AM
Quote from: radu81 on May 16, 2014, 09:04:16 AM
you can use Censored words (Admin-> Forum-> Posts and Topics-> Censored Words) to transform the youtube links from https to http ;)

Brilliant!
Title: Re: HTTP Youtube works HTTPS doesn't
Post by: vbgamer45 on May 16, 2014, 11:34:50 AM
Quote from: Steve on May 16, 2014, 08:39:25 AM
Same goes if it's Simple Audio Video Embedder (http://custom.simplemachines.org/mods/index.php?mod=2681) as well.
https should work with my mod for new versions.
Title: Re: HTTP Youtube works HTTPS doesn't
Post by: Steve on May 17, 2014, 08:52:01 AM
My apologies. It does indeed. :)
Title: Re: HTTP Youtube works HTTPS doesn't
Post by: digiflash on May 17, 2014, 11:34:14 AM
Any chance to get Aeva ~ Auto-Embed Video & Audio working with https?!
Title: Re: HTTP Youtube works HTTPS doesn't
Post by: NanoSector on May 17, 2014, 11:45:15 AM
Ask the author, or use the above mod.
Title: Re: HTTP Youtube works HTTPS doesn't
Post by: digiflash on May 17, 2014, 12:54:37 PM
Perfect!
Title: Re: HTTP Youtube works HTTPS doesn't
Post by: Kindred on May 17, 2014, 02:46:53 PM
on aeva -- the author will not respond, since he has given up supporting SMF mods.
Title: Re: HTTP Youtube works HTTPS doesn't
Post by: radu81 on May 17, 2014, 03:20:45 PM
Quote from: digiflash on May 17, 2014, 11:34:14 AM
Any chance to get Aeva ~ Auto-Embed Video & Audio working with https?!

Aeva Media is working with hhtps if you use the trick I posted in this topic
Title: Re: HTTP Youtube works HTTPS doesn't
Post by: Dewed on May 17, 2014, 03:25:02 PM
Quote from: radu81 on May 17, 2014, 03:20:45 PM
Quote from: digiflash on May 17, 2014, 11:34:14 AM
Any chance to get Aeva ~ Auto-Embed Video & Audio working with https?!

Aeva Media is working with hhtps if you use the trick I posted in this topic

Confirmed, using the censored word filter as described above works.  And my apologies for posting an apparently mod related question here, but at the time I didn't know it was mod related. 
Title: Re: HTTP Youtube works HTTPS doesn't
Post by: digiflash on May 17, 2014, 04:40:01 PM
If you use https for the forum no youtube video will be shown.
I removed aeva and used the simple mod. Works perfect.
Title: Re: HTTP Youtube works HTTPS doesn't
Post by: Dewed on May 17, 2014, 04:53:17 PM
This issue was, when including a youtube URL that started with HTTPS in a post it wasn't being parsed.  not the forum site itself using https 
Title: Re: HTTP Youtube works HTTPS doesn't
Post by: digiflash on May 17, 2014, 05:03:18 PM
But it's an issue if you use https for the forum and only http for youtube. This won't work and videos won't be shown. Tried it already. You have to change the http links to https and they have to be parsed. Then everything works.
Title: Re: HTTP Youtube works HTTPS doesn't
Post by: Arantor on May 17, 2014, 05:06:55 PM
Of course it is an issue if you've got that going on - but it's not the issue originally raised in this thread where the forum isn't using HTTPS and the links to HTTPS content don't get picked up properly.
Title: Re: HTTP Youtube works HTTPS doesn't
Post by: digiflash on May 17, 2014, 05:09:40 PM
Thats clear ;) but the https links have to be parsed in order to use https on the forum without problems  :)
Title: Re: HTTP Youtube works HTTPS doesn't
Post by: Arantor on May 17, 2014, 05:12:24 PM
Of course they do, except the OP is not using HTTPS on their forum, making any mention of it largely superfluous.
Title: Re: HTTP Youtube works HTTPS doesn't
Post by: Dewed on May 17, 2014, 05:14:32 PM
wow.. yes, you've made the point, however your point is not relevant to this issue.

Title: Re: HTTP Youtube works HTTPS doesn't
Post by: Kindred on May 17, 2014, 07:26:56 PM
Additionally...  if you want to update aeva for using https, there are instructions on how to do that in the aeva support thread...