Silverlight Surface Demonstration (Video Support)

Michael Schwarz on Monday, June 4, 2007

In one of my last posts [1] I wrote about the Silverlight Surface [2] demo of the "photo table". If you had a look on the live demo [3] you only see images, no video. I have added this because it is a very great idea to do it with Silverlight and the high media support inside.

I setup a online version [4] and the source files [5]. It will include a Visual Studio .NET 2005 project, so you don't need Visual Studio code named Orcas to build it, only Silverlight 1.1 alpha. (For more details: How to build a Silverlight Web application with Visual Studio .NET 20005? [6])

How could we extend the Silverlight Surface demo?

<li>Flickr or Google/Live.com search support to add new media files <li>auto-sort/align images <li>create a PDF of the arranged photo table <li>add some physics to the move and resize movements (to simulate more the <a href="http://www.microsoft.com/surface/">Microsoft Surface</a> product) <li>add EXIF photo information when moving over a picture (in-picture) <li>...</li> I would be happy if there is anybody fetching the source code and extending it with more features. Maybe you can remember the rolling gears example [7] with WPF/E in the past?

Updated: <u><strong>Why does the video flicker?</strong></u>

Because I didn't get the ZIndex property working correct the video will be removed from the parent Canvas and added again to be in top of the elements. While removed the old element the screen flickers and the video starts again from the beginning each time you click on the video. I'm note sure if it is a bug or why it is not working. In the download you will find the lines in comment in Page.cs.

Updated: I fixed this dummy bug on my side today, so have a look at the updated files [8].