how to play H.264 vedio in silvelright media framework

Mar 22, 2011 at 8:30 AM



  I am new to silverlight media framework. I want to play the H.264 vedio in silvelright media framework.

can any one please tell me the steps to play?

 H.264 vedio is the excoded vedio.whether i can give the URL directly in MediaSource directly or i have to do the streaming?


Mar 23, 2011 at 11:14 AM


If i understand you correctly you wan't to playback a .mp4 file, correct?

If so, just define MediaSource and DeliveryMethod to progressive and put it on any webserver, that should work fine. Remember to have a clientaccesspolicy.xml or crossdomain.xml if the webserver with the video is different from the one hosting the .xap

- Loke

Mar 23, 2011 at 12:46 PM
Edited Mar 23, 2011 at 12:47 PM

Hi Loke,

        Thank you for your Reply.

         Yes,you are correct. I saw many search result from Google.It is saying,we have to stream the video file to display.

        if i define the media source directly like you said.It was worked fine.can you please  tell me how it was  worked fine without streaming?