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”
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.
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
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: