TinyPortal

Development => Block Codes => Topic started by: Nonpremium on May 13, 2006, 12:20:37 PM

Title: Mp3 player on the block..
Post by: Nonpremium on May 13, 2006, 12:20:37 PM
İ want to use flash mp3 player on the middle block. İ extracted the files in to root/muzik. And i used this codes:

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="500" height="400"
  codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0">
  <param name="movie" value="http://www.fixforum.net/muzik/mp3player.swf" />
  <param name="quality" value="high" />
  <param name="wmode" value="transparent">
  <embed src="http://www.fixforum.net/muzik/mp3player.swf" quality="high" width="500" height="400" wmode="transparent"
    type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>


my mp3's are in ../muzik/mp3. But its not working normal. only showing default player and default mp3(linkin park - breaking the habit:P). what can i do?
Title: Re: Mp3 player on the block..
Post by: Vinspire on May 13, 2006, 12:36:18 PM
Where did you get that ? Sounds like a kewl features but too bad it aint working.

Would love to have it on my site too once the codes is complete :)
Title: Re: Mp3 player on the block..
Post by: G6Cad on May 13, 2006, 12:44:54 PM
The mp3s that showing up, in what folder are they in?
Title: Re: Mp3 player on the block..
Post by: Nonpremium on May 13, 2006, 12:57:59 PM
Sorry my english is not good, i cant tell my problem.

folders like this:

...ROOT...     /         Muzik            /           Mp3             
                      mp3player.swf              Benny.mp3
                      mp3player.html             Dj_devil.mp3
                      mp3player.xml                   ....vs
                      mp3player.fla
                      mp3player_vars
                some_other_playlist.xml


So the mp3s
for ex:

www.fixforum.net/muzik/mp3/dj_devil.mp3
Title: Re: Mp3 player on the block..
Post by: G6Cad on May 13, 2006, 01:49:24 PM
www.fixforum.net/Muzik/Mp3/dj_devil.mp3
Title: Re: Mp3 player on the block..
Post by: Nonpremium on May 13, 2006, 02:10:07 PM
Quote from: G6 on May 13, 2006, 01:49:24 PM
www.fixforum.net/Muzik/mp3/dj_devil.mp3
uehehhe.. :) i didnt tell my problem..

mp3player is working normal in this link:

http://www.fixforum.net/muzik/mp3player.html

but i want to show mp3player on the portal block.
i am using this codes:

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="500" height="400"
  codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0">
  <param name="movie" value="http://www.fixforum.net/muzik/mp3player.swf" />
  <param name="quality" value="high" />
  <param name="wmode" value="transparent">
  <embed src="http://www.fixforum.net/muzik/mp3player.swf" quality="high" width="500" height="400" wmode="transparent"
    type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>


it isnt working normal. İ am seeing mp3player but isnt showing the play list. Only defult player song is showing.How can i show the mp3 player on the PORTAL MİDDLE BLOCK :)
Title: Re: Mp3 player on the block..
Post by: akulion on May 17, 2006, 01:10:08 PM
Try this




<object type="application/x-shockwave-flash" data="http://www.fixforum.net/muzik/mp3player.swf?playlist=mp3player.xml" height="500" width="400" wmode="transparent">
  <param name="movie" value="http://www.fixforum.net/muzik/mp3player.swf?playlist=mp3player.xml" />
  <param name="wmode" value="transparent" />

</object>



and let me know if it works
Title: Re: Mp3 player on the block..
Post by: Nonpremium on May 17, 2006, 01:37:23 PM
Nothing.. :) same error. Mp3player is showing but there isnt showing any playlist..
Title: Re: Mp3 player on the block..
Post by: akulion on May 17, 2006, 02:17:15 PM
try adding the full path of the play list in front of the swf?playlist=http://etcetc.com/muzik/mp3layer.xml

something like that maybe it may work...
Title: Re: Mp3 player on the block..
Post by: Nonpremium on May 17, 2006, 02:26:02 PM
playlist code's like this;

<?xml version="1.0" encoding="UTF-8"?>

