在asp.net页面中嵌入VLC媒体播放器的问题

时间:2014-01-18 07:10:23

标签: asp.net media-player object-tag

我正在尝试将VLC媒体播放器添加或嵌入到我的asp.net网页中。

 the error I am getting is that object tag must contain a class,classid or progid attribute  but  I don't know how to get the values for those attributes.

如果可能,任何可以运行MP4视频的媒体播放器,请提供帮助并随意提出建议。我有     在设计中编写了以下代码

  <div>
            <object type="application/x-vlc-plugin" pluginspage="http://www.videolan.org" 
                     autoplay="yes" lop="no"  runat="server" ID="video" 
                     style="width: 452px; height: 278px" />
   <object classid="clsid:9BE31822-FDAD-461B-D51-BE1D1C159921"                                  codebase="http://download.videolan.org/pub/videolan/vlc/last/win32/axvlc.cab"
           height="28"></object>
            </div>
            <div><asp:Button ID="button_play" runat="server" Text="Play" on click="button_play_Click"/>
            </div>

 the error I am getting is that object tag must contain a class,classid or progid attribute but I don't know how to get the values for those attributes.Please help and be free to suggest any other way if possible for any media player that can run MP4 videos.

0 个答案:

没有答案