请教播放多媒体问题
写了一个类ShowMultimediaAction把数据库的音频二进制流输出为“audio/mid”页面,在另一个页面调用此类
<EMBED src=http://127.0.0.1:8080/MyProject/showMultimedia.do?name=midiname width=200 height=200 type=audio/x-pn-realaudio-plugin console= "Clip1 " controls= "IMAGEWINDOW,ControlPanel,StatusBar " autostart= "true "> </EMBED>
无法播放,为什么?怎样解决?
而把src改为本地midi文件则可正常播放
------解决方案--------------------帮顶
------解决方案--------------------给你个例子
<html>
<body>
<OBJECT ID= "WMPlay " width=320 height=240 classid= "CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95 "
codebase= "http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701 "
standby= "Loading Microsoft Windows Media Player components... " type= "application/x-oleobject ">
<PARAM name= "FileName " value= "mms://192.168.0.2:8080 ">
<PARAM name= "DisplaySize " value= "0 ">
<param name= "AutoStart " value= "1 ">
</OBJECT>
</body>
</html>