Yes, I have created the cloudfront distribution, but according to the HLS tutorial I did not grant permissions to it. Also when I try to add it (the arn) as principal, I get – principal not valid from AWS.
What you are saying is that I have to create IAM user that has read/list access to the bucket and then attach it to this policy as the principal. Also this user has to be added to the hosting settings of the player under cloudront (pro). Is my assumption correct?
Hi Martin, I just cloned the server where the fv licensed domain was residing and then were able to find a distribution of php5.6 for centos 7 (for production purposes I may reimage to Ubuntu 16). I followed your guide and were able to play the encrypted HLS. I have some questions:
1. I had to make the bucket available to the public in order for the player to access the encrypted video. What I do not like is that if you access the cloud front URL gives XML list of the bucket contents. Is there a way to prevent this?
2. Regarding playing the encrypted HLS is there any player settings you recommend? (I noticed that if I check Enable HLS.js (beta):, mobile versions of chrome could not play the video)
Thanks