Feeds

Microsoft team hacks Silverlight for Chrome

Results may vary

Boost IT visibility and business value

The prospect of Silverlight applications running in Google's Chrome browser is in the air.

A Sliverlight program manager has blogged about a hack to Microsoft's code that would get their company's media player running inside Google's fledgling browser. The hack to Silverlight lets Microsoft's player detect Chrome, clearing the way to playing audio and video.

What happens next is not guaranteed.

One commenter responded saying Silverlight apps will only render in Chrome for the first few frames and wouldn't react to user inputs.

Another claimed Silverlight would work "just fine" in Chrome if you start in single-process mode, noting the issues are "very likely" the fault of Chrome rather than Silverlight. The problem could be caused by the fact Chrome loads plug-ins out of process.

Silverlight program manager Tim Heuer reminded people this is early code and Chrome is not officially supported by Silverlight. Those honors go to Firefox and Internet Explorer.

"We continue to evaluate the browser support matrix for Silverlight and before you ask - no decisions have been made just yet to change the current supported matrix," Heuer blogged.

The hack itself consists of three lines added to Silverlight.supportedUserAgent.js, which is used to check for browser compatibility and that means Chrome can be recognized by Silverlight. The hack to Microsoft's code is possible - even encouraged - because Silverlight.supportedUserAgent.js has been released under Microsoft's OSI-approved Permissive License (Ms-PL)

"Since the detection scripts are Ms-PL licensed, you're welcome to change them to fit your needs," Heuer wrote.

While the work is early - and Chrome is not officially supported - this does show what's possible. The Novell-backed Moonlight project started life because Microsoft dragged its feet over Silverlight on Linux, saying it would target platforms as resources allowed. Moonlight hit its first full release last week and was warmly welcomed by Microsoft.

The Silverlight hack for Chrome - in addition to Moonlight - demonstrate the only limitation to these projects are the willingness of corporations to commit time and resources to making their software run in rivals' runtimes as first-class citizens. ®

The Essential Guide to IT Transformation

More from The Register

next story
Secure microkernel that uses maths to be 'bug free' goes open source
Hacker-repelling, drone-protecting code will soon be yours to tweak as you see fit
NO MORE ALL CAPS and other pleasures of Visual Studio 14
Unpicking a packed preview that breaks down ASP.NET
KDE releases ice-cream coloured Plasma 5 just in time for summer
Melty but refreshing - popular rival to Mint's Cinnamon's still a work in progress
Leaked Windows Phone 8.1 Update specs tease details of Nokia's next mobes
New screen sizes, dual SIMs, voice over LTE, and more
Another day, another Firefox: Version 31 is upon us ALREADY
Web devs, Mozilla really wants you to like this one
Put down that Oracle database patch: It could cost $23,000 per CPU
On-by-default INMEMORY tech a boon for developers ... as long as they can afford it
Google shows off new Chrome OS look
Athena springs full-grown from Chromium project's head
prev story

Whitepapers

Implementing global e-invoicing with guaranteed legal certainty
Explaining the role local tax compliance plays in successful supply chain management and e-business and how leading global brands are addressing this.
The Essential Guide to IT Transformation
ServiceNow discusses three IT transformations that can help CIO's automate IT services to transform IT and the enterprise.
Consolidation: The Foundation for IT Business Transformation
In this whitepaper learn how effective consolidation of IT and business resources can enable multiple, meaningful business benefits.
How modern custom applications can spur business growth
Learn how to create, deploy and manage custom applications without consuming or expanding the need for scarce, expensive IT resources.
Build a business case: developing custom apps
Learn how to maximize the value of custom applications by accelerating and simplifying their development.