Click here to Skip to main content
15,890,527 members

Add Silverlight video to your articles

Source: The Code Project     Posted by Chris Maunder    Friday, February 22, 2008 6:00pm    
Add a little sparkly to your articles

One of the things we have dabbled with a little on The Code Project is allowing authors to submit content using more than just HTML. Microsoft are offering a companion service to Silverlight that allows you to host your Silverlight content on their servers. This is perfect for developers who don't have their own servers, and perfect for us since it's no load on our servers.

If you wish to provide Silverlight content in your articles then there are three things you will need to do:

  1. Read about Silverlight. We have a Silverlight section at www.codeproject.com/kb/Silverlight and there are plenty of resources on http://silverlight.net/
  2. Read Karl Shifflett's article "Creating, Encoding and Delivering Silverlight Streaming Screen Capture Videos"
  3. Use the new <Silverlight tag we've added to our online article editor to insert your video into your article. The format is simply:
    <silverlight width="200" height="350" src="{relative path to video on live.com}" />
    eg. If your Silverlight video is at http://silverlight.services.live.com/invoke/48184/MoleIntroduction/iframe.html then your tag would be
    <silverlight width="200" height="350" src="invoke/48184/MoleIntroduction/iframe.html" />

We hope this makes life a little easier for our authors and more entertaining for the readers.



Back to all news items

 
QuestionSilverlight info Pin
Hans Dietrich19-Jun-08 9:23
mentorHans Dietrich19-Jun-08 9:23 
GeneralRequest Pin
Mohm'ed Melhem26-Apr-08 2:28
professionalMohm'ed Melhem26-Apr-08 2:28 
GeneralGood Grief - Silver Light in CodeProject Articles [modified] Pin
urbane.tiger13-Apr-08 20:15
urbane.tiger13-Apr-08 20:15 
GeneralRe: Good Grief - Silver Light in CodeProject Articles Pin
Carolina13-Apr-08 23:16
Carolina13-Apr-08 23:16 
I am genuinely interested in how streaming video is worse for epileptics (is this a correct label, i'm not native english?) than the presentation of static content using a computer screen. Or are you saying that Silverlight (and Flash?) in particular is a problem? In that case, what form of streaming is a good choice with respect to epileptics?

Carolina Berglund
Consultant, systemdeveloper and architect.

AnswerRe: Good Grief - Silver Light in CodeProject Articles Pin
urbane.tiger14-Apr-08 0:05
urbane.tiger14-Apr-08 0:05 
AnswerRe: Good Grief - Silver Light in CodeProject Articles Pin
User 27100923-Apr-08 3:58
User 27100923-Apr-08 3:58 
GeneralRe: Good Grief - Silver Light in CodeProject Articles Pin
urbane.tiger28-Apr-08 0:47
urbane.tiger28-Apr-08 0:47 
GeneralSilverlight 2? Pin
Paul A. Howes10-Apr-08 2:11
Paul A. Howes10-Apr-08 2:11 
GeneralIntroduction to Silverlight Pin
Raj Lal31-Mar-08 18:53
professionalRaj Lal31-Mar-08 18:53 
GeneralA Picture can say 10,000 words so an video? Pin
JustChiragPatel11-Mar-08 18:23
JustChiragPatel11-Mar-08 18:23 
GeneralGood Stuff! Pin
Ali BaderEddin3-Mar-08 2:14
Ali BaderEddin3-Mar-08 2:14 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.