Want to upload recorded video directly on shopify files

Want to upload recorded video directly on shopify files

Kavan_Thobhani
Shopify Partner
2 0 0

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!

Kavan_Thobhani_0-1738929176035.png

 

Replies 2 (2)

PageFly-Richard
Shopify Partner
4991 1118 1796

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.


Solution: Convert WebM to MP4

The simplest way to bypass this issue is to convert the WebM file to MP4 before uploading.

Quick Workarounds

Convert WebM to MP4 Online (No Software Needed)

Use a free online converter like:

Simply:

  1. Upload your WebM file.
  2. Convert it to MP4.
  3. Download the new MP4 file.

     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.

Kavan_Thobhani
Shopify Partner
2 0 0

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