I am working on an application where some videos are uploaded to Amazon S3. Now a user can choose to download the video or stream it. The public url on amazon s3 is say "amazons3.com/test/file.mp4". As of now, everytime I visit the url, it streams the video. How to I append parameters to the url so that the video can be streamed or dowloaded.
Basically, original url should stream the video, and modified_url should download it.
Thank you!