I need a web application that cleanly streams videos stored in my Amazon S3 bucket through a CloudFront distribution with zero perceptible buffering. The frontend must be built in React, and the viewer should feel as seamless as YouTube or Netflix when switching between scenes or jumping around the timeline. Core requirements • Stream every file via CloudFront, not by directly hitting S3. • Implement secure user authentication so only logged-in viewers can access content. • Offer multiple video-quality settings (adaptive bitrate/HLS preferred) so bandwidth-constrained users can down-shift without stalling. A typical session flow I am targeting: the visitor signs in, the player fetches the HLS/DASH manifest from CloudFront, picks the best rendition automatically, yet still lets the user choose 1080p, 720p, 480p, etc. Switching quality should remain instant and buffer-free. I will provide: – The existing AWS bucket and an empty CloudFront distribution. – Sample MP4s for testing. I expect you to deliver: 1. A React codebase (Vite or Create-React-App is fine) with a polished, responsive player UI. 2. Infrastructure scripts or clear steps to configure S3 bucket policies, signed URLs (or CloudFront signed cookies), and caching rules that keep playback smooth and secure. 3. Auth implementation (Cognito, Firebase Auth, or a lightweight JWT server—open to your suggestion) wired into the player. 4. Documentation and a short hand-off call or screencast so I can redeploy and extend the solution myself. If you have already solved buffering challenges at scale with HLS, DASH, or low-latency CMAF on AWS, that experience will help us move quickly.