| 1 | <player> |
|---|
| 2 | <title>JW Player for HTML5</title> |
|---|
| 3 | <filename>jquery.jwplayer.js</filename> |
|---|
| 4 | <version>v1 trunk</version> |
|---|
| 5 | <author>LongTail Video</author> |
|---|
| 6 | <description>The JW Player for HTML5 transforms video tags into full-featured, cross-browser video players. The player supports playback of MP4, OGG and FLV files, falling back to a Flash object if the browser does not support the file in HTML5. The player also contains a list of configuration options, a PNG skinning model and a full-featured, jQuery-style API. </description> |
|---|
| 7 | <href>http://developer.longtailvideo.com/trac/browser/trunk/html5</href> |
|---|
| 8 | |
|---|
| 9 | |
|---|
| 10 | <flashvars section="Media"> |
|---|
| 11 | <flashvar type="field"> |
|---|
| 12 | <name>duration</name> |
|---|
| 13 | <default>0</default> |
|---|
| 14 | <description>duration of the audio or video file, in seconds. Set this to make the controlbar display a duration before the file starts playing</description> |
|---|
| 15 | </flashvar> |
|---|
| 16 | <flashvar type="field"> |
|---|
| 17 | <name>file</name> |
|---|
| 18 | <default></default> |
|---|
| 19 | <description>location of the video or audio file to play.</description> |
|---|
| 20 | </flashvar> |
|---|
| 21 | <flashvar type="field"> |
|---|
| 22 | <name>image</name> |
|---|
| 23 | <default></default> |
|---|
| 24 | <description>location of the poster image; shown before the video starts and after it has completed.</description> |
|---|
| 25 | </flashvar> |
|---|
| 26 | </flashvars> |
|---|
| 27 | |
|---|
| 28 | |
|---|
| 29 | <flashvars section="Layout"> |
|---|
| 30 | <!-- <flashvar type="select"> |
|---|
| 31 | <name>controlbar</name> |
|---|
| 32 | <default>bottom</default> |
|---|
| 33 | <description>Position of the controlbar. Can be set to bottom, over and none.</description> |
|---|
| 34 | <select> |
|---|
| 35 | <option>bottom</option> |
|---|
| 36 | <option>top</option> |
|---|
| 37 | <option>over</option> |
|---|
| 38 | </select> |
|---|
| 39 | </flashvar> --> |
|---|
| 40 | <flashvar type="field"> |
|---|
| 41 | <name>height</name> |
|---|
| 42 | <default>280</default> |
|---|
| 43 | <description>Height of the player in pixels.</description> |
|---|
| 44 | </flashvar> |
|---|
| 45 | <flashvar type="field"> |
|---|
| 46 | <name>screencolor</name> |
|---|
| 47 | <default>000000</default> |
|---|
| 48 | <description>Background color (hex value) of the display as a hex code.</description> |
|---|
| 49 | </flashvar> |
|---|
| 50 | <!-- <flashvar type="select"> |
|---|
| 51 | <name>stretching</name> |
|---|
| 52 | <default>uniform</default> |
|---|
| 53 | <description>Defines how to resize images in the display. Can be none (no stretching), exactfit (disproportionate), uniform (stretch with black borders) or fill (uniform, but completely fill the display).</description> |
|---|
| 54 | <select> |
|---|
| 55 | <option>exactfit</option> |
|---|
| 56 | <option>fill</option> |
|---|
| 57 | <option>none</option> |
|---|
| 58 | <option>uniform</option> |
|---|
| 59 | </select> |
|---|
| 60 | </flashvar> --> |
|---|
| 61 | <flashvar type="field"> |
|---|
| 62 | <name>width</name> |
|---|
| 63 | <default>400</default> |
|---|
| 64 | <description>Width of the display in pixels.</description> |
|---|
| 65 | </flashvar> |
|---|
| 66 | </flashvars> |
|---|
| 67 | |
|---|
| 68 | |
|---|
| 69 | <flashvars section="Behaviour"> |
|---|
| 70 | <flashvar type="select"> |
|---|
| 71 | <name>autostart</name> |
|---|
| 72 | <default>false</default> |
|---|
| 73 | <description>Automatically start playback on load.</description> |
|---|
| 74 | <select> |
|---|
| 75 | <option>false</option> |
|---|
| 76 | <option>true</option> |
|---|
| 77 | </select> |
|---|
| 78 | </flashvar> |
|---|
| 79 | <flashvar type="select"> |
|---|
| 80 | <name>debug</name> |
|---|
| 81 | <default>false</default> |
|---|
| 82 | <description>set this to true to let the player fire all its events to console.log(). This can be read e.g. by Firebug or the Safari error console.</description> |
|---|
| 83 | <select> |
|---|
| 84 | <option>false</option> |
|---|
| 85 | <option>true</option> |
|---|
| 86 | </select> |
|---|
| 87 | </flashvar> |
|---|
| 88 | <flashvar type="field"> |
|---|
| 89 | <name>flashplayer</name> |
|---|
| 90 | <default>/player/trunk/flash/player.swf</default> |
|---|
| 91 | <description>location of the JW Player for Flash that is used for fallback in browsers that do not support HTML5. When set to false, the flashplayer fallback is not used.</description> |
|---|
| 92 | </flashvar> |
|---|
| 93 | <flashvar type="select"> |
|---|
| 94 | <name>mute</name> |
|---|
| 95 | <default>false</default> |
|---|
| 96 | <description>Mute all sounds on startup. This can be overridden by a user's cookie, which stores the user's last muting state.</description> |
|---|
| 97 | <select> |
|---|
| 98 | <option>false</option> |
|---|
| 99 | <option>true</option> |
|---|
| 100 | </select> |
|---|
| 101 | </flashvar> |
|---|
| 102 | <flashvar type="select"> |
|---|
| 103 | <name>repeat</name> |
|---|
| 104 | <default>false</default> |
|---|
| 105 | <description>Set this true to continously loop the video, instead of playing it once.</description> |
|---|
| 106 | <select> |
|---|
| 107 | <option>false</option> |
|---|
| 108 | <option>true</option> |
|---|
| 109 | </select> |
|---|
| 110 | </flashvar> |
|---|
| 111 | <flashvar type="field"> |
|---|
| 112 | <name>volume</name> |
|---|
| 113 | <default>90</default> |
|---|
| 114 | <description>Startup volume of the player. Can be 0 to 100. The user's last volume setting is saved in a cookie and overrides this flashvar.</description> |
|---|
| 115 | </flashvar> |
|---|
| 116 | </flashvars> |
|---|
| 117 | |
|---|
| 118 | |
|---|
| 119 | </player> |
|---|