The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
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 |
#12
|
||||
|
||||
Quote:
macc |
#13
|
|||
|
|||
Code:
<tr> <td class="$bgclass"> <center><embed src="http://****************/player.swf" width="470" height="20" bgcolor="#252525" allowscriptaccess="always" allowfullscreen="false" flashvars="file=http://****************/playlist.xml&backcolor=cccccc&playlist=right"/></center> </td> |
#14
|
||||
|
||||
Ok now we will fix your problem!
1. change this Code:
height="20" Code:
height="60" and change this line with flashvars in this Code:
flashvars="file=http://****************/playlist.xml&backcolor=cccccc&&playlistsize=40&playlist=bottom"/></center> regards macc |
#15
|
|||
|
|||
Quote:
That got it! Thanks a ton. Great modification. Everything is working great now. Do you know how to make the playlist to where one song plays after another without having to click play? &repeat=list? |
#16
|
||||
|
||||
Just add this on flashvars line -
Code:
&repeat=always |
#17
|
|||
|
|||
I have this player now up and running on my main page, but is there any way to make a button within the module that would open a seperate mini window for the player? Some people want to be able to listen to music at the same time they browse the site rather than have to open multiple windows.
|
#18
|
||||
|
||||
Quote:
regards macc |
#19
|
|||
|
|||
Quote:
I saw your jukebox that you have on your main page. That is EXACTLY what I have in mind to do for my site as well. Any way you can explain how you did it? |
#20
|
|||
|
|||
Is There Any MP3 Player Like This For The Attached MP3 In The Forum?
|
#21
|
|||
|
|||
Thanks
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|