Author Topic: Youtube tag does only work for http protocol, not https  (Read 1848 times)

Offline 12oh2alarm

  • Venus
  • **
  • Posts: 58
  • This dude likes Don Martin cartoons.
Youtube tag does only work for http protocol, not https
« on: July 26, 2015, 04:55:21 PM »
When using the "Youtube" icon, only URLs specified as http://something will result in a youtube movie window. URLs starting with https for secure communication are rendered as just the URL. This should be fixed, considering that more and more services start using https by default.
It's probably some regular expression or string comparison in the BB software that needs to be slightly adjusted.

How to reproduce:
http:
[youtube]http://www.youtube.com/watch?v=3zNmgu6sQXk[/youtube]
https:
[youtube]https://www.youtube.com/watch?v=3zNmgu6sQXk[/youtube]

Offline smartcooky

  • Saturn
  • ****
  • Posts: 1408
Re: Youtube tag does only work for http protocol, not https
« Reply #1 on: July 26, 2015, 06:09:41 PM »
When using the "Youtube" icon, only URLs specified as http://something will result in a youtube movie window. URLs starting with https for secure communication are rendered as just the URL. This should be fixed, considering that more and more services start using https by default.
It's probably some regular expression or string comparison in the BB software that needs to be slightly adjusted.

How to reproduce:
http:
[youtube]http://www.youtube.com/watch?v=3zNmgu6sQXk[/youtube]
https:
[youtube]https://www.youtube.com/watch?v=3zNmgu6sQXk[/youtube]


Just  edit out the "s"
« Last Edit: July 26, 2015, 06:11:27 PM by smartcooky »
► What you can assert without evidence, I can dismiss without evidence
► When you argue with idiots you risk being dragged down to their level and beaten with experience.
►"Conspiracism is a shortcut to the illusion of erudition

Offline 12oh2alarm

  • Venus
  • **
  • Posts: 58
  • This dude likes Don Martin cartoons.
Re: Youtube tag does only work for http protocol, not https
« Reply #2 on: July 26, 2015, 06:24:58 PM »
Just  edit out the "s"

I know. I did. I shouldn't have to.  It caused me considerable teeth-gnawing when I found out. :)
Hence this "bug report" (or feature request).

Offline Abaddon

  • Jupiter
  • ***
  • Posts: 713
Re: Youtube tag does only work for http protocol, not https
« Reply #3 on: July 27, 2015, 04:41:01 PM »
Just  edit out the "s"

I know. I did. I shouldn't have to.  It caused me considerable teeth-gnawing when I found out. :)
Hence this "bug report" (or feature request).

I think this is a "feature" of SMF. I have dabbled, but not run an active SMF board previously. Chuck the extraneous "s" seems the appropriate action. Clicking on a wooboob video does not require SSL encryption, nor reveals any extra personal data should you do so.

LO could modify the SMF code to do so if you wished, but it would likely invalidate any guarantees/service agreements/licences. Not a good thing.

Be under no illusion. LO runs this at his own personal expense simply because he considers it a worthwhile thing to do. If that requires some compromise, so be it. If on the other hand you require some strange customised version, then that can also be accommodated, but you will have to pay for that. No reputable hosting service will allow a spurious version of any software on their network unless it is scrupulously tested and verified, and even then, it will cost you extra. I know this because right now, once again, I must demonstrate to our hosting provider that my latest project will not compromise their network integrity. You accept the defaults or you pay a bucket of cost. That's just how the world works.

Offline LunarOrbit

  • Administrator
  • Jupiter
  • *****
  • Posts: 690
    • ApolloHoax.net
Re: Youtube tag does only work for http protocol, not https
« Reply #4 on: August 25, 2015, 09:43:08 PM »
Sorry, I must've missed this thread.

I'm aware of the problem with the YouTube tag, and I might be able to fix it myself. Normally I wouldn't make changes to a plugin, but since the developer has not updated it themselves in years I can assume it is abandoned. I'll see what I can do.
It suddenly struck me that that tiny pea, pretty and blue, was the Earth.
I put up my thumb and shut one eye, and my thumb blotted out the planet Earth.
I didn't feel like a giant. I felt very, very small.
- Neil Armstrong (1930-2012)