<player showDisplay="yes" showPlaylist="yes" autoStart="yes">

    <song path="mp3/devilisadj.mp3" title="Dj Devil - Devil is a DJ" />
    <song path="mp3/deviljudge.mp3" title="Dj Devil - Judgementday" />
    <song path="mp3/devil6.mp3" title="Dj Devil - 6th gate" />
    <song path="mp3/bennilone.mp3" title="Benny Benassi - Lonelines" />
    <song path="mp3/drill.mp3" title="The Drill - Drill Sound" />
    <song path="mp3/titan.mp3" title="Titanic Rave Mix" />
    <song path="mp3/feyzal.mp3" title="Ceza - Feyz al" />
    <song path="mp3/acihayat.mp3" title="ACI Hayat" />
    <song path="mp3/cemberimde.mp3" title="Cemberimde gül oya" />
    <song path="mp3/Intizarsensiz.mp3" title="intizar - Sensiz olamam" />
    <song path="mp3/mangagoksel.mp3" title="Manga ft Göksel - Dursun zaman" />
    <song path="mp3/rammstein.mp3" title="RAmmstein - rammstein" />
    <song path="mp3/serzeniste.mp3" title="Vega - Serzeniste" />
   
</player>


Title: Re: Mp3 player on the block..
Post by: akulion on May 17, 2006, 02:30:52 PM
in play list put FULL path to mp3 file like this

<song path="http://www.fixforum.net/Muzik/mp3/dj_devil.mp3" title="Dj Devil - Devil is a DJ" />


