I am using Yahoo Media Player for playing MP3 songs on my website.
I have put some static MP3 links on site. For e.g.
<a href='1.mp3'>Song1</a>
<a href='2.mp3'>Song2</a>
And I have put the YMP JavaScript API code also.
Now, I want to load the songs dynamically...
For example if user clicks on a button I want to load a complete new play list to the player.
//Something like this
var clickEventHandler = function(){
YMP.removeAllSongs();
YMP.addSongs(mp3_links);
YMP.play();
}
This may help you, use this:
Let me know if you need more help.