Tools / YouTube Tools / YouTube Custom Embed Code Generator
YouTube Custom Embed Code Generator
Generate a fully customised YouTube embed with autoplay, loop, controls, start time and end time options.
⚙️ Custom YouTube Embed Generator
Frequently Asked Questions
What embed options does the Custom YouTube Embed Generator support?
The generator supports: autoplay (must be muted to work in browsers), mute, loop, hide controls, start time (seconds), end time (seconds), disable keyboard, and showing/hiding related videos from the same channel.
Why doesn't autoplay work on my embedded YouTube video?
Modern browsers block autoplay videos with sound to prevent unwanted audio. YouTube embeds autoplay only when the video is muted (autoplay=1&mute=1). If you need autoplay with sound, the user must interact with the page first.
How do I make a YouTube video loop continuously?
Set the Loop parameter to enabled. Note: for looping to work in the YouTube iframe player, you also need to set the playlist parameter to the same video ID. The generator handles this automatically.
Can I set a YouTube embed to start and end at specific times?
Yes. Enter the start time (in seconds) and end time (in seconds). For example, to play from 1:30 to 3:00, set start=90 and end=180.