Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > Avalon

Vista - Video doesn't show / play?

 
 
Old 02-26-2006   #1 (permalink)
Olav Tollefsen


 
 

Video doesn't show / play?

I have written a very simple Avalon program which should display a video in
the application window. My problem is that nothing shows up. I have included
the XAML below. I using the Feb CTP.

What could be the problem?

Olav

<Window x:Class="Test.Window1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="Test" Height="300" Width="300" Loaded="WindowLoaded"
>

<Grid>

<MediaElement x:Name="VideoPlayer" Source="E:\Videos\Test1.wmv" >
</MediaElement>

</Grid>
</Window>



My System SpecsSystem Spec
Old 02-28-2006   #2 (permalink)
Luis Miguel Blanco


 
 

RE: Video doesn't show / play?

Hello Olav

Check your video drivers, and be sure you have the most recent version of
them. This is the most usual reason of this problem.

--
Regards
Luis Miguel Blanco
http://www.dotnetmania.com


"Olav Tollefsen" wrote:

> I have written a very simple Avalon program which should display a video in
> the application window. My problem is that nothing shows up. I have included
> the XAML below. I using the Feb CTP.
>
> What could be the problem?
>
> Olav
>
> <Window x:Class="Test.Window1"
> xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
> xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
> Title="Test" Height="300" Width="300" Loaded="WindowLoaded"
> >

> <Grid>
>
> <MediaElement x:Name="VideoPlayer" Source="E:\Videos\Test1.wmv" >
> </MediaElement>
>
> </Grid>
> </Window>
>
>
>

My System SpecsSystem Spec
Old 02-28-2006   #3 (permalink)
Olav Tollefsen


 
 

Re: Video doesn't show / play?

My problem was that I was running this on Windows XP Professional x64
Edition. The video playback is not supported on x64. To fic the problem, I
had to set the Target platform for my project to x86. Now it will run under
WOW (32-bit subsystem) and it will work.

Olav

"Olav Tollefsen" <x@y.com> wrote in message
news:%23nVGd3qOGHA.3064@TK2MSFTNGP10.phx.gbl...
>I have written a very simple Avalon program which should display a video in
>the application window. My problem is that nothing shows up. I have
>included the XAML below. I using the Feb CTP.
>
> What could be the problem?
>
> Olav
>
> <Window x:Class="Test.Window1"
> xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
> xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
> Title="Test" Height="300" Width="300" Loaded="WindowLoaded"
> >

> <Grid>
>
> <MediaElement x:Name="VideoPlayer" Source="E:\Videos\Test1.wmv" >
> </MediaElement>
>
> </Grid>
> </Window>
>



My System SpecsSystem Spec
 

Thread Tools


Similar Threads
Thread Forum
What two-head video card can play a HD video on a secondary monito Vista General
What two-head video card can play a HD video on a secondary monito Vista hardware & devices
What two-head video card can play a HD video on a secondary monito Vista music pictures video
What two-head video card can play a HD video on a secondary monito Vista General
Vista RC1: Media Center - Video codec error while trying to play DVD-video disc Vista music pictures video


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46