If this tutorial is not what you were looking for, you still have any questions, suggestions or concerns - feel free to let us know. Please help us to serve you better!

Your Name

Your Email

Your Message (required)

captcha

Featured templates

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

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