Embed Code Generator for YouTube

Embed code with a start time, autoplay, controls and privacy mode.

Options

How to use it

  1. Paste the video link.
  2. Pick your options: start time, autoplay, controls, privacy mode, responsive.
  3. Copy the code into your site.

Questions

Why does autoplay also mute the video?
Browsers block videos that autoplay with sound. Muting is the only way autoplay works reliably.
What is privacy-enhanced mode?
The embed loads from youtube-nocookie.com, so YouTube doesn't set tracking cookies until the viewer presses play.
What does responsive do?
The player fills the width of its container and keeps a 16:9 shape on any screen, instead of a fixed 560×315 box.
Can I start the video at a specific time?
Yes. Type a time like 1:30 or 90, or paste a link that already has ?t= in it and we'll pick it up.