Viperpit(s).org

General discussion, User presentation & Admin => Site issues and Suggestions => Topic started by: mihi4 on September 06, 2023, 12:50:31 PM

Title: Youtube Embedding broken?
Post by: mihi4 on September 06, 2023, 12:50:31 PM
Ok, I just tried 3 different browsers, but none is showing me the embedded Youtube vids in posts.

Does it work for others? (there should be one on the last page of my progress report)
Title: Re: Youtube Embedding broken?
Post by: Nikolas_A on September 06, 2023, 12:59:47 PM
Works for me
Title: Re: Youtube Embedding broken?
Post by: tiger-31 on September 06, 2023, 01:23:42 PM
If I use an older PC, or a no longer supported browser, the you-tube links in here do no show/open.

Title: Re: Youtube Embedding broken?
Post by: Red Dog on September 06, 2023, 01:24:53 PM
same; browser dependant I think
Title: Re: Youtube Embedding broken?
Post by: mihi4 on September 06, 2023, 02:51:27 PM
Hmmm... Linux Mint 20.3, Firefox 117.0, BraveBrowser Version 1.57.57, Chromium: 116.0.5845.163
All 3 Browsers up2date AFAIK - nogo on all of them.
Strange....

Edit: Safari on iPad iOS 16.5.1, same problem...

Edit2: HTML code of the page looks bad:
Code: [Select]
<embed src="http://www.youtube.com/v/pXO0qmjaMOA&amp;rel=1&amp;fs=1"
Looks like it's encoding the & to &amp;
Title: Re: Youtube Embedding broken?
Post by: mihi4 on September 06, 2023, 03:01:04 PM
I guess I found the error - the embed uses http instead of httpS:
Code: [Select]
Blocked loading mixed active content “http://www.youtube.com/embed/pXO0qmjaMOA?rel=1&fs=1”

Is there a way to re-configure the EMBED tag for the site to https?

Edit: It's definitly the mixed active content. Temporarily enabling the feature in Firefox shows the Youtube video.
But that's a security risk and shouldn't be enabled.
Title: Re: Youtube Embedding broken?
Post by: Nigel on September 07, 2023, 03:01:11 AM
Same problem.
Title: Re: Youtube Embedding broken?
Post by: mihi4 on September 07, 2023, 03:21:57 AM
If one of the admins could tell me the name of the plugin we're using here, I could do a short google-search, if it's possible to change the URL.

But since I was testing the youtube-tag with the complete url it seems, it's just old and outdated.
When I enter the whole http-Link to the video (including http://www.youtube.com?watch...) it tries to show it, but with the httpS URL I get "#Invalid YouTube Link#" at the page.

Maybe theres an URL-rewriting plugin for SMF that rewrites http://youtube urls to https?
Title: Re: Youtube Embedding broken?
Post by: Nigel on September 07, 2023, 03:28:26 AM
I just checked and all my videos in both build threads are blank. WTF is going on here?
Title: Re: Youtube Embedding broken?
Post by: mihi4 on September 07, 2023, 04:59:31 AM
I just checked and all my videos in both build threads are blank. WTF is going on here?
See above...
The plugin takes the content of the [youtube]tag and converts it to a regular link.

Sadly, it automatically uses http://www.youtube.com instead of httpS://www.youtube.com and since viperpits.org ist httpS all new browsers prohibit displaying active content from not-secure sites.

So all Links are still there (you can even see it in the pages sourcecode), but since it's insecure the browser does not display it.
Title: Re: Youtube Embedding broken?
Post by: Nigel on September 07, 2023, 05:02:03 AM
So whats the solution Michi? Any ideas?
Title: Re: Youtube Embedding broken?
Post by: mihi4 on September 07, 2023, 05:07:58 AM
So whats the solution Michi? Any ideas?
The admins would have to check, if it is possible to set the link the plugin creates, to https://www.youtube.com instead of http://www.youtube.com.

If there is no config option, it should be possible to edit the link directly in the plugin's php-code on the server.
Title: Re: Youtube Embedding broken?
Post by: mihi4 on October 25, 2023, 02:29:11 PM
Thx a lot to the admins for fixing this issue! All videos show up on Firefox for me!
Title: Re: Youtube Embedding broken?
Post by: Sandman on October 26, 2023, 03:25:44 AM
Hi Guys,

We have all the latest forum software, but there were some "mods" (modifications) from the past (like the original YouTube Embed) that are still causing errors. These "mods" are lines of code that are inserted into our basic forum code, to enable some additional functions. Some of the older "mods" use older syntax or a command that is no longer supported by modern servers  & browsers. The http:// is one example, often found in links from older forum posts (before https:// came into use).

I'm still working on a few issues since our recent re-build. Let me know of any problems as you find them.

 :notes:
Title: Re: Youtube Embedding broken?
Post by: mihi4 on November 08, 2023, 03:43:27 AM
@Sandman - did you reverse some settings or update?
It looks like the youtube embed again uses http instead of httpS...
Title: Re: Youtube Embedding broken?
Post by: Nigel on August 11, 2025, 04:12:26 AM
This problem is back. I'm on Chrome, cant see any YT vids again.
I just tried it in EDGE and the same problem. However, there's a partial hack. In EDGE, delete the letter "s" from https:// so it reads http://and the videos will show. However, I tried it in Chrome and Chrome forces you to log in again which then reverts to https://. So no go in Chrome.
Title: Re: Youtube Embedding broken?
Post by: Red Dog on August 11, 2025, 06:12:01 AM
That's a very elusive one, I'll have a look
Title: Re: Youtube Embedding broken?
Post by: Red Dog on August 11, 2025, 10:12:08 AM
I think it's more general, This morning I couldn't even post an image with IMG

tests:
(https://www.ravico.com/ST/models/U552/382_U552_final_lights.png)

(http://www.ravico.com/ST/models/U552/382_U552_final_lights.png)

#Invalid YouTube Link#

http://www.youtube.com/watch?v=yJTz0KovMsY
Title: Re: Youtube Embedding broken?
Post by: Red Dog on August 11, 2025, 10:15:14 AM
images works now with and without httpS

Youtube still awol with or without s

Title: Re: Youtube Embedding broken?
Post by: Red Dog on August 11, 2025, 10:24:38 AM

in my case, the old work around still works
put the iframe line given by youtube between html tags ([open html]<iframe.blablabla>[/close html tags) and it displays

no other idea, the yotube tags are declared correctly and should work in the forum but obviously don't
SimplePortal 2.3.5 © 2008-2012, SimplePortal