Missing Referrer Header When Embedding External Video Player in Capacitor App

This is affecting us with YouTube embeds as well. There is an open issue here - [Bug]: Ios Youtube embed player issue - Blocked a frame with origin "ionic://localhost" from accessing a frame with origin "https://www.youtube.com". Protocols must match. · Issue #8205 · ionic-team/capacitor · GitHub.

Also see Error embedding youtube video on ios 18 and above.