Categories

Featured templates

OpenCart 2.x. How to set YouTube video to autoplay

Iris Burke February 25, 2016
Rating: 5.0/5. From 2 votes.
Please wait...

The following tutorial shows how to set YouTube video to autoplay in Opencart 2.x.

OpenCart 2.x. How to set YouTube video to autoplay

In order to make the YouTube video autoplay when opening the page, you should perform the following steps:

  1. Open your OpenCart admin panel.

  2. Navigate to Catalog -> Products tab:

    OpenCart 2.x._How_to_set_YouTube_video_to_autoplay
  3. Find the needed product and click Edit button next to it to open product settings window:

    OpenCart 2.x._How_to_set_YouTube_video_to_autoplay2
  4. Select Code View button from the toolbar on the top of product description field:

    OpenCart 2.x._How_to_set_YouTube_video_to_autoplay3
  5. The YouTube video code is looking like on the screenshot below:

    OpenCart 2.x._How_to_set_YouTube_video_to_autoplay4
  6. In order to set the video to autoplay you need to change autoplay:0 to autoplay:1:

    OpenCart 2.x._How_to_set_YouTube_video_to_autoplay5
  7. If autoplay value is not there, you can add it.

  8. Click Save button and refresh the page to see the changes. You have successfully set YouTube video to autoplay.

    OpenCart 2.x._How_to_set_YouTube_video_to_autoplay6

Feel free to check the detailed video tutorial below:

OpenCart 2.x. How to set YouTube video to autoplay
OpenCart Template Design
This entry was posted in OpenCart Tutorials and tagged autoplay, opencart, vudeo, youtube. Bookmark the permalink.

Submit a ticket

If you are still unable to find a sufficient tutorial regarding your issue please use the following link to submit a request to our technical support team. We'll provide you with our help and assistance within next 24 hours: Submit a ticket