NP_FlashMP3 Plugin
This is a ver nice plugin for playing mp3 format files which most people would use these days. The installation is pretty straight forward and extremely easy to use. Follow the instruction on the plugin page which requires the dewplayer. Download the dewplayer for future use with playlist. All the options to play mp3 is in the plugin page, We haven't use all except single mp3 player. Make sure the NP_FlashMP3 is installed.
dewplayers scripts inside the media folder.
Load an mp3 song





(@)<%FlashMP3(1/20091224-Princess Princess.mp3)%> This one doesn't work
(@)<%flashMP3(1/20091224-Princess Princess.mp3)%> Neither does this one.
This one works
(@)<%flashMP3(http://ltooz.com/ltooz341/media/1/20091224-Princess Princess.mp3)%>
So, either our system setup is wrong or the instructions on the plugin page is wrong. Our system only play if the code is "flashMP3(full url)" and NOT "FlashMP3(relative url)" and the "f"lashMP3 is lower case.
We tried the folder of mp3 songs, it doesn't play either. There must be something we did wrong with our system.
(@)<%flashMP3(http://ltooz.com/music/xmasmp309)%>
Anyhow, we only use this plugin for single song of mp3. For the playlist, we use DewPlayer xml player.
PLAYLIST for NucleusCMS
To generate a playlist automatically, we need this script xpsf_playlister.vbs and just follow the instruction, it's very easy. Again, we need notepad++ to edit the xml file. We create... ... a folder called playlist and we place this file in there. Next we copy the folder that contains the songs (mp3 or other formats) to have playlist generated. It's Christmas, so we have a Christmas songs folder called "xmasmusic" with 6 songs in it.
If you're good with dragging/dropping, then just click the "xmasmusic" folder and drop onto the XSPF_Playlister.vbs file, if not like many people, then right click "xmasmusic" folder, select copy

then right click on the file and select paste.

A playlist.xml will be generated and if we have notepad++, we will edit this file because the URL for the songs are local, we need to change them to URL of the actual website.

The location has xmasmusic as the url, we need to change this to the actual url of our website. We will put this playlist.xml and the xmasmusic folder in our domain.com/music/ directory. We need to click "search" on the notepad++, fill in the "find what" = "xmasmusic" ,"replace with" = our website url = "http://ltooz.com/music/xmasmusic" then hit replace all. We should have 6 replacements since we have 6 songs in the folder.
Since this one is in UTF-8, we also need to replace the "'" back to "'" for exact names of the songs.
Finally we should have everything in place, we could change all the website names and stuff but we don't really care for it for now. The absolute URLs have been changed, also the "'". SAVE the file.
Now we need to rename the playlist.xml to a specific one, how about "xmasmusic.xml".
Now we need to transfer both "xmasmusic" folder and playlist "xmasmusic.xml" to the absolute url as in the playlist file.
Now all we need is applying the codes to our blogs, sidebar, item body, headers, wherever, the only thing to remember is if we place the codes in the item body like this, we need to use HTML mode because this is tinymce.
<object height="200" width="220" data="http://ltooz.com/dewplayer/dewplayer-playlist.swf?xml=http://ltooz.com/music/xmasmusic.xml&autostart=0&autoreplay=1&showtime=1&randomplay=1" type="application/x-shockwave-flash">
<param name="data" value="http://ltooz.com/dewplayer/dewplayer-playlist.swf?xml=http://ltooz.com/music/xmasmusic.xml&autostart=0&autoreplay=1&showtime=1&randomplay=1" />
<param name="src" value="http://ltooz.com/dewplayer/dewplayer-playlist.swf?xml=http://ltooz.com/music/xmasmusic.xml&autostart=0&autoreplay=1&showtime=1&randomplay=1" />
</object>
The width we use here is for our skin width = 220, on the item body, we will make it bigger (250) so we can see the scroll bar on the side for a longer list.
This playlist and codes can be set for autostart=1, autoreplay=0 (none), randomplay=0 (play with list order). The important thing is make sure the path of the "dewplayer-playlist.swf" and the "playlist.xml" are in the correct path of your website. Anyhow, just copy the codes and you can use it for all other playlist.
Cheers, Merry Christmas & Happy New Year!!!!















