網頁播放器

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Playhtml.aspx.cs" Inherits="newfile_Default2" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<script type="text/javascript" language="javascript" src="mediplayer.js"></script>

<head runat="server">
    <title>Untitled Page</title>

    <script type="text/javascript">
    function loadflash(){
            var fileurl=document.getElementById("hidUrl").value;
            var filevalue="playSource/09060601(1).flv";
            if(fileurl =="") {
                 filevalue="playSource/09060601(1).flv";
            }else{
                 filevalue=fileurl;
            }
            new Mediaplayer({
                        FlashUrl:"mediaplayer.swf",
                        PlaceHolderID: "divMediaFlash",
                        file: filevalue
                    });
     }
    
     function setFileUrl(val){
        document.location.href = "Playhtml.aspx?url="+val;
     }
    </script>
<style type="text/css">
  #title{
   float: left; width: 200; height: 450; overflow:auto;
   fontSize:12pt;
  }
   a:link { text-decoration: none;color:black;}
</style>
</head>
<body οnlοad="loadflash();">
    <form action="" runat="server"><input id="hidUrl" type="hidden" runat="server" />
        <div id="content" style="width: 800; height: 450">
            <table width="100%">
                <tr>
                    <td valign="top">
                        <div id="divMediaFlash" style="width: 500; height: 450; float: left; padding-top:0px;">
                        </div>
                    </td>
                    <td valign="top">
                        <div id="title">
                         <span style="font-size:14pt; color:#54B0FC;font:bold;">工程師培訓相關視頻</span><br />
                         <table>
                          <tr>
                            <td rowspan="3"><a href="javascript:setFileUrl('playSource/09062001-BEGINNING.flv');"><asp:Image ID="Image5" runat="server" Width="120" Height="100" ImageUrl="image/11.JPG" ImageAlign="AbsMiddle"/></a></td><td>工程師培訓視頻一</td>
                          </tr>
                           <tr>
                            <td><span style="font-size:10pt;color:#727272">培訓相關知識,及相關的前沿技術點,總結工程所必備的知識<br />總結工程師所必備的知識.</span></td>
                          </tr>
                           <tr>
                            <td align="right"><span style="font-size:10pt; text-align:right;">文件大小:<font color=red>480M</font>&nbsp;&nbsp;<a href="javascript:setFileUrl('playSource/09062001-BEGINNING.flv');">播放時間:</a><font color="#BC1700">30m 38s</font></span></td>
                          </tr>
                        </table>
                         <hr style="border:dashed 1px #D4D0C8"/>
                         <table>
                          <tr>
                            <td rowspan="3"><a href="javascript:setFileUrl('playSource/09060601(1).flv');"><asp:Image ID="Image6" runat="server" Width="120" Height="100" ImageUrl="image/22.JPG" ImageAlign="AbsMiddle"/></a></td><td>工程師培訓視頻二</td>
                          </tr>
                           <tr>
                            <td><span style="font-size:10pt;color:#727272">培訓相關知識,及相關的前沿技術點,總結工程所必備的知識<br />總結工程師所必備的知識.</span></td>
                          </tr>
                           <tr>
                            <td align="right"><span style="font-size:10pt; text-align:right;">文件大小:<font color=red>24M</font>&nbsp;&nbsp;<a href="javascript:setFileUrl('playSource/09060601(1).flv');">播放時間:</a><font color="#BC1700">1m 30s</font></span></td>
                          </tr>
                        </table>
                         <hr style="border:dashed 1px #D4D0C8"/>
                          <table>
                          <tr>
                            <td rowspan="3"><a href="javascript:setFileUrl('playSource/09060610Engineering.flv');"><asp:Image ID="Image1" runat="server" Width="120" Height="100" ImageUrl="image/33.JPG" ImageAlign="AbsMiddle"/></a></td><td>工程師培訓視頻三</td>
                          </tr>
                           <tr>
                            <td><span style="font-size:10pt;color:#727272">培訓相關知識,及相關的前沿技術點,總結工程所必備的知識<br />總結工程師所必備的知識.</span></td>
                          </tr>
                           <tr>
                            <td align="right"><span style="font-size:10pt; text-align:right;">文件大小:<font color=red>307M</font>&nbsp;&nbsp;<a href="javascript:setFileUrl('playSource/09060610Engineering.flv');">播放時間:</a><font color="#BC1700">23m 17s</font></span></td>
                          </tr>
                        </table>
                         <hr style="border:dashed 1px #D4D0C8"/>
                        </div>
                    </td>
                </tr>
            </table>
        </div>
    </form>
</body>
</html>
 <%--  <div style="width:300;height:100;">
                            <div id="divImage" style="width:110;height:100;float:left;"><asp:Image ID="Image2" runat="server" Width="120" Height="100" ImageUrl="image/2.JPG" ImageAlign="AbsMiddle"/></div>
                            <div id="divInfo" style="width:180;height:100; font-size:10pt; float:left; padding-left:5px;"><span style="font:bold 12pt 宋體; padding-left:5px;">工程師培訓相關視頻</span><br /><dl><span style="padding-left:5px;color:#727272;">培訓相關知識,及相關的前沿技術點,總結工程所必備的知識總結工程師所必備的知識.</span></dl><br /><span style="height:20; background-color:#D4D0C8; float:right;">播放時間: 30m 20s</span></div>
                         </div>--%>

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值