/    Sign up×
Community /Pin to ProfileBookmark

<html>
<title>Choose a song</title>
<head>
<body>
<FIELDSET>
<FORM METHOD=”post”
<ACTION=”application/x-mplayer2″
<ENCTYPE=”multipart/form-data”>
<FONT SIZE=”+1″><LEGEND><B>Step One?ick a Song!!</B></LEGEND></FONT>
<FONT COLOR=”add8e6″><INPUT TYPE=”file” SIZE=”30″</FONT>
<NAME=”attachedfile” MAXLENGTH=50
ALLOW=”video/*“”audio/*“>
</FIELDSET>

<FIELDSET>
<FONT SIZE=”+1″><LEGEND><B>Step Two?lay Now!!</B></LEGEND></FONT>
<FONT COLOR=”add8e6″</FONT>
<INPUT TYPE=”SUBMIT” VALUE=”PLAY NOW!!” SIZE=”30″>

</FIELDSET>

</FORM>
<embed name=”RAOCXplayer” src=”URL” type=”application/x-mplayer2″ ShowStatusBar=”0″ AutoSize=”true” DisplaySize=”0″ AutoStart=”false” Loop=”false” ShowPlayer=”false” pluginspage=”http://www.microsoft.com/Windows/Downloads/Contents/Products/MediaPlayer/”></embed>
</body>
</head>
</html>

Okay , so everything works fine i just need to know the code that tells the media player that the source is the file being sumbited by the form. Does anyone know how to make it so when i click play, the audio or video file i choose is played in the player? Thanks again for your time

RSM?

to post a comment
HTML

0Be the first to comment 😎

×

Success!

Help @RockStarMagic spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.2,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,
)...