I made a product video on my camera and now I want to add this video to my product page. I could not find a way to add the video. There is an option to add youtube video with embed code but how can I add my own video?
I understand that you want to add your own video to your product page. I may be able to help you with this.
Note: Make sure that you use MP4 video format, which is the most widely supported video format currently available.
Note: If your video file is larger than 20MB, youâll have to upload it to YouTube and use the embed code. Otherwise, youâll need to find a hosting provider for your video, instead of using my Step 1 suggestion of Shopify Files.
Step 1: Upload your video on the Files page:
From your Shopify admin, go to Settings > Files.
Click Upload files.
Select the video to upload. Click Open.
Copy the URL of the video and store it somewhere (weâll need it again soon):
Step 2: Add HTML content to your product with the rich text editor:
Click the Show HTML button to view the HTML code for the product description inside the rich text editor:
Get your video URL from Step 1. Add this code to the HTML:
<video controls="controls" style="max-width: 100%; height: auto;">
<source src="your_url_goes_here" type="video/mp4" />
Your browser does not support our video.
</video>
Be sure to replace âyour_url_goes_hereâ in the code with the URL from Step 1.
Click Save.
Let me know if this solves your problem or if you need further help!
Yes, the code will work for the homepage. However, Iâm sure youâll need to make some code changes to adjust the styling, depending on how you want the video to be displayed.
Thank you so much for your reply. I really appreciate that. The good news is! The solution is worked. I tried your method and was able to put my video on the product page.
Hi Brian, I used this code you provided to add videos in my description box and they were working perfectly fine until I discovered âeasy video shopify appâ. I gave the app guys access to my site and they configured something. I didnt like how their videos showed up so I went ahead and added my videos like I did before with your code but they stopped working. Will you help on how i can get them back up?
I understand that after you installed a new app and gave the appâs developers access to your site, you are no longer able to use my suggestion for adding a video to your store.
I would be happy to take a look at your store and see if I can find the problem.
Hey so I used the link for my home page and it worked great, I am just wondering if there is a way to have the video play automatically rather then the customer having to click play.
If you are viewing this on a mobile/tablet device that has âlow power modeâ and this is enabled it will not autoplay as this feature is trying to save power usage and autoplaying a video will use a significant amount of power. Thus defeating the purpose of âlow power modeâ
I am currently looking to create a site which would host video content on a hosting provider in China. The main reason to do this is to gain access to Chinese CDNs so users in China will have a smooth viewing experience.
Do you know of any restrictions or issues on Shopifyâs side when it comes to using Chinese video hosting services (for example https://www.polyv.net/vod/en/ or Tencent cloud)?
Right now I am inserting the video URL as a âtypeâ: âtextâ, but it would be really great if we didnât need to go to Settings > Files, find the file and copy the URL every time that we want to make a change. It is not a big issue, I just would like to know if there is a better approach.