1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<h1>TEST</h1>
<script type="text/javascript" src="/assets/flowplayer.min.js"></script>
<a href="mp4:videos/1/original/intro.mp4" style="display:block;width:520px;height:330px" id="player"></a>

<!-- Flowplayer installation and configuration --> 
<script language="JavaScript">
flowplayer("player", "http://releases.flowplayer.org/swf/flowplayer-3.1.5.swf", {
  // configure the required plugins
  plugins:  {
    // the RTMP plugin
    rtmp: {
      url: 'flowplayer.rtmp-3.1.3.swf',
      // netConnectionUrl has our CloudFront domain name + 'cfx/st'
      netConnectionUrl: 'rtmp://xxxxxxxxx.cloudfront.net/cfx/st'
    }
  },
  clip: {
      // use the RTMP plugin
    provider: 'rtmp'
  }
});

</script>