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
<asp:MediaPlayer ID="MediaPlayer" runat="server" Height="240px" Width="320px" AutoPlay="True" MediaSkinSource="~/skins/Classic.xaml">

And i have referred this:
Can any one help me

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:[^]
2) You can convert video on server side with ffmpeg for example. Use a simple process starter[^] or this wrapper for example:[^]. 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