HTML video: Difference between revisions
Yes in the deepest lawyering theory nobody can support HTML5 video until the standard is ratified... But in practice we can still say IE does not support it |
|||
Line 2: | Line 2: | ||
The '''HTML5 video''' [[HTML element|tag]] is a [[markup language]] tag introduced in [[HTML5]] draft specification, adding support for embedding [[video]] in an HTML page. |
The '''HTML5 video''' [[HTML element|tag]] is a [[markup language]] tag introduced in [[HTML5]] draft specification, adding support for embedding [[video]] in an HTML page. |
||
As of February 2010, the [[Adobe Flash Player]] was widely used to embed video on web sites such as [[YouTube]], since the majority of web browsers had Adobe's Flash Player installed (with notable exceptions such as the browser on the Apple [[iPhone]] and [[iPad]]). HTML5 video is intended by its creators to become the new normal way to show video online, but has been hampered by lack of agreement as to which [[video format]]s should be supported in the video tag |
As of February 2010, the [[Adobe Flash Player]] was widely used to embed video on web sites such as [[YouTube]], since the majority of web browsers had Adobe's Flash Player installed (with notable exceptions such as the browser on the Apple [[iPhone]] and [[iPad]]). HTML5 video is intended by its creators to become the new normal way to show video online, but has been hampered by lack of agreement as to which [[video format]]s should be supported in the video tag. |
||
==Example== |
==Example== |
Revision as of 21:26, 17 March 2010
HTML |
---|
Comparisons |
The HTML5 video tag is a markup language tag introduced in HTML5 draft specification, adding support for embedding video in an HTML page.
As of February 2010, the Adobe Flash Player was widely used to embed video on web sites such as YouTube, since the majority of web browsers had Adobe's Flash Player installed (with notable exceptions such as the browser on the Apple iPhone and iPad). HTML5 video is intended by its creators to become the new normal way to show video online, but has been hampered by lack of agreement as to which video formats should be supported in the video tag.
Example
The following HTML5 code fragment will embed the Theora video in a web page.
<video src="movie.ogv" controls="controls"> your browser does not support the video tag </video>
Supported video formats
The current HTML5 draft specification does not specify which video formats browsers should support in the video tag. User agents are free to support any video formats they feel are appropriate.
Default video format debate
- Main article: Use of Ogg formats in HTML5
It is desirable to specify at least one video format which all user agents (browsers) should support. The ideal format should:
- Have good compression, good image quality, and low decode processor use.
- Not be subject to any patents.
- In addition to software decoders, a hardware video decoder should exist for the format, as many embedded processors do not have the performance to decode video.
H.264/MPEG-4 AVC is widely used, and has good speed, compression, hardware decoders, and video quality, but is covered by patents. There is however a well-established way to license the H.264 patents.
The free and open Ogg Theora is not covered by any known patents, but for example WHATWG has cited concerns over the Ogg formats being vulnerable to unknown patents[1]. Apple Computer have also opposed the inclusion of Ogg formats in the HTML standard on the grounds that H.264 performs better and is already more widely supported, citing patents and the lack of precedents of "Placing requirements on format support", even at the "SHOULD" level, in HTML specifications.[2]
Initially Ogg Theora was the recommended standard video format in HTML5, because it was not affected by any known patents. But on December 10, 2007, the HTML5 specification was updated[3], replacing the reference to concrete formats:
User agents should support Ogg Theora video and Ogg Vorbis audio, as well as the Ogg container format.
with a placeholder:[4]
It would be helpful for interoperability if all browsers could support the same codecs. However, there are no known codecs that satisfy all the current players: we need a codec that is known to not require per-unit or per-distributor licensing, that is compatible with the open source development model, that is of sufficient quality as to be usable, and that is not an additional submarine patent risk for large companies. This is an ongoing issue and this section will be updated once more information is available.[5]
The removal of the Ogg formats from the specification has been criticized by some Web developers.[6][7][8] A follow-up discussion also occurred on the W3C questions and answers blog.[9]
Browser support
Video format | |||
---|---|---|---|
Browser | Ogg Theora | H.264/MPEG-4 AVC | Others |
Internet Explorer | Depends[note 1] | 9[12][note 1] | ? |
Mozilla Firefox | 3.5[13] | Depends[note 2] | ? |
Google Chrome | 3.0[15] | 3.0[15] | ? |
Safari | Depends[note 3] | 3.1[16][17] | Depends[note 4] |
Opera | 10.50[19] | Depends[note 5] | Depends[note 5] |
Konqueror | 4.4[21] | ? | Depends[note 6] |
Epiphany | 2.28[23] | ? | Depends[note 7] |
Origyn Web Browser | OWB 1.7 for MorphOS | OWB 1.7 for MorphOS | Depends[note 8] |
Usage
As of February 2010[update], HTML5 video is not currently as widespread as Flash videos, though recent rollouts of experimental HTML5-based video players from DailyMotion[26] (using Ogg Theora and Vorbis format), YouTube[27] and Vimeo[28] (using the H.264 format) suggest that interest in adopting HTML5 video is increasing.
See also
Notes
- ^ a b If Google Chrome Frame is installed.[10][11]
- ^ If IE Tab and Google Chrome Frame are installed.[14]
- ^ If XiphQT is installed.
- ^ Any format supported by QuickTime on OS X.[18]
- ^ a b On Linux or FreeBSD, supports all formats supported by GStreamer.[20]
- ^ Any format supported by Phonon on Qt 4.5.[22]
- ^ Any format supported by GStreamer on Webkit/GTK+ builds of Epiphany.[23]
- ^ Any format supported by FFmpeg on 1.7 version for MorphOS.[24][25]
References
- ^ Hickson, Ian (11 December). "Re: [whatwg] Removal of Ogg is *preposterous*". whatwg mailing list (Mailing list). Retrieved 2008-02-25.
{{cite mailing list}}
: Check date values in:|date=
(help); Unknown parameter|mailinglist=
ignored (|mailing-list=
suggested) (help) - ^ Stachowiak, Maciej (21 March 2007). "[whatwg] Codecs (was Re: Apple Proposal for Timed Media Elements)". whatwg mailing list (Mailing list). Retrieved 2008-02-25.
{{cite mailing list}}
: Unknown parameter|mailinglist=
ignored (|mailing-list=
suggested) (help) - ^ Hickson, Ian (10 December 2007). "[whatwg] Video codec requirements changed". whatwg mailing list (Mailing list). Retrieved 2008-02-25.
{{cite mailing list}}
: Unknown parameter|mailinglist=
ignored (|mailing-list=
suggested) (help) - ^ "(X)HTML5 Tracking". HTML5.org. Retrieved 2009-06-23.
- ^ "[whatwg] Removal of Ogg is *preposterous*". WHATWG (Mailing list). Lists.whatwg.org. 11 December. Retrieved 2009-08-25.
{{cite mailing list}}
: Check date values in:|date=
(help); Unknown parameter|mailinglist=
ignored (|mailing-list=
suggested) (help) - ^ "The Attack Against Ogg Theora or: How I Learned to Stop Worrying and Love the Proprietary Web". Metavid. 11 December 2007. Archived from the original on 23 June 2009. Retrieved 2009-06-30.
- ^ "rudd-o.com". rudd-o.com. 2007-12-11. Retrieved 2009-06-30.
- ^ "Abbadingo » Blog » Removal of Ogg Vorbis and Theora from HTML 5: an outrageous disaster". Delcorp.org. 2007-12-12. Retrieved 2009-06-30.
- ^ Connolly, Dan (December 18, 2007). "When will HTML 5 support <video>? Sooner if you help". W3C. Retrieved 2009-06-23.
- ^ Kevin Carle and Chris Zacharias (2010-01-20), Introducing YouTube HTML5 Supported Videos, Official YouTube Blog, retrieved 2010-03-12
- ^ Dougherty, Brad (2010-01-21), Try our new HTML5 player!, Vimeo Staff Blog, retrieved 2010-03-12
- ^ , IE twitter channel, 2010-03-16 http://twitter.com/IE/status/10577927335, retrieved 2010-03-17
{{citation}}
: Missing or empty|title=
(help) - ^ Mozilla Firefox 3.5 Release Notes, Mozilla, 2009-06-30, retrieved 2010-02-15
- ^ Can I Play HTML5 YouTube Videos in Firefox Right Now?, Lifehacker, 2010-03-09, retrieved 2010-03-11
- ^ a b Stable Channel Update, Google, 2009-09-15, retrieved 2010-02-15
- ^ About the Safari 3.1 Update, 2008-03-17, retrieved 2010-02-15
- ^ Dalrymple, Jim (2009-03-10), Apple shows off Safari’s HTML 5 support, Macworld, retrieved 2010-03-13
- ^ HTML5 Media Support, WebKit Open Source Project: Surfin' Safari, 2007-11-12, retrieved 2010-03-11
- ^ Jägenstedt, Philip (2009-12-31), (re-)Introducing <video> - Official blog for Core developers at Opera, Opera, retrieved 2010-02-06
- ^ Everything you need to know about HTML5 video and audio, Opera, March 10, 2010, retrieved 2010-03-11
- ^ Davison, Peter (2010-03-03), KHTML Browsers including Konqueror, Legend Scrolls, retrieved 2010-03-12
- ^ Vestbø, Tor Arne (2008-05-13), Top Secret, Hush Hush!, Nokia Corporation, retrieved 2010-03-14
- ^ a b Toker, Alp (2007-12-08), HTML5 media support with GStreamer, retrieved 2010-03-12
- ^ Origyn Web Browser for MorphOS, Fabian Coeurjoly, retrieved 2010-01-04
- ^ Holwerda, Thom (2010-03-08), Origyn Web Browser 1.7 Supports HTML5 Media, More, OSNews, retrieved 2010-03-08
- ^ "Watch Video…without Flash". Dailymotion. 2009-05-27. Retrieved 2010-03-07.
- ^ Carle, Kevin; Zacharias, Chris (2010-01-20). "Introducing YouTube HTML5 Supported Videos". Youtube. Retrieved 2010-03-07.
- ^ Dougherty, Brad (2010-01-21). "Try our new HTML5 player!". Vimeo. Retrieved 2010-03-07.