Building a Silverlight player for Channel 9

Download this episode

Download Video


Mike Sampson, your friendly-neighborhood media-encoding and SCRUM specialist, lives in the office right next to mine.  I managed to walk the 12 steps over there and talk to him about what he's recently been working on, mainly a Silverlight player for version 4 of Channel 9

He discusses how he was able to reuse the code that comes with Expression Encoder and how, as the developer, he can code the player while the designer David Shadle can work on the design.

A preview of the player is available on Channel 8 today and I'm expecting the player to go live on the Channel 9 beta sometime in the near future.



Available formats for this video:

Actual format may change based on video formats available and browser capability.

    The Discussion

    • User profile image

      Good Vid.

      I don't know why, but I was drawn into the Star Destroyer the whole video and had to watch it twice.

      Cool features in Silverlight though, hoping to get a copy of Expressions Suite sometime in the near future so I can play around a bit more in it.

    • User profile image
      Great job, guys! Smiley
    • User profile image
      If you'd like to see Silverlight on this site in the near future, check out this thread.
    • User profile image
      Duncanma wrote:
      If you'd like to see Silverlight on this site in the near future, check out this thread.

      And you can see this video in said Silverlight player, too (suprised you didn't link it):

      Very cool (beats streaming using WMP hands-down).
    • User profile image
      i also did a screencast about some of this a few weeks back -- "cheating" at creating a media player Smiley
    • User profile image
      This is all well and good if it weren't for the fact that now i'm getting errors thrown on all the video pages that use the Silverlight player (which seem to be this one as well as the one about SP1 at least) Sad

      "Unable to load media 'mms://'.

      I'm getting this error on everywhere the silverlight player is embedded, even on the frontpage Sad
    • User profile image
      Also, i seem to be getting the silverlight player regardless of the additional query parameter Perplexed
    • User profile image

      In present moment it's impossible to play videos on Channel8 site... Cool

    • User profile image
      I'm not getting any errors on either 8 or 9 on any page.

      Can you post your OS, browser, and version of Silverlight as well as the full error text and symptoms you are getting?

      I haven't tried other OS's but I am able to play videos just fine on Windows in either Firefox or IE. Silverlight is currently only supported under XP, 2k3, Vista, and Mac OS 10.4.8+ (intel or PPC). Only Firefox and IE are supported on Windows, Firefox and Safari on Mac.
    • User profile image
      Please post all error reports in this thread:
    • User profile image
      I think I watched an interview on the star destroyer.. lol

      no seriously sounds good and I cant wait to startup some pet projects using silverlight.
    • User profile image
      The seeking bar in the player on this page has some issues: Trying seek to specific previous position after the video has been playing for a while such as 5:00 after video is at 5:50 results the slider going to 2:00 but if you release it it does play from 5:00.
    • User profile image
      Yeah - so now Windows 2000 users like me can't see all the channel 9 vidoes online!
    • User profile image
      I was using Firefox with Silverlight 1.1, I came across the "Unable to load media" message too, I thought that was because I was connecting internet by proxy, after I enabled the direct connection, the message didn't show again and the video played perfectly!

      Silverlight doesn't read the proxy settings of firefox?[C]
      But the player is good, excellent work!
    • User profile image
      Raise your hand if you immediately double-clicked the player when Sampy said that he got Fullscreen-on-double-click for free just by wiring in the Silverlight Player?

      <me />
    • User profile image
      Is it not possible to make the player hide the cursor when fullscreen? Neither silverlight nor flash seems to support this, is it a limitation of the browser or something?
    • User profile image
      Yes, its possible just not implemented.
      Cut and pasted code:
      .control.content.fullScreen = true;
      "Page").cursor = "none";

      this.control.content.fullScreen = false;
      "Page").cursor = "default";
    • User profile image

      Honestly, I had no idea Full Screen was even available on this player.

      I'll get that in there on our next update.

    • User profile image
      Mike seems very pleased to work at Microsoft Big Smile But who doesn't? Smiley
      Nice demo Mike!

    Comments closed

    Comments have been closed since this content was published more than 30 days ago, but if you'd like to send us feedback you can Contact Us.