Microsoft Silverlight hack for Google Chrome browser

A Sliverlight program manager has blogged about a hack to Microsoft code that lets Microsoft's player detect Chrome, clearing the way to playing audio and video. Since the detection scripts are Ms-PL licensed, you’re welcome to change them to fit your needs.  The official copy on the release site will map to the supported matrix for […]

A Sliverlight program manager has blogged about a hack to Microsoft code that lets Microsoft's player detect Chrome, clearing the way to playing audio and video. Since the detection scripts are Ms-PL licensed, you’re welcome to change them to fit your needs.  The official copy on the release site will map to the supported matrix for Silverlight for now.  If you want to add support for Google Chrome, here’s what you’d do; On line 93 in Silverlight.supportedUserAgent.js, insert this line:

else if (ua.indexOf('Chrome') >= 0) { slua.Browser = 'Chrome'; }