ASPNetFlashVideo doesn't play in serverside

微笑、不失礼 提交于 2019-12-11 06:45:19

问题


Am using the below code to play the video in asp.net web application. But it runs on local machine not in server. Please help me to fix this error. In server side it is buffering not playing.

<ASPNetFlashVideo:FlashVideo ID="FlashVideo2" runat="server" VideoURL="~/Help/Video/Help.flv" 
    Width="100%" Height="500px" AllowFullScreen="true" Alignment="Center" EnableTheming="true"
    EolasFixEnabled="true" WindowMode="Transparent" AutoPlay="true">
</ASPNetFlashVideo:FlashVideo>

回答1:


here is source code for jw player to use with asp.net you can try http://www.beansoftware.com/ASP.NET-Source-Code/JW-FLV-Player-CS.aspx

http://venkatb4me.wordpress.com/2011/03/13/how-to-play-flash-video-files-in-asp-net-using-c-net-or-vb-net/




回答2:


I tried to change the video URL on ASPNETFlashVideo

var myvideo;
myvideo = ASPNetMedia.FlashVideo("ID");
myvideo.PlayMedia("VideoURL");


来源:https://stackoverflow.com/questions/11469555/aspnetflashvideo-doesnt-play-in-serverside

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!