|
各位大大帮我看看!我实在不知道原因!这个是我的播放页面代码!
我试过很多次,能够打开并播放电影,但不知道为啥总是有用户打电话或QQ来说,他打开了是白屏!
网页中也没有报错,原先我在公司电脑和自己家里都能放,最近我发现家里的电脑也放不了,点播放后,
网页打开,显示装载完成,其他的文本字体,下面的全屏都能显示,就是中间的播放器是个白屏!
不知道是代码问题,还是windows IE升级后导致,还是我装了什么软件导致!我试过IE8也能播放的!
我的电影网站是http://www.jzslsjy.com/jzlt
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
<!--#include file="conn.asp" -->
<%
id=rq("id")
set rs1=conn.execute("select 影片名 from 影片 where id=(SELECT 所属影片 FROM 影片地址 where ID="&id&")")
%>
<link rel="stylesheet" href="images/style.css" type="text/css" media="all" />
<div id="movie" style="margin:0px auto; height:auto; width:500px;">
<div class="movienews" style="width:500px; float:left"><marquee scrollamount=3 scrolldelay=5 direction=left onMouseOver='this.stop()' onMouseOut='this.start()'><h1>您正在收看的是《<%=rs1("影片名")%>》</h1></marquee></div>
<div class="movienews_1">
<script LANGUAGE="javaScript">
var ERR_NonePlayer="荆州古城影视提示您:您的系统中没有安装Real Player播放器,请在主页上下载。\n\nMovie播放器将关闭。";
var ERR_FileNotFind="荆州古城影视提示您:本片在线人数过多,服务器限制,请抢线或稍后观看!^_^";
var ERR_NotLocateServer="荆州古城影视提示您:服务器忙,请多试几次,或稍后观看!!^_^";
var ERR_UnkownError="荆州古城影视提示您:当前您所在的服务器在线人数过多,服务器限制,请换其它类的片子看看先;按F5抢线或稍后观看!^_^";
</script>
<script LANGUAGE="VBScript">
<%on error resume next
RealPlayerG2 = (NOT IsNull(CreateObject("rmocx.RealPlayer G2 Control")))\n');
RealPlayer5 = (NOT IsNull(CreateObject("RealPlayer.RealPlayer(tm) ActiveX Control (32-bit)")))
RealPlayer4 = (NOT IsNull(CreateObject("RealVideo.RealVideo(tm) ActiveX Control (32-bit)")))
if not RealPlayerG2 and RealPlayer5 and RealPlayer4 then
if MsgBox("您的浏览器无法自动下载最新的浏览器插件,是否要下载播放器来播放?", vbYesNo) = vbYes then
window.location = "http://www3.skycn.com/soft/6404.html"
end if
end if
Sub player_OnBuffering(lFlags,lPercentage)
if (lPercentage=100) then
StartPlay=false
if (FirstPlay) then
FirstPlay=false
end if
exit sub
end if
End Sub
Sub player_OnErrorMessage(uSeverity, uRMACode, uUserCode, pUserString, pMoreInfoURL, pErrorString)
select case playerr.GetLastErrorRMACode()
case -2147221496
window.alert(ERR_FileNotFind)
case -2147221433,-2147221428,-2147221417,-2147217468
window.alert(ERR_NotLocateServer)
case else
window.alert(ERR_UnkownError)
end select
End Sub
%></script>
<object id="player" name="player" classid="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" width="488" height="405">
<param name=_ExtentX value=12356>
<param name=_ExtentY value=8731>
<param name=AUTOSTART value=-1>
<param name=SHUFFLE value=0>
<param name=PREFETCH value=0>
<param name=NOLABELS value=0>
<param name='SRC' value='down_body.asp?id=<%=Rq("id")%>'>
<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 ID="RP2" height=45 width=488 CLASSID="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA">
<param name="_ExtentX" value="12356">
<param name="_ExtentY" value="1058">
<param name="AUTOSTART" value="-1">
<param name="SHUFFLE" value="0">
<param name="PREFETCH" value="0">
<param name="NOLABELS" value="0">
<param name="CONTROLS" value="ControlPanel,StatusBar">
<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">
<embed type="audio/x-pn-realaudio-plugin" CONSOLE="Clip1" CONTROLS="ControlPanel,StatusBar" AUTOSTART="true"></embed>
</object>
<script language="javascript">
playerr.SetEnableContextMenu(false);
playerr.SetWantErrors(true);
</script><br /><font color="#FF0000"><input type="button" value="全屏播放" onClick="document.player.SetFullScreen()" />退出按ESC.</font>
</div>
</div>
<%
rs.close
set rs=Nothing
conn.close
set conn=nothing
%> |
|