救命!Error:类不能支持 Automation 操作
<html>
<head>
<script type= "text/JavaScript ">
<!--
function MM_popupMsg() {
var musicobj = wmplayer.newMedia( "1.mp3 ");
var msg = musicobj.getiteminfo( "title ");
alert(msg);
}
</script>
</head>
<body>
<form id= "form1 " name= "form1 " method= "post " action= " ">
<label>
<input name= "Submit " type= "submit " onclick= "MM_popupMsg() " value= "提交 " />
</label>
</form>
<object classid= "clsid:6BF52A52-394A-11D3-B153-00C04F79FAA6 " id= "wmplayer ">
<param name= "URL " value= '1.mp3 '>
</object>
</body>
</html>
把这个文件和1个1.mp3文件放同一文件夹,要显示MP3文件的TITLE.
用file:///打开没问题,
http://localhost就提示 Error:类不能支持 Automation 操作
是APACHE设置的问题吗?
如何解决呢?
谢谢