HDW Player Download

Amazon Cloudfront Streaming

HDW Player is still trying to better the Examples section. Mail your ideas to [email protected]

Overview

A Content Delivery Network (CDN), like Amazon's CloudFront, offers content providers a simple and reliable way to host, format and deliver their video content at high speeds.

Steps to follow

  • Get an Amazon Web Services (AWS) Account.
  • Upload Your Content to Amazon Simple Storage Service (S3).
  • Create a CloudFront Streaming Distribution.

Required Properties

type - rtmp
streamer - Server path
video - Stream Name.

Streamer (or) Server path should be formatted as, rtmp://sXXXXXXXXXX.cloudfront.net/cfx/st
rtmp - Protocol
sXXXXXXXXXX.cloudfront.net - Amazon Distribution domain name
cfx/st - Name of the Application that is used for content delivery

Code

 

<html>
<head>
	<title>Sample Integration</title>
	<script src="/media2/js/hdwplayer.js"></script>
</head>
<body>

<div id="player"></div>

<script>
hdwplayer({ 
	id        : 'player',
	swf       : '/media2/files/player.swf',
	width     : '705',
	height    : '400',
        type      : 'rtmp',
        streamer  : 'rtmp://sXXXXXXXXXX.cloudfront.net/cfx/st',
        video     : 'sample.mp4',
        autoStart : 'true'
});
</script>

</body>
</html>

 

Support