Downloading files from S3 with CloudFront, Node.js, and React can be tricky.Initially, the basic logic of triggering a download did not work as expected.The issue was caused by setting the ContentType during the S3 upload process.To fix browser compatibility and enable seamless downloads, streaming the video from the backend with appropriate headers was necessary.