Peter Bahaa's Blog

Business and Technical Articles

My first HDI Videos in Silverlight 1.0

November 11
by Peter Bahaa 11. November 2008 18:50

It was my first time to do videos for Microsoft, and that was quite interesting, also I was a fan of Silverlight so it was a good change to demonstrate those videos,

My first HDI videos had been released in www.silverlight.net - Learn section – How do I Silverlight 1.0

1st: Create a Live Reflection of a Video

That one was really easy, I have just duplicated the video and I added a glassy mask (I used a rectangle and fill it with a gradient fill black to white)

2nd: Handle the Back and Forward buttons in a Silverlight 1.0

In Silverlight 1.0 we are using JavaScript, so it simply can react with History object , and go back and forward by using History.go()

3rd: Sequencing Storyboards

Silverlight is a great RAI, and it also has a very good coding capabilities so if create some animations and you want to make a sequence for them to run after each other the following video is just what you need,

You can use Complete method in a Storyboard to Start the next animation.

4th: Use Expression Design to create graphics for Silverlight

Expression design a great tool for graphic design, and what is really great you can create the design u like and by simple steps you can export it to XAML , which mean you can use it in Silverlight, isn’t that great!

See the following video for a simple tutorial.

5th: Using SetSource with media element

I was astonished to see this how Silverlight 1.0 downloader object can do you,

If you want to view a video in a media element, u can just zip the video and use the downloader to download the Package, and then use SetSource method to set the media element video to display,

Also to display download progress u can use downloadProgress object , in this video I was demonstrate how to use SetSource method and how much it saves the initial load time within setting the media element automatically.

Tags: ,

Silverlight

Add comment




biuquote
  • Comment
  • Preview
Loading



Calendar

<<  September 2010  >>
MoTuWeThFrSaSu
303112345
6789101112
13141516171819
20212223242526
27282930123
45678910

View posts in large calendar