AWS Streaming
I am getting an error for this code saying "Flash Plugin failed to load".
<HTML>
<HEAD>
<TITLE>Amazon CloudFront Streaming with JW Player 7</TITLE>
<!-- Call the JW Player JavaScript file, jwplayer.js.
Replace WEB-DISTRIBUTION-DOMAIN-NAME with the domain name of your
CloudFront web distribution, for example, d1234.cloudfront.net
(begins with "d"). This causes a browser to download the JW Player file
before streaming begins.
Replace LICENSE-KEY with your personal license key from JW Player.
-->
<script type='text/javascript' src='http://d389bjmkrlwx56.cloudfront.net/jwplayer.js'></script>
<script>jwplayer.key="gZq2+UQQuwxlxxxwauJOhLxrSvCDEWC/vub6Ew==";</script>
<script type='text/javascript' src='http://d389bjmkrlwx56.cloudfront.net/jwplayer.flash.swf'></script>
</HEAD>
<BODY>
<H1>This video is streamed by CloudFront and played by JW Player 7.</H1>
<!-- Replace RTMP-DISTRIBUTION-DOMAIN-NAME with the domain name of your
RTMP distribution, for example, s5678.cloudfront.net (begins with "s").
Replace VIDEO-FILE-NAME with the name of your .mp4 or .flv video file,
including the .mp4 or .flv filename extension. For example, if you uploaded
my-vacation.mp4, enter my-vacation.mp4. You might need to prepend "mp4:" to the
name of your video file, for example, mp4:my-vacation.mp4.
If the file is in a subdirectory, include the subdirectory name just before
the file name, for example:
"rtmp://s3hghh2qn1nuqu.cloudfront.net/cfx/st/sample-directory/VIDEO-FILE-NAME"
-->
<div id="my-video"></div>
<script type="text/javascript">
jwplayer("my-video").setup({
file: "rtmp://s1lwqnwcjeu7v7.cloudfront.net/cfx/st/mp4:video.mp4",
"width":"720",
"height":"480",
"autostart":"true",
"stretching":"fill",
"hlshtml":"true",
"preload":"none"
});
</script>
</BODY>
</HTML>