All things Shopify and commerce
Hello,
I'm trying to upload a video that I recorded directly from my browser into the Shopify Files section. However, I keep encountering the error: "Exceeds maximum video length of 10 minutes," even though the video is only a few seconds long.
The issue seems to only occur with videos in the WebM format, as uploading other file formats (not recorded in WebM) works fine without any issues.
Has anyone else experienced this problem with WebM files? Is there a solution or a workaround to ensure I can upload videos without this error?
Thank you in advance for your help!
This is Richard from PageFly - Shopify Page Builder App
Hi @Kavan_Thobhani
Yes, this is a known Shopify bug that specifically affects WebM videos. Even though your WebM file is just a few seconds long, Shopify incorrectly interprets the metadata, causing the "Exceeds maximum video length of 10 minutes" error.
The simplest way to bypass this issue is to convert the WebM file to MP4 before uploading.
Use a free online converter like:
Simply:
4. Upload the MP4 file to Shopify Files.
Hope my solution will help you resolve the issue.
Best regards,
Richard | PageFly
Please let me know if it works by giving it a Like or marking it as a solution!
➜ Optimize your Shopify store with PageFly Page Builder (Free plan available)
All features are available from Free plan. Live Chat Support is available 24/7.
We are using JavaScript to record videos directly in the browser and upload them to Shopify Files without any manual intervention. However, we keep encountering the error: "Exceeds maximum video length of 10 minutes," even though the recorded video is only a few seconds long.
After some manual debugging, we found that the issue arises specifically with WebM formatted videos. We have no scope to use online converters, as our process involves directly recording and uploading the WebM file using JavaScript by gql apis
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025