How do I make a YouTube video autoplay on Storefront?

  • 1
  • 1
  • Question
  • Updated 5 years ago
  • Doesn't Need an Answer
  • (Edited)
Archived and Closed

This conversation is no longer open for comments or replies and is no longer visible to community members. The community moderator provided the following reason for archiving: Archived

1. On Youtube, go to the video you wish to embed.

2. Click Share, then Embed.

The Youtube video page with Share and Embed highlighted

3. Choose your settings, then copy the HTML code.

4. In your Bigcommerce control panel, open the page, product, or category you'd like to add the video to.

5. In the Page Content or Product Description editor, click the HTML icon in the toolbar.

The HTML icon is in the top right of the WYSIWYG editor the last icon in the toolbar

6. Paste the code, then add ?rel=0&autoplay=1 to the code. See the example below.

Before

<iframe width="640" height="360" src="[YouTube Video URL]" frameborder="0" allowfullscreen></iframe> After

<iframe width="640" height="360" src="[YouTube Video URL]?rel=0&autoplay=1" frameborder="0" allowfullscreen></iframe> 7. Select Update.

The HTML Source editor with the Update button in the lower left highlighted

8. Save your changes before exiting.

Photo of Drew N

Drew N, Community Manager

  • 259,198 Points 100k badge 2x thumb

Posted 5 years ago

  • 1
  • 1

There are no replies.

This conversation is no longer open for comments or replies.