Is there a javascript function I can use to detect whether a specific silverlight version is installed in the current browser?
I'm particularly interested in the Silverlight 2 Beta 2 version. I don't want to use the default method of having an image behind the silverlight control which is just shown if the Silverlight plugin doesn't load.
Edit: From link provided in accepted answer:
Include Silverlight.js (from Silverlight SDK)
Silverlight.isInstalled("2.0");
Include Silverlight.js (from Silverlight SDK)
Silverlight.isInstalled("4.0")
Resource:
http://msdn.microsoft.com/en-us/library/cc265155(vs.95).aspx
Please actually use the latest script available at http://code.msdn.microsoft.com/silverlightjs for the latest updates. This has several fixes in it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With