JW Player and AWS Cloudfront


Using CloudFront

A Content Delivery Network (CDN) offers several advantages over a plain webserver for streaming video. For example, a CDN will be able to speedily deliver your videos across the country and globe, it will be able to stream your videos instead of a download and it will be able to scale to large numbers of videos and viewers.

  • Get an Amazon Web Services (AWS) Account
  • Upload Your Content to S3
  • Create a CloudFront Distribution
  • Configure Your JW Player:

<script type="text/javascript" src="player.js"></script>
<div id="container">Loading the player ...</div>
<script type="text/javascript">
    flashplayer: "player.swf",
        file: "your file.mp4",
        height: 315,
        provider: "rtmp",
        streamer: "rtmp://sXXXXXXX.cloudfront.net/cfx/st",
        width: 420,
        'image': 'your-screenshot.JPG'