May 23, 2018 9:25 AM
Grab the embed code from the YouTube video to be added to your page:
<iframe width="560" height="315" src="http://www.youtube.com/embed/evL5jaZx8vk" frameborder="0" allowfullscreen></iframe>
Add "?rel=0&autoplay=1" after the URL in the embed code src:
<iframe width="560" height="315" src="http://www.youtube.com/embed/evL5jaZx8vk?rel=0&autoplay=1" frameborder="0" allowfullscreen></iframe>
Dec 22, 2021 3:52 PM
Thanks @KKnowles! Your comment is what helped solve my issue.
The embed url that ended up working for me was src="https://www.youtube.com/embed/HCc0OUmmPd8?feature=oembed&autoplay=1&mute=1&cc_load_polic..." which you can on our Content Marketing page.
May 24, 2018 8:57 AM
Ok - after some research and troubleshooting - I've discovered that Google has changed their autoplay policy in Chrome to "improve the user experience."
I don't like it. But at least it still autoplays in Firefox and Edge/IE.
May 23, 2018 10:03 AM
This used to work beautifully but now it doesn't. Not on older landing pages or new one I make. Any ideas on what's wrong? Are there some new settings in Hubspot somewhere? I created a webpage on my website and used the same embed code and it worked perfectly. But on Hubspot landing pages it will not autoplay. Help is greatly appreciated!