zoukankan      html  css  js  c++  java
  • 视频在线播放

    <div class="innerFrame_introduce" style="100%;background-color:#F4F4F4;position:relitive; padding-bottom:10px;min-height:500px; border-right:5px solid #f4f4f4;">
        <div style="text-align:left; text-indent:2em;font-weight:bold; font-size:20px;color:#050C87; padding-bottom:10px;  padding-top:15px;" class="line">
     <asp:Literal ID="ltaTitle" runat="server"></asp:Literal></div>
        <div style="background-image:url()"></div>
        <div style=" line-height:1.5;padding:25px;">

        <object align="middle" classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95"
        id="MediaPlayer" width="780" height="550">
        <param name="ShowStatusBar" value="1">
        <param name="Filename" value='<%=VadioUrL %>'>
        <embed type="application/x-oleobject" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701" flename="mp" src="demo.asf" width=500 height=300></embed>
        </object>
        </br>
        </br></br>
        <span style=" font-weight:bold;">内容简介:</span>
        </br>
        <asp:Literal ID="ltaBody" runat="server"></asp:Literal>

    </div>
     </div>

     public string VadioUrL
            {
                get;
                set;
            }

            protected void Page_Load(object sender, EventArgs e)
            {
                if (!IsPostBack)
                {
                    BindInfo();
                }
            }

            private void BindInfo()
            {
                SPListItem item = SPContext.Current.ListItem;
                this.ltaTitle.Text = UtilityPlus.GetItemString(item["Title"]);
                VadioUrL = UtilityPlus.GetItemString(item["链接"]);
                this.ltaBody.Text = UtilityPlus.GetItemString(item["注释"]);
            }

  • 相关阅读:
    AJAX中所谓的异步
    前端性能优化方案
    文字超出隐藏
    创建值的两种方式及其区别
    单例模式
    自定义数据属性
    时间字符串的处理
    日期函数及时钟案例
    很low的四位验证码实现
    使用Ajax发送http请求(get&post请求)--转载
  • 原文地址:https://www.cnblogs.com/GreenGrass/p/3067312.html
Copyright © 2011-2022 走看看