Skip to Content Skip to Menu

MYSPACE like MP3 player (Released)

  • houbahop
  • houbahop
  • OFFLINE
  • Posts: 50
  • Thanks: 0
  • Karma: 9
17 years 7 months ago #32419 by houbahop
Replied by houbahop on topic Re:MYSPACE like MP3 player (Released)
Hello again

you can use your own mp3 player but currently I havn't yet written any explainations on this.

The rule is that for each new website or player, you will need to change the regular expresion, but with a little training it's not that hard ;-)

To give you an idea to make some tests, you can try the following :

- download one of the avaiable player : Dewplayer for example.

www.estvideo.com/dew/media/dewplayer1.2/dewplayer.swf

save it somewhere in your ftp space.

- Put a mp3 file somewhere in your ftp space

- now use the code generator in this page :
www.estvideo.com/dew/index/2005/12/03/603-dewplayer-reloaded

sorry it's all french but the usefull things to know are
Couleur de fond= background color
URL du fichier MP3= url of the mp3 file
Volume= volume
Lecture automatique ?= autostart file playing
Lecture en boucle = replay when the song is finished
go on bobby = generate the code (lol)

It has generated the following code :

<object type="application/x-shockwave-flash" data="dewplayer.swf?son=test.mp3&amp;bgcolor=FFFFFF" width="200" height="20"><param name="movie" value="dewplayer.swf?son=test.mp3&amp;bgcolor=FFFFFF" /></object>

it's your song code: you need to insert the path where dewplayer is located on your ftp and modify the song path too to match your settings.

Then you paste that in the user profile.

- Now you must modify the regexp code.

To start without a high security level, it should work with :

[code:1]^(<object type="application/x-shockwave-flash"«»)(*.)(/></object>«»)$[/code:1]

Please Log in or Create an account to join the conversation.

  • tokmoh
  • tokmoh
  • OFFLINE
  • Posts: 18
  • Thanks: 0
  • Karma: 2
17 years 7 months ago #32422 by tokmoh

Please Log in or Create an account to join the conversation.

  • tokmoh
  • tokmoh
  • OFFLINE
  • Posts: 18
  • Thanks: 0
  • Karma: 2
17 years 7 months ago #32485 by tokmoh
Replied by tokmoh on topic Re:MYSPACE like MP3 player (Released)
i'm already have my mp3player.. tm.pengganas.net/mp3.htm
i can embed my mp3player into song code??

[code:1]<embed src=" tm.pengganas.net/mp3.swf " menu="false" quality="high" width="300" height="320" name="index"allowScriptAccess="never" type="application/x-shockwave-flash" pluginspage=" www.macromedia.com/go/getflashplayer " flashvars="playList=http://tm.pengganas.net/mp3playlist.xml" wmode="transparent">[/code:1]

Please Log in or Create an account to join the conversation.

  • houbahop
  • houbahop
  • OFFLINE
  • Posts: 50
  • Thanks: 0
  • Karma: 9
17 years 7 months ago #32511 by houbahop
Replied by houbahop on topic Re:MYSPACE like MP3 player (Released)
Hello,

If you close your embed tag

[code:1]<embed src=" tm.pengganas.net/mp3.swf " menu="false" quality="high" width="300" height="320" name="index"allowScriptAccess="never" type="application/x-shockwave-flash" pluginspage=" www.macromedia.com/go/getflashplayer " flashvars="playList=http://tm.pengganas.net/mp3playlist.xml" wmode="transparent">[/code:1]

and replace the regular expression by this one :


[code:1]
^(<embed)( )+(src=" tm.pengganas.net/mp3.swf "«»)(.*)(«»)$[/code:1]

it will work with all playlists.
Here, the security level is not high because I have assumed that this player is for you only. Tell me if the other users will be able to add their own playlist to their profile.

By the way, I like this player, but it seem that it have a few problems to load some songs. Can I know from where you have downloaded it please ? I would like to test it

Thank you !

Post edited by: houbahop, at: 2007/03/05 17:42

Post edited by: houbahop, at: 2007/03/05 18:59

Please Log in or Create an account to join the conversation.

  • tokmoh
  • tokmoh
  • OFFLINE
  • Posts: 18
  • Thanks: 0
  • Karma: 2
17 years 7 months ago #32754 by tokmoh
Replied by tokmoh on topic Re:MYSPACE like MP3 player (Released)
its worked perfectly..
i want to ask u, can i make, user can choose my mp3 player?? how to change regexp??
or, i must use a mp3player only??

Post edited by: tokmoh, at: 2007/03/08 20:26

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum