YouTube Playlist Embed Options Explained
Each option in our generator changes the behavior of your embedded playlist. Here is what each one does:
Responsive
Makes the embed scale to fit any screen width while keeping the 16:9 aspect ratio. Essential for mobile users - 87% of YouTube is watched on mobile devices.
Privacy Enhanced Mode
Uses youtube-nocookie.com instead of youtube.com. YouTube does not place tracking cookies until the user clicks play. Recommended for GDPR and CCPA compliance.
Autoplay
Starts the playlist automatically when the page loads. Requires Muted to be enabled in most modern browsers due to browser autoplay policies.
Loop
Restarts the playlist from the first video after the last video finishes. Useful for background ambient videos, event screens, or continuous showcase playlists.
Player Controls
Hides the play/pause bar, volume, and seek controls. Useful for background video or kiosk-style displays where you do not want user interaction.
Start From Video #
Sets which video in the playlist starts playing first. Set to 2 to skip the intro video, or any number to start mid-playlist. Useful for structured course playlists.
How to Embed a YouTube Playlist in WordPress
There are two methods to embed a YouTube playlist in WordPress without a plugin:
- Method 1: Custom HTML Block (Recommended)
In the WordPress block editor (Gutenberg), click the + button, search for "Custom HTML", and paste the iFrame code from our generator. This works in every WordPress theme.
- Method 2: WordPress Shortcode Tab
Use the "WordPress" tab in our code generator. Copy the HTML code and paste it into the Custom HTML block in Gutenberg, or use a plugin like WPCode to add it globally.
- Method 3: Page Builders
In Elementor, Divi, or WPBakery, add an HTML widget and paste the iFrame code. The responsive version from the CSS tab ensures it looks perfect at all screen sizes.
For the responsive embed in WordPress, use the Responsive CSS tab to add the wrapper CSS to your theme's Additional CSS (Appearance - Customize - Additional CSS).
Responsive YouTube Playlist Embed - Why It Matters
A standard YouTube embed uses fixed pixel dimensions (e.g., 560x315). This looks fine on desktop but breaks on mobile - the player either overflows the screen or appears tiny. A responsive embed fixes this automatically.
Our responsive embed code wraps the iframe in a container div with padding-bottom: 56.25% (the 16:9 ratio) and position: relative. The iframe is then positioned absolutely inside to fill the container. The result scales perfectly from 320px mobile screens to 4K monitors.
Fixed Size
width="560" height="315" Overflows on mobile Responsive
padding-bottom: 56.25% Works on all screens