Content deleted Content added
Anton.bersh (talk | contribs) Update lead |
TheMainLogan (talk | contribs) No edit summary Tags: Mobile edit Mobile web edit Advanced mobile edit |
||
(34 intermediate revisions by 23 users not shown) | |||
Line 1:
{{short description|None}}
Modern [[HTML5]] has feature-parity with [[Adobe Flash]].<ref name="nyt_amazon">{{cite web▼
{{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 8 ⟶ 12:
|date=June 30, 2010
|access-date=December 26, 2010
}}</ref> Both include features for playing audio and [[video]] within [[web page]]s. Flash
|people=James Williamson
|title=What HTML5 is (and what it isn't)
Line 20 ⟶ 24:
|medium=Online video
|url=http://www.lynda.com/home/DisplayCourse.aspx?lpk2=67161
}}</ref> "HTML5" in this article sometimes refers not only to the [[HTML5]] specification, but to HTML5 and related standards like [[
Animation via JavaScript is also possible with HTML 4.
==Comparison table==
Line 35 ⟶ 41:
| Work began in 2003 <br/> Working Draft as of 2011<ref>{{cite web
|title=HTML Current Status
|publisher=[[World Wide Web Consortium]]
|url=http://www.w3.org/standards/techs/html#w3c_all
}}</ref>
| {{n/a}}
| Work began in 1996
▲|access-date=December 26, 2010
|-
! Desktop operating systems
Line 57 ⟶ 56:
| {{n/a}}
| {{yes|
* [[Android (operating system)|Android]] 2.3 and newer<ref name="html5phones">[http://html5test.com/results/mobile.html Mobile HTML5 Support] {{Webarchive|url=https://
* Apple [[iOS]] 6 and newer<ref name="html5phones"/>
* [[
* [[Symbian]] Belle<ref name="html5phones"/>
* [[BlackBerry]] OS 7 and 10<ref name="html5phones"/>
* [[Windows Phone]] 7 and newer<ref name="html5phones"/>|}}
|}}▼
| {{terminated|<!-- Please do NOT specify unofficial versions! -->
* [[Android (operating system)|Android]] 2.1 to 4.1<ref>{{cite magazine |first=Daniel |last=Ionescu |title=Flash Player 11.1 Arrives for Android Ice Cream Sandwich |magazine=PC World |url=http://www.pcworld.com/article/246362/flash_player_11_1_arrives_for_android_ice_cream_sandwich.html |access-date= November 16, 2012}}</ref><ref>{{cite web |first=Zach |last=Walton |title=Adobe May Have Dropped Flash Support For Android, But You Don't Have To |date=26 July 2012 |url=http://www.webpronews.com/adobe-may-have-dropped-flash-support-for-android-but-you-dont-have-to-2012-07 |access-date= November 17, 2012}}</ref>
Line 75 ⟶ 73:
| {{n/a}}
| {{yes|
* [[PlayStation]] ([[PlayStation 4|PS4]], [[PlayStation 3|PS3]] and [[PlayStation Vita|PS Vita]])<ref name="html5consoles"/><ref>{{cite web |url=http://totalrevue.com/ps3-receives-4-10-firmware-update-browser-html5-support/ |title=totalrevue.com |publisher=totalrevue.com |url-status=dead |access-date=2014-06-29 |archive-url=https://web.archive.org/web/20160304074842/http://totalrevue.com/ps3-receives-4-10-firmware-update-browser-html5-support/ |archive-date=2016-03-04 }}</ref><ref>{{cite web |url=http://functionsource.com/post/netflix-feature |title=
* [[Nintendo Switch]] and [[Wii U]]<ref>{{cite web|url=http://www.neowin.net/news/nintendo-html5-support-for-wii-u-browser-but-no-flash |title=Nintendo: HTML5 support for Wii U browser, but no Flash |publisher=Neowin |access-date=2014-06-29}}</ref><ref>{{cite web|url=http://www.nintendo-nation.net/wii-u-browser-html5/ |title=Wii U browser first for HTML5 compliance, powered by Netfront? |publisher=Nintendo Nation.net |date=2012-11-02 |access-date=2014-06-29}}</ref><ref name="html5consoles">{{cite web|url=http://html5test.com/results/gaming.html |title=How well does your browser support HTML5? |publisher=HTML5test |access-date=2014-06-29}}</ref><ref>{{cite web|url=https://venturebeat.com/2012/11/01/wii-us-browser-is-better-at-html5-than-internet-explorer-10-on-pc/ |title=Wii U's browser is better equipped for HTML5 than Internet Explorer 10 on PC | GamesBeat | Games | by Jeff Grubb |publisher=Venturebeat.com |date=2012-11-01 |access-date=2014-06-29}}</ref>
* [[Nintendo 3DS]] family (partial)<ref name="html5consoles"/>
* [[Xbox One]] and [[Xbox 360]]<ref name="html5consoles"/><ref>{{cite web|url=http://www.gamasutra.com/blogs/SteveFulton/20121023/179970/Xbox_360_Internet_Explorer_Plays_HTML5_GamesBut_Not_Flash.php |archive-url=https://web.archive.org/web/20121025233632/http://www.gamasutra.com/blogs/SteveFulton/20121023/179970/Xbox_360_Internet_Explorer_Plays_HTML5_GamesBut_Not_Flash.php |url-status=dead |archive-date=October 25, 2012 |title=Steve Fulton's Blog - Xbox 360 Internet Explorer Plays HTML5 Games...But Not Flash |website=Gamasutra |date=2012-10-23 |access-date=2014-06-29}}</ref>
|}}
| {{terminated|
Line 124 ⟶ 122:
| {{n/a}}
| {{yes}}, implemented in most browsers, for system and custom fonts
| {{yes}}, in most cases
|-
! Text [[tab stop]]s
Line 141 ⟶ 139:
| {{depends|No, but text fields can be arranged into a grid}}
|-
! Linked text frames
| {{depends|{{As of|2016}}, two specifications compete: CSS Regions<ref>{{cite web|publisher=W3C|title=CSS Regions|url=http://www.w3.org/TR/css-regions-1/|access-date=August 24, 2015}}</ref> and CSS Overflow<ref>{{cite web|publisher=W3C|title=CSS Overflow|url=https://drafts.csswg.org/css-overflow/|access-date=August 24, 2015}}</ref>}}
| {{depends|With CSS Regions, supported by Safari, IE11 and Edge}}<ref>{{cite web|publisher=Can I Use...|title=CSS Regions|url=http://caniuse.com/css-regions|access-date=February 12, 2016}}</ref>
Line 173 ⟶ 171:
! Image formats
| {{depends}}
| {{yes|[[Portable Network Graphics|PNG]], [[JPEG]], [[Scalable Vector Graphics|SVG]], Animated [[Graphics Interchange Format|GIF]]}}<!-- scripts to render WebP via WebM support exist --><ref group="note">SVG may be used by several ways: it may be included into an html source code or be linked as an image source to be displayed (e.g. in <syntaxhighlight lang="html" inline><img ... /></syntaxhighlight> tag);
| {{yes|[[Portable Network Graphics|PNG]], [[JPEG]], [[JPEG-XR]], Single-frame [[Graphics Interchange Format|GIF]]}}<ref>{{cite web|author=Thibault Imbert|title=What's new in Flash Player 11|url=https://www.adobe.com/devnet/flashplayer/articles/whats-new-flash-player11.html|access-date=July 23, 2012}}</ref><ref>{{Cite book|publisher=Adobe Systems Incorporated|title=SWF File Format Specification, Version 10|year=2008|page=25|url=https://www.adobe.com/content/dam/Adobe/en/devnet/swf/pdf/swf_file_format_spec_v10.pdf|access-date=2014-08-20|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>
|-
! Video formats
| {{depends}}
| {{yes|90+% support of [[H.264]];<ref>{{cite web|url=http://caniuse.com/mpeg4 |title=Can I use the MPEG-4/H.264 video format? |publisher=Caniuse.com |access-date=2016-02-12}}</ref> varying support of [[WebM]] and [[Ogg Theora]] (see [[
| {{yes|H.264, [[Sorenson Spark]], and [[VP6|On2 VP6]]}}<ref>{{cite web|publisher=Adobe Systems|title=Supported Codecs|url=http://helpx.adobe.com/flash/kb/supported-codecs-flash-player.html|access-date=July 29, 2012}}</ref>
|-
Line 188 ⟶ 186:
! Audio formats
| {{depends}}
| {{yes|~94% support of [[MP3]],<ref>{{cite web|url=http://caniuse.com/mp3 |title=Can I use MP3 audio format? |publisher=Caniuse.com |access-date=2016-02-12}}</ref> [[Advanced Audio Coding|AAC]]<ref>{{cite web|url=http://caniuse.com/aac |title=Can I use AAC audio file format? |publisher=Caniuse.com |access-date=2016-02-12}}</ref> and [[WAV]] [[Pulse-code modulation|PCM]]; varying support of [[Ogg]] [[Vorbis]], and [[WebM Project|WebM]] [[Vorbis]] (see [[
| {{yes|[[MP3]], [[WAV]] and [[Advanced Audio Coding|AAC]] audio files or embedded sound}}
|-
Line 216 ⟶ 214:
| {{yes}}, via ByteArray class<ref>{{cite web|url=http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/utils/ByteArray.html |title=ByteArray - Adobe ActionScript 3 (AS3 ) API Reference |publisher=Help.adobe.com |date=2014-05-28 |access-date=2014-06-29}}</ref>
|-
! [[
| {{no}}
| {{yes|Via Web Sockets to stream binary or other data}}
Line 233 ⟶ 231:
===Notes===
{{notelist|refs=
==Comparison==
Line 242:
==== 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
The
Earlier versions
|last=Svetlik
|first=Joe
Line 257:
|archive-date=November 22, 2011
|url-status=dead
}}</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), and [[PlayStation Portable
Apple never allowed Flash to run on [[iOS]], the operating system which runs on [[iPad]], [[iPhone]], [[iPod Touch]] and [[Apple TV]]
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 | 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
==== HTML5 ====
Line 268:
<!-- need to replace this with list of browser HTML5 compatibility -->{{As of|2013|12}}, versions of browsers such as [[Google Chrome|Chrome]], [[Firefox]], [[Internet Explorer]], [[Opera (web browser)|Opera]], and [[Safari (web browser)|Safari]] implement HTML5 to a considerable degree. However, some portions of the HTML5 specification were still being implemented by browser makers.
As of January 2015, [[YouTube]] defaults to HTML5 players to better support more devices. HTML5 needs less processing power making it run faster on all browsers. The [[multimedia]] integration with HTML5 is quite easy and creates better support for live video [[Streaming media|streaming]] on mobile devices also.<ref>{{cite web|work=YouTube Engineering and Developers Blog|title=YouTube now defaults to HTML5 <video>|url=https://youtube-eng.googleblog.com/2015/01/youtube-now-defaults-to-html5_27.html|access-date=2018-11-03|archive-date=2018-09-10|archive-url=https://web.archive.org/web/20180910204225/https://youtube-eng.googleblog.com/2015/01/youtube-now-defaults-to-html5_27.html|url-status=dead}}</ref>
=== Vendor neutrality ===
Line 282:
| 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
|title = Free Flash community reacts to Adobe Open Screen Project
|access-date = 2008-11-29
Line 288:
|archive-date = 2008-09-28
|url = http://www.openmedianow.org/?q=node/21
|url-status =
}}</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
Various people have praised Flash over the years for rendering consistently across platforms. Constructing sites in Flash
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 324 ⟶ 315:
{{see also|Adobe Flash#Performance}}
Flash
Some users, more so those on [[macOS]] and [[Linux]],
|last=Dachis
|first=Adam
Line 352 ⟶ 343:
=== DRM ===
Flash
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 ⟶ 372:
|date = 2013-02-12
|access-date = 2013-03-21
|archive-url = https://
|archive-date = 2013-
|url-status = dead
}}</ref><ref>{{cite web
Line 395 ⟶ 386:
|url-status = dead
}}</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
=== Search engines ===
Both Flash content and HTML content
=== iOS devices ===
{{main|
Apple
== See also ==
{{Portal|Internet}}
* [[Comparison of vector graphics editors]]
* [[CSS
* [[Flash animation]]
* [[HTML5test]]
Line 436 ⟶ 419:
== External links ==
* [
* [
{{Adobe Flash}}
|