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

recordCrossOriginIframes in rrweb.record configuration not working #1571

Open
harshil-dholakiya opened this issue Sep 23, 2024 · 1 comment

Comments

@harshil-dholakiya
Copy link

_this.recorder = rrweb.record({
emit(event) {
_this.events.push(event);
},
plugins: [
getRecordConsolePlugin()
],
recordCrossOriginIframes : true,
});

I m trying to record Iframe content with main DOM , IFrames are may cross-origin, by above configuration of rrweb.record recordCrossOriginIframes is not working recording iframe content, it shows black white space where the iframe is loaded

@Vadman97
Copy link

@harshil-dholakiya are you initializing rrweb.record(...) inside the cross-origin iframe as well? you'll need to record on that app for rrweb to send events to the parent rrweb instance.

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

2 participants