views:

285

answers:

3

I can open a video, play it and get position and set position, but nothing shows up in the video window on one pc. The code works fine a on a couple of PCs, but doesn't work on another. Does any one know or can refer me to what files I need to properly run MediaElement on XP pro.

Thanks, Rob

A: 

You need at least Windows Media Player 10 or above to be able to use MediaElement properly. A default installation of Win XP doesn't include that. Vista and Win 7 does, however.

Oskar
I've found anything less than Media Player 11 fails to play pretty much anything.
Steven Robbins
What about Silverlight? I have a MediaElement on my page - surely it doesn't require Media Player 10?
Judah Himango
A: 

--You're not running it through citrix, remote desktop or something like this, are you?

No, just running on a standard XP with sp2. The device is an embedded PC with an Atom 1.6g though.

--You need at least Windows Media Player 10 or above to be able to use MediaElement properly

I am running it on MP10. If you're monitoring Media_Error, as you should, you'll get an error if you're not running MP10 or higher. I'm not getting any errors and it is running -- Media_Opened and Media_Ended are called.

When I first posted this I didn't have the proper audio driver installed, so now that I do I hear sound, but still no video.

--I've found anything less than Media Player 11 fails to play pretty much anything.

I'm running it on MP10 with other pcs without problem.

Robert Cummings
A: 

What media files you are trying to playback? To play the non just wmv files in WPF you need to have a codecs installed.

Your behavior is very strange and I have similar problem but only when WPF player have been played for a many hours and video renderer stops render the video w/o any error reporting.

I could advise you to install the codecs (or re-install, if you have them already installed). Try to use ffdshow + Haali Media Splitter. This combination allows me to play any media type. And do not install the K-Lite Codec Pack, seems I have my own problem with freezing media because of using it.

Sergey K.