I’am developing an angular 10 ionic app with capacitor for android and ios. Inside my app, I load an external website with the inAppBrowser wich contains youtube embeds (iframes).
On Android, when I click on the play button, the embedded youtube video plays & behaves as expected. On iOS on the other hand, youtube displays the error message “This video cannot be played in your browser”.
Maybe my error is related to the one described in this thread, but the solutions posted there didn’t work.
The error seems to have nothing to do with the inAppBrowser or the external website, because I tried to use an youtube iframe directly in my app.component.html (instead of loading the inappbrowser) and got the same error as before.
Any ideas how to solve this?