在网页中播放asf格式文件

<OBJECT
ID="WinMedia"
classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95"
CODEBASE= "http://activex.microsoft.com/activex/
controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701"
width=160 height=120 standby="Loading Microsoft
Windows Media Player components..." type="application
/x-oleobject">
<PARAM NAME="FileName" VALUE="yourfile.asx">
<PARAM NAME="AutoStart" Value="true">
<PARAM NAME="ShowControls" Value="true">
<Embed type="application/x-mplayer2"
pluginspage=
"http://www.microsoft.com/Windows/MediaPlayer/"
src="yourfile.asx"
Name=MediaPlayer
AutoStart=0
Width=160
Height=120
autostart=1
ShowControls=1
</embed>
</OBJECT>

你可能感兴趣的:(java)