It is currently 03 Mar 2024, 20:19

Can't view youtube vids since SSL update

Please list any and all bugs, feature requests etc in here and we can pick them up from one place. Only one bug/request per thread please, and make the title relevant so they are easy to pick out.

Can't view youtube vids since SSL update

Postby Andyp » 16 Feb 2021, 08:56

you're gonna love this

Screenshot using the https url

Screen Shot 2021-02-16 at 08.49.08.png
(447.39 KiB)


screenshot without

Screen Shot 2021-02-16 at 08.48.37.png
(479.36 KiB)


this is the same for all youtube links on the forum.

OSX 10.11.6
Firefox 78.7.1esr (64-bit)
Same problem in safari Version 11.1.2 (11605.3.8.1)

Unless there are multiple members out there with this problem don't worry too much. I haven't got time to fiddle at the moment but will delve deeper later.
I do not think therefore I do not am.

cheers
Andy
User avatar
Andyp
Petrified Pine
 
Posts: 11636
Joined: 22 Jul 2014, 07:05
Location: 14860 Normandy, France
Name: Andy

Re: Can't view youtube vids since SSL update

Postby Trevanion » 16 Feb 2021, 09:03

Good Spot, I can't either :eusa-think:
Image
User avatar
Trevanion
Old Oak
 
Posts: 2149
Joined: 27 Apr 2019, 19:04
Location: Pembrokeshire
Name:

Re: Can't view youtube vids since SSL update

Postby novocaine » 16 Feb 2021, 09:26

Mark needs to replace a bit of code. :( maybe we just live with it for a few days till he's gotten over the last issue. :)

need to update it from http to https in the addbbcode22 (I think) script.

while we are on it there are a few warnings in the content, some of the icons are stored outside the HTTPS and are chucking up a warning . amusingly, it's the w3 xHTML Icon at the bottom of the page.
Carbon fibre is just corduroy for cars.
novocaine
Old Oak
 
Posts: 2560
Joined: 26 Nov 2020, 10:37
Name: Dave

Re: Can't view youtube vids since SSL update

Postby AndyT » 16 Feb 2021, 11:08

Ah, maybe that explains why my browser (Opera on Android) flags the site as insecure, even when I'm on the https option.

And I expect changing the links in update emails is also on the to-do list.
--------------
Andy
User avatar
AndyT
Old Oak
 
Posts: 2335
Joined: 23 Nov 2020, 19:45
Location: Bristol
Name: Andy

Re: Can't view youtube vids since SSL update

Postby TrimTheKing » 16 Feb 2021, 12:12

Ah @rse! Little bit of digging and it's because the site is now secure that it doesn't like the old links off to non-SSL versions of youtube links so just displays them as blanks.

I tried modifying the BBCode to have SSL in it but that just changed the blank to a square saying that Shockwave was not supported so I regressed that. I also tried to add in a second line of code with https in but it didn't like that either.

Now I've replaced the youtube BBCode with an SSL version so the YouTube button now says YouTubeSSL. People will need to ensure that they are using the https version of the youtube link with the button.

I then need to go about finding a script that will allow me to bulk change all the old posts in the database to reflect the new BBCode otherwise the situation we have now is that all new SSL youtube links now work but all existing posts with embedded youtube video show as blanks. :evil:
Cheers
Mark
TrimTheKing
Site Admin
 
Posts: 7526
Joined: 16 Jun 2014, 13:27
Location: Grappenhall, Cheshire
Name: Mark

Re: Can't view youtube vids since SSL update

Postby TrimTheKing » 16 Feb 2021, 12:13

novocaine wrote:Mark needs to replace a bit of code. :( maybe we just live with it for a few days till he's gotten over the last issue. :)

need to update it from http to https in the addbbcode22 (I think) script.

while we are on it there are a few warnings in the content, some of the icons are stored outside the HTTPS and are chucking up a warning . amusingly, it's the w3 xHTML Icon at the bottom of the page.


Where are you seeing these warnings because I'm not seeing any...
Cheers
Mark
TrimTheKing
Site Admin
 
Posts: 7526
Joined: 16 Jun 2014, 13:27
Location: Grappenhall, Cheshire
Name: Mark

Re: Can't view youtube vids since SSL update

Postby novocaine » 16 Feb 2021, 12:32

I have the console running on a routine basis. :)

screendump.png
(411.08 KiB)


there is a script that will edit the SQL database and replace with HTTPs for you but I see that as a bit of a risk.
Carbon fibre is just corduroy for cars.
novocaine
Old Oak
 
Posts: 2560
Joined: 26 Nov 2020, 10:37
Name: Dave

Re: Can't view youtube vids since SSL update

Postby TrimTheKing » 16 Feb 2021, 12:32

http test - [youtube]G9LlXpy1u8A[/youtube]


https test -
Cheers
Mark
TrimTheKing
Site Admin
 
Posts: 7526
Joined: 16 Jun 2014, 13:27
Location: Grappenhall, Cheshire
Name: Mark

Re: Can't view youtube vids since SSL update

Postby TrimTheKing » 16 Feb 2021, 12:34

novocaine wrote:I have the console running on a routine basis. :)

screendump.png


there is a script that will edit the SQL database and replace with HTTPs for you but I see that as a bit of a risk.


That particular one (icon_reimg_zoom_in.gif) was happening before the SSL cert was applied, I saw that last week when I was talking Mike through some stuff but put it low on the list to sort. I can't see what it is that isn't loading because everything appears to be loading on my screen...

