Microsoft
Software
Hardware
Network
Question : How do I use the silverlight video player?
Hi,
I am attempting to create a silverlight application within visual studio 2008 that will play an mp4 video file. I have downloaded the visual studio silverlight extensions and tools and the silverlight sdk 3.0. I have downloaded the SMF dll files (Microsoft.SilverlightMedi
aFramework
.dll, Microsoft.SilverlightMedia
Framework.
Player.dll
, Microsoft.Web.Media.Smooth
Streaming.
dll) and referenced these within my application. My MainPage.xaml looks like the attached but when I run my application I get a "visual studio must close error"? Can I not reference mp4 files like I have within my xaml page? How do I play mp4 files through a silverlight application for my users to view online? I've read about the MediaPlayer control but I believe that is now out of date....shame, as that approach seemed simple.
Any help appreciated,
Martin.
Code Snippet:
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16:
Open in New Window
Select All
Answer : How do I use the silverlight video player?
As I know, you must handle play/stop buttons yourself in media element.
and also you can play .mp4 files in silverlight3 look at this for example:
http://www.progmic
.com/2009/
06/how-to-
play-mpeg-
video-via-
silverligh
t-3/
Random Solutions
CheckedChanged event fires when column is hidden
Flex: properties of components at runtime
Setting user-level passwords on Access 2000
Using Cell Value in a Formula
UNC Share as an IIS Virtuial Directory
SBS 2008 with Iphone, Need to disable passcode
varchar sort
Alternating row colors for ListView in MS Access
Mailbox is missing after moving from Exchange 2003 to Exchange 2007
what is the difference between utf-8 or utf-7 both are unicode