Please show your support of Waihekepedia by adding a link to us from your web site. Waihekepedia T Shirts now available at the Ostend Market

Difference between revisions of "MP3 Player"

From Waihekepedia
Jump to navigation Jump to search
(Replaced content with "Mp3 content can now be uploaded and directly loaded see https://www.mediawiki.org/wiki/Extension:MP3MediaHandler")
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
==Flash MP3 Player==
+
Mp3 content can now be uploaded and directly loaded see https://www.mediawiki.org/wiki/Extension:MP3MediaHandler
 
 
You can now put a Flash MP# player in a page to play your content. To do so follow these instruction.
 
 
 
Put the <nowiki><flashmp3>filename.mp3</nowiki> tag in your content
 
 
 
Save the page
 
 
 
Click on the filename.mp3 link in your page and follow the normal upload instructions  - it's the same as if you were uploading and image.
 
 
 
Yoo are finished ! view your page to play the MP3 file using the Flash player.
 
 
 
 
 
===Base Syntax===
 
<nowiki><flashmp3>filename.mp3|parameter=value|...</flashmp3></nowiki>
 
 
 
filename.mp3 can be the name of a file uploaded to the Wiki or an external URL. Additional parameters are optional.
 
 
 
===Parameter Reference===
 
 
 
autostart=yes The player will automatically open and start to play the track (default value is no)
 
 
 
loop=yes The track will be looped indefinitely (default value is no)
 
 
 
bg=0xHHHHHH Background colour option (where HHHHHH is a valid hexadecimal colour value such as FFFFFF or 009933)
 
 
 
leftbg=0xHHHHHH Left background colour
 
 
 
rightbg=0xHHHHHH Right background colour
 
 
 
rightbghover=0xHHHHHH Right background colour (hover)
 
 
 
lefticon=0xHHHHHH Left icon colour
 
 
 
righticon=0xHHHHHH Right icon colour
 
 
 
righticonhover=0xHHHHHH Right icon colour (hover)
 
 
 
text=0xHHHHHH Text colour
 
 
 
slider=0xHHHHHH Slider colour
 
 
 
loader=0xHHHHHH Loader bar colour
 
 
 
track=0xHHHHHH Progress track colour
 
 
 
border=0xHHHHHH Progress track border colour
 
 
 
===Multiple files===
 
Multiple files can be played in one FlashMP3 player one after the other by separating them with comma.
 
 
 
 
 
===Multiple players===
 
Multiple FlashMP3 players on one page can be achieved by giving them an id.
 
 
 
<nowiki><flashmp3 id="2">secondmp3.mp3</flashmp3></nowiki>
 
 
 
===Examples===
 
<nowiki><flashmp3>mymp3.mp3</flashmp3></nowiki>
 
Plays an uploaded mp3-file called mymp3.mp3.
 
 
 
<nowiki><flashmp3>http://www.somedomain.com/mp3/mymp3.mp3</flashmp3></nowiki>
 
Plays the remote mp3-file from the URL http://www.somedomain.com/mp3/mymp3.mp3.
 
 
 
<nowiki><flashmp3>mymp3.mp3,yourmp3.mp3|autostart=yes|loop=yes</flashmp3></nowiki>
 
Plays the two uploaded files mymp3.mp3 and yourmp3.mp3 one after the other, autostarts playing when the site is loaded and loops the files.
 
 
 
===Examples===
 
<flashmp3 type="lastfm">11572702|artist</flashmp3>
 
Plays songs from the given artist (Tookoo).
 
 
 
 
 
<flashmp3 type="lastfm">51022335|song|firstTrackName=Dance+For+Yourself|firstArtistName=TOOKOO|albumArt=http://static.last.fm/coverart/130x130/3245162.jpg|restDuration=227</flashmp3>
 
 
 
Plays the given song and displays the track name, artist name and duration as well as the cover right after loading.
 

Latest revision as of 11:20, 26 September 2017

Mp3 content can now be uploaded and directly loaded see https://www.mediawiki.org/wiki/Extension:MP3MediaHandler