Hey all,
I am trying to get a window to pop up and play media from a directory. Here is the code I have been trying and doesn't seem to work. Any help? I am brand new to this stuff.
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Untitled Document</title>
</head>
<body>
<?php $media = $_GET['media']; ?>
<object id="MediaPlayer1" classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95"
standby="Loading Microsoft Windows Media Player components...">
<PARAM NAME="fileName" VALUE ="<?= $media?>">
<PARAM NAME="animationatStart" VALUE="true">
<PARAM NAME="transparentatStart" VALUE="true">
<PARAM NAME="autoStart" VALUE="false">
<PARAM NAME="showControls" VALUE="true">
<PARAM NAME="ShowStatusBar" VALUE="True">
<EMBED TYPE="application/x-mplayer2"
PLUGINSPAGE="http://microsoft.com/windows/mediaplayer/en/download"
ID=MediaPlayer
Name="mp_426289569"
Width="320"
Height="311"
Src="<?= $media ?>"
AutoSize="1"
AutoStart="1"
ClickToPlay="1"
DisplaySize="0"
EnableContextMenu="1"
EnableFullScreenControls="1"
EnableTracker="1"
Mute="0"
PlayCount="1"
ShowControls="1"
ShowAudioControls="1"
ShowDisplay="0"
ShowGotoBar="0"
ShowPositionControls="1"
ShowStatusBar="1"
ShowTracker="1">
</embed>
</OBJECT>
</body>
</html>