Home How To How to enable autoplay for embedded YouTube videos

How to enable autoplay for embedded YouTube videos

by Mohsin Raza
enable autoplay for embedded YouTube videos

If you can edit and add HTML codes to your site or post, you can likewise insert YouTube videos to make your article informative. Implanting YouTube videos is basic; however, imagine a scenario where you need to enable autoplay for embedded YouTube videos.

Autoplaying embedded videos are useful if you need to show your items and how they work. While the embedded videos don’t expand their perspectives, they can be convenient when used warily.

Right now, show you how to enable autoplay for embedded YouTube videos on your site effortlessly.

How to autoplay embedded YouTube videos on your site?

Use HTML content

  1. Open YouTube on your internet browser and play the video that you need to install.
  2. Beneath the video’s title, click on Share.
  3. Select the Embed tab. This will show you an HTML install content.
  4. Copy the HTML code and glue it into the page where you need to include the video.
  5. On account of WordPress, go to New Post > Text (as a matter of course Visual tab is chosen) and glue the code.
  6. Include ?autoplay=1 code directly after video ID.
  7. In the wake of including ?Autoplay=1 the HTML code will resemble this:
  8. “<iframe width=”560″ height=”315″ src=” https://www.youtube.com/implant/[Video ID]I?&autoplay=1″ frameborder=”0″ allowfullscreen></iframe>
  9. Update the page before existing the page to spare the changes.
  10. Open the website page and check if the video plays automatically for the new users.
  11. If the progressions are not noticeable, attempt to clear the store and attempt once more.

Use the YouTube Embed module

Autoplay WordPress Plugin

  1. Sign in to the WordPress administrator dashboard.
  2. Click on Plugins and select Add New.
  3. Quest for YouTube Embed module and install it.
  4. Ensure you have actuated the module after installation is finished.
  5. From the left sheet of your WordPress dashboard, click on YouTube Embed and choose Profile.
  6. Look down to the Playback segment and check the “Autoplay” box.
  7. Enabling Autoplay will automatically play the video when the player loads.
  8. If you need to play a video on a circle, check the “Circle Video” box. On account of a playlist, this will play the whole playlist and afterward play it on a circle.

Also see: How to Fix Excel won’t open files or shows a white screen instead

The YouTube Embed module additionally accompanies some advanced highlights. You can change the video player size, make them responsive, enable or debilitate explanations, permit subtitles, show related videos from different channels and change the default style.

You may also like

Leave a Comment