How Do I Autoplay an Embed YouTube Video in Shopify Homepage Post author:Ramzan Post published:March 10, 2022 Post category:Uncategorized Post comments:0 Comments Follow Below steps to embed a youtube video in your shopify store with autoplay, and loop. Go to customizeClick on Add sectionSelect Custom Liquid or Custom HTMLPaste below code in the input box in the right sidebar.Replace the ID of your video which is just after embed/ and after playlist= <style> .youtube-container { overflow: hidden; width: 50%; margin: 0 auto; aspect-ratio: 16/9; pointer-events: none; } .youtube-container iframe { width: 300%; height: 100%; margin-left: -100%; } @media screen and (max-width: 800px) { .youtube-container { width: 90%; } } </style> <div class='youtube-container'> <iframe src='https://www.youtube.com/embed/dp62sNmT4UY?controls=0&showinfo=0&playsinline=1&autoplay=1&mute=1&loop=1&playlist=dp62sNmT4UY'></iframe> </div> Hire Me Tags: autoplay, dawn theme, embed youtube video, shopify Please Share This Share this content Opens in a new window Opens in a new window Opens in a new window Opens in a new window Opens in a new window Opens in a new window Opens in a new window Opens in a new window Opens in a new window Opens in a new window Opens in a new window Read more articles Previous PostDawn Theme – How To Remove Logo Only From Homepage? Next PostSticky Navigation Bar On Debut Theme [SOLUTION] You Might Also Like How To Add “Add To Cart” Button On My Collection Page March 8, 2022 How to Export JSON data to Excel File using JavaScript ? March 24, 2022 wireless surveillance cameras ( مميزات وعيوب كاميرات المراقبة اللاسلكية) May 30, 2022 Leave a Reply Cancel replyCommentEnter your name or username to comment Enter your email address to comment Enter your website URL (optional) Save my name, email, and website in this browser for the next time I comment. Δ