Twitch embed in Swift WKWebView not working

I can’t get an embed to work in SwiftUI using a WKWebView. I don’t want to use my own website to redirect, I want to use localhost, but Apple doesn’t allow for the parent parameter to be filled in with http://localhost for… reasons here. That thread died, can I get a workaround or a fix on this?

Thanks

may be here you get more information: https://discuss.dev.twitch.com/t/twitch-embedded-guide-video-now-broken-on-ios/4390

The smae fix for android should apply: just load the URL instead of doing HTML+iFrame