I placed the MediaElement in a newly created window in the application we are creating, set the wmv source (also tried it with gif), but it does not appear on the screen when I run it.
Then I created a new separate project, and everything works as expected.
this is the code that works:
<MediaElement Source="pre-loader.wmv" LoadedBehavior="Manual" Name="Video" />
and this is the code that does not work:
<MediaElement Source="pre-loader.wmv" LoadedBehavior="Manual" Name="Video" />
I know this is the same ... I don’t understand?
I tried several different ways, but I get the same result. In the main test project, the main application does not work.
I use the same wmv file in both projects, I also made sure that in both cases the option "Copy to output file". Create is set to Create.
Any help would be ... well, helpful
: MediaElement snoop, ActualWidth, ActualHeigt - 0, height - 140, width - NAN.
, source = Default.
" ", Blend, , .