Needed: This code:

SpaceshipSpaceship
Watch

abcde

Established Member
Impact
16
i need the code that can play multiple songs using a drop down list like this site.
http://radioluisteren.nl/index.php

i know if i wanna play only one song, i could use this code:

Code:
<p align="center">
<object classid="clsid:6BF52A52-394A-11d3-B153-00C04F79FAA6" id="Player" width="350" height="300" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,0,0,0" standby="Loading Microsoft Windows Media Player components..." type="application/x-oleobject"> 
<param name="URL" value="whatever link to the song"> 
<param name="rate" value="1"> 
<param name="balance" value="0"> 
<param name="currentPosition" value="1"> 
<param name="defaultFrame" value> 
<param name="playCount" value="1"> 
<param name="autoStart" value="0"> 
<param name="loop" value="-1"> 
<param name="currentMarker" value="0"> 
<param name="invokeURLs" value="-1"> 
<param name="baseURL" value> 
<param name="volume" value="60"> 
<param name="mute" value="0"> 
<param name="uiMode" value="full"> 
<param name="stretchToFit" value="0"> 
<param name="windowlessVideo" value="0"> 
<param name="enabled" value="-1"> 
<param name="enableContextMenu" value="0"> 
<param name="fullScreen" value="0"> 
<param name="SAMIStyle" value> 
<param name="SAMILang" value> 
<param name="SAMIFilename" value> 
<param name="captioningID" value> 
<param name="enableErrorDialogs" value="0"> 
<param name="_cx" value="7938"> 
<param name="_cy" value="6482"> 
<embed type="application/x-mplayer2" pluginspage="http://www.microsoft.com/windows95/downloads/contents/wurecommended/s_wufeatured/mediaplayer/default.asp" src="zender" rate=1 balance=0 currentPosition=1 playCount=1 autoStart=0 loop=-1 currentMarker=0 invokeURLs=-1 volume=100 mute=0 uiMode=full stretchToFit=0 windowlessVideo=0 enabled=-1 enableContextMenu=0 fullScreen=0 SAMIStyle SAMILang SAMIFilename captioningID enableErrorDialogs=0 _cx=7938 _cy=6482 width=350 height=300> </embed> 
</object> 
</p>

but then i dont know what to do if i have 2 or more songs, Please help.
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
Unstoppable Domains — AI StorefrontUnstoppable Domains — AI Storefront
Can you use php? If you can just change the songs location etc to a variable and make a dropdown to pick one. something like this

PHP:
<?php 
    if( isset($_POST['song']) ){ 
        $video = $_POST['song']; // chosen song 
    } 
    else{ 
        $video ="default song"; // default page 
   } 
?>
<p align="center">
<object classid="clsid:6BF52A52-394A-11d3-B153-00C04F79FAA6" id="Player" width="350" height="300" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,0,0,0" standby="Loading Microsoft Windows Media Player components..." type="application/x-oleobject"> 
<param name="URL" value="<?php echo $song; ?>"> 
<param name="rate" value="1"> 
<param name="balance" value="0"> 
<param name="currentPosition" value="1"> 
<param name="defaultFrame" value> 
<param name="playCount" value="1"> 
<param name="autoStart" value="0"> 
<param name="loop" value="-1"> 
<param name="currentMarker" value="0"> 
<param name="invokeURLs" value="-1"> 
<param name="baseURL" value> 
<param name="volume" value="60"> 
<param name="mute" value="0"> 
<param name="uiMode" value="full"> 
<param name="stretchToFit" value="0"> 
<param name="windowlessVideo" value="0"> 
<param name="enabled" value="-1"> 
<param name="enableContextMenu" value="0"> 
<param name="fullScreen" value="0"> 
<param name="SAMIStyle" value> 
<param name="SAMILang" value> 
<param name="SAMIFilename" value> 
<param name="captioningID" value> 
<param name="enableErrorDialogs" value="0"> 
<param name="_cx" value="7938"> 
<param name="_cy" value="6482"> 
<embed type="application/x-mplayer2" pluginspage="http://www.microsoft.com/windows95/downloads/contents/wurecommended/s_wufeatured/mediaplayer/default.asp" src="zender" rate=1 balance=0 currentPosition=1 playCount=1 autoStart=0 loop=-1 currentMarker=0 invokeURLs=-1 volume=100 mute=0 uiMode=full stretchToFit=0 windowlessVideo=0 enabled=-1 enableContextMenu=0 fullScreen=0 SAMIStyle SAMILang SAMIFilename captioningID enableErrorDialogs=0 _cx=7938 _cy=6482 width=350 height=300> </embed> 
</object> 
</p>
<BR>
<FORM action="<?php echo $_SERVER['PHP_SELF']; ?>" method=post>
		<SELECT name=song>
		  <OPTION value="link">song 1
		  </OPTION>
		  <OPTION value="">song 2
		  </OPTION>
		  <OPTION value="">song 3
		  </OPTION>
		  <OPTION value="">song 4
		  </OPTION>
		  <OPTION value="">song 5
		  </OPTION>
		  </SELECT>
		  <INPUT type=submit value="Play song">
		  <br>
	</FORM>
 
0
•••
thanks!
 
0
•••
If you need anymore help pm me, ima wiz at music codes.
 
0
•••
CatchedCatched

We're social

Escrow.com
Spaceship
Rexus Domain
CryptoExchange.com
Domain Recover
CatchDoms
DomDB
NameFit
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back