Comparison of HTML5 and Flash: Difference between revisions

Content deleted Content added
minor ce & deadlinks update
minor tweaks to tense etc
Line 1:
{{Update|date=February 2022|reason=Flash is no longer supported}}
 
Modern [[HTML5]] has feature-parity with the now-obsolete [[Adobe Flash]].<ref name="nyt_amazon">{{cite web
|title=Amazon to Introduce Web-Based Book Previews
|last=Bilton
Line 10:
|date=June 30, 2010
|access-date=December 26, 2010
}}</ref> Both include features for playing audio and [[video]] within [[web page]]s. Flash iswas 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.
Line 236:
==== Flash ====
 
Originally, web browsers could not render Flash media themselves, and required the [[proprietary software|proprietary]] freeware plugin [[Adobe Flash Player]]. Until 2008, there was no official specification by which to create an alternative player. Alternative players have beenwere developed before 2008, but they supportsupported Flash to a lesser degree than the official one.<ref>{{cite web|url=https://www.gnu.org/software/gnash/manual/gnashref.html#runs-on |title=Gnash Reference Manual |publisher=Gnu.org |date=2008-05-18 |access-date=2014-06-29}}</ref> Flash support is built in to [[Google Chrome]],<ref>{{cite web|url=https://chromereleases.googleblog.com/2010/03/dev-channel-update_30.html|title=Integrated Adobe Flash Player Plug-in|url-status=live|archive-url=https://web.archive.org/web/20130131084726/http://googlechromereleases.blogspot.cz/2010/03/dev-channel-update_30.html|archive-date=2013-01-31|work=Chrome team blog}}</ref><ref>{{cite web|url=https://blog.chromium.org/2012/08/the-road-to-safer-more-stable-and.html|title=Porting Flash to sandboxed PPAPI platform|archive-url=https://web.archive.org/web/20180725110647/https://blog.chromium.org/2012/08/the-road-to-safer-more-stable-and.html|archive-date=2018-07-25|work=Official Chromium Blog}}</ref> [[Internet Explorer 10]] (and later),<ref>{{cite web|title=Flash Player issues &#124; Windows 8|url=https://helpx.adobe.com/flash-player/kb/flash-player-issues-windows-8.html|publisher=Adobe Systems|access-date=2016-12-15|archive-url=https://web.archive.org/web/20161220210445/https://helpx.adobe.com/flash-player/kb/flash-player-issues-windows-8.html|archive-date=2016-12-20|url-status=live}}</ref><ref>{{cite web|title=Flash Player Issues &#124; Windows 10 &#124; Internet Explorer|url=https://helpx.adobe.com/flash-player/kb/flash-player-issues-windows-10-ie.html|publisher=Adobe Systems|access-date=2016-12-15|archive-url=https://web.archive.org/web/20161220210544/https://helpx.adobe.com/flash-player/kb/flash-player-issues-windows-10-ie.html|archive-date=2016-12-20|url-status=live}}</ref> and [[Microsoft Edge]].<ref>{{cite web|title=Flash Player issues &#124; Windows 10 &#124; Microsoft Edge|url=https://helpx.adobe.com/flash-player/kb/flash-player-issues-windows-10-edge.html|publisher=Adobe Systems|access-date=2016-12-15|archive-url=https://web.archive.org/web/20161220210517/https://helpx.adobe.com/flash-player/kb/flash-player-issues-windows-10-edge.html|archive-date=2016-12-20|url-status=live}}</ref>
 
The latestlast version of the Adobe Flash Player runsran on [[Microsoft Windows]], Apple [[macOS]], [[Research In Motion|RIM]], [[QNX]] and [[Google TV (operating system)|Google TV]].
 
Earlier versions runran on [[Android (operating system)|Android]] 2.2-4.0.x (Flash has beenwas released for 4.0, but Adobe announced that they will discontinuediscontinued support for Android 4.1 and higher.<ref name="Adobe Flash coming for ICS, not Android 5.0">{{cite journal
|last=Svetlik
|first=Joe
Line 253:
}}</ref>) (Flash 11.2), [[Linux]] (Flash 11.2, except for Pepper Flash which is maintained and distributed by Google, not Adobe), [[PlayStation 3]] (Flash 9), [[PlayStation Portable|PSP]] (Flash 6). [[Adobe Flash Lite]] runs on [[Wii]], [[Symbian]], [[Maemo]] Linux, [[Windows Mobile]], and [[Chumby]].
 
Apple never allowed Flash to run on [[iOS]], the operating system which runs on [[iPad]], [[iPhone]], [[iPod Touch]] and [[Apple TV]]. Apple never had plans to do so, even after Adobe announced Flash Player's end-of-life in July 2017.<ref name="thoughtsFlash"/> Apple has officially dropped support for Adobe Flash from the macOS version of Safari 14 released on September 17 2020 for macOS 10.14 Mojave & macOS 10.15 Catalina.
 
In February 2012, Adobe announced it would discontinue development of Flash Player on Linux for all browsers, except Google Chrome, by dropping support for [[NPAPI]] and using only Chrome's [[PPAPI]].<ref name="pcworld-linux-ppapi">{{cite web|last=Noyes |first=Katherine |url=https://www.pcworld.com/article/250455/for_flash_on_linux_chrome_will_be_users_only_choice.html |title=For Flash on Linux, Chrome Will Be Users' Only Choice &#124; PCWorld Business Center |publisher=Pcworld.com |date=April 6, 2012 |access-date=April 10, 2012}}</ref><ref name="slashdot-linux-ppapi">{{cite web |url=http://linux.slashdot.org/story/12/03/31/1417245/adobe-releases-last-linux-version-of-flash-player |title=Adobe Releases Last Linux Version of Flash Player – Slashdot |publisher=Linux.slashdot.org |access-date=April 10, 2012 }}</ref> In August 2016, Adobe announced that, beginning with version 24, it would resume offering of Flash Player for Linux for other browsers.<ref>{{cite web |url=https://blogs.adobe.com/flashplayer/2016/08/beta-news-flash-player-npapi-for-linux.html |work=Adobe AIR and Adobe Flash Player Team Blog |title=Beta News – Flash Player NPAPI for Linux |date=August 31, 2016 |access-date=November 17, 2016 }}</ref> Adobe will stopstopped traditional support for the Flash platform in 2020, and both Firefox and Google Chrome are phasingphased out support of Flash.<ref>https://www.bubbleshooter.net/blog/2019/12/05/the-end-of-flash/</ref>
 
==== HTML5 ====
Line 276:
| url=https://www.adobe.com/aboutadobe/pressroom/pressreleases/200804/050108AdobeOSP.html | publisher=Adobe Systems
| date=2008-05-01
| access-date=2008-05-01}}</ref> However, the "SWF File Format Specification Version 10" allegedly did not contain all the needed information, did not contain much information that hasnhadn't been previously known by the community,<ref name="stillpartlyclosed">{{cite web
|title = Free Flash community reacts to Adobe Open Screen Project
|access-date = 2008-11-29
Line 285:
}}</ref> and itself could not be copied, printed out in more than one copy, distributed, resold or translated, without written approval of Adobe Systems Incorporated.<ref name="swf10spec">{{cite web | title = SWF File Format Specification Version 10 | url = https://www.adobe.com/content/dam/Adobe/en/devnet/swf/pdf/swf_file_format_spec_v10.pdf | access-date = 2012-11-13 | archive-url = https://web.archive.org/web/20120131083755/http://www.adobe.com/content/dam/Adobe/en/devnet/swf/pdf/swf_file_format_spec_v10.pdf | archive-date = 2012-01-31 | url-status = dead }}</ref>
 
Flash iswas not an [[open standard]]. It iswas controlled by one firm, [[Adobe Systems]]. In contrast, HTML5 is controlled mostly by a committee, the Web Hypertext Application Technology Working Group ([[WHATWG]]).<ref name="thoughtsFlash">{{cite web|last=Jobs|first=Steve|authorlink=Steve Jobs|date=April 29, 2010|title=Thoughts on Flash|url=https://www.apple.com/hotnews/thoughts-on-flash/|url-status=live|archive-url=https://web.archive.org/web/20170615060422/https://www.apple.com/hotnews/thoughts-on-flash/|archive-date=June 15, 2017|accessdate=March 24, 2022|website=[[Apple Inc.]]}}</ref>
 
Various people have praised Flash over the years for rendering consistently across platforms. Constructing sites in Flash iswas a way to prevent ''code forking,'' whereby different versions of a site are created for different browsers.<ref>{{cite book |author=Ka Wai Cheung and Craig Bryant |title=Flash Application Design Solutions: The Flash Usability Handbook |page= 6 |publisher=Apress |year= 2006 |url= https://books.google.com/books?id=49OwlbrMc-oC&q=flash+cross+browser&pg=PA6|isbn=9781590595947 }}</ref><ref>{{cite book |first=Rob |last=Huddleston |title=Flash Catalyst CS5 Bible |publisher=Wiley |year= 2010 |url=https://books.google.com/books?id=crN1zsYwYAYC&q=flash+cross+browser&pg=PT39|isbn=9780470767948 }}</ref>
 
Speaking at 'Adobe Max' in 2011, Itai Asseo likewise said that, unlike HTML5, Flash offers a way to develop applications that work across platforms. HTML5, he said, is currently implemented differently (if at all) by different browsers. Although the Flash browser plugin is not supported on the Apple iPhone OS, Flash applications can be exported to Adobe AIR, which runs on that operating system as a native application. In the same talk, Mr. Asseo lamented the return to another browser war (as seen in the late 1990s). If Flash falls out of favor, he said, web developers will either have to develop many different versions of their web sites and native applications to take into account different HTML5 implementations, deny access to browsers that do not support their version of HTML, or dramatically reduce the functionality of their sites in order to deliver content to the least-advanced browser.<ref>{{cite web|author=Itai Asseo|title=The Death of Flash|url=http://tv.adobe.com/watch/max-2011-envision/the-death-of-flash/|access-date=November 19, 2011}}</ref>
Line 309:
{{see also|Adobe Flash#Performance}}
 
Flash hashad a better performance than HTML, asaccording to a comparison of Flash with HTML in 2010 which listed Flash as being faster than the other technologies, when used for non-video animations, although they are catching up.<ref>{{cite web|title="HTML5" versus Flash: Animation Benchmarking|url=http://themaninblue.com/writing/perspective/2010/03/22/}}</ref><ref>{{cite web|title=Flash vs HTML5 Performance (Updated January 2012)|url=http://pacoup.com/2011/02/03/flash-vs-html5-performance/|access-date=2012-11-20|archive-url=https://web.archive.org/web/20121017051052/http://pacoup.com/2011/02/03/flash-vs-html5-performance/|archive-date=2012-10-17|url-status=dead}}</ref>
 
Some users, more so those on [[macOS]] and [[Linux]], have complained about the relatively high [[CPU time|CPU usage]] of Flash for video playback.<ref>"Flash – CPU Usage – FPS – Frame Rate." [http://forums.adobe.com/thread/230334 Online posting. 10 December 2008. Reader discussions, Adobe Support Forums. 10 December 2010]</ref>{{Unreliable source?|date=December 2010}} This was partially because the Flash plugin did not use the GPU to render video. Adobe has responded to some of those criticisms in the 10.1 and 10.2 releases of the Flash plugin by offloading H.264 video decoding to dedicated hardware and by introducing a new video API called Stage Video.<ref>{{cite web
|last=Dachis
|first=Adam
Line 337:
 
=== DRM ===
Flash includesincluded [[digital rights management|DRM]] support. The main HTML 5 standard does not include any [[digital rights management]] functionality directly, instead the [[Encrypted Media Extensions]] (EME) specification describes [[API|application interface]] (API) for communication channel between web browsers and digital rights management (DRM) agent software.
 
Historically, before EME introduction implementations could support DRM, for example in [[codec]]s.<ref>{{cite web|url=http://www.w3.org/html/wiki/FAQs#Is_there_support_for_digital_rights_management_.28DRM.29_in_HTML5_video.3F |title=FAQs - HTML Wiki |publisher=W3.org |date=2011-02-22 |access-date=2012-06-18}}</ref> The proposal to add DRM features to HTML5 itself has been criticized by those who consider openness and vendor-neutrality (both server- and client-side) one of the most important properties of HTML, because DRM is incompatible with [[free software]],<ref>{{cite web
Line 381:
}}</ref>
=== Accessibility ===
Both Flash and HTML text can be read by screen readers. However, special care must be taken to ensure Flash movies are read correctly. For example, if a Flash movie is set to repeat indefinitely, this can cause a screen reader to repeat the content endlessly. Selecting the "Make object accessible" check box in Adobe Flash Professional willwould create a text-only version of the object for screen readers. It will alsoand hide any motion from the screen reader.<ref>{{cite web|url=https://www.adobe.com/accessibility/products/flash/animation.html|title=Adobe Flash accessibility design guidelines|publisher=Adobe Systems|access-date=May 21, 2011}}</ref> Since Flash content iswas usually placed on a single webpage, it appearsappeared as a single entry in search engine result pages, unless developers utilizeutilized [[deep linking]] to provide multiple links within Flash websites and web applications. [[graphical user interface|User interface widgets]] in Flash objects don'twould not always behave like their host native counterparts. Keyboard, mouse and other accessibility shortcuts may not workhave worked unless the webpage developer explicitly addsadded support for it.
 
=== Search engines ===
 
Both Flash content and HTML content cancould be indexed by Google, Yahoo!, and Bing, although bi-directional text (e.g. [[Arabic]], [[Hebrew]]) is not supported by Google.<ref>{{cite web|url=http://www.google.com/support/webmasters/bin/answer.py?answer=72746#1|title=Flash and other rich media files|access-date=May 21, 2011}}</ref><ref>{{cite web|url=https://arstechnica.com/old/content/2008/07/google-yahoo-spiders-can-now-crawl-through-flash-sites.ars|title=Google, Yahoo spiders can now crawl through Flash sites|work=Ars Technica|access-date=May 21, 2011}}</ref> Yahoo! added support for indexing Flash sites in 2008, although Google had been able to index them for several years before that. Bing added support for Flash sites in 2010.
 
=== iOS devices ===
{{main|Thoughts on Flash}}
 
Apple has been promotingpromoted [[HTML5]] as an alternative to Flash for video and other content on the iOS, citing performance and security reasons for not allowing [[Adobe Flash Player]] to be installed on iOS devices, including the [[iPhone]], [[iPod Touch]] and [[iPad]].<ref name="thoughtsFlash"/> Flash applications cancould be packaged as native iOS applications via the [[Adobe Integrated Runtime]] and the iOS Packager.<ref>{{cite web|url=http://labs.adobe.com/downloads/packagerforiphone.html |title=Adobe AIR &#124; Adobe AIR 3 &#124; Deploy applications |publisher=Labs.adobe.com |access-date=2012-06-18}}</ref>
 
== See also ==