I have s3 bucket and cloundfront connected to it. I use afterglow player to load html5 videos from cloundfront on my website. The file has 60mb in mp4 format. It lags few seconds after few seconds. What should I do ? Im not really specialist in AWS, there are no encoders connected.
Server-side encryption None
Given that you are already using Cloudfront, which is getting the content as close as possible to your users. I'd suggest one of the following:
OR
Change afterglow with a HTML5 Video player that supports DASH (e.g. mediaelement.js and others).
This is a very helpful guide: Step by step on stream DASH on S3