开发者

How to get playback status from silverlight media player (player.xap) thru javascript?

I have a html page with embedded silverlight media player (player.xap). I want to get its playback status either thru events or by polling in javascript. Is that possible at al开发者_运维知识库l?

Cheers, -K


This link will help you on how to call JS method from Silverlight, this can be useful in the things you want to achive. Excerpt from the link:

  HtmlPage.RegisterScriptableObject("Page", this);            
  HtmlPage.Window.Invoke("TalkToJavaScript", "Hello from Silverlight");
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