Hi,
this is my situation. I have javascript with plays random mp3 files in an embedded media player. I want to display album art in the media player whilst continuing to allow the randomness of the mp3 files playing. Website is www.debbieleslie.co.uk
Here is the code I'm using to play random mp3 files
<script language="javascript">
var list = new Array;
list[0] = "25.mp3";
list[1] = "26.mp3";
list[2] = "27.mp3";
list[3] = "28.mp3";
list[4] = "29.mp3";
list[5] = "30.mp3";
var choice = Math.floor(Math.random() * 5);
document.write("<embed src='http://foreverinbluejeans.co.uk/"+list[choice]+"' autostart='yes'>");
</script>
You can see that the mp3 files are held on my other website. This has presented no problems in playing at all. I have embedded the album art in the mp3 file using media monkey.
Anyone got any ideas / suggestions please
many thanks
Rob



Reply With Quote

Bookmarks