Script-tag embed

The customer hosts the player themselves: a container div and loader.min.js, which injects the bundle into this page. Materially different for identity, and the difference is not subtle.

Player runs on this page’s own origin — first-party, in the customer’s document
Config comes from data-* attributes only. standAlone() never runs, so query params are not read
Sign-in transport iframe on the Resi origin, nested in a first-party page
This page can read the viewer id yes — unavoidably; see below

The markup

<div
  id="resi-video-player"
  data-embed-id="…"
  data-type="event"
  data-autoplay="false"
  data-identify-viewer="required"></div>

<script src="https://control.jefflowery.dev/webplayer/loader.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.