SharePoint 2010 silverlight media player webpart

SharePoint 2010 silverlight media player webpart

  • Comments 1

I was trying to get a silverlight media player webpart working  and struggled to find the correct properties to get the video started. So I thought I would share the same with others who are facing same issue.

a) Add a silverlight webpart on your page.

b) Point the silverlight webpart to load mediaplayer.xap file from 14 hive under \layouts\ClientBin.

c) Set the custom initialization string property in the webpart to the the following in case you want the video to start automatically after loading. I placed the .wmv file in the same folder called ClientBIn. Hope it helps.

autoPlay=true,mediaSource=wildlife.wmv,mediaTitle=SharePoint

Leave a Comment
  • Please add 7 and 2 and type the answer here:
  • Post
  • thanks. It helped me. What are the other properties available for preview image,pop up etc

Page 1 of 1 (1 items)