← Home

Test F — Full YouTube IFrame API Player

Subdomain: f.yt.jaan.md

Purpose: Programmatic YouTube IFrame API player with full analytics-friendly setup. Closest analog to IMVBox's embed.

Video ID: BLx3d7m8l-c

Configuration

// Loaded script: https://www.youtube.com/iframe_api

new YT.Player("player-f", {
  width: 640,
  height: 360,
  videoId: "BLx3d7m8l-c",
  playerVars: {
    autoplay: 0,
    controls: 1,
    rel: 0,
    playsinline: 1,
    origin: "https://f.yt.jaan.md",
    widget_referrer: "https://f.yt.jaan.md/"
  },
  events: {
    onReady, onStateChange, onError
  }
});

// onReady also sets:
//   iframe.referrerpolicy = "strict-origin-when-cross-origin"
//   iframe.title = "Test F - Full YouTube IFrame API Player"
//   and logs the generated iframe.src

Instructions

Click the native YouTube play button and watch at least 60–120 seconds. Open DevTools → Console before clicking play so you can see the [YT_TEST] log lines.

Expected learning

Closest to IMVBox's setup. The console logs (READY, IFRAME_SRC, STATE, PLAYING_INFO) confirm that playback actually started and let you inspect which params the YouTube API generated into the final iframe src. If Test F appears in YouTube Studio External Sources but the static iframes (B–E) don't, the API-driven setup is what unlocks attribution.

QA checklist

  1. Open DevTools → Network.
  2. Find the request to youtube.com/embed/BLx3d7m8l-c.
  3. Confirm the Referer header is https://f.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. Confirm DevTools console logs [YT_TEST] f-full-api-player READY, [YT_TEST] f-full-api-player IFRAME_SRC …, [YT_TEST] f-full-api-player STATE PLAYING, and [YT_TEST] f-full-api-player PLAYING_INFO {…}.