The source code is also simple
code is as follows |
copy code |
<script type= "Text/javascript" src= "Jwplayer.js" ></SCRIPT> &NBSP <script type= "Text/javascript >jwplayer.key=" 81vjyjmc9lewkqfyqhkzt7mk/8d5jbzm/lrada== "; </script> <div id=" myelement ">loading the Player...</div> < Script type= "Text/javascript" jwplayer ("MyElement"). Setup ({ file: "A.mp4", Image: "A.png" }); </script><script type= "Text/javascript" >jwplayer.key= "81vjyjmc9lewkqfyqhkzt7mk/8d5jbzm/lrada==" ; </script> |
Jwplayer need a license, currently is free, you go to his website registration account can get a free license. That key.
The license of the input error will show
Error Setting up Player:
Invalid License Key
But the product that JS develops, estimate also can find out the code of it.
After testing the sentence to go, can also play, at present do not know how to add this sentence and do not add any difference.
This is completely JS code to write the player, not bad.
Official website and code download http://www.longtailvideo.com/jw-player/
Want to get a video on their website What, take this piece of code or quite give force.