posthog
posthog copied to clipboard
Iframe content doesn't show in recordings
Bug description
Hi!
We have a webapp embedded into our website as an Iframe.
For some reason, the content of the embedded frame doesn't show in our recordings:
To compare, we were able to record the same Iframe with FullStory with no issues. Here's an example screenshot:
Environment
- [x] PostHog Cloud
- [ ] self-hosted PostHog, version/commit: please provide
Same issue here. Here's how FS addresses in their public-facing documentation. Not sure how the capture script handles 'owned and operated' iframes out of the box.
https://help.fullstory.com/hc/en-us/articles/360020622514-Can-FullStory-capture-content-that-is-presented-in-iframes-#h_01F1G32T05WMNM8TRR1TFDFP2Z
@raziele sorry for the long delay. Did you check https://posthog.com/docs/session-replay/iframes#recording-cross-origin-iframes ? Or was it same origin?
Hi @marandaneto it was the same origin. A lot has happened since then; now the iframes are shown, however they are viewed many times as their own "tab" or "screen", which effectively causes a jitter effect that makes it hard to watch recordings. However, this specific issue is resolved.
feel free to raise a new issue/reach out to customer support about this other problem, thanks.