for all files and then try - it should work!
Title: Re: Mp3 player on the block..
Post by: Nonpremium on May 17, 2006, 02:37:13 PM
not working..:(

http://www.fixforum.net/forum

u can look..
Title: Re: Mp3 player on the block..
Post by: akulion on May 17, 2006, 02:49:32 PM
I can see one song on play list but it wont play

make sure your play list is like this



<?xml version="1.0" encoding="UTF-8"?>
<player showDisplay="yes" showPlaylist="yes" autoStart="yes">
<song path="http://www.fixforum.net/muzik/mp3/devilisadj.mp3" title="Dj Devil - Devil is a DJ" />
<song path="http://www.fixforum.net/muzik/mp3/deviljudge.mp3" title="Dj Devil - Judgementday" />
<song path="http://www.fixforum.net/muzik/mp3/devil6.mp3" title="Dj Devil - 6th gate" />
<song path="http://www.fixforum.net/muzik/mp3/bennilone.mp3" title="Benny Benassi - Lonelines" />
<song path="http://www.fixforum.net/muzik/mp3/drill.mp3" title="The Drill - Drill Sound" />
<song path="http://www.fixforum.net/muzik/mp3/titan.mp3" title="Titanic Rave Mix" />
<song path="http://www.fixforum.net/muzik/mp3/feyzal.mp3" title="Ceza - Feyz al" />
<song path="http://www.fixforum.net/muzik/mp3/acihayat.mp3" title="ACI Hayat" />
<song path="http://www.fixforum.net/muzik/mp3/cemberimde.mp3" title="Cemberimde gül oya" />
<song path="http://www.fixforum.net/muzik/mp3/Intizarsensiz.mp3" title="intizar - Sensiz olamam" />
<song path="http://www.fixforum.net/muzik/mp3/mangagoksel.mp3" title="Manga ft Göksel - Dursun zaman" />
<song path="http://www.fixforum.net/muzik/mp3/rammstein.mp3" title="RAmmstein - rammstein" />
<song path="http://www.fixforum.net/muzik/mp3/serzeniste.mp3" title="Vega - Serzeniste" />
</player>



If the above not work then try to move your files to the forum folder and see if it make any difference
Title: Re: Mp3 player on the block..
Post by: Nonpremium on May 17, 2006, 02:59:22 PM
Not working..not working.. and not..

İ tried to move files to forum folder and same error.

i used this codes

<?xml version="1.0" encoding="UTF-8"?>

<player showDisplay="yes" showPlaylist="yes" autoStart="yes">

    <song path="http://www.fixforum.net/forum/muzik/mp3/devilisadj.mp3" title="Dj Devil - Devil is a DJ" />
    <song path="http://www.fixforum.net/forum/muzik/mp3/deviljudge.mp3" title="Dj Devil - Judgementday" />
    <song path="http://www.fixforum.net/forum/muzik/mp3/devil6.mp3" title="Dj Devil - 6th gate" />
    <song path="http://www.fixforum.net/forum/muzik/mp3/bennilone.mp3" title="Benny Benassi - Lonelines" />
    <song path="http://www.fixforum.net/forum/muzik/mp3/drill.mp3" title="The Drill - Drill Sound" />
    <song path="http://www.fixforum.net/forum/muzik/mp3/titan.mp3" title="Titanic Rave Mix" />
    <song path="http://www.fixforum.net/forum/muzik/mp3/feyzal.mp3" title="Ceza - Feyz al" />
    <song path="http://www.fixforum.net/forum/muzik/mp3/acihayat.mp3" title="ACI Hayat" />
    <song path="http://www.fixforum.net/forum/muzik/mp3/cemberimde.mp3" title="Cemberimde gül oya" />
    <song path="http://www.fixforum.net/forum/muzik/mp3/Intizarsensiz.mp3" title="intizar - Sensiz olamam" />
    <song path="http://www.fixforum.net/forum/muzik/mp3/mangagoksel.mp3" title="Manga ft Göksel - Dursun zaman" />
    <song path="http://www.fixforum.net/forum/muzik/mp3/rammstein.mp3" title="RAmmstein - rammstein" />
    <song path="http://www.fixforum.net/forum/muzik/mp3/serzeniste.mp3" title="Vega - Serzeniste" />
   
</player>




and flash codes in block:
<object type="application/x-shockwave-flash" data="http://www.fixforum.net/forum/muzik/mp3player.swf?playlist=mp3player.xml" height="500" width="400" wmode="transparent">
  <param name="movie" value="http://www.fixforum.net/forum/muzik/mp3player.swf?playlist=mp3player.xml" />
  <param name="wmode" value="transparent" />

</object>
Title: Re: Mp3 player on the block..
Post by: akulion on May 17, 2006, 03:05:13 PM
that is very strange because when i go to this address

http://www.fixforum.net/forum/muzik/mp3player.swf?playlist=mp3player.xml

it works just fine....

very strange

i will try and put on my forum one mp3player too and tell u if it work
Title: Re: Mp3 player on the block..
Post by: akulion on May 17, 2006, 03:11:46 PM
Can you tell me what kind of block you create?

HTML ?

or

Scriptbox ?

Uuse only "scriptbox" in block and do this - it work for me

put code:



<object type="application/x-shockwave-flash" data="http://www.fixforum.net/forum/muzik/mp3player.swf?playlist=http://www.fixforum.net/forum/muzik/mp3player.xml" height="500" width="400" wmode="transparent">
  <param name="movie" value="http://www.fixforum.net/forum/muzik/mp3player.swf?playlist=http://www.fixforum.net/forum/muzik/mp3player.xml" />
  <param name="wmode" value="transparent" />

</object>



after u do it refrehs ur page
Title: Re: Mp3 player on the block..
Post by: Nonpremium on May 17, 2006, 04:06:01 PM
woah.. its working. :D thx a lot man...

wow page opening too slow.. :buck2:
Title: Re: Mp3 player on the block..
Post by: akulion on May 17, 2006, 05:38:08 PM
ur welcome :D happy it worked for u
Title: Re: Mp3 player on the block..
Post by: Vinspire on May 21, 2006, 08:05:37 AM
can this mod be made on main page ? I am redirected to http://www.fixforum.net/forum/muzik/mp3player.html to be able to listen to the songs.
Title: Re: Mp3 player on the block..
Post by: akulion on May 21, 2006, 11:44:55 AM
oohh you're linkin to his page

ull have to change the addresses for ur own page - plus ull have to place the files on ur own server

or else ull always get redirected there
Title: Re: Mp3 player on the block..
Post by: Nonpremium on May 21, 2006, 01:41:32 PM
Yess, this can mod be made on main page, bu u are using my playlist now..
Title: Re: Mp3 player on the block..
Post by: G6Cad on May 21, 2006, 02:47:38 PM
Thats the downside with those scripts, anyone can use the bandwith from other users domains