It works fine with *.mp4 files, but i can't run any *.wmv or *.avi file.
This is what my XAML looks like:
<MediaElement x:Name="mediaElement" Margin="0" Source="C:\Users\Public\Videos\Sample Videos\Natur.wmv" Volume="1"/>
What i tried is:
trying different *.wmv or *.avi videos, but i can't play any of them.
*.mp4 work fine.
I have Windows Media Player version 12 (cause 10+ is recommended for using MediaElement) and i can play all those videos without any problems in Windows Media Player.