Changeset 8
- Timestamp:
- 05/16/07 05:01:27
- Files:
-
- xmlautoindex/trunk/share/themes/explode/README (modified) (1 diff)
- xmlautoindex/trunk/share/themes/explode/audio-player.swf (deleted)
- xmlautoindex/trunk/share/themes/explode/flv-player.swf (added)
- xmlautoindex/trunk/share/themes/explode/mp3-player.swf (added)
- xmlautoindex/trunk/share/themes/explode/swfobject.js (added)
- xmlautoindex/trunk/share/themes/explode/template.xslt (modified) (7 diffs)
- xmlautoindex/trunk/share/themes/explode/video-player.swf (deleted)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
xmlautoindex/trunk/share/themes/explode/README
r1 r8 1 1 Icons are from Krystal kde's theme 2 2 3 audio-player is fmplayer from: 4 website: http://framaplayer.sourceforge.net 5 author: 6 license: GNU/GPL 7 note: I am thinking of using player from www.jeroenwijering.com 8 9 10 video-player is flvplayer from: 3 mp3-player and flv-player are from: 11 4 website: www.jeroenwijering.com 12 5 author: mail@jeroenwijering.com xmlautoindex/trunk/share/themes/explode/template.xslt
r1 r8 79 79 80 80 <script src="{$base}/default.js" type="text/javascript"></script> 81 <script src="{$base}/swfobject.js" type="text/javascript"></script> 81 82 <title><xsl:value-of select="$title" /></title> 82 83 </head> … … 203 204 <div id="about" style="text-align: justify;"> 204 205 <div class="actions"> 205 <img src='{$base}/nav/crystal/attach.png' />  206 <xsl:value-of select="$lang[@id='contactMe']"/><br/> 207 <span style="text-align: right;"> 208 <a href="mailto:xmlautoindex@vanbelle.fr"> <img src='{$base}/nav/crystal/mail_forward.png' />  Edouard.</a> 209 <a href="http://www.xmlautoindex.org/"><img src='{$base}/nav/crystal/network.png' />  xmlAutoIndex.</a> 210 </span> 206 <img src='{$base}/nav/crystal/attach.png' /> powered by : 207 <a href="http://www.xmlautoindex.org/">XmlAutoIndex.</a> 211 208 </div> 212 <!--p style="margin: 4px;">213 </p-->214 <!--p>215 <a href="javascript:getMetaData('24022006.3gp?display=meta');">Test</a>216 </p-->217 209 </div> 218 210 … … 420 412 <param name="codebase" value="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" /> 421 413 --> 414 <!-- 422 415 <object 423 416 type = "application/x-shockwave-flash" … … 429 422 <param name="movie" value="{$base}/video-player.swf?file={$selected-file/previews/preview[@format='flv']/@href}" /> 430 423 431 <!-- div will be displayed if fladsh plugin is not avaible -->432 424 <xsl:if test="count( $selected-file/previews/preview[@format='size0']) > 0"> 433 425 <img … … 435 427 src = "{$selected-file/previews/preview[@format='size0']/@href}" /> 436 428 </xsl:if> 437 </object> 429 </object> --> 430 431 <p id="flv-player">download flash player to watch movie</p> 432 <script type="text/javascript"> 433 var player = new SWFObject("<xsl:value-of select="$base"/>/flv-player.swf", "single", "352", "280", "7"); 434 player.addVariable("file","<xsl:value-of select="$selected-file/previews/preview[@format='flv']/@href" />"); 435 player.addParam("allowfullscreen","true"); 436 //player.addVariable("backcolor","0x00000"); 437 //player.addVariable("frontcolor","0xEECCDD"); 438 //player.addVariable("lightcolor","0xCC0066"); 439 //player.addVariable("image","<xsl:value-of select="$selected-file/previews/preview[@format='size0']/@href" />"); <!-- TODO: make available size0 --> 440 player.addVariable("image","<xsl:value-of select="$selected-file/previews/preview[@format='thumb']/@href" />"); 441 player.write("flv-player"); 442 </script> 443 438 444 439 445 </xsl:when> … … 441 447 <xsl:when test="count( $selected-file/previews/preview[@format='fmxml'] ) > 0"> 442 448 443 <object 449 <p id="mp3-player">download flash player to listen music</p> 450 <script type="text/javascript"> 451 var player = new SWFObject("<xsl:value-of select="$base"/>/mp3-player.swf", "playlist", "340", "270", "7"); 452 player.addVariable("file","<xsl:value-of select="$selected-file/previews/preview[@format='audioPlaylist']/@href" />"); 453 //player.addVariable("backcolor","0x00000"); 454 //player.addVariable("frontcolor","0xEECCDD"); 455 //player.addVariable("lightcolor","0xCC0066"); 456 player.addVariable("displayheight","0"); 457 player.addVariable("repeat","list"); 458 player.addVariable("shuffle","false"); 459 //player.addVariable("audio","Track02.mp3"); 460 //player.addVariable("enablejs","true"); 461 //player.addVariable("javascriptid","mpl"); 462 player.write("mp3-player"); 463 </script> 464 465 <!-- object 444 466 type = "application/x-shockwave-flash" 445 467 data = "{$base}/audio-player.swf" … … 453 475 454 476 <xsl:value-of select="$lang[@id='flashRequired']" /> 455 </object >477 </object --> 456 478 457 479 </xsl:when>
