legohead6 Posted January 29, 2008 Share Posted January 29, 2008 ok, heres my code if(isset($_POST['esong'])){ $song1=$_POST['song']; $song="$folder[0]/$song1"; }else{ $song=$fileto; } Echo "<tr><td bgcolor=#666666><p align=center><b>$song1</b></p></td></tr>"; echo "<tr><td><p align=center> <span id=music1><embed type='application/x-mplayer2' id=music1 pluginspage='http://www.microsoft.com/Windows/MediaPlayer/' src=members/$user2/$song name='MediaPlayer1' width='300' height='70' controltype='2' showcontrols='TRUE' showstatusbar='TRUE' AutoStart='TRUE' bgcolor=#B4B4B4> </embed></span> </div></td></tr></p></table></div>"; i want the next song button to work, all the songs are in folder $folder[0] Please help Quote Link to comment https://forums.phpfreaks.com/topic/88318-media-player-plugin-next-song-button/ Share on other sites More sharing options...
valtido Posted January 29, 2008 Share Posted January 29, 2008 try and use this loool ; <a href="#" onclick="document.getElementById('PLAYERID').src='?song=4 " > Next Song</a> note 4 is for song id loool Quote Link to comment https://forums.phpfreaks.com/topic/88318-media-player-plugin-next-song-button/#findComment-451957 Share on other sites More sharing options...
legohead6 Posted January 29, 2008 Author Share Posted January 29, 2008 hmm, is there anything i can put inpage? the pages before is hectic already! lol, and would prefer not to add to it if possible Quote Link to comment https://forums.phpfreaks.com/topic/88318-media-player-plugin-next-song-button/#findComment-451980 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.