Invalid URL When Attaching Videos To A Product

Hi!

I’m trying to upload and attach a video to a product, I’m using the same GraphQL mutation that I use for the images (productCreateMedia), but I got the Invalid video url message error

{
    "data": {
        "productCreateMedia": {
            "media": [],
            "mediaUserErrors": [
                {
                    "message": "Invalid video url=http://cloud.mo.cloudinary.net/4825/video.mp4",
                    "field": [
                        "media",
                        "0",
                        "originalSource"
                    ]
                }
            ]
        }
    },
    "extensions": {
        "cost": {
            "requestedQueryCost": 10,
            "actualQueryCost": 10,
            "throttleStatus": {
                "maximumAvailable": 1000,
                "currentlyAvailable": 990,
                "restoreRate": 50
            }
        }
    }
}

I follow the example that shopify provides (https://shopify.dev/api/examples/product-media) and use first the stagedUploadsCreate mutation and pass the originalSource to the productCreateMedia, at the moment to upload the asset to the url nothing happen

mutation stagedUploadsCreate($input: [StagedUploadInput!]!) {
      stagedUploadsCreate(input: $input) {
        stagedTargets {
          resourceUrl
          url
          parameters {
            name
            value
          }
        }
        userErrors {
          field
          message
        }
      }
    }
input: {
            filename: filename,
            mimeType: "video/mp4",
            resource: "VIDEO",
            httpMethod: "POST",
            fileSize: fileSize
          }
"url": "https://shopify-video-production-core-originals.storage.googleapis.com",

If I change the resource to FILE the url that i get from the response of stagedUploadsCreate is from aws and now I can upload the asset but I get the same error using the productCreateMedia mutator

"url": "https://shopify.s3.amazonaws.com"
"message": "Invalid video url=https://shopify.s3.amazonaws.com/tmp/58187481263/files/1f5cbc-06c-4fd-b91-aa6106dd2c/video.mp4",

Also I follow this example that uses fileCreate instead of productCreateMedia just changing the contentType to FILE instead of IMAGE and works, but I need to attach the file to a product.

Which resource should I use VIDEO or FILE?

Thanks in advance for any help!