Witten
Bainbridge
Nichols
HOME HELP PREFERENCES SEARCHFIGURESTABLES

A video player in Greenstone

 1 package document
 2
 3 _baseurl_ {_httpcollection_/index/assoc/_1_}
 4
 5 _videoplayer_{
 6  
 7 <div class="player">
 8   <object type="application/x-shockwave-flash"
 9     data="_httpprefix_/ext/video/bin/flash/FlowPlayerLP.swf"
10     width="352" height="290" id="FlowPlayerLP">
11       <param name="allowScriptAccess" value="always" />
12       <param name="movie" value="_httpprefix_/bin/flash/FlowPlayerLP.swf" />
13       <param name="quality" value="high" />
14       <param name="scaleMode" value="showAll" />
15       <param name="allowfullscreen" value="true" />
16       <param name="allowNetworking" value="all" />
17       <param name="flashvars" value="config=\{
18          autoPlay: true,
19          autoBuffering: true,
20          loop: false,
21          initialScale: 'orig',
22          showLoopButton: false,
23          showPlayListButtons: false,
24          allowFullScreen: true,
25          useNativeFullScreen: true,
26          progressBarColor2: '0x308030',
27          progressBarColor1: '0x60d060',
28          videoFile: '_baseurl_(_1_)/_2_',
29          streamingServer: 'lighttpd',
30          thumbsOnFLV: false
31        \}" />
32   </object>
32 </div>
33 } 

Figure 12.4b: A video player in Greenstone; Macro file