Iframe embed + page script

The same iframe, plus the optional page.min.js. It is what makes fullscreen work when the frame sits inside a transformed or clipped container — and the only case where the parent legitimately exchanges messages with the player.

Player runs on control.jefflowery.dev — third-party to this page
Config comes from query params on the frame src, mapped to data-* by standAlone()
Sign-in transport iframe, escalating to a popup when storage is unreachable
This page can read the viewer id no — the result is addressed to the player’s origin
Extra on the customer page page.min.js, which pings every .resi-video-frame and acts on the replies

The markup

<iframe
  src="https://control.jefflowery.dev/webplayer/video?identifyViewer=required&id=…&type=event"
  class="resi-video-frame"
  allow="autoplay; fullscreen"
  allowfullscreen="true"
  title="Resi player"></iframe>

<script src="https://control.jefflowery.dev/webplayer/page.min.js"></script>

Expected

Messages reaching this page

Every postMessage delivered to this window, newest last, with repeats collapsed. In this case:

cross-origin 0 this page 0 carrying a viewer id 0

Messages tagged [this page] come from this document’s own origin and are hidden by default. They are browser extensions: password managers, React DevTools and the like all inject content scripts that post on this page’s behalf. Nothing from the player or the sign-in page can appear under that tag.