开发者

change silverlight params value with jquery?

when i click a image from my html file i want to change silverlight params value (ex. m=sample.wmv) with jquery without refresh page. can i do that?

Code is below which开发者_如何学Go i used for silverlight.

<param name="initparams" value='m=sample.wmv, autostart=false, autohide=false, thumbnail=sample.jpg' />

thank you very much already now for your help.


No. The InitParams property on the Silverlight plug-in object must be set prior to the page creating an instance of the object. Write-once during instantiation and read-only at run time.

MSDN Documentation on InitParams

After instantiation, you can make use of Silverlight's HTML bridge instead.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