首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > Web前端 >

页面嵌入 微软播放器-播发控件

2013-10-05 
页面嵌入 微软播放器-播放控件无图像的media播放器object idnstv classidCLSID:6BF52A52-394A-11d3-B15

页面嵌入 微软播放器-播放控件
无图像的media播放器

  <object id=nstv classid=CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6 
            width=280 height=60 
            codebase=http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701standby=Loading 
            Microsoft?   Windows Media?   Player components... 
            type=application/x-oleobject> 
            <param name=URL value=http://202.99.11.42/xiangsheng/ymjr.wma> 
            <PARAM NAME=UIMode value=full> 
            <PARAM NAME=AutoStart value=true> 
            <PARAM NAME=Enabled value=true> 
            <PARAM NAME=enableContextMenu value=false> 
        </object> 

有图像的media播放器,

<object id=nstv classid=CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6 width=280 height=265 
    codebase=http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701standby=Loading  
    type=application/x-oleobject> 
    <param name=URL value=http://202.99.11.42/xiangsheng/ymjr.wma> 
    <PARAM NAME=UIMode value=full> 
    <PARAM NAME=AutoStart value=true> 
    <PARAM NAME=Enabled value=true> 
    <PARAM NAME=enableContextMenu value=false> 
    <param name=WindowlessVideo value=true> 
</object> 

以下保存成 a.html

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
  <title> New Document </title>

</head>

<body>
    <object id=nstv classid=CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6 
            width=280 height=60 
            codebase=http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701standby=Loading   Microsoft?   Windows Media?   Player components... 
            type=application/x-oleobject> 
            <param name=URL value=http://localhost:8080/tl.mp3> 
            <PARAM NAME=UIMode value=full> 
            <PARAM NAME=AutoStart value=true> 
            <PARAM NAME=Enabled value=true> 
            <PARAM NAME=enableContextMenu value=false> 
        </object> 
</object> 
</body>
</html>


转自:
http://blog.csdn.net/hemingwang0902/article/details/4317238

热点排行