asp 首页播放视频Flv
<%Setrs=server.CreateObject("adodb.recordset")sql="selecttop1*frompf_moviewherepf_mov...
<%
Set rs = server.CreateObject("adodb.recordset")
sql = "select top 1 * from pf_movie where pf_movie_near=true order by pf_movie_order asc"
rs.Open sql, conn, 1, 1
Do While Not rs.EOF
%>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="340" height="255" id="FLVPlayer">
<param name="movie" value="FLVPlayer_Progressive.swf" />
<param name="salign" value="lt" />
<param name="quality" value="high" />
<param name="scale" value="noscale" />
<param name="FlashVars" value="&MM_ComponentVersion=1&skinName=Clear_Skin_1&streamName=<%=rsa("pf_uploadfile")%>&autoPlay=false&autoRewind=false" />
<embed src="FLVPlayer_Progressive.swf" flashvars="&MM_ComponentVersion=1&skinName=Clear_Skin_1&streamName=<%=rsa("pf_uploadfile")%>&autoPlay=false&autoRewind=false" quality="high" scale="noscale" width="340" height="255" name="FLVPlayer" salign="LT" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
<%
rs.movenext
Loop
rs.Close
Set rs = Nothing
%>
Microsoft VBScript 运行时错误 (0x800A000D)
类型不匹配: 'rsa'
/index.asp, 第 193 行
193:<param name="FlashVars" value="&MM_ComponentVersion=1&skinName=Clear_Skin_1&streamName=<%=rsa("pf_uploadfile")%>&autoPlay=false&autoRewind=false" />
<embed src="FLVPlayer_Progressive.swf" flashvars="&MM_ComponentVersion=1&skinName=Clear_Skin_1&streamName=<%=rsa("pf_uploadfile")%> 展开
Set rs = server.CreateObject("adodb.recordset")
sql = "select top 1 * from pf_movie where pf_movie_near=true order by pf_movie_order asc"
rs.Open sql, conn, 1, 1
Do While Not rs.EOF
%>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="340" height="255" id="FLVPlayer">
<param name="movie" value="FLVPlayer_Progressive.swf" />
<param name="salign" value="lt" />
<param name="quality" value="high" />
<param name="scale" value="noscale" />
<param name="FlashVars" value="&MM_ComponentVersion=1&skinName=Clear_Skin_1&streamName=<%=rsa("pf_uploadfile")%>&autoPlay=false&autoRewind=false" />
<embed src="FLVPlayer_Progressive.swf" flashvars="&MM_ComponentVersion=1&skinName=Clear_Skin_1&streamName=<%=rsa("pf_uploadfile")%>&autoPlay=false&autoRewind=false" quality="high" scale="noscale" width="340" height="255" name="FLVPlayer" salign="LT" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
<%
rs.movenext
Loop
rs.Close
Set rs = Nothing
%>
Microsoft VBScript 运行时错误 (0x800A000D)
类型不匹配: 'rsa'
/index.asp, 第 193 行
193:<param name="FlashVars" value="&MM_ComponentVersion=1&skinName=Clear_Skin_1&streamName=<%=rsa("pf_uploadfile")%>&autoPlay=false&autoRewind=false" />
<embed src="FLVPlayer_Progressive.swf" flashvars="&MM_ComponentVersion=1&skinName=Clear_Skin_1&streamName=<%=rsa("pf_uploadfile")%> 展开
3个回答
展开全部
将193行改为如下
<param name="FlashVars" value="&MM_ComponentVersion=1&skinName=Clear_Skin_1&streamName=<%=rs("pf_uploadfile")%>&autoPlay=false&autoRewind=false" />
<embed src="FLVPlayer_Progressive.swf" flashvars="&MM_ComponentVersion=1&skinName=Clear_Skin_1&streamName=<%=rs("pf_uploadfile")%>
因为rs从定义到循环都是以rs定义命名,有出错提示,修改一下对应的名称就可以了.
<param name="FlashVars" value="&MM_ComponentVersion=1&skinName=Clear_Skin_1&streamName=<%=rs("pf_uploadfile")%>&autoPlay=false&autoRewind=false" />
<embed src="FLVPlayer_Progressive.swf" flashvars="&MM_ComponentVersion=1&skinName=Clear_Skin_1&streamName=<%=rs("pf_uploadfile")%>
因为rs从定义到循环都是以rs定义命名,有出错提示,修改一下对应的名称就可以了.
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
AiPPT
2024-09-19 广告
2024-09-19 广告
作为北京饼干科技有限公司的工作人员,关于AIPPT免费生成PPT的功能,我可以简要介绍如下:AIPPT是一款基于人工智能技术的PPT制作工具,它为用户提供了免费生成PPT的便捷服务。用户只需简单输入PPT的主题或内容大纲,AIPPT便能智能...
点击进入详情页
本回答由AiPPT提供
展开全部
你前面不是rs吗,后面怎么变成rsa了,前四行改成
<%
Set rsa = server.CreateObject("adodb.recordset")
sql = "select top 1 * from pf_movie where pf_movie_near=true order by pf_movie_order asc"
rsa.Open sql, conn, 1, 1
<%
Set rsa = server.CreateObject("adodb.recordset")
sql = "select top 1 * from pf_movie where pf_movie_near=true order by pf_movie_order asc"
rsa.Open sql, conn, 1, 1
本回答被提问者采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
把rsa都改成rs
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询