HTML iframe Recording

  • Highlight will recreate an iframe with the same src. The iframe will not load if the src's origin has a restrictive X-Frame-Options header.
  • Highlight only supports recording same-origin iframes because of browsers' same-origin policy. If it's possible to init Highlight within the iframe, you can record the events within as a separate session in your same project.

  • If your iframe source becomes invalid after some time or will not render content when inserted in a different domain or website, the recording will not show the correct content that the user saw.

<iframe> rendering in a session replay
<iframe> rendering in a session replay

Updated 19 Apr 2022
Did this page help you?