HTML : Window Media Player Script

17 Mar

<OBJECT ID=”MediaPlayer” classid=”CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95″ codebase=”http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,5,715&#8243; standby=”Loading Microsoft Windows Media Player components…” type=”application/x-oleObject” width=”286″ height=”251″ align=”left”>
<PARAM NAME=”FileName” VALUE=”ConcertInSpore610.asx”>
<PARAM Name=”ShowControls” Value=1>
<PARAM Name=”ShowPositionControls” Value=1>
<PARAM Name=”ShowAudioControls” Value=1>
<PARAM Name=”ShowTracker” Value=1>
<PARAM Name=”ShowDisplay” Value=0>
<PARAM Name=”ShowStatusBar” Value=1>
<PARAM Name=”ShowGotoBar” Value=0>
<PARAM NAME=”defaultFrame” VALUE=”_blank”>
<PARAM NAME=”stretchToFit” VALUE=”false”>
<EMBED type=”application/x-mplayer2″
pluginspage=”http://www.microsoft.com/Windows/Downloads/Contents/Products/MediaPlayer/&#8221;
Src=””
Name=MediaPlayer1
ShowControls=1
ShowPositionControls=1
ShowAudioControls=1
ShowTracker=1
ShowDisplay=0
ShowStatusBar=1
defaultFrame=blank
stretchToFit=false
ShowGotoBar=0>
</EMBED>
</OBJECT>
</TD>
</TR>

</TABLE>

<script language=”JavaScript”>

function startCheckPlayer()
{
window.setTimeout(“checkPlayer()”,1000);
}

function checkPlayer ()
{
document.formular1.clipTitel.value = document.MediaPlayer.GetMediaInfoString(8);
window.setTimeout(“startCheckPlayer()”,2500);
}

</script>
<script language=”JavaScript”>
window.setTimeout(“startCheckPlayer()”,2500);
</script>

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: