视频在线播放

<div class="innerFrame_introduce" style="width: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["注释"]);
        }

posted @ 2013-05-08 17:59  717806198  阅读(177)  评论(0编辑  收藏  举报