<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Player.aspx.cs" Inherits="Player" %>
<!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" >
<head runat="server">
<title>无标题页</title>
</head>
<body>
<form id="form1" runat="server">
<embed src="Images\1243231479633344.swf"
allowfullscreen="true"
flashvars="vcastr_file=Images/video/仙剑4结局动画MV.flv&LogoText=http://localhost:1084/MyWebVideo/Player.aspx"
quality="high" pluginspage=" http://www.macromedia.com/go/getflashplayer"
type="application/x-shockwave-flash" width="500" height="400">
</embed>
</form>
</body>
</html>
就是显示个播放器 没法播放FLV格式视频 而且内存使用狂飚 直到死机...
求高手帮忙 或给我个能用代码
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="play.aspx.cs" Inherits="play" %>
<!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" ><head runat="server"> <title>Play</title></head><body> <form id="form1" runat="server"> <div > <div > <div> <table width="100%" border="0"><tr> <td > <input type="button" onclick="if (document.player.GetPlayState()==3) document.player.SetFullScreen()" value="全屏播放" > </td> </table> </div> </div> <div > <object classid=clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA name="player" > <param name=CONTROLS value=ImageWindow> <param name=CONSOLE value=Video> <param name=CENTER value=0> <param name="AUTOSTART" value="0"> <param name="SHUFFLE" value="0"> <param name="PREFETCH" value="0"> <param name="NOLABELS" value="0"> <param name="LOOP" value="0"> <param name="NUMLOOP" value="0"> <param name="MAINTAINASPECT" value="0"> <param name="BACKGROUNDCOLOR" value="#000000"> </object> <object classid=clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA name="status" > <param name=CONTROLS value=ControlPanel,StatusBar > <param name=CONSOLE value=Video> <param name=SRC value="<% =这里填影片URL地址%>"> <param name=AUTOSTART value=-1> <param name=PREFETCH value=0> <param name=LOOP value=0> <param name=NUMLOOP value=0> <param name="MAINTAINASPECT" value="0"> <param name="BACKGROUNDCOLOR" value="#000000"> </object> </div> <input id="Hidden1" runat="server" type="hidden" /> </div> </form></body></html>