用VS2008写的Web窗体
这是一个源代码:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="playMusic.aspx.cs" Inherits="playMusic" %><!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>在线试听MP3音乐</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<table>
<tr>
<td style="text-align: center">
<div style="z-index:1; background-color: #ffffff;">
MP3音乐名称:《<%= fileName%>》
<object id="mediaPlayer" classid="clasid:05589FA1-C356-11CE-BF01-00AA0055595A" height="64" style="width: 360px; margin-right: 6px;">
<param name="url" value="<%=fileUrl %>" />
<param name="volume" value="100" />
<param name="playcount" value="100" />
<param name="enablecontextmenu" value="0" />
<param name="enableerrordialogs" value="0" />
<embed autostart="true" conrtols="ImageWindow" height="360" src="<%=fileUrl %>" type="audio/x-pn-realaudio-plugin" width="420"></embed></embed>
</object>
</div>
</td>
</tr>
</table>
</div>
<asp:Label ID="Label1" runat="server" Text="在线试听MP3音乐"></asp:Label>
<p>
</p>
<p>
<asp:Literal ID="Literal1" runat="server"></asp:Literal>
</p>
</form>
</body></html>
然后各种报错。。求大神帮忙调通。
谢谢!~
这是一个源代码:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="playMusic.aspx.cs" Inherits="playMusic" %><!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>在线试听MP3音乐</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<table>
<tr>
<td style="text-align: center">
<div style="z-index:1; background-color: #ffffff;">
MP3音乐名称:《<%= fileName%>》
<object id="mediaPlayer" classid="clasid:05589FA1-C356-11CE-BF01-00AA0055595A" height="64" style="width: 360px; margin-right: 6px;">
<param name="url" value="<%=fileUrl %>" />
<param name="volume" value="100" />
<param name="playcount" value="100" />
<param name="enablecontextmenu" value="0" />
<param name="enableerrordialogs" value="0" />
<embed autostart="true" conrtols="ImageWindow" height="360" src="<%=fileUrl %>" type="audio/x-pn-realaudio-plugin" width="420"></embed></embed>
</object>
</div>
</td>
</tr>
</table>
</div>
<asp:Label ID="Label1" runat="server" Text="在线试听MP3音乐"></asp:Label>
<p>
</p>
<p>
<asp:Literal ID="Literal1" runat="server"></asp:Literal>
</p>
</form>
</body></html>
然后各种报错。。求大神帮忙调通。
谢谢!~
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货