MediaElement isn’t working, I’ve copied and pasted the code from many examples and tried to start, but the element wasn’t loaded, just white screen
the code:
<Grid>
<MediaElement Source="http://hubblesource.stsci.edu/sources/video/clips/details/images/hst_1.mpg" />
</Grid>
I’ve tried other variations of the code, but still getting the same result.
It is the output
1
It appears that media element uses WMP ActiveX. It should be able to play anything that WMP can but it depends on what kind of Media Foundation codecs are installed on the PC. If we take a look at Media Foundation supported media formats
it doesn’t seem to support mpg files from what I can tell but does support m4v, avi, wmv, mov and mp4 video formats.
3