TheChaseMan's Frenetic SoapBox

Always looking for better ways to do things...

WinFX Exception? XAML

Rob was kind enough to solicit feedback on “Avalon“ in WinFX. It just so happens that my wife and I were taking a look at the new Avalon application templates in VS.NET 2005. She is a graphic artist and is familiar with HTML and I was telling her about XAML, so we wrote the following:

<Window x:Class="VideoTest.Window1" xmlns="http://schemas.microsoft.com/2003/xaml" xmlns:x="Definition" Text="VideoTest">
   
<Canvas>
        <
Video ID="v1" Source="C:\Documents and Settings\Sean\My Documents\Visual Studio\Projects\VideoTest\VideoTest\pinkey.wmv"/>
    Canvas>
Window>

We kept getting an exception, so I tried Source="http:///pinkey.wmv" and that also threw an exception. I also dragged and dropped the pinkey.wmv file into the project and used Source="pinkey.wmv" and again...we got an exception.

 

So my wife asks, "Hey why did that happen?" So I said, "Well, see it's because...hmmm...I dunno." What gives, how do I get the "Pinky the cat" video to play? Thoughts? :-)


Digg!

posted on Monday, November 22, 2004 9:27 PM

Feedback

# re: WinFX Exception? XAML <Video> tag 12/10/2004 11:55 PM sirBarfsAlot

I'm having the exact same problem. Maybe the video rendering portion isn't finished??

# re: WinFX Exception? XAML <Video> tag 12/11/2004 9:27 AM Sean Chase

That's exactly the problem. See my follow-up post...

http://unboxedsolutions.com/sean/archive/2004/11/23/345.aspx