Iframe embed, sandboxed

A customer hardens the embed with sandbox="allow-scripts allow-same-origin". Playback works. Sign-in breaks the moment it needs a popup — and this is the support ticket you will get.

Player runs on control.jefflowery.dev — third-party to this page
Sandbox allow-scripts allow-same-origin — no allow-popups
Sign-in transport iframe only; escalation to a popup is impossible
This page can read the viewer id no

The markup

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

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.