Page 1 of 1

Embedded YouTube vids over HTTPS

Posted: January 5th, 2022, 5:00 am
by S Walch
An error with the embedded YT video code has come to light in a thread here. If one is connect to B-Greek using https://, when attempting to load the YT video, likely all browsers based on Chromium (Google Chrome, Microsoft Edge, Vivaldi, etc.), will block the loading of the YT video with the following message:

Mixed Content: The page at 'https://www.ibiblio.org/bgreek/forum/vi ... 497#p37497' was loaded over HTTPS, but requested an insecure plugin resource 'http://www.youtube.com/embed/XfJXUdMvX8o'. This request has been blocked; the content must be served over HTTPS.

Is it possible to have the embedded YT code recognise whether it's http or https, or should now https be favoured over http?

Re: Embedded YouTube vids over HTTPS

Posted: January 7th, 2022, 7:47 am
by Jason Hare
I've added "https" to the BB code. I think it should work now.

Re: Embedded YouTube vids over HTTPS

Posted: January 7th, 2022, 7:51 am
by S Walch
Thanks, Jason. Now showing when https :)