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

Iframe #119

Open
Aiysen opened this issue May 25, 2023 · 3 comments
Open

Iframe #119

Aiysen opened this issue May 25, 2023 · 3 comments

Comments

@Aiysen
Copy link

Aiysen commented May 25, 2023

Hello

How to use pixi-inspector, if my application inside iframe?

@bfanger
Copy link
Owner

bfanger commented May 25, 2023

If the parent window has access to the javascript context inside the iframe it should just work.

Without access to the the inspector is not able to communicate with your app.

As a workaround you could open the url of the iframe directly

@Aiysen
Copy link
Author

Aiysen commented May 25, 2023

download
I use this options for iframe.
And pixi-inspector dont see PIXI Application inside.
But if open without - its okay.
But i hope work with iframe

@jeth88
Copy link

jeth88 commented Sep 13, 2023

If the parent window has access to the javascript context inside the iframe it should just work.

Without access to the the inspector is not able to communicate with your app.

As a workaround you could open the url of the iframe directly

I see. I also encountered this one and the way to make the plugin work is to access the url directly (just like what you said).

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

3 participants