@iwan_uschka wrote:
There is an embedded youtube player with a link "watch on youtube". If a user clicks this link, youtube website is opened in web view of cordova. It destroys current state of my app. I want to open that link in system's web browser (cordova in app browser plugin).
This link can't be modified with JavaScript from outside the iframe, because cross domain security issues. So i can't update target attribute from "blank" to "system".
Is there a possibility to avoid a page being loaded into the same webview or in the system's web browser?
Breaking links by using sandbox attribute in the iframe is not an option because it breaks youtube player completely.Thanks and cheers
Posts: 1
Participants: 1