Hi all here i got a script inside player.js file. I want to use this it some how so that it plays a song playlist that is inside playlist.ram file. could an expert show me how i can use this .js file to play a playlist which is inside playlist.ram file? Basically i have a playlist.ram file that has a few song url inside it and i want to use this reduced embedded real player js file to play it for me.But i do not know how to code it. All i am intrested in run this music for me i do not want any controls for it. Thanks
embedded player.js file:
embedded player.js file:
Code:
// Code for the embedded Realplayer
playerObject =
'<' + 'EMBED NAME=player type="audio/x-pn-realaudio-plugin" [b]SRC="/player/ra/ondemand/playlist.php?'[/b] + playList + '"[/b] AUTOSTART=false NOLABELS=true NOLOGO=true CONTROLS=none CONSOLE=player1 WIDTH=1 HEIGHT=1 >\n';
// start player
function startPlayer() {
document.player.DoPlay();
document.player.SetLoop(true);
setTimeout ("startDisplay();", 333);
}