Tag Archives: MediaElement

Create a video player in Silverlight 2 - Part 2

In part 1 we covered setting up a very basic video player. In part 2 we will add

Scrubbing the video
wiring up volume,
and muting.

In future versions I will show how to display a buffer message, skin the controls, and how to work with media that’s not embedded in the xap.

Scrubbing

Add a MouseLeftButtonDown and MouseLeftButtonUp events [...]

Create a video player in Silverlight 2 - Part 1

Creating a video player in Silverlight is pretty simple. The MediaElement does all the heavy lifting, all you need to do is wire up a UI and you have a basic Video player. Here is a tutorial on how to create a simple video player from scratch using Silverlight 2.

Create a Silverlight application
Add [...]

Why won’t media play in Silverlight 2?

The Media Element handles errors pretty gracefully. The errors that do occur are usually related to cross domain problem and setting the Source from managed code.
If you are experiencing errors, make sure to take a look at the address bar. If the site is being run from the local file system and you [...]