Custom HTML For Embed Video Autoplay Loop on Homepage Post author:Ramzan Post published:July 9, 2023 Post category:Shopify Post comments:0 Comments Follow below steps: Go to theme -> CustomizeAdd a new section ‘Custom liquid’Paste the below code <style> div:has(.custom-video-section) { padding: 0 !important; } video { display: block; margin: 0 auto; width: 100%; } @media screen and (min-width: 800px) { .video-for-mobile { display: none; } } @media screen and (max-width: 800px) { .video-for-desktop { display: none; } video { width: 100%; } } </style> <div class="custom-video-section"> <video class="video-for-desktop" autoplay loop playsinline muted> <source src="https://cdn.shopify.com/videos/c/o/v/fc5c6752c643485bacd65b1a5557b016.mp4" /> </video> <video class="video-for-mobile" autoplay loop playsinline muted> <source src="https://cdn.shopify.com/videos/c/o/v/e1913e781f064577b59fa6b6f42f9afe.mp4" /> </video> </div> Follow below video: Hire Me Tags: autoplay, dawn theme, embed video, loop, 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 PostCustom Testimonial Section in DAWN Theme Shopify | Copy Paste Code | Without App Next PostPayPal Smart Buttons: Simplifying Online Payments for Businesses and Consumers You Might Also Like How To Add Back To Top Button to Scroll From Bottom On Shopify October 18, 2021 How to Add Marquee in Shopify Announcement Bar ? September 3, 2021 Custom Thank You Page Shopify Store October 18, 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. Δ