日期:2014-05-18  浏览次数:20911 次

同时支持FLV和WMV格式的播放器
求同时支持FLV和wmv格式的播放器代码,就比如这样的:
C# code
object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0"
                width="<%=this.MvWidth %>p" height="<%=this.MvHeight %>" style="display:none">
                <param name="movie" value="../swf/Flvplayer.swf" />
                <param name="quality" value="high" />
                <param name="allowFullScreen" value="true" />
                <param name="FlashVars" value="vcastr_file=<%=this.DBArray[2] %>&LogoText=<%=this.DBArray[1] %>&BufferTime=3" />
                <embed src="../swf/Flvplayer.swf" allowfullscreen="true" flashvars="vcastr_file=<%=this.DBArray[2] %>&LogoText=<%=this.DBArray[1] %>&BufferTime=3"
                    quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"
                    width="<%=this.MvWidth %>px" height="<%=this.MvHeight %>px"></embed>
            </object>


------解决方案--------------------
就算有的话也是调用flashplayer或者wmplayer,不会有原生支持2者的吧,2个完全不同的体系