rejetto forum

MOD S3M XM IT player

Bers · 2 · 3904

0 Members and 1 Guest are viewing this topic.

Offline Bers

  • Occasional poster
  • *
    • Posts: 15
    • View Profile
Yahoo!!! i think i found way
« Last Edit: August 15, 2008, 06:25:26 PM by Bers »


Offline Bers

  • Occasional poster
  • *
    • Posts: 15
    • View Profile
by the way
add code to template file section

Code: [Select]
[file.mod = file.it = file.xm = file.s3m = file.nst ]
<tr>
<td class="row1" align="center" valign="middle" width="64"><a href="%encoded-folder%%item-url%" class="messageimagelink"><img src="/template/icons/%item-ext%.gif" class="noIcon" alt=""/></a></td>
<td width="100%"><div class="forumlink fileLink"><a href="%folder%%item-url%">%item-name%</a>%new%</div><span class="genmed" style="width:85%;">%comment%</span><div class="minHeight"></div>
<div class="gensmall fileStats"><span style="width:125px;float:left;"><b>File Size:</b> %item-size%</span><span style="width:65px;float:left;"><b>Hits:</b> %item-dl-count%</span><span style="width:200px;float:left;"><b>Date:</b> %item-modified%</span></div></td>
<td nowrap="nowrap" class="qrow"><div class="quicklinks"><div class=q1><a href="%item-url%" title="Download this song"><div class="dow-a">&nbsp;</div></a></div><div class=q2 name=><a href="javascript:void(0);" onClick="initPreviewBox('Box-' + (%sequential% + 2), 'MOD', this.name);" name="http://%host%%encoded-folder%%item-url%" title="Play this file with the JavaMod Media Player"><div class="fla" id="%sequential%" style="filter:alpha(opacity=100);opacity:1;">&nbsp;</div></a><span id="Box-%sequential%"></span></div></div></td>

add java code to RAWR-Previebox.js
Code: [Select]
// --Spawn an MOD box.---------------------------- //
function spawnMODBox(target,content,name) {
  spawnBox(target,120,50);
  setTimeout("setMODBox(\""+target+"\",\""+content+"\",\""+name+"\");",300);
}
function setMODBox(target,content,name) {
setName(name=="undefined"?content:name);
content = "<applet code='de.quippy.javamod.main.applet.JavaModApplet.class' archive='http://"+infoHost+"/Mod/javamod.jar' width='120' height='40'><param name='file' value='"+content+"'><param name='i' value='2'><param name='s' value='+'><param name='w' value='-'><param name='n' value='+'><param name='m' value='+'><param name='b' value='16'><param name='r' value='44100'> --></applet>";
  gEBI(target+"Content").innerHTML = content;

place JavaMOD to http://Host/Mod/javamod.jar

now you can listen your collection old MOD music  :)

and of cause you needed icon to .xm .s3m .it .mod files

PS thx RAWR team & HFS  :))
« Last Edit: August 15, 2008, 06:27:31 PM by Bers »