Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow sandbox attribute to prevent external links from taking over the webview in hybrid apps #1064

Open
t-var-s opened this issue Jan 7, 2025 · 0 comments

Comments

@t-var-s
Copy link

t-var-s commented Jan 7, 2025

Expected Behavior

Possible external links offered by the vimeo iframe shouldn't be allowed to work in the context of a capacitor/cordova app.

Actual Behavior

Opening external links in the vimeo iframe takes over the parent webview. This has been previously reported in #1036

Steps to Reproduce

From the previous issue: "Use the player sdk to load a video in a cordova app. Click the vimeo icon or any other icon that opens an external url. It takes over the webview, effectively replacing the cordova app."

This is more a feature request than a bug report, although the current behavior results in blocking the app with the opened link. If it becomes possible to set the sandbox attribute for the iframe, we can knowingly control restrictions applied, even if those might break embedded features.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant