The Arcive of vBulletin Modifications Site. |
|
Mp3player block for CMPS Details »»
|
|||||||||||||||||||||||||||
Hello!
This is simple mod to add mp3-player block to your CMPS portal page or your forum. 1. you must download from http://www.longtailvideo.com/players/jw-flv-player/ your non-commercial license and without virtal plugin. 2. make one directory (mediaplayer) on your server root and upload downloaded files (unpack before) - yourdomain.com/mediaplayer 3. make one subdirectory (mp3) in your mediaplayer directory - yourdomain.com/mediaplayer/mp3 - there you can upload your songs. 4. with notepad make your playlist.xml file and upload in mediaplayer directory Code:
<?xml version="1.0" encoding="UTF-8"?> <playlist version="1" xmlns="http://xspf.org/ns/0/"> <trackList> <track> <title>mp3_1 title</title> <location>http://yourdomain.com/mediaplayer/mp3/name_song1.mp3</location> </track> <track> <title>mp3_title</title> <location>http://yourdomain.com/mediaplayer/mp3/name_song2.mp3</location> </track> <track> <title>mp3_3 title</title> <location>http://yourdomain.com/mediaplayer/mp3/name_song3.mp3</location> </track> <track> <title>mp3_4 title</title> <location>http://yourdomain.com/mediaplayer/mp3/name_song4.mp3</location> </track> </trackList> </playlist> a. module title - mp3-player (or what you want) b. template to include - adv_portal_player (just write player) c. If you are adding a new template to use with this module, please specify the style you would like to add this template to here. d. Templete content - add this Code:
<tr> <td class="$bgclass"> <center><embed src="http://yourdomain.com/mediaplayer/player.swf" width="470" height="20" bgcolor="#ffffff" allowscriptaccess="always" allowfullscreen="true" flashvars="file=http://yourdomain.com/mediaplayer/playlist.xml&backcolor=FFE87C"/></center> </td> </tr> e. use wrap module - yes f. edit your usergroups permissions g. SAVE After just select position of your new module (recommend central position) and save. That is all and hope that you will like it! Want see this in action? http://libar-libar.com Regards macc/bosss If you like it, just click to install! Screenshots
Show Your Support
|
|||||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
Good work, thank you......
Installed |
|
#3
|
||||
|
||||
|
Thanks ... you are welcome!
regards macc |
|
#4
|
|||
|
|||
|
Whats it look like in a side block?
Thanks |
|
#5
|
||||
|
||||
|
you can try play with this part of code
Code:
width="470" regards macc |
|
#6
|
||||
|
||||
|
Very nice Macc! Some members have been asking me if my MP3 player I released a while back could do a playlist... nope but I'm about to post yours for them to check out
![]() S-MAN |
|
#7
|
||||
|
||||
|
Quote:
regards macc |
|
#8
|
|||
|
|||
|
When insert in portal play autorun the song or put the button play....?
|
|
#9
|
||||
|
||||
|
Quote:
Code:
&autostart=true Code:
flashvars="file=http://yourdomain.com/mediaplayer/playlist.xml&backcolor=FFE87C&autostart=true"/> macc |
|
#10
|
|||
|
|||
|
I cant seem to figure out where the drop down menu comes from. I can only toggle through my tracks with the button. I cannot see the song title or select any of them from the list.
|
![]() |
|
|