I have read a few articles, I can’t see why one would use html5 instead of flash so any few examples which could show the advantages ?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
HTML5 isn’t one big blob that, taken as a whole, obsoletes Flash. It’s lots of independent developments that browser vendors have been working on, some of which will allow native-HTML browsers to do things that have previously been limited to plugins such as Flash.
The famous one of these is audio/video. Flash was designed for animation and games, but in recent years since Flash added FLV playback, video has become by far the more prevalent use case for Flash (replacing embedded media players, which were always really horrible — good riddance to them). When browsers can do video by themselves, that will take a big bite out of Flash on the web.
Another important feature is
<canvas>. This expands the possibilities for games and other simple animations and pixel-level user interaction. Obviously it is far from offering all that Flash can do in the 2D realm, but again, it’ll take a bite out of Flash’s traditional use cases by offering similar features in an easier-to-deploy environment.There are also features which browser vendors are implementing that are not actually part of HTML5, but which are seen as part of the same future-browser platform. For example:
ECMAScript Fifth Edition. JavaScript, now 10% less rubbish!
WebSockets. Faster than XMLHttpRequest, more reliable than Flash sockets.
SVG. This has long existed, but without IE support and with relatively poor performance for animations in many browsers. IE9 brings SVG support and promises to make it fast, potentially kicking the other browsers into optimisation action. SVG could offer rich retained-mode graphics in a similar vein to Flash, but with much smoother integration into the web page (instead of being stuck in a box).
CSS3 font embedding and effects will reduce the need for Flash text-replacement hacks.
Potentially, in the future, WebGL or similar for 3D.
and so on. Does all this, taken together, obsolete Flash? No. Not even when most deployed browsers support it all (and that’ll be a long time yet). But it doesn’t leave very much that only Flash can do.
IMO: in the future Flash will remain popular for drawn animation (thanks to its authoring environment) and games. But in five years it will no longer be what it is today: an essential, integral part of the web.