posthog icon indicating copy to clipboard operation
posthog copied to clipboard

Iframe content doesn't show in recordings

Open raziele opened this issue 2 years ago • 3 comments

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: SCR-20221219-pen

example recording

To compare, we were able to record the same Iframe with FullStory with no issues. Here's an example screenshot: SCR-20221219-p4u

Environment

  • [x] PostHog Cloud
  • [ ] self-hosted PostHog, version/commit: please provide

raziele avatar Dec 19 '22 17:12 raziele

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

dfrho avatar Mar 17 '23 19:03 dfrho

@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?

marandaneto avatar Apr 25 '24 07:04 marandaneto

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.

raziele avatar Apr 29 '24 23:04 raziele

feel free to raise a new issue/reach out to customer support about this other problem, thanks.

marandaneto avatar Apr 30 '24 07:04 marandaneto