The w3 one does load albeit having been upgraded by the browser so I'm not overly concerned with that one.

Re the script, have you got a copy of it? If so I have 3 DEV versions of the forum for testing on so I could run it on one of those to PoC it before going near live. I also have the system running hourly automatic backups of the DB just in case...
Cheers
Mark
TrimTheKing
Site Admin
 
Posts: 7526
Joined: 16 Jun 2014, 13:27
Location: Grappenhall, Cheshire
Name: Mark

Re: Can't view youtube vids since SSL update

Postby novocaine » 16 Feb 2021, 12:49

I had a copy from quite a while ago, but I can't find it because....... LINUXed the machine.

I'll see if I can get a hold of it again.
Carbon fibre is just corduroy for cars.
novocaine
Old Oak
 
Posts: 2560
Joined: 26 Nov 2020, 10:37
Name: Dave

Re: Can't view youtube vids since SSL update

Postby novocaine » 16 Feb 2021, 13:59

novocaine wrote:I had a copy from quite a while ago, but I can't find it because....... LINUXed the machine.

I'll see if I can get a hold of it again.


A quick chat with my friendly site administrator pointed me to this thread with a PHP string function, this isn't what I remember but he proclaimed it would work.

https://www.w3resource.com/mysql/string ... nction.php
Carbon fibre is just corduroy for cars.
novocaine
Old Oak
 
Posts: 2560
Joined: 26 Nov 2020, 10:37
Name: Dave

Re: Can't view youtube vids since SSL update

Postby Eric the Viking » 16 Feb 2021, 14:12

Can you just run that from PHPMyAdmin?

You could at least test the filter that way (probably)...

E (half keeping up at the back).
Eric the Viking
Sapling
 
Posts: 453
Joined: 10 Dec 2020, 21:34
Location: In the downstairs shower, trying to fix the leak.
Name:

Re: Can't view youtube vids since SSL update

Postby novocaine » 16 Feb 2021, 14:15

Eric the Viking wrote:Can you just run that from PHPMyAdmin?

You could at least test the filter that way (probably)...

E (half keeping up at the back).


trust me, I'm only half keeping up in the middle these days, gone are the days where I understood half of this. :lol:
Carbon fibre is just corduroy for cars.
novocaine
Old Oak
 
Posts: 2560
Joined: 26 Nov 2020, 10:37
Name: Dave

Re: Can't view youtube vids since SSL update

Postby Andyp » 16 Feb 2021, 20:37

Latest youtube vids are working fine,

Eg
viewtopic.php?f=19&t=5458
I do not think therefore I do not am.

cheers
Andy
User avatar
Andyp
Petrified Pine
 
Posts: 11636
Joined: 22 Jul 2014, 07:05
Location: 14860 Normandy, France
Name: Andy

Re: Can't view youtube vids since SSL update

Postby TrimTheKing » 16 Feb 2021, 23:24

Andyp wrote:Latest youtube vids are working fine,

Eg
https://www.thewoodhaven2.co.uk/viewtop ... =19&t=5458


Yep new ones working fine it’s the old ones that are causing me a headache now. Will take a little bit of digging before I’m comfortable to run any scripts yes.
Cheers
Mark
TrimTheKing
Site Admin
 
Posts: 7526
Joined: 16 Jun 2014, 13:27
Location: Grappenhall, Cheshire
Name: Mark

Re: Can't view youtube vids since SSL update

Postby Mike G » 14 Mar 2021, 08:12

Not sure of the difference between old and new videos but, they still aren't showing up.
User avatar
Mike G
Sequoia
 
Posts: 9773
Joined: 30 Jul 2014, 22:36
Location: Suffolk
Name:

Re: Can't view youtube vids since SSL update

Postby TrimTheKing » 14 Mar 2021, 09:23

What aren’t Mike?
Cheers
Mark
TrimTheKing
Site Admin
 
Posts: 7526
Joined: 16 Jun 2014, 13:27
Location: Grappenhall, Cheshire
Name: Mark

Re: Can't view youtube vids since SSL update

Postby TrimTheKing » 14 Mar 2021, 09:26

Ignore that I’ve just seen your other post. There are now two YouTube buttons, please use the one called YouTubeSSL from now on.

I will remove the other one to avoid confusion.

It’s essentially to do with the work we had to do to put the SSL certificate on, that has meant that any non-secure sites that are linked to will not display.

It’s something I’m going to have to look into but not right now. Using the YouTubeSSL button will allow your videos to be viewed.
Cheers
Mark
TrimTheKing
Site Admin
 
Posts: 7526
Joined: 16 Jun 2014, 13:27
Location: Grappenhall, Cheshire
Name: Mark

Re: Can't view youtube vids since SSL update

Postby Mike G » 14 Mar 2021, 15:20

Thanks Mark.

Here's a test for general amusment:

User avatar
Mike G
Sequoia
 
Posts: 9773
Joined: 30 Jul 2014, 22:36
Location: Suffolk
Name:

Re: Can't view youtube vids since SSL update

Postby TrimTheKing » 14 Mar 2021, 15:24

Mike G wrote:Thanks Mark.

Here's a test for general amusment:



Cracks me up every time that one. :lol:
Cheers
Mark
TrimTheKing
Site Admin
 
Posts: 7526
Joined: 16 Jun 2014, 13:27
Location: Grappenhall, Cheshire
Name: Mark


Return to Technical Issues, Bugs and Feature Requests

Who is online

Users browsing this forum: No registered users and 1 guest