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.


Messages - pehden

Pages: 1
1
HTML & templates / Re: Mp3 Player on your site code
« on: June 14, 2007, 08:45:27 AM »
The code only works only on IE, And yes there are some problems, I put the text boxes to show the code because you can put it on myspace....I will updat the code I have on the forum when I am am done fixing it.

2
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>

3
HTML & templates / Re: mp3 streamer
« on: March 30, 2007, 05:30:38 AM »
Ok ok, I dont think this is tuff. All you have to do is open your site find your music directory, then click 'file list' (it should be near the bottom of the page with the basic template) the select all and copy it, then open notepad (a new notepad file) then paste it and then save it as test.m3u then add it to HFS.
Then put this code some where. this will create a media player and start playing from your site.

<OBJECT
ID="mediaPlayer"
CLASSID="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95"
CODEBASE="http://activex.microsoft.com/activex/
   controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701"
STANDBY="Loading Microsoft Windows Media Player components..."
TYPE="application/x-oleobject">
<PARAM NAME="fileName"
VALUE="http://yourserver.com/test.m3u">
<PARAM NAME="animationatStart" VALUE="true">
<PARAM NAME="transparentatStart" VALUE="true">
<PARAM NAME="autoStart" VALUE="true">
<PARAM NAME="showControls" VALUE="true">
</OBJECT>

Pages: 1