0
我有一個接受自定義參數的xap文件。我已經在HTML頁面中測試過它。Sharepoint 2010中的Silverlight Webpart自定義初始化參數
"<div id="silverlightControlHost">
<object data="data:application/x-silverlight-2," type="application/x-silverlight-2" width="100%" height="100%">
<param name="source" value="SmoothStreamingPlayer.xap"/>
<param name="onError" value="onSilverlightError" />
<param name="background" value="white" />
<param name="minRuntimeVersion" value="4.0.50401.0" />
<param name="autoUpgrade" value="true" />
<param name="InitParams" value="selectedcaptionstream=textstream_eng,mediaurl=http://ie1adtvmvrb1s:12345/LiveSmoothVideo.isml/manifest" />
</object><iframe id="_sl_historyFrame" style="visibility:hidden;height:0px;width:0px;border:0px"></iframe></div>"
在這裏,我路過Intialization參數,這樣
selectedcaptionstream = textstream_eng,mediaurl = HTTP:// ie1adtvmvrb1s:12345/LiveSmoothVideo.isml /清單
我想要的地方Silverlight Webpart在Sharepoint 2010中的初始化參數是相同的。但它沒有加載Xap文件。我無法確定哪裏出了問題