| 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
|---|
| 2 | <html xmlns="http://www.w3.org/1999/xhtml"> |
|---|
| 3 | <head> |
|---|
| 4 | |
|---|
| 5 | <title>JW Player for Flash</title> |
|---|
| 6 | |
|---|
| 7 | <style type="text/css"> |
|---|
| 8 | body { background-color: #fff; padding: 0 20px; color:#000; font: 13px/18px Arial, sans-serif; } |
|---|
| 9 | a { color: #360; } |
|---|
| 10 | h3 { padding-top: 20px; } |
|---|
| 11 | ol { margin:5px 0 15px 16px; padding:0; list-style-type:square; } |
|---|
| 12 | </style> |
|---|
| 13 | |
|---|
| 14 | </head> |
|---|
| 15 | <body> |
|---|
| 16 | |
|---|
| 17 | <h3>Example</h3> |
|---|
| 18 | <p>Thanks for downloading! Below you see a simple embedded example of the <a href="http://www.jeroenwijering.com/?item=JW_FLV_Media_Player">JW Player</a>. Copy-paste the source code and put the SWF, JS and FLV file on your site to get started.</p> |
|---|
| 19 | |
|---|
| 20 | |
|---|
| 21 | |
|---|
| 22 | |
|---|
| 23 | |
|---|
| 24 | <div id="container"><a href="http://www.macromedia.com/go/getflashplayer">Get the Flash Player</a> to see this player.</div> |
|---|
| 25 | <script type="text/javascript" src="swfobject.js"></script> |
|---|
| 26 | <script type="text/javascript"> |
|---|
| 27 | var s1 = new SWFObject("player.swf","ply","328","200","9","#FFFFFF"); |
|---|
| 28 | s1.addParam("allowfullscreen","true"); |
|---|
| 29 | s1.addParam("allowscriptaccess","always"); |
|---|
| 30 | s1.addParam("flashvars","file=video.flv"); |
|---|
| 31 | s1.write("container"); |
|---|
| 32 | </script> |
|---|
| 33 | |
|---|
| 34 | |
|---|
| 35 | |
|---|
| 36 | |
|---|
| 37 | <h3>Licensing</h3> |
|---|
| 38 | <p>The FLV Media Player is licensed under a <a href="http://creativecommons.org/licenses/by-nc-sa/2.0/">Creative Commons License</a>. It allows you to use, modify and redistribute the script, but only for <b>noncommercial</b> purposes. For corporate use, <a href="http://www.jeroenwijering.com/?page=order" title="Order commercial licenses">please apply for a commercial license</a>.</p> |
|---|
| 39 | |
|---|
| 40 | <h3>Quickstart</h3> |
|---|
| 41 | <ol> |
|---|
| 42 | <li>Note to 3.xx users: <a href="http://code.longtailvideo.com/trac/wiki/VersionChanges">a LOT has changed</a> in the 4.0 release, including changes to <a href="http://code.jeroenwijering.com/trac/wiki/FlashFormats">flashvars</a>! |
|---|
| 43 | <li>The easiest way to get to know the player is by using <a href="http://www.jeroenwijering.com/?page=wizard">the setup wizard</a>. Select an example, set the file or playlist you want to play and copy-paste the embed code to your site.</li> |
|---|
| 44 | <li>Also check out the various tutorials, e.g. on <a href="http://www.jeroenwijering.com/?item=FLV_Video_Compression">video compression</a>, <a href="http://www.jeroenwijering.com/?item=Embedding_flash">installing the player</a> and <a href="http://www.jeroenwijering.com/?item=Skinning_the_JW_Player">creating skins</a>.</li> |
|---|
| 45 | <li>Note that you only have to copy the packaged <b>yt.swf</b> file if you want to play Youtube content in the player.</li> |
|---|
| 46 | </ol> |
|---|
| 47 | |
|---|
| 48 | <h3>Wiki and source</h3> |
|---|
| 49 | <p>The <a href="http://code.jeroenwijering.com/trac">JW Player Wiki</a> contains a wealth of information about the player, including:</p> |
|---|
| 50 | <ol> |
|---|
| 51 | <li>All <a href="http://code.jeroenwijering.com/trac/wiki/FlashFormats">supported file formats</a> (and playlists).</li> |
|---|
| 52 | <li>All <a href="http://code.jeroenwijering.com/trac/wiki/FlashVars">supported variables</a> for customizing the player).</li> |
|---|
| 53 | <li>All <a href="http://code.jeroenwijering.com/trac/wiki/FlashAPI">supported API calls</a> (for interacting with javascript).</li> |
|---|
| 54 | </ol> |
|---|
| 55 | <p>The full source code is also <a href="http://code.jeroenwijering.com/trac">available</a> in the wiki.</p> |
|---|
| 56 | |
|---|
| 57 | <h3>Next steps</h3> |
|---|
| 58 | <p>If you're ready to get professional about online video, check out these two services that take your site to the next level:</p> |
|---|
| 59 | <ol> |
|---|
| 60 | <li><a href="http://www.longtailvideo.com">LongTail Video</a> is a no-nonsense video advertisement network that will increase your traffic and monetize your streams. <a href="http://www.longtailvideo.com.com/signup.asp">Sign up</a>.</li> |
|---|
| 61 | <li><a href="http://www.bitsontherun.com">Bits on the Run</a> is a hassle-free video management system that handles the encoding, streaming and tracking of your videos. <a href="http://www.bitsontherun.com.com/signup">Sign up</a>.</li> |
|---|
| 62 | </ol> |
|---|
| 63 | |
|---|
| 64 | </body> |
|---|
| 65 | </html> |
|---|