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");
精彩评论