It seems like the server hosting the AI Studio has Referrer Policy as origin so despite trying to resolve the issue, I cannot overwrite the server policy so when I want to embed a video I always get YouTube 153 error
Dá uma lida no link talvez ajude! acabei de ver isso tbm no meu.
Erro 153 - Erro de configuração de player - Comunidade YouTube.
Error 153 from YouTube embeds usually means the video can’t play because the request’s referrer doesn’t match what YouTube expects. When the hosting environment, such as AI Studio, enforces a Referrer-Policy: origin, YouTube sees only the domain rather than the full referrer URL, and content restrictions tied to specific referrers can block playback. Because AI Studio runs in a managed sandbox with fixed security headers, you can’t override that policy from within your app or script.
To work around this, open the video directly in a new browser tab or use a link instead of an iframe embed. If you need the video to play inline, host it in a page served from your own domain (where you control the response headers) and then reference that external page from AI Studio. Since the referrer policy is applied at the platform level, there’s no configuration setting in AI Studio to disable it.
—Taz