Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can HTML5 "replace" Flash? [closed]

A topic of debate that's seen a resurgence since the unveiling of the iPad is the issue of Flash versus HTML5. There are those that suggest that HTML5 will one day supplant/replace Adobe Flash.

I do not develop software that runs in a browser, so my (limited) understanding is:

  • HTML is a pure-text markup language that is delivered over HTTP to a client browser. The client browser interprets the markup and renders (with varying degrees of success) the page according to an standard specification.
  • Adobe Flash is a propriety framework for working with audio, video, sound and raster/vector graphics. It requires special authoring tools (a compiler perhaps?) and a custom player that's available as a plug-in to most common browsers.

Could someone please explain (to this C/C++ developer) how it is possible from a technical/coding point-of-view that a text-based markup language (HTML5) could be considered a replacement to a multimedia framework (Flash)?

Please no opinionated arguments - just technical facts.

like image 483
Mike Willekes Avatar asked Jan 31 '10 17:01

Mike Willekes


People also ask

How did HTML5 replace Flash?

Modern HTML5 has feature-parity with the now-obsolete Adobe Flash. Both include features for playing audio and video within web pages. Flash was specifically built to integrate vector graphics and light games in a web page, features that HTML5 also supports. On December 31, 2020, Adobe ended support of Flash Player.

How does HTML5 replace Adobe Flash and Microsoft Silverlight?

Another massive advantage of HTML5 is that it allows developers to easily port applications to mobile. Now that every browser ships with native support for the standard, it has also largely replaced legacy platforms like Flash and Silverlight, thereby improving security and offering a seamless browsing experience.

Is anything replacing Flash Player?

Lunaspace. Lunascape is another of the Flash player alternatives for Windows which can be used in the web browser. Using this you do not require an additional flash player to run the flash content on the web. It is an easy to use web browser and has been downloaded over 20 million times on Windows.

What will replace Flash Player in 2020?

Ads, games, and even entire websites were built using Adobe Flash, but times have moved on, and official support for Flash finally ended on December 31st, 2020, with interactive HTML5 content quickly replacing it.


1 Answers

What people loosely refer to HTML5 in the context of this discussion is the combination of HTML as a markup language, CSS which specifies how it is rendered, and the javascript code which manipulates the HTML and CSS dynamically.

Furthermore, HTML5 not only has the standard text elements, but also <canvas> on which 2d graphics can be drawn, and <video> elements which embeds the video (as the name suggests).

So, in a full-fledged implementation of HTML5, you can implement dynamic web sites without using Flash. An example is the HTML5 version of Youtube, recently introduced as beta for Safari/Chrome users, see here. Another is an NES emulator in javascript + HTML. (Well the latter does not really concern HTML5... it uses <canvas>.)

like image 91
Yuji Avatar answered Oct 05 '22 00:10

Yuji