NUCLEUSCMS...how.to.nucleuscms.for.software.dummies.

 

Subscribe to RSS

Contact Ltooz

<   July 2010   >
MonTueWedThuFriSatSun
   1234
567891011
12131415161718
19202122232425
262728293031 

Browsers

This website uses CSS3 which isn't supported by ie6,7,8... but will display with modern browsers: Firefox,Chrome,Safari... If you are using ie6,7,8 please try other browsers to expand your horizons, Internet is actually beautiful. Please also install Flashplayer for flash videos.

About

When I started to make my own website, Justhost.com has all the brand name blog server software for free like wordpress, b2evolution, mambo, joomla, Nukes... more About...


Custom Search

Search Site

Login


Register as a ltooz member!

Websites Helped Build This Blog


9290
Top countries
 US
 
4444
 RU
 
2038
 Other
 
795
Top browsers
 Twiceler0
 
2134
 Yandex0
 
1799
 Default Browser0
 
984
Top systems
 unknown
 
6183
 WinXP
 
1397
 Win2000
 
802
Bookmark and Share

Dec
24

Mp3 Player

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 "&apos;" 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&amp;autostart=0&amp;autoreplay=1&amp;showtime=1&amp;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&amp;autostart=0&amp;autoreplay=1&amp;showtime=1&amp;randomplay=1" />
<param name="src" value="http://ltooz.com/dewplayer/dewplayer-playlist.swf?xml=http://ltooz.com/music/xmasmusic.xml&amp;autostart=0&amp;autoreplay=1&amp;showtime=1&amp;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!!!!

Category: Category: MUSIC | Posted by: ltooz | Viewed: 3238 times | Edit item

Comments

No comments yet

Add Comment



%3c%69%6e%70%75%74%20%74%79%70%65%3d%22%68%69%64%64%65%6e%22%20%6e%61%6d%65%3d%22%6e%70%5f%70%72%6f%74%65%63%74%62%79%6d%64%35%22%20%76%61%6c%75%65%3d%22%38%61%65%62%66%34%38%33%32%33%65%36%32%38%38%66%36%39%31%31%65%66%33%38%36%63%32%38%39%37%63%33%22%3e %3c%69%6e%70%75%74%20%74%79%70%65%3d%22%68%69%64%64%65%6e%22%20%6e%61%6d%65%3d%22%6e%70%5f%70%72%6f%74%65%63%74%62%79%6d%64%35%5f%68%61%73%68%22%20%76%61%6c%75%65%3d%22%34%33%64%65%33%34%34%33%62%37%38%31%35%61%35%35%30%61%33%31%63%35%38%39%30%34%64%34%39%38%66%64%22%3e

Comments must be approved before being published.

Enter email address to subscribe to comment on this item
Click here to manage subscription