Simple YouTube Embed is a WordPress plugin that allows you to embed YouTube videos and make it responsive and prettier. You can embed a YouTube video with the highest resolution version of its thumbnail image and present it much more professionally to your visitors.
With Simple YouTube Embed, you can prevent YouTube from showing related videos when a video finishes playing. You can also apply advanced customizations such as automatically play a video, hiding player controls, fullscreen option etc.
YouTube Embed Plugin Demo
YouTube Embed Plugin Installation
- Login to your WordPress admin dashboard
- Go to Plugins->Add New
- Enter Simple YouTube Embed in the search box
- Once you find the plugin hit the install button
- Download the zip version of the YouTube plugin
- Go to Plugins->Add New and click on the Upload tab
- Select the zip file on your computer
- Upload and install it
- Download the zip file and extract it
- Connect to your site via FTP (you can use a tool like Filezilla to transfer files to your server)
- Browse to the “/wp-content/plugins” folder
- Select the folder containing the plugin files on your computer and upload it
- Once all the files have been uploaded to your web server, you can activate the plugin from the Plugins menu (WordPress admin dashboard)
YouTube Embed Plugin Usage
You can easily embed a YouTube video by inserting the URL into a YouTube block in your post/page editor. For example:
Once you publish the post/page, your YouTube video should like the following,
If you already have some YouTube videos embedded, the plugin will automatically make them pretty like the one above.
Automatically Play a Video
Add “autoplay=1” to the URL if you wish to automatically play the video after the page loads.
Disable Related Videos
Add “rel=0” to the URL if you wish to disable related videos from displaying when the YouTube video finishes.
Disable Player Controls
Add “controls=0” to the URL if you wish to disable YouTube player controls.
Add “fs=0” to the URL to disable the fullscreen option in the YouTube player.
If you wish to display a YouTube video in lightbox, please check this tutorial on how to embed a YouTube video in lightbox.
Simple YouTube Embed Extensions
Simple YouTube Embed plugin comes with an extension that you can use to enhance its functionality on your website.
Advanced Parameters extension allows you to use additional advanced parameters in your YouTube videos.
This parameter specifies the color that will be used in the player’s video progress bar to highlight the amount of the video that the viewer has already seen.
Valid parameter values are red and white, and, by default, the player uses the color red in the video progress bar.
Note: Setting the color parameter to white will disable the modestbranding option.
Setting this parameter’s value to 1 causes the player to not respond to keyboard controls. The default value is 0.
This parameter specifies the time, measured in seconds from the start of the video, when the player should stop playing the video. The parameter value is a positive integer.
The time is measured from the beginning of the video and not from the value of the start player parameter.
This parameter lets you use a YouTube player that does not show a YouTube logo. Setting the parameter value to 1 prevent the YouTube logo from displaying in the control bar.
This parameter causes the player to begin playing the video at the given number of seconds from the start of the video. The parameter value is a positive integer.