| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 1214 人关注过本帖, 1 人收藏
标题:在ASP.NET中嵌套播放器,具体代码该如何去写
只看楼主 加入收藏
fywl_08
Rank: 1
等 级:新手上路
帖 子:2
专家分:0
注 册:2008-10-12
收藏(1)
 问题点数:0 回复次数:2 
在ASP.NET中嵌套播放器,具体代码该如何去写
中嵌套播放器,具体代码该如何去写
搜索更多相关主题的帖子: 嵌套 NET ASP 播放器 代码 
2008-10-12 15:56
yanhui387
Rank: 1
来 自:广东
等 级:新手上路
帖 子:48
专家分:0
注 册:2007-12-4
收藏
得分:0 
private void CreateMediaPlayerPage(string strFileName)
    {
        string strScript =
        "<TABLE id=\"Table2\" align=\"center\" border=\"0\" runat=\"server\">"
         + "<TR>"
         + " <TD>"
         //+ "  <IMG src=\"Images/bar.jpg\"></TD>"
         + "</TR>"
         + "<TR height=\"50\">"
         + " <TD><FONT face=\"宋体\"></FONT></TD>"
         + "</TR>"
         + "<TR>"
         + " <TD align=\"center\">"
         + "  <OBJECT id=\"mdpTrailer\" classid=\"clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95\" name=\"mdpTrailer\">"
         + "   <PARAM NAME=\"AudioStream\" VALUE=\"-1\">"
         + "   <PARAM NAME=\"AutoSize\" VALUE=\"-1\">"
         + "   <PARAM NAME=\"AutoStart\" VALUE=\"-1\">"
         + "   <PARAM NAME=\"AnimationAtStart\" VALUE=\"-1\">"
         + "   <PARAM NAME=\"AllowScan\" VALUE=\"-1\">"
         + "   <PARAM NAME=\"AllowChangeDisplaySize\" VALUE=\"-1\">"
         + "   <PARAM NAME=\"AutoRewind\" VALUE=\"0\">"
         + "   <PARAM NAME=\"Balance\" VALUE=\"0\">"
         + "   <PARAM NAME=\"BaseURL\" VALUE=\"\">"
         + "   <PARAM NAME=\"BufferingTime\" VALUE=\"5\">"
         + "   <PARAM NAME=\"CaptioningID\" VALUE=\"\">"
         + "   <PARAM NAME=\"ClickToPlay\" VALUE=\"-1\">"
         + "   <PARAM NAME=\"CursorType\" VALUE=\"0\">"
         + "   <PARAM NAME=\"CurrentPosition\" VALUE=\"-1\">"
         + "   <PARAM NAME=\"CurrentMarker\" VALUE=\"0\">"
         + "   <PARAM NAME=\"DefaultFrame\" VALUE=\"\">"
         + "   <PARAM NAME=\"DisplayBackColor\" VALUE=\"0\">"
         + "   <PARAM NAME=\"DisplayForeColor\" VALUE=\"16777215\">"
         + "   <PARAM NAME=\"DisplayMode\" VALUE=\"0\">"
         + "   <PARAM NAME=\"DisplaySize\" VALUE=\"0\">"
         + "   <PARAM NAME=\"Enabled\" VALUE=\"-1\">"
         + "   <PARAM NAME=\"EnableContextMenu\" VALUE=\"-1\">"
         + "   <PARAM NAME=\"EnablePositionControls\" VALUE=\"-1\">"
         + "   <PARAM NAME=\"EnableFullScreenControls\" VALUE=\"0\">"
         + "   <PARAM NAME=\"EnableTracker\" VALUE=\"-1\">"
         + "   <PARAM NAME=\"Filename\" VALUE=\"" + ConfigurationSettings.AppSettings["MMSServer_Dir"] + strFileName + "\">"
         + "   <PARAM NAME=\"InvokeURLs\" VALUE=\"-1\">"
         + "   <PARAM NAME=\"Language\" VALUE=\"-1\">"
         + "   <PARAM NAME=\"Mute\" VALUE=\"0\">"
         + "   <PARAM NAME=\"PlayCount\" VALUE=\"1\">"
         + "   <PARAM NAME=\"PreviewMode\" VALUE=\"0\">"
         + "   <PARAM NAME=\"Rate\" VALUE=\"1\">"
         + "   <PARAM NAME=\"SAMILang\" VALUE=\"\">"
         + "   <PARAM NAME=\"SAMIStyle\" VALUE=\"\">"
         + "   <PARAM NAME=\"SAMIFileName\" VALUE=\"\">"
         + "   <PARAM NAME=\"SelectionStart\" VALUE=\"-1\">"
         + "   <PARAM NAME=\"SelectionEnd\" VALUE=\"-1\">"
         + "   <PARAM NAME=\"SendOpenStateChangeEvents\" VALUE=\"-1\">"
         + "   <PARAM NAME=\"SendWarningEvents\" VALUE=\"-1\">"
         + "   <PARAM NAME=\"SendErrorEvents\" VALUE=\"-1\">"
         + "   <PARAM NAME=\"SendKeyboardEvents\" VALUE=\"0\">"
         + "   <PARAM NAME=\"SendMouseClickEvents\" VALUE=\"0\">"
         + "   <PARAM NAME=\"SendMouseMoveEvents\" VALUE=\"0\">"
         + "   <PARAM NAME=\"SendPlayStateChangeEvents\" VALUE=\"-1\">"
         + "   <PARAM NAME=\"ShowCaptioning\" VALUE=\"0\">"
         + "   <PARAM NAME=\"ShowControls\" VALUE=\"-1\">"
         + "   <PARAM NAME=\"ShowAudioControls\" VALUE=\"-1\">"
         + "   <PARAM NAME=\"ShowDisplay\" VALUE=\"0\">"
         + "   <PARAM NAME=\"ShowGotoBar\" VALUE=\"0\">"
         + "   <PARAM NAME=\"ShowPositionControls\" VALUE=\"-1\">"
         + "   <PARAM NAME=\"ShowStatusBar\" VALUE=\"0\">"
         + "   <PARAM NAME=\"ShowTracker\" VALUE=\"-1\">"
         + "   <PARAM NAME=\"TransparentAtStart\" VALUE=\"0\">"
         + "   <PARAM NAME=\"VideoBorderWidth\" VALUE=\"0\">"
         + "   <PARAM NAME=\"VideoBorderColor\" VALUE=\"0\">"
         + "   <PARAM NAME=\"VideoBorder3D\" VALUE=\"0\">"
         + "   <PARAM NAME=\"Volume\" VALUE=\"-600\">"
         + "   <PARAM NAME=\"WindowlessVideo\" VALUE=\"0\">"
         + "  </OBJECT>"
         + " </TD>"
         + "</TR>"
        + "</TABLE>";
        Response.Write(strScript);
    }
2008-10-12 16:07
小瘪三的烦恼
Rank: 1
等 级:新手上路
帖 子:86
专家分:3
注 册:2008-9-20
收藏
得分:0 
晕.....
2008-10-19 19:07
快速回复:在ASP.NET中嵌套播放器,具体代码该如何去写
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.026494 second(s), 9 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved