Differences Between HTML5 and SilverlightLast edited on 19/11/2013
“Netflix switches from Silverlight to HTML5 in Windows 8.1, reduces CPU usage dramatically.“
You might have come across this headline which was considered to be one of the most drastic changes in the world ASP.Net web development world. With the release of Windows 8.1 Preview, Netflix is now supporting streaming over HTML5 instead of Microsoft’s proprietary Silverlight plug-in. the only conflict is that only Internet Explorer 11, which is bundled with Windows 8.1, supports the necessary HTML5 extensions; if you are using chrome or Firefox, you will have to continue using the Silverlight plug-in. Initially, it has been seen that the switching to HTML5 leads to massive reduction in the CPU usage- about one third of Silverlight’s CPU usage.
Following the same pattern, a lot of similar players shifted down to HTML5 leaving behind their most trusted third-party pug-ins like Flash and Silverlight for dynamic web content. But still a lot of content providers have steadfastly refused to shift to HTML5 due to a lack of DRM. Doesn’t matter whether you like DRM or not, the sad truth is that streaming services such as Netflix, which are massively popular exist because the license holders feel somewhat secure that their shows won’t be ripped off.
One of the most conventional way in which HTML5 video is implemented is basically by putting an entire, unencrypted video file on the web, and then embedding it on a web page. This file can be directly downloaded if you so wish. This is fantastic for surfers and the proliferation of the open web, but not so great for copyright holders.
You might have noticed that browsers like Chrome do update very often, but the story of firefox is quite different; they don’t upgrade their browsers every week or even twice a year. Most of the enterprises will be on Firefox 3.6 for a longer while, or IE6 (in rare cases). And browser plugins like Silverlight and Flash can add new functionalities faster. They are called plugins for a reason- they plug-in and add something.
Tomorrow, Silverlight 5 will become Silverlight 6, Flash 10 will become Flash 11 and HTML5 will become HTML6. Every new spec would add new features, innovating, and pushing the others forward. The web will be pushed forward by all these and more.
There’s no question that advanced media apps, 3D, DVR video scenarios shine on Silverlight. There are some points which Silverlight CAN do some things that HTML5 can’t.
Now the question arises where to use Silverlight and where to use HTML5. Okay, check out the answer below:
Also consider your own productivity and happiness and the tools you want to use. Think about your users, key skills, development team and their overall happiness.