diTii.com Digital News Hub

Sign up with your email address to be the first to know about latest news and more.

I agree to have my personal information transfered to MailChimp (more information)


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 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'; }

Share This Story, Choose Your Platform!

Do NOT follow this link or you will be banned from the site!