Youtube problemen na update

Ik heb mijn site vandaag bijgewerkt (from_version: c6782e8434f404f30de8cba054dfeac004663981), en sindsdien heb ik problemen met het insluiten van YouTube.

Het eerste probleem dat ik opmerkte, was dat youtu.be-links geen onebox genereerden, terwijl youtube.com-links nog steeds werkten. Nadat ik een beetje had gespeeld, heb ik de instelling “Block onebox on redirect” uitgeschakeld, wat het probleem voor youtu.be-links oploste, hoewel ik de HTML op oude berichten opnieuw moet opbouwen.

En /shorts/-links werken nog steeds niet, zelfs als ik de HTML opnieuw opbouw.

Geen fouten in de logs, niets anders dat ik kapot heb opgemerkt.

Ik weet niet of het gerelateerd is, maar bij het proberen te troubleshooten merkte ik ook dat het proberen uit te schakelen van de ‘Lazy videos’-plugin een fout geeft: “Er is een fout opgetreden: U mag verborgen instellingen niet wijzigen: lazy_videos_enabled”

Ideeën?

4 likes

Heel erg bedankt! Je oplossing werkte! (behalve voor de shorts…)

1 like

Bedankt voor het rapport — we zullen ernaar kijken.

3 likes

I don’t think there’s anything to do here on our end.

All sites have SiteSetting.block_onebox_on_redirect false by default. Meta does so too, so most sites that don’t touch this setting would have youtu.be and /shorts resolving as per normal.

I was concerned that either of these changes

caused the issue, but I can confirm it did not.

I did see this blog post which seems to be very timely - Google URL Shortener links will no longer be available [updated] - Google Developers Blog

Any developers using links built with the Google URL Shortener in the form https://goo.gl/* will be impacted, and these URLs will no longer return a response after August 25th, 2025. We recommend transitioning these links to another URL shortener provider.

While it mentions only goo.gl, I am not surprised if under the hood youtube links have also been made to undergo some sort of redirection moving forwards.

For posterity, here is a youtu.be and a /shorts link rendering fine

YouTube Shorts don’t embed on our site either, is there a setting I need to adjust to make it work?

Do you have an example SFW short you can paste here? If private, feel free to PM me.

Here’s one for example

Ah it works here. Doesn’t work on my site https://forum.tardis.guide

Link where someone posted it but it didn’t work:

(I’ve also tried posting it myself)

Do you have non-default values onebox settings? e.g. on /admin/site_settings/category/all_results?filter=onebox

I don’t have any non-default onebox settings:

It looks like some shorts work on my site, but not all. For example, @nat’s ‘The Twins’ short gets embedded properly, but @Shauny’s does not.

And, not sure if this is relevant, but another difference I noticed between them is that Natalie’s shows a picture in the WYSIWYG preview and Shaun’s does not:

That seems to be consistent for other shorts that do and don’t embed properly on my site.
Shaun, can you replicate?

More accurately, that’s actually the composer preview (you’re in Markdown mode, not WYSIWYG).

1 like

This topic was automatically closed after 9 days. New replies are no longer allowed.