<!--#include file="conn.asp"-->
<%
id=Trim(Request.QueryString("id"))
set rs_s=server.CreateObject("adodb.recordset")
rs_s.open "select * from tvname where id="&id,conn,1,1
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title><%= rs_s("name") %>:网络电视:在线电视:鸿鹄の心情网络电视</title>
<style type="text/css">
<!--
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
.t1 {
font-size: 12px;
font-weight: normal;
color: #00CCFF;
border: 1px solid #CCCCCC;
}
.style2 {
font-size: 12px;
color: #990000;
}
.style3 {color: #990000}
-->
</style>
<script language="JavaScript" type="text/JavaScript">
//code by sunkin ver1.0
function showbar()
{
var obj = document.all.TVPlayer;
if(typeof(obj) != "undefined")
{
obj.ShowStatusBar="1";
}
}
function closebar()
{
var obj = document.all.TVPlayer;
if(typeof(obj) != "undefined")
{
obj.ShowStatusBar="0";
}
}
function aotuclose()
{
var timer1 = setTimeout("closebar();",5000);
}
//-->
</script></head>
<body >
<% if rs_s("gs")="wmv" then %>
<object align=middle classid=CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95 class=OBJECT id=MediaPlayer width="485" height="360">
<param name=ShowStatusBar value=-1>
<param name=Filename value="play1.asp?id=<%= id %>&gs=<%= rs_s("gs") %>" >
<param name="AudioStream" value="-1">
<param name="AutoSize" value="0">
<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="4">
<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="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="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">
<ref href="www.sfoxnet.com"/>
<param name="Album" value="xx音乐网"/>
<param name="Title" value="<%=rs_s("name")%>"/>
<embed src="-1" width="485" height="360" autostart="-1" align="middle" showstatusbar="-1" filename="play1.asp?id=<%= id %>&gs=<%= rs_s("gs") %>" audiostream="-1" autosize="0" animationatstart="-1" allowscan="-1" allowchangedisplaysize="-1" autorewind="0" balance="0" baseurl="value" bufferingtime="5" captioningid="value" clicktoplay="-1" cursortype="0" currentposition="-1" currentmarker="0" defaultframe="value" displaybackcolor="0" displayforecolor="16777215" displaymode="0" displaysize="4" enabled="-1" enablecontextmenu="-1" enablepositioncontrols="-1" enablefullscreencontrols="0" enabletracker="-1" invokeurls="-1" language="-1" mute="0" playcount="1" previewmode="0" rate="1" samilang="value" samistyle="value" samifilename="value" selectionstart="-1" selectionend="-1" sendopenstatechangeevents="-1" sendwarningevents="-1" senderrorevents="-1" sendkeyboardevents="0" sendmouseclickevents="0" sendmousemoveevents="0" sendplaystatechangeevents="-1" showcaptioning="0" showcontrols="-1" showaudiocontrols="-1" showdisplay="0" showgotobar="0" showpositioncontrols="-1" showtracker="-1" transparentatstart="0" videoborderwidth="0" videobordercolor="0" videoborder3d="0" volume="-600" windowlessvideo="0"></embed> <embed type="application/x-oleobject" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701" flename="mp" src="channelv.asx" width="420" height="360">
</object>
<% Else %>
<object id=RVOCX1 height=290 width=485 classid=clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA name=player1>
<param name="_ExtentX" value="11906">
<param name="_ExtentY" value="8916">
<param name="AUTOSTART" value="-1">
<param name="SHUFFLE" value="0">
<param name="PREFETCH" value="0">
<param name="NOLABELS" value="0">
<param name="SRC" value="play1.asp?id=<%= id %>&gs=<%= rs_s("gs") %>">
<param name="CONTROLS" value="ImageWindow">
<param name="CONSOLE" value="Clip1">
<param name="LOOP" value="0">
<param name="NUMLOOP" value="0">
<param name="CENTER" value="0">
<param name="MAINTAINASPECT" value="0">
<param name="BACKGROUNDCOLOR" value="#000000">
</object>
<br>
<object classid=clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA codebase="360" name=control width=485 height=47 id=RVOCX1>
<param name="_ExtentX" value="11906">
<param name="_ExtentY" value="1244">
<param name="AUTOSTART" value="-1">
<param name="SHUFFLE" value="0">
<param name="PREFETCH" value="0">
<param name="NOLABELS" value="0">
<param name="SRC" value="play1.asp?id=<%= id %>&gs=<%= rs_s("gs") %>">
<PARAM NAME="controls" VALUE="StatusBar,ControlPanel">
<param name="CONSOLE" value="Clip1">
<param name="LOOP" value="0">
<param name="NUMLOOP" value="0">
<param name="CENTER" value="0">
<param name="MAINTAINASPECT" value="0">
<param name="BACKGROUNDCOLOR" value="#000000">
</object><table width="485" height="23" border="0" cellpadding="0" cellspacing="0" class="t1">
<tr>
<td valign="bottom" ><span class="style2">当前播放节目</span><span class="style3">:</span><font color="#990000"><%= rs_s("name") %></font></td>
</tr>
</table>
<% End If
rs_s.close
set rs_s=nothing
%>
</body>
</html>
这是我播放的那个页面