| 1 | <!--Copyright 2010 LongTail Video Inc.--> |
|---|
| 2 | <player> |
|---|
| 3 | <title>JW Player for Flash</title> |
|---|
| 4 | <filename>player.swf</filename> |
|---|
| 5 | <version>v5 trunk</version> |
|---|
| 6 | <author>LongTail Video</author> |
|---|
| 7 | <description>The JW Player for Flash is the Internetâs most popular and flexible media player. It supports playback of any format the Adobe Flash Player can handle, as well as HTTP and RTMP streaming and various XML playlist formats. A wide range of settings (flashvars) can be set, and an extensive javascript API is available. The player's skinning functionality allows you to completely customize its look, and the plugin architecture allows you to easily extend the player with features such as sharing, analytics and ad serving. Version 5 marks the first time the JW Player can be built entirely using free and open-source software.</description> |
|---|
| 8 | <href>http://developer.longtailvideo.com/trac/browser/trunk/fl5</href> |
|---|
| 9 | |
|---|
| 10 | <flashvars section="Properties"> |
|---|
| 11 | <flashvar type="field"> |
|---|
| 12 | <name>playlistfile</name> |
|---|
| 13 | <default></default> |
|---|
| 14 | <description>Location of an XML playlist which will be loaded as the player starts.</description> |
|---|
| 15 | </flashvar> |
|---|
| 16 | <flashvar type="field"> |
|---|
| 17 | <name>author</name> |
|---|
| 18 | <default></default> |
|---|
| 19 | <description>Author of the video, shown in the display or playlist.</description> |
|---|
| 20 | </flashvar> |
|---|
| 21 | <flashvar type="field"> |
|---|
| 22 | <name>date</name> |
|---|
| 23 | <default></default> |
|---|
| 24 | <description>Publish date of the media file.</description> |
|---|
| 25 | </flashvar> |
|---|
| 26 | <flashvar type="field"> |
|---|
| 27 | <name>description</name> |
|---|
| 28 | <default></default> |
|---|
| 29 | <description>Text description of the file.</description> |
|---|
| 30 | </flashvar> |
|---|
| 31 | <flashvar type="field"> |
|---|
| 32 | <name>duration</name> |
|---|
| 33 | <default></default> |
|---|
| 34 | <description>duration of the file in seconds.</description> |
|---|
| 35 | </flashvar> |
|---|
| 36 | <flashvar type="field"> |
|---|
| 37 | <name>file</name> |
|---|
| 38 | <default></default> |
|---|
| 39 | <description>location of the mediafile or playlist to play.</description> |
|---|
| 40 | </flashvar> |
|---|
| 41 | <flashvar type="field"> |
|---|
| 42 | <name>image</name> |
|---|
| 43 | <default></default> |
|---|
| 44 | <description>location of a preview image; showin in display and playlist.</description> |
|---|
| 45 | </flashvar> |
|---|
| 46 | <flashvar type="field"> |
|---|
| 47 | <name>link</name> |
|---|
| 48 | <default></default> |
|---|
| 49 | <description>url to an external page the display, controlbar and playlist can link to.</description> |
|---|
| 50 | </flashvar> |
|---|
| 51 | <flashvar type="field"> |
|---|
| 52 | <name>provider</name> |
|---|
| 53 | <default></default> |
|---|
| 54 | <description>this is determines what type of mediafile this item is, and thus which provider the player should use for playback. By default, the type is detected by the player based upon the file extension. If there's no suitable extension or the player detects the type wrong, it can be manually set.</description> |
|---|
| 55 | </flashvar> |
|---|
| 56 | <flashvar type="field"> |
|---|
| 57 | <name>start</name> |
|---|
| 58 | <default>0</default> |
|---|
| 59 | <description>position in seconds where playback has to start. Won't work for regular (progressive) videos, but only for streaming (HTTP/RTMP).</description> |
|---|
| 60 | </flashvar> |
|---|
| 61 | <flashvar type="field"> |
|---|
| 62 | <name>streamer</name> |
|---|
| 63 | <default></default> |
|---|
| 64 | <description>location of an rtmp/http server instance to use for streaming. Can be an RTMP application or external PHP/ASP file.</description> |
|---|
| 65 | </flashvar> |
|---|
| 66 | <flashvar type="field"> |
|---|
| 67 | <name>tags</name> |
|---|
| 68 | <default></default> |
|---|
| 69 | <description>keywords associated with the media file. Available since 4.3.</description> |
|---|
| 70 | </flashvar> |
|---|
| 71 | <flashvar type="field"> |
|---|
| 72 | <name>title</name> |
|---|
| 73 | <default></default> |
|---|
| 74 | <description>title of the video, shown in the display or playlist.</description> |
|---|
| 75 | </flashvar> |
|---|
| 76 | </flashvars> |
|---|
| 77 | |
|---|
| 78 | <flashvars section="Layout"> |
|---|
| 79 | <flashvar type="field"> |
|---|
| 80 | <name>backcolor</name> |
|---|
| 81 | <default></default> |
|---|
| 82 | <description>Background color (hex value) of the controlbar and playlist. This is white with the default skin.</description> |
|---|
| 83 | </flashvar> |
|---|
| 84 | <flashvar type="select"> |
|---|
| 85 | <name>controlbar</name> |
|---|
| 86 | <default>bottom</default> |
|---|
| 87 | <description>Position of the controlbar. Can be set to bottom, over and none.</description> |
|---|
| 88 | <select> |
|---|
| 89 | <option>bottom</option> |
|---|
| 90 | <option>top</option> |
|---|
| 91 | <option>over</option> |
|---|
| 92 | </select> |
|---|
| 93 | </flashvar> |
|---|
| 94 | <flashvar type="select"> |
|---|
| 95 | <name>dock</name> |
|---|
| 96 | <default>true</default> |
|---|
| 97 | <description>Set this to true to show the dock with large buttons in the top right of the player. Available since 4.5.</description> |
|---|
| 98 | <select> |
|---|
| 99 | <option>false</option> |
|---|
| 100 | <option>true</option> |
|---|
| 101 | </select> |
|---|
| 102 | </flashvar> |
|---|
| 103 | <flashvar type="field"> |
|---|
| 104 | <name>frontcolor</name> |
|---|
| 105 | <default></default> |
|---|
| 106 | <description>Color (hex value) of all icons and texts in the controlbar and playlist as a hex code.</description> |
|---|
| 107 | </flashvar> |
|---|
| 108 | <flashvar type="field"> |
|---|
| 109 | <name>height</name> |
|---|
| 110 | <default>280</default> |
|---|
| 111 | <description>Height of the display in pixels.</description> |
|---|
| 112 | </flashvar> |
|---|
| 113 | <flashvar type="field"> |
|---|
| 114 | <name>lightcolor</name> |
|---|
| 115 | <default></default> |
|---|
| 116 | <description>Color (hex value) of an icon or text when you rollover it with the mouse as a hex code.</description> |
|---|
| 117 | </flashvar> |
|---|
| 118 | <flashvar type="select"> |
|---|
| 119 | <name>playlist</name> |
|---|
| 120 | <default>none</default> |
|---|
| 121 | <description>Position of the playlist. Can be set to bottom, over, right or none.</description> |
|---|
| 122 | <select> |
|---|
| 123 | <option>bottom</option> |
|---|
| 124 | <option>over</option> |
|---|
| 125 | <option>right</option> |
|---|
| 126 | <option>none</option> |
|---|
| 127 | </select> |
|---|
| 128 | </flashvar> |
|---|
| 129 | <flashvar type="field"> |
|---|
| 130 | <name>playlistsize</name> |
|---|
| 131 | <default>180</default> |
|---|
| 132 | <description>When below this refers to the height, when right this refers to the width of the playlist.</description> |
|---|
| 133 | </flashvar> |
|---|
| 134 | <flashvar type="field"> |
|---|
| 135 | <name>screencolor</name> |
|---|
| 136 | <default></default> |
|---|
| 137 | <description>Background color (hex value) of the display as a hex code.</description> |
|---|
| 138 | </flashvar> |
|---|
| 139 | <flashvar type="field"> |
|---|
| 140 | <name>width</name> |
|---|
| 141 | <default>400</default> |
|---|
| 142 | <description>Width of the display in pixels.</description> |
|---|
| 143 | </flashvar> |
|---|
| 144 | </flashvars> |
|---|
| 145 | |
|---|
| 146 | |
|---|
| 147 | <flashvars section="Behaviour"> |
|---|
| 148 | <flashvar type="select"> |
|---|
| 149 | <name>autostart</name> |
|---|
| 150 | <default>false</default> |
|---|
| 151 | <description>Automatically start playback on load.</description> |
|---|
| 152 | <select> |
|---|
| 153 | <option>false</option> |
|---|
| 154 | <option>true</option> |
|---|
| 155 | </select> |
|---|
| 156 | </flashvar> |
|---|
| 157 | <flashvar type="field"> |
|---|
| 158 | <name>bufferlength</name> |
|---|
| 159 | <default>1</default> |
|---|
| 160 | <description>Number of seconds of the file that has to be loaded before starting. Set this to a low value to enable instant-start and to a high value to get less mid-stream buffering.</description> |
|---|
| 161 | </flashvar> |
|---|
| 162 | <flashvar type="field"> |
|---|
| 163 | <name>item</name> |
|---|
| 164 | <default>0</default> |
|---|
| 165 | <description>PlaylistItem that should start to play. Use this to start the player with a specific item selected.</description> |
|---|
| 166 | </flashvar> |
|---|
| 167 | <flashvar type="field"> |
|---|
| 168 | <name>linktarget</name> |
|---|
| 169 | <default>_blank</default> |
|---|
| 170 | <description>Target frame to open a link in. Can be "_blank", "_self","_top" or the name of an actual frame.</description> |
|---|
| 171 | </flashvar> |
|---|
| 172 | <flashvar type="select"> |
|---|
| 173 | <name>mute</name> |
|---|
| 174 | <default>false</default> |
|---|
| 175 | <description>Mute all sounds on startup. This can be overridden by a user's cookie, which stores the user's last muting state.</description> |
|---|
| 176 | <select> |
|---|
| 177 | <option>false</option> |
|---|
| 178 | <option>true</option> |
|---|
| 179 | </select> |
|---|
| 180 | </flashvar> |
|---|
| 181 | <flashvar type="field"> |
|---|
| 182 | <name>playerready</name> |
|---|
| 183 | <default></default> |
|---|
| 184 | <description>Javascript callback when the player has completed its setup.</description> |
|---|
| 185 | </flashvar> |
|---|
| 186 | <flashvar type="select"> |
|---|
| 187 | <name>repeat</name> |
|---|
| 188 | <default>none</default> |
|---|
| 189 | <description>Set to list to play the entire playlist once, to always to continously play the song/video/playlist and to single to continue repeating the selected file in a playlist.</description> |
|---|
| 190 | <select> |
|---|
| 191 | <option>none</option> |
|---|
| 192 | <option>list</option> |
|---|
| 193 | <option>always</option> |
|---|
| 194 | <option>single</option> |
|---|
| 195 | </select> |
|---|
| 196 | </flashvar> |
|---|
| 197 | <flashvar type="select"> |
|---|
| 198 | <name>shuffle</name> |
|---|
| 199 | <default>false</default> |
|---|
| 200 | <description>Randomly choose which playlist item to play.</description> |
|---|
| 201 | <select> |
|---|
| 202 | <option>false</option> |
|---|
| 203 | <option>true</option> |
|---|
| 204 | </select> |
|---|
| 205 | </flashvar> |
|---|
| 206 | <flashvar type="select"> |
|---|
| 207 | <name>smoothing</name> |
|---|
| 208 | <default>true</default> |
|---|
| 209 | <description>This sets the smoothing of videos, so you won't see blocks when a video is upscaled. Set this to false to get performance improvements with old computers / big files. Available since 4.4.</description> |
|---|
| 210 | <select> |
|---|
| 211 | <option>false</option> |
|---|
| 212 | <option>true</option> |
|---|
| 213 | </select> |
|---|
| 214 | </flashvar> |
|---|
| 215 | <flashvar type="select"> |
|---|
| 216 | <name>stretching</name> |
|---|
| 217 | <default>uniform</default> |
|---|
| 218 | <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> |
|---|
| 219 | <select> |
|---|
| 220 | <option>exactfit</option> |
|---|
| 221 | <option>fill</option> |
|---|
| 222 | <option>none</option> |
|---|
| 223 | <option>uniform</option> |
|---|
| 224 | </select> |
|---|
| 225 | </flashvar> |
|---|
| 226 | <flashvar type="field"> |
|---|
| 227 | <name>volume</name> |
|---|
| 228 | <default>90</default> |
|---|
| 229 | <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> |
|---|
| 230 | </flashvar> |
|---|
| 231 | </flashvars> |
|---|
| 232 | |
|---|
| 233 | |
|---|
| 234 | </player> |
|---|