rejetto forum

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - pehden

Pages: 1
1
HTML & templates / Mp3 Player on your site code for IE users
« on: April 27, 2007, 07:54:35 PM »
Add this code to your template and then go to your site, Your mp3 file's will load then who ever is looking at your site can listen to music without downloading it on there own.
WARNING
 firefox
 may not load it
[file]
<tr>
   <td class=rw>%new% <br><a href="%item-url%">&nbsp;<img align=top src="%item-url%" alt="" width="25px" height="25px">  %item-name%</a>%comment%</td>
   <td class=rw align=center>%item-size%</td>
   <td class=rw align=center>%item-modified%</td>
   <td class=rw align=center>%item-dl-count%</td>
</tr>



[file.jpg = file.jpeg =file.png = file.gif = file.bmp]
<tr>
   <td class=rw>%new% <br><br><a href="%item-url%" target="_blank" onClick="viewPic(this.href); return false">
<img src="%item-url%" width="205" height="180" alt="%item-name%">
</a>  </a>%comment%<br><textarea cols="23" rows="3" name="URL for this file.">http://%host%%encoded-folder%%item-url%</textarea><br></td>
   <td class=rw align=center>%item-size%</td>
   <td class=rw align=center>%item-modified%</td>
   <td class=rw align=center>%item-dl-count%</td>
</tr>



[file.mp3 = file.wav = file.wma = file.mid]
<tr>
   <td class=rw>%new% <a href="">&nbsp;<img align=top src="/~img_file" alt=""> %item-name%<br></a><textarea cols="50" rows="1" name="URL for this file.">http://%host%%encoded-folder%%item-url%</textarea><br>
<textarea cols="50" rows="8" name="Player Code">
<object type="application/x-mplayer2" classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95" width="285" height="150">
  <param name="fileName" value="http://%host%%encoded-folder%%item-url%" />
  <param name="URL" value="http://%host%%encoded-folder%%item-url%" />
  <param name="src" value="http://%host%%encoded-folder%%item-url%" />
  <param name="showcontrols" value="1" />
  <param name="showstatusbar" value="1" />
  <param name="showdisplay" value="1" />
  <param name="autostart" value="0" />
  <param name="autosize" value="1" />
</object>
<br> provided by <a href="http://%HOST%">%HOST%</a>
</div>
</textarea><br>
%comment%
   <td class=rw align=center>%item-size%</td>
   <td class=rw align=center>%item-modified%</td>
   <td class=rw align=center width=175>%item-dl-count%<br><div id="%item-name%">
<div>
<object type="application/x-mplayer2" classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95" width="285" height="145">
  <param name="fileName" value="http://%host%%encoded-folder%%item-url%" />
  <param name="URL" value="http://%host%%encoded-folder%%item-url%" />
  <param name="src" value="http://%host%%encoded-folder%%item-url%" />
  <param name="showcontrols" value="1" />
  <param name="showstatusbar" value="1" />
  <param name="showdisplay" value="1" />
  <param name="autostart" value="0" />
</object><a href="http://%HOST%%ENCODED-FOLDER%%item-url%">Download</a>
</div>
</td>
</tr>

Pages: 1