Building a Silverlight player for Channel 9

Download this episode

Download Video

Description

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.

Embed

Format

Available formats for this video:

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

    The Discussion

    • User profile image
      ixdatul

      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
      Charles
      Great job, guys! Smiley
    • User profile image
      Duncanma
      If you'd like to see Silverlight on this site in the near future, check out this thread.
    • User profile image
      Cannot​Resolve​Symbol
      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):  http://channel9.msdn.com/showpost.aspx?postid=344297&silverlight=true

      Very cool (beats streaming using WMP hands-down).
    • User profile image
      TimHeuer
      i also did a screencast about some of this a few weeks back -- "cheating" at creating a media player Smiley

      http://timheuer.com/blog/archive/2007/08/31/cheating-creating-silverlight-media-player.aspx
    • User profile image
      Stebet
      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://mschnlnine.wmod.llnwd.net/and/rest/of/the/huge/url/to/the/wmvfile.wmv'.

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

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

    • User profile image
      Sampy
      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
      Sampy
      Please post all error reports in this thread:

      http://channel9.msdn.com/ShowPost.aspx?PostID=344306
    • User profile image
      CPrest
      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
      androidi
      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
      wowpravin
      Yeah - so now Windows 2000 users like me can't see all the channel 9 vidoes online!
    • User profile image
      AdrianHuang
      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
      sblom
      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
      prencher
      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
      AdamKinney
      Yes, its possible just not implemented.
       
      Cut and pasted code:
       
      this
      .control.content.fullScreen = true;
      sender.findName(
      "Page").cursor = "none";

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

      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
      Yankee
      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 continue the conversation, please create a new thread in our Forums, or Contact Us and let us know.