Hi all I get an expected ‘}’ js error, I just added in the controls line maybe it is something to do with this? I have tried adding ‘}’ is various places but I am clueless when it comes to js- whaere should the closing bracket go? Thank you
<script type="text/javascript">
<!-- Specify your player below. You uploaded this in step 2b -->
$f("a.rtmp", "http://s3.amazonaws.com/videoexample/flowplayer-3.2.7.swf", {
// This next code configures the player to use rtmp plugin for streaming.
clip: {
provider: 'rtmp'
},
// Here is our rtpm plugin configuration
plugins: {
controls: {
url: 'videoexample/flowplayer.controls-3.2.1.swf'
}
rtmp: {
<!-- This is where you call on the rtmp plugin. You uploaded this in step 2d. It is recognizable by its .swf suffix and the section with 'rtmp' in the file name
-->
url: 'flowplayer.rtmp-3.2.3.swf',
/*
"netConnectionUrl" below defines where the streams are found;
this URL is specific to Amazon CloudFront. it is the address you are given when you made a streaming distribution of the bucket in which your video resides, ending in .cloudfront.net. YOU *MUST* ADD "/cfx/st" IN ORDER TO ENSURE THAT YOUR VIDEO WILL STREAM. Mine would read 'rtmp://s1jng015tymskd.cloudfront.net/cfx/st'
*/
netConnectionUrl: 'cloudfront.net/cfx/st'
}
}
});
</script>