I want to know how to deactivate the mp4 download of the videos through the API, because I can activate this option, but I can’t find information on how to deactivate it. My users upload the videos by direct URL and then I download those videos to my local server, so, I activate the mp4 download, but when I have already downloaded the videos I want to put again the videos that can not be downloaded. There are too many videos to do this manually.
Hi Johnny
Not sure I fully understand what you’re saying. But, what you can setup your own server to do:
- Subscribe to the Cloudflare Stream Webhook and listen for videos that become “state”: “ready”
- Use the API to disallow download on that video