The MediaPlayer class provides a player that runs media (video or audio) using Silverlight in an ASP.NET Web page. The MediaPlayer class reference documentation includes simple error handling code used with the MediaPlayer server control. This post provides a link to C# and VB source code, as well as an example you can run.
For code examples and more information, see MediaPlayer Class reference in the MSDN Library.
ASP.NET Controls for Silverlight
Sys.UI.Silverlight (client) Namespace
-- Erik ReitanASP.NET User EducationThis posting is provided "AS IS" with no warranties, and confers no rights.
Give Your Feedback on the Documentation
Help us improve the developer documentation by taking the Visual Studio and .NET Framework Content Survey. This survey will give us a better understanding of the type of applications you are developing as well as how you use Help and how we can improve it. The survey takes only 10 minutes, and we appreciate your feedback.