Shopify themes, liquid, logos, and UX
Dear Community,
I searched and searched for the solution within the community to find an answer to this "simple" problem. This message is to provide the solution to you if you are looking for the same thing - You want to add a mp4 video not a YouTube video to the home page of your theme.
Here is the solution: https://www.youtube.com/watch?v=FcB580SjU_Q
Here is the file link: https://itfam.pro/video-background-shopify-debut-theme/
After downloading and unzipping the file, change its name to: video_background.liquid.text and open it with notepad. You can then copy and paste it as directed in the video.
I hope this helps someone looking to add a mp4 (not a YouTube video) to their home page.
Solved! Go to the solution
This is an accepted solution.
Thank you. I posted this as a solution to those looking for information on how to do it. 😊
This is an accepted solution.
Thank you. I posted this as a solution to those looking for information on how to do it. 😊
Works great, thank you. Any way to customize the code so the video always stays 100% width and 100% height without being cropped? Also in mobile? It's now cropping a lot off left and right…
I'm not sure how to make adjustments ... you might add the YouTube creator, or at the content link. I'm glad you were able to get it to work.
This did the trick for me! Thanks so much for sharing. The only thing missing is the sound that is on the video, but I reached out to Vadym for his feedback. Thanks again!!!
Did you get a response about this. Would love to have this too!
I've got one issue though, on mobile I see a black bar beneath the video, any ideas on how to get rid of it? I´m using the debut theme.
Thank you!
I'm not sure how to make adjustments ... you might add the YouTube creator, or at the content link. I'm glad you were able to get it to work.
I saw a few comments under the video and saw this solution:
Hi there,
After uploading code and video, Video is working fine but Website shows a lot of empty space under the video and can't even delete it or reduce it. Can you please guide?
Please find attached photo for proof,
Thanks
Himanshu
Hi, does it work for dawn theme as well?
I just tested it, and it works with Dawn theme. Realistically it should work with any theme.
If you want this solution for any and all shopify themes, he made an updated version https://www.youtube.com/watch?v=wajvd9oL9Zg
User | RANK |
---|---|
206 | |
157 | |
75 | |
69 | |
66 |
Explore the 30-30-30 rule, a dynamic social media strategy for new businesses. Learn how t...
By Trevor Sep 20, 2023Discover how to leverage the often overlooked footer of your ecommerce site to gain custom...
By Skye Sep 15, 2023In this blog, we’ll be shining a light on Shopify Partners, Experts, and Affiliates. Who a...
By Imogen Sep 13, 2023