source: trunk/js/test/jwplayer.html5.xml @ 1299

Revision 1299, 4.5 KB checked in by zach, 3 years ago (diff)
  • Adding HTML5 tests
Line 
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                <flashvar type="field"> 
27                        <name>start</name> 
28                        <default>0</default> 
29                        <description>position in seconds where playback has to start. Won't work for regular (progressive) videos, but only for streaming (HTTP/RTMP).</description> 
30                </flashvar> 
31        </flashvars>
32
33
34        <flashvars section="Layout">
35                <!-- <flashvar type="select">
36                        <name>controlbar</name>
37                        <default>bottom</default>
38                        <description>Position of the controlbar. Can be set to bottom, over and none.</description>
39                        <select>
40                                <option>bottom</option>
41                                <option>top</option>
42                                <option>over</option>
43                        </select>
44                </flashvar> -->
45                <flashvar type="field">
46                        <name>height</name>
47                        <default>280</default>
48                        <description>Height of the player in pixels.</description>
49                </flashvar>
50                <flashvar type="field">
51                        <name>screencolor</name>
52                        <default>000000</default>
53                        <description>Background color (hex value) of the display as a hex code.</description>
54                </flashvar>
55                <!-- <flashvar type="select">
56                        <name>stretching</name>
57                        <default>uniform</default>
58                        <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>
59                        <select>
60                                <option>exactfit</option>
61                                <option>fill</option>
62                                <option>none</option>
63                                <option>uniform</option>
64                        </select>
65                </flashvar> -->
66                <flashvar type="field">
67                        <name>width</name>
68                        <default>400</default>
69                        <description>Width of the display in pixels.</description>
70                </flashvar>
71        </flashvars>
72
73
74        <flashvars section="Behaviour">
75                <flashvar type="select">
76                        <name>autostart</name>
77                        <default>false</default>
78                        <description>Automatically start playback on load.</description>
79                        <select>
80                                <option>false</option>
81                                <option>true</option>
82                        </select>
83                </flashvar>
84                <flashvar type="select">
85                        <name>debug</name>
86                        <default>false</default>
87                        <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>
88                        <select>
89                                <option>false</option>
90                                <option>true</option>
91                        </select>
92                </flashvar>
93                <flashvar type="field">
94                        <name>flashplayer</name>
95                        <default>/player/trunk/flash/player.swf</default>
96                        <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>
97                </flashvar>
98                <flashvar type="select">
99                        <name>mute</name>
100                        <default>false</default>
101                        <description>Mute all sounds on startup. This can be overridden by a user's cookie, which stores the user's last muting state.</description>
102                        <select>
103                                <option>false</option>
104                                <option>true</option>
105                        </select>
106                </flashvar>
107                <flashvar type="select">
108                        <name>repeat</name>
109                        <default>false</default>
110                        <description>Set this true to continously loop the video, instead of playing it once.</description>
111                        <select>
112                                <option>false</option>
113                                <option>true</option>
114                        </select>
115                </flashvar>
116                <flashvar type="field">
117                        <name>volume</name>
118                        <default>90</default>
119                        <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>
120                </flashvar>
121        </flashvars>
122
123
124</player>
Note: See TracBrowser for help on using the repository browser.