I think you already read our last article for wowza mediasecurity addon package
There are 2 methods to put secure token for video players like flowplayer or jwplayer…
1. Token inside javascript code (shared secret)
2. Token inside flowplayer or jwplayer source code (compile the token inside the plugin)
The shared secret known by the server and the client only. If you really want to keep this secret you need to follow 2nd option 😉
We need to install following software in order to work on Flowplayer Flash plugins:
Java Development Kit (JDK) & Apache Ant
Flow Player
You can find all steps to compile Flow Player with secure plugin here
http://flowplayer.org/documentation/developer/development-environment.html
flowplayer.core/build.properties
# you need to adjust following to point to your Flex SDK
flex3dir=D:/flex_sdk
# change following to point to .exe files when running on Windows
mxmlc_bin= D:/flex_sdk/bin/mxmlc.exe
compc_bin= D:/flex_sdk/bin/compc.exe
asdoc_bin= D:/flex_sdk/bin/asdoc.exe
devkit-dir=../flowplayer.devkit
plugins.dir=../
site.dir=D:/flowplayer/deploy
js.deploy.dir=${site.dir}/deploy/js
deploy.dir=${site.dir}/content/swf
Modify Secure Token here… flowplayer.securestreaming/src/actionscript/org/flowplayer/securestreaming/Config.as
private var _token:String = “#hv%h0#s@1”; // token that used for wowza server security 😉
Building the player
CD (change directory) to the flowplayer.core and execute ant at the command prompt:
> ant
If you see “BUILD SUCCESSFUL”, the build was successful and you have a working player located at flowplayer.core/build/flowplayer.swf.
Get more help here…
http://flowplayer.org/documentation/developer/building-in-plugins.html
http://flowplayer.org/documentation/developer/writing-flash-plugins.html
JW Player
You can find all steps to compile JW Player with secure token here http://developer.longtailvideo.com/trac/browser/trunk/fl5/README.txt
So, now the question is how to protect SWF (with token) files from hotlink, theft, download and Leech
Contact us to add SecureToken protection to JWPlayer and FlowPlayer for Wowza, Red5, FMS media files.
Email: svnlabs[at]gmail.com
Mobile: +919928673578
Skype: svnlabs
MSN: svnlabs[at]hotmail.com