Paste any YouTube URL or video ID and build a clean embed iframe — control start/end times, autoplay, captions, controls visibility, related videos, and switch to the privacy-enhanced youtube-nocookie.com domain. Generates iframe HTML, the player URL, and oEmbed JSON.
The youtube-nocookie.com domain defers tracking cookies until the viewer presses play and is recommended for GDPR-sensitive sites. Autoplay only works when the player is muted — browsers block sound-on autoplay by default. loop=1 on the YouTube player requires playlist=<same id> as a quirk of the IFrame API. controls=0 hides the progress bar but keeps the click-to-play overlay.
| start | Seconds offset (or 1m30s in URL hash). |
| end | Seconds offset where playback stops. |
| autoplay | 1 = play on load. Sound-on autoplay is blocked. |
| mute | 1 = start muted. Needed for autoplay. |
| loop | 1 = repeat. Pair with playlist=<id>. |
| controls | 0 = hide bar; 1 = show (default). |
| rel | 0 = only related from the same channel; 1 = any. |
| cc_load_policy | 1 = force captions visible. |
| cc_lang_pref | BCP-47 caption language preference. |
| modestbranding | Reduces the YouTube logo (still present). |
| playsinline | 1 = stay inline on iPhone instead of fullscreen. |
| fs | 0 = hide fullscreen button. |