Wowza secure tokens are encrypted RTMP, which refer to RTMPE. This allows you to encrypt the stream and therefore the video player requires an embedded token to decode the stream. This prevents other users from taking your stream and putting it in their own player.
For flow player embed code, refer to the following example:
<h1>FLOW SMIL</h1>
<a
href="http://video.onappcdn.net/12946278/livestream.smil"
style="display:block;width:520px;height:330px"
id="player">
</a>
<script type="text/javascript" src="flowplayer/flowplayer-3.2.10.min.js"></script>
<script>
flowplayer("player", "flowplayer/flowplayer-3.2.11.swf",
{
plugins: {
smil: { url: "flowplayer/flowplayer.smil-3.2.8.swf" },
rtmp: { url: "flowplayer/flowplayer.rtmp-3.2.10.swf" },
secure: { url: "flowplayer/flowplayer.securestreaming-3.2.8.swf", token: escape('apppp&&')}
},
clip: {
provider: 'rtmp',
autoPlay: false,
urlResolvers: ['smil'],
connectionProvider: 'secure'
}
});
</script>
You will need to change:
(1) <href="http://video.onappcdn.net/12946278/livestream.smil" > to <<href="http://video.[yourdomain.com]/[resource ID]/[stream name].smil">
(2) token: escape('apppp&&') , change the 'apppp&&' to your secure token password.