Jaa


SharePoint 2010 silverlight media player webpart

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

Comments

  • Anonymous
    February 22, 2011
    thanks. It helped me. What are the other properties available for preview image,pop up etc