How can I transform a cloud recording sharable link to a download link?

Description
I am working on an app that allows users to copy “Zoom sharable link” of a cloud recording into an iframe (not a zoom app). I noticed that when I use the sharable links in a

How can I convert these?

Error
Cross-Origin Read Blocking (CORB) blocked cross-origin response https://zoom.us/rec/download/U9r8xD-RARccE1glZ7hB2XAA5C8tCQbwf88tJaedb5ngHS_xLGxAiCslBtLqS81C.PhJQ0CZRkuUZxWFm with MIME type text/html.

Which App Type (OAuth / Chatbot / JWT / Webhook)?
No authentication (sharable, passwordfree links)

Which Endpoint/s?
No endpoint as of now.

How To Reproduce (If applicable)
Steps to reproduce the behavior:

  1. Request URL / Headers (without credentials) / Body

https://us02web.zoom.us/rec/share/U9r8xD-RARccE1glZ7hB2XAA5C8tCQbwf88tJaedb5ngHS_xLGxAiCslBtLqS81C.PhJQ0CZRkuUZxWFm?startTime=1610457314000

  1. Request Method:

GET

  1. Status Code:

302

  1. Remote Address:

3.235.73.123:443

  1. Referrer Policy:

strict-origin-when-cross-origin
2. See error

Additional context
I don’t control the containing iframe and it’s CORS policies. I tried also the url provided in the location field of the response, as it is a 302 answer, but it didn’t work. I saw another app solving the same problem obviously by converting the sharable link address to a download address:

Hence my question: How can I do this?

I found a way. I can fetch the shared url, get a 302 with a new location, then replace /play/ or /shared/ with /download/ then I get the right mime type for my player.

Glad you found a solution, @lafisrap! :slight_smile:

Best,
Will

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.