Video URL Mismatch

a_g1
New Member
1 0 0

Hi,

 

I have successfully completed the steps described in https://shopify.dev/api/examples/product-media (created an upload URL, uploaded the video and linked the video to a product).

After the video was uploaded I used https://shopify.dev/api/examples/product-media to check the status of the video. I made sure that the video was in ready status.

After this i got the originalsource url for the video using the graphql api. Here I got a cdn video url (video size - 312mb)

After this I went online to check the video on the actual store. I was checking the video on the store page. However I found that on the actual store page the url of the video is completely different and also the size of the video on the store is 2.2mb. 

Url received through get media - https://cdn.shopify.com/videos/c/o/v/6d5362c2aae1470290fe4cc4e653a87a.mp4

Url received through ui - https://cdn.shopify.com/videos/c/vp/6d5362c2aae1470290fe4cc4e653a87a/6d5362c2aae1470290fe4cc4e653a87... 

So basically wanted to know why the url which i get from get media completely different from the one i see in UI?

Thanks!

Note this is for a private development store.

Replies 0 (0)