It’s possible to have a YouTube video play automatically when someone loads your website. To do this, you will need to embed video code supplied by YouTube into an HTML feature on your Bandzoogle website, with an extra bit of additional code.

Best practice: For greater accessibility, allow visitors to control when they’d like to start the video on your website. This helps avoid surprises if they are visiting from a quiet location, or interference if they are already listening to music.

How to set up a YouTube video to play automatically:

  1. From the ‘Edit Content’ tab, select the page on which you want to place the video
  2. Click ‘Add Feature’ and select the ‘HTML Code’ feature
  3. Use the placement arrows on that page to set the feature’s location
  4. Go to your YouTube video page, click the ‘Share’ option below the video, and click the ‘Embed’ option
  5. Copy the HTML code supplied there
  6. Paste that code into the ‘HTML code’ feature you added to your site
  7. Add this bit of code at the end of the video’s address (URL) in the code you pasted: ?rel=0&autoplay=1
  8. Click ‘Save’

    • The full code should look like this example:

      <iframe width="560" height="315" src="https://www.youtube.com/embed/S9XnseYLrQQ?rel=0&autoplay=1" frameborder="0" allowfullscreen></iframe>

Notes:

  • Please note that autoplay will only work if navigating to the page containing the video from your website's menu. Using a direct link to the page will cause the autoplay to not work.
  • We do not recommended setting videos to play automatically, as this could result in a higher bounce rate (visitors who immediately leave your site).
  • We cannot modify or provide support for external HTML code. If you have questions or concerns about the embedded feature, or require support for the widget, you’ll need to contact the company that supplied the code.
  • Widgets, videos (including embedded YouTube players), and music players do not function in campaigns sent through the Mailing List tab. Most email programs block the the scripts required for them to run. As an alternative, we recommend placing a thumbnail image of the video into the campaign, and linking it to YouTube directly, or linking it to a page on your website where the video is embedded. Linking to a site page directs visitors from their email account to your website, which could result in them making a purchase!