一个WMP播放器和iframe冲突的问题~
我在页面上有个wmp播放器,如果页面上没有iframe播放器就能放歌,有就不能放~
有没有人遇到这样的问题啊?请高手指教:
代码如下:
<html>
<head>
</head>
<body>
<div id="div_wmp"> <!-- 这里是wmp播放器的内容-->
<object id="WerslingPlay" classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" type="application/x-oleobject"
width="200" height="200" style="position: relative; left: 0px; top: 0px;">
<param name="autoStart" value="true" />
<param name="balance" value="0" />
<param name="baseURL" value="" />
<param name="currentPosition" value="0" />
<param name="currentMarker" value="0" />
<param name="enableContextMenu" value="false" />
<param name="enableErrorDialogs" value="false" />
<param name="fullScreen" value="false" />
<param name="invokeURLs" value="false" />
<param name="mute" value="false" />
<param name="playCount" value="99" />
<param name="rate" value="1" />
<param name="uiMode" value="none" />
<param name="volume" value="100" />
</object>
</div>
<script type="text/javascript" src="http://www.ancity.cn/user/music/js/WerslingPlay.js"></script><!-- 控制WMP播放器的操作,比如下一曲之类的。通过flash播放器来操作~ -->
<script language="VBScript">
Sub Wersling_FSCommand(ByVal command, ByVal args)
call Wersling_DOFSCommand(command,args)
end sub
</script>
<div>
<!--这里是加载FLASH播放器 -->
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0"
width="420" height="130" id="Wersling" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="http://www.ancity.cn/user/music/player/other.swf?listinfo=http://www.bec2.cn/upload/mass.mp3&playstyle=auto" />
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<embed src="http://www.ancity.cn/user/music/player/other.swf?listinfo=http://www.bec2.cn/upload/mass.mp3&playstyle=auto"
quality="high" bgcolor="#ffffff" width="420" height="130" name="Wersling" align="middle"
allowscriptaccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /></object>
</div>
<!-- 关键就是在这个iframe,如果没有这个,上面的WMP和FLASH播放器就能加载到MP3,不然就无法加载,很让人困惑的问