Page 1 of 1

Update: Found Issue with broken Youtube Imbeds

Posted: Sat Jan 21, 2023 12:02 am
by cbaltrin
Seems like some folks are having issues posing youtube vids. A little googling tolme me you should only have the video ID between the tags, like such

Code: Select all

[youtube]fpq2zXUjZu8[/youtube]
But I can't get that to work either.. Unless it just does not work with during post preview?

Re: Youtube Test

Posted: Sat Jan 21, 2023 12:03 am
by cbaltrin
Ok, Found the issue. When you imbed and youtube video, youtube gives you a link starting with https , but when the forum page is rendered, it converts it to just plain old http (not secure), then the page , which is hosted on https, refuses to load the insecure content (odd, basically the same issue with private messages over on that other website...).

Code: Select all

/forum/posting.php?mode=edit&p=153943#preview:509 
Mixed Content: The page at 'https://www.spamodeler.com/forum/posting.php?mode=edit&p=153943#preview' was loaded over HTTPS, 
but requested an insecure plugin resource 'http://www.youtube.com/embed/4TMf1Gxg3CE'. 
This request has been blocked; the content must be served over HTTPS.


Re: Update: Found Issue with broken Youtube Imbeds

Posted: Sat Jan 21, 2023 4:39 am
by Floki
I was wondering why I couldn't get my videos to imbed.

Re: Update: Found Issue with broken Youtube Imbeds

Posted: Sat Jan 21, 2023 8:09 am
by Gary Brantley
How do we get it fixed? :hmm:

Re: Update: Found Issue with broken Youtube Imbeds

Posted: Sat Jan 21, 2023 9:42 am
by cbaltrin
I am not sure if the site owners can fix it or if it's an issue with BBC Code itself, but basically below is the code that the site spits out when you use the youtube bbc code :

Image

The code needs to spit out https: instead of http in the highlighted section above. Possibly the site admin might be able to tinker with the Content Security Policy and get it to work -- not sure.

Basically, from what I understand, as new versions of browsers have been introduced, security has been tightened and some web technologies, such as BBC Code, have not caught up yet...

NOTE: This is also why if you try to post an image and your image link starts with http instead of https, your image will not show. This is one of the reasons I like https://postimages.org/ for image hosting. -- they give you a https image link. . You just drag on drop your photo(s) onto the upload page and you get a link (or links).

Re: Update: Found Issue with broken Youtube Imbeds

Posted: Sat Jan 21, 2023 12:49 pm
by keavdog
Good find. I saw that with Mr Eaton's pic posts. Has to be a forum setting as it all worked before the update.

Some browsers/platforms allow passive http content such as pics. I can see johns pics on my iphone but not on my desktop - both using Chrome. I'm assuming video is not considered passive because I can't see it on my iphone.

Re: Update: Found Issue with broken Youtube Imbeds

Posted: Sun Jan 22, 2023 4:28 am
by Thomas_M
Really, this is not OK. I guess one (or more) hiccups of the new setup of the forum. I will contact Mostrich (Torben) on this.

Re: Update: Found Issue with broken Youtube Imbeds

Posted: Sun Jan 22, 2023 8:29 am
by Gary Brantley
Thanks so much Thomas! :shoutout: