View Full Version : Mp3 Player Plugin
tigreton
12-09-2005, 02:03 AM
I have open a music site, and i need a plugin with a mp3 player that loads the music by xml is anyone interested o can help me ?
The mp3 player is in this url CLICK HERE (http://www.jeroenwijering.com/?item=Flash+MP3+Player)
Thanks 4 all
I was actually going to make one based on that player. But I'm working on SD to write to XML.
A simple solution, is what i did.
Go to http://home.iggycorp.com. In the top right corner you will see this http://home.iggycorp.com/skins/og/images/music-hover.png. Click it ;)
abcohen
12-09-2005, 01:39 PM
could you take a look at the RSS output plugin and base writing XML off of that?
<div class='quotetop'>QUOTE(abcohen @ Dec 9 2005, 06:39 AM) 2393</div>
could you take a look at the RSS output plugin and base writing XML off of that?
[/b]
I took a glance, but I haven't had time to make anything out of it :P
tigreton
12-09-2005, 06:21 PM
ok let me know if you will do it or no :)
So much thanks :)
mariocajones
06-07-2006, 06:04 PM
You can use that mp3 player and upload it to your server. Then just put the realtive address in the iframe scr
htp://www.yoursite.com/folder/mp3player.swf
Then you just upload your mp3 files and change the xml sheet. There is also a way to set up your databse to update the xml auto.
phpmysql example
<?php
/*
This is a sample file that extracts a list of records from a mysql database and
builds a playlist from it. After looking through this file, you'll probably
'get the idea' and'll be able to connect the mp3player/flvplayer/jpgrotator
to your own database. This example uses the mp3player.
*/
// first connect to database
$dbcnx = @mysql_connect("localhost","USER","PASS");
$dbselect = @mysql_select_db("DATABASE");
if ((!$dbcnx) || (!$dbselect)) { echo "Can't connect to database"; }
// next, query for a list of titles, files and links.
$query = "SELECT title,file,link FROM mp3_table";
$result = mysql_query($query) or die('Query failed: ' . mysql_error());
// third, the playlist is built in an xspf format
// we'll first add an xml header and the opening tags ..
header("content-type:text/xml;charset=utf-8");
echo "<?xml version='1.0' encoding='UTF-8' ?>\n";
echo "<playlist version='1' xmlns='http://xspf.org/ns/0/'>\n";
echo "****<title>Sample PHP Generated Playlist</title>\n";
echo "****<info>http://www.jeroenwijering.com/</info>\n";
echo "****<trackList>\n";
// .. then we loop through the mysql array ..
while($row = @mysql_fetch_array($result)) {
****echo "********<track>\n";
****echo "************<annotation>".$row['title']."</annotation>\n";
****echo "************<location>".$row['file']."</location>\n";
****echo "************<info>".$row['link']."</info>\n";
****echo "********</track>\n";
}
// .. and last we add the closing tags
echo "****</trackList>\n";
echo "</playlist>\n";
/*
That's it! You can feed this playlist to the SWF by setting this as it's 'file'
parameter in HTML. Assuming you use the mp3player, the HTML code looks like this:
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="300" height="350" id="mp3player"
********codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0">
****<param name="movie" value="mp3player.swf?file=php_mysql_sample.php" />
****<param name="wmode" value="transparent" />
****<embed src="mp3player.swf?file=php_mysql_sample.php" wmode="transparent" width="300" height="350" name="mp3player"
********type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
*/
?>
this is for the read directory
<playlist version="1">
<title>Sample PHP Generated Playlist</title>
<info>http://www.jeroenwijering.com/</info>
<trackList>
****</trackList>
</playlist>
Hope this helps?
SomaAtlasia
07-08-2006, 03:27 AM
Really, if anyone can get something like FlashMP3Player to work on SubDreamer, please let me know cause I really need something like this on my site.
lol - I use that same media player on my site.
I just used an iFrame to place it.
RandomNinjaAtk
10-21-2007, 04:37 AM
You can find this plugin here: http://www.ohareportal.com/Products/p13_sectionid/2/p13_fileid/21
minime
07-03-2008, 12:51 AM
Hi, I don't know who is the owner of this plugin, and I do not pretend to be banned in this forum my objetive is make things better and small, I have a client that asked me for a modification to this plugin to ride off most files that with some php would be most small and configurable I have made some modifications to the code and I would like to send it to the owner with no cost, I have no website so if there is the owner he can contact me by this thread, copyrights say "Jeroenwijering", it would be good for him, becouse it is most proffesionally developed, and ommit some files that are useless, furthermore iframes are replaced, since you know iframes are not search engine friendly, the copyrights are intact.
Thanks!
RandomNinjaAtk
07-03-2008, 03:37 AM
Hello Minime!
I'm the creator of this plugin. I did not make the flash application but to integrate and install with Subdreamer. That was all me.
Edit: Pm'd you my email!
--Steven
minime
07-03-2008, 05:32 PM
Well, I if you are the owner of this plugin..
Here is my email:
info@abogadosyleyes.net
I hope you are telling the truth, don wanna get into... troubles I guess.
RandomNinjaAtk
07-03-2008, 09:21 PM
Sent you an email!
--Steven
vBulletin® v3.8.6, Copyright ©2000-2012, Jelsoft Enterprises Ltd.