Check the results
Content
Check S3 bucket
- When accessing the S3 bucket interface, you see that the output contains the files of the output video

- Check the output directory, it contains output files with different bit rates and corresponding Playlist for each bit rate

- The playlist primary.m3u8 contains output videos that can be played by the users devices

Play the output video on a mobile device
The URL to access Amazon CloudFront includes two parts:
- The Amazon CloudFront domain name
- The Playlist path in the S3 bucket
Amazon CloudFront domain name
- Access the Amazon CloudFront interface
- Select the Distribution created in the previous section and copy the Distribution domain name in the General tab

Playlist path in the S3 bucket
- Access the Amazon S3 interface
- Select the bucket created in the previous section
- Select the output folder
- Select the primary.m3u8 Playlist

Add /output/primary.m3u8 after the existing Distribution domain name from the previous section and use this URL to access CloudFront and play the output video on a mobile device.
Result

Thus, we have successfully used Amazon CloudFront to distribute a video’s content to users devices by utilizing Amazon Elastic Transcoder to convert the original video into a format suitable for the devices.