Following videos illustrate playlist technology with dynamically loaded CloudFront file URLs with download protection (CloudFront set up documentation). Ideal feature for membership sites or any cached website.
Player with MP4, WebM and RTMP stream
Player with just the RTMP stream
Note: With Adobe discontinuing Flash, AWS announced that all RTMP distribution will be deprecated starting December 31, 2020. All RTMP will be migrated to standard web distibution.