【发布时间】:2014-07-16 20:43:48
【问题描述】:
我从网上下载了一个媒体播放器控件,然后添加到我的工具箱中。然后我将它拖放到我的网页上,但它不起作用......
cc1:Media_Player_Control ID="Media_Player_Control1" runat="server"
MovieURL="./video/yaarian.wmv"
这是我的代码
【问题讨论】:
标签: asp.net
我从网上下载了一个媒体播放器控件,然后添加到我的工具箱中。然后我将它拖放到我的网页上,但它不起作用......
cc1:Media_Player_Control ID="Media_Player_Control1" runat="server"
MovieURL="./video/yaarian.wmv"
这是我的代码
【问题讨论】:
标签: asp.net
检查control registration tag 并确保您已将程序集加载到您的 bin 文件夹中:
<%@ Register TagPrefix="cc1" Namespace="MyApp.Controls" Assembly="MyApp" %>
然后,尝试以下操作:
<cc1:Media_Player_Control ID="Media_Player_Control1" runat="server"
MovieURL="~/video/yaarian.wmv" runat="server" />
【讨论】:
确保路径正确 例如
【讨论】: