开发者

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

开发者 https://www.devze.com 2023-03-05 08:50 出处:网络
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?

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

精彩评论

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