SIGN IN SIGN UP
remotion-dev / remotion UNCLAIMED

🎥 Make videos programmatically with React

0 0 7 TypeScript

Fix YouTube Error 153 by adding referrerPolicy to IFrame component

This change adds `referrerPolicy="strict-origin-when-cross-origin"` as a default attribute to the IFrame component to resolve YouTube Error 153 that occurs when embedding YouTube videos.

The referrerPolicy is placed before the props spread, allowing users to override it if needed while providing a sensible default that fixes the YouTube embedding issue.

Fixes #5883

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
J
JonnyBurger committed
783a08d03af28359a3537e958e205bbcd9935436
Parent: 89c1d74