Embed Silverlight Via Javascript

If you experiences that firefox 3.5 does not load your silverlight,While when you check online the silverlight add on/plugin is already there  .

Then it's Time to embed using javascript. this works Like SWFObject.

Upgrade your Silverlight.js to the latest one, currently version 3.

than use the createObject method on document ready

More Detail 

http://msdn.microsoft.com/en-us/library/cc838259%28v=VS.95%29.aspx

Property Param Detail

Other than this there are Silverlight.supportedAgent.js which have a method to call wheter this browser is supported or not

Share this post: | | | |
Published Monday, April 12, 2010 11:04 AM by cipto

Comments

# Twitter Trackbacks for Embed Silverlight Via Javascript - Across Boundaries - ( Cipto ) [netindonesia.net] on Topsy.com

Pingback from  Twitter Trackbacks for                 Embed Silverlight Via Javascript - Across Boundaries - ( Cipto )         [netindonesia.net]        on Topsy.com