← Home

Test C — enablejsapi + origin

Subdomain: c.yt.jaan.md

Purpose: IMVBox-style API identity pair (enablejsapi=1 with matching origin), no widget_referrer.

Video ID: ZrFi-Hi4GBk

Configuration

<iframe
  src="https://www.youtube.com/embed/ZrFi-Hi4GBk?autoplay=0&controls=1&rel=0&playsinline=1&enablejsapi=1&origin=https%3A%2F%2Fc.yt.jaan.md"
  title="Test C — enablejsapi + origin"
  width="640" height="360"
  referrerpolicy="strict-origin-when-cross-origin"
  allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
  allowfullscreen>
</iframe>

Note: origin must match this page's actual host (c.yt.jaan.md) — otherwise YouTube treats the embed-identity signal as inconsistent.

Instructions

Click the native YouTube play button and watch at least 60–120 seconds.

Expected learning

Tests the IMVBox-style API identity pair without widget_referrer. If Test C shows up in YouTube Studio External Sources but Test B doesn't, the enablejsapi + origin pair is what unlocks attribution.

QA checklist

  1. Open DevTools → Network.
  2. Find the request to youtube.com/embed/ZrFi-Hi4GBk.
  3. Confirm the Referer header is https://c.yt.jaan.md/ — not absent, not no-referrer.
  4. Confirm no YouTube Error 153 in the player.
  5. Play manually and watch 60–120 seconds.
  6. For Test F, confirm DevTools console logs [YT_TEST] … READY and [YT_TEST] … STATE PLAYING. (Not applicable on this page.)