Click here to Skip to main content
15,122,728 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi i am developing one application where members can upload videos and can play them within my application.To play videos i am using silverlight memdia player conrtrol.And my problem is with this control i can able to play only .wmv video files.But i need play all other formats of videos also. And one more thing is how to convert any format of video into .wmv
And my code is
XML
<asp:MediaPlayer ID="MediaPlayer" runat="server" Height="240px" Width="320px" AutoPlay="True" MediaSkinSource="~/skins/Classic.xaml">
        </asp:MediaPlayer>

And i have referred this:http://www.aspsnippets.com/Articles/Media-Player-Contol-using-Silverlight-and-ASP.Net.aspx
Can any one help me
Posted

1 solution

0) Silverlight is highly platform dependent. I would not consider using it.
1) I would take a step forward to html5 video support, with fallback to Flash. Check this little one: http://www.videojs.com/[^]
2) You can convert video on server side with ffmpeg for example. Use a simple process starter[^] or this wrapper for example: http://www.ffmpeg-csharp.com/[^]. For more details about video conversion with ffmpeg, consult it's documentation and the plenty of community additions on the web.
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900