Hey, @christadorned
Thanks for reaching out today. That's a great question. If you want to include a video on your homepage, you can embed a video by adding some code into a 'Custom HTML' section in your theme editor. I actually created a screen recording, here that outlines how you can accomplish this. You can acquire the necessary code from this thread.
1) Upload the video into your Files section of your Shopify store. (Click "Settings" > Click "Files"). Make sure the video file is either a .MP4 or .WEBM.
2) Copy/Paste the code listed in the thread above into a 'Custom HTML' section. Paste the URL of the video in your files section into the code as shown in my screen recording. Be sure to delete the .WEBM code if you are using an .MP4 and vice-versa for .WEBM.
3) Upon saving the video should show up. This code is set so the video will autoplay and be muted by default. If you want sound on by default you can remove
muted=""
from the code.
Let me know if that helps!
Dirk | Social Care @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit the Shopify Help Center or the Shopify Blog
Hey @VegasRome @christadorned ,
To resize a video using HTML code you can set a max height or width of the video. This is the syntax for doing that:
<video width="320" controls> <source src="movie.mp4" type="video/mp4"> </video>
You can read more here: https://www.w3schools.com/tags/att_video_height.asp
If the problem is with the video being very big file (Storage wise) or you want to crop the video you can use one of the online video editors like Clideo
- https://clideo.com/crop-video
- https://clideo.com/compress-video
Hope this helps :) Wish you all the best!
Cheers,
Vignesh
ModeMagic
Hi,
I also have this issue on my website www.store-veo.com
I have right now embedded the standard shopify youtube section but I have so many problems with it -> not compatible with mobile and long loading times..
Can you please help me out? Since I have the Narrative Warm Theme I somehow also cannot add custom HTML sections.
Kind Regards
Julian
User | Count |
---|---|
448 | |
187 | |
139 | |
61 | |
44 |