html5 Seminar Report
html5 Seminar Report
CERTIFICATE
This is to certify that the technical report entitled HYPERTEXT MARKUP LANGUAGE 5 that is being submitted by MS. SREEREKHA J in partial fulfilment for the award of the Degree of Bachelor of Technology in COMPUTER SCIENCE AND ENGINEERING of COCHIN UNIVERSITY OF SCIENCE AND
TECHNOLOGY is a bonafide work carried out by her under my guidance and supervision.
DIVISION OF COMPUTER SCIENCE SCHOOL OF ENGINEERING COCHIN UNIVERSITY OF SCIENCE AND TECHNOLOGY KOCHI-682022
AUGUST 2010
ACKNOWLEDGEMENT
Many people have contributed to the success of this. Although a single sentence hardly suffices, I would like to thank Almighty God for blessing us with His grace. I extend my sincere and heartfelt thanks to Dr. David Peter, Head of Division, Computer Science and Engineering, for providing us the right ambience for carrying out this work. I am profoundly indebted to my seminar guide, Mr. Sudheep Elayidom for innumerable acts of timely advice, encouragement and I sincerely express my gratitude to him. I express my immense pleasure and thankfulness to all the teachers and staff of the Department of Computer Science and Engineering, CUSAT for their cooperation and support. Last but not the least, I thank all others, and especially my classmates who in one way or another helped me in the successful completion of this work.
SREEREKHA J
ABSTRACT
HTML5 is currently under development as the next major revision of the HTML standard. Like its immediate predecessors, HTML 4.01 and XHTML 1.1, HTML5 is a standard for structuring and presenting content on the World Wide Web. The new standard incorporates features like video playback and drag-and-drop that have been previously dependent on thirdparty browser plug-ins such as Adobe Flash, Microsoft Silverlight, and Google Gears. The HTML5 specification was adopted as the starting point of the work of the new HTML working group of the World Wide Web Consortium (W3C) in 2007. According to the W3C timetable, it is estimated that HTML5 will reach W3C Recommendation by late 2010. The HTML5 syntax is no longer based on SGML despite the similarity of its markup. HTML5 also incorporates Web Forms 2.0, another WHATWG specification. In addition to specifying markup, HTML5 specifies scripting application programming interfaces (APIs). Existing document object model (DOM) interfaces are extended and de facto features documented. There are also new APIs, such as canvas element for immediate mode 2D drawing, timed media playback, offline storage database, document editing, drag-and-drop, cross-document messaging, browser history management, MIME type and protocol handler registration, Microdata, Geolocation etc.
TABLE OF CONTENTS
CHAPTER NO: 1 2 3 4
TITLE
PAGE NO:
6 7 8
Introduction HTML5 Structure 2.1 Structure New Tags in HTML5 HTML5 v/s HTML4 4.1 HTML5 differences with HTML4 4.2 New APIs in HTML5 New features in HTML5 5.1 Web Workers 5.2 Video & Audio 5.3 Canvas 5.4 Application Cache 5.5 Geolocation 5.6 Local Storage 5.7 Input Types 5.8 Drag & Drop 5.9 Placeholder text 5.10 Form Autofocus 5.11 Microdata 5.12 Parsing Limitations of HTML5 Implementation Conclusion References
1 3 9 20 22 23 25 29 30 31 32 32 32 33 33 34 34 35 38 40 41
Introduction of Xforms, a new technology which is meant to be the next generation of web forms renewed interest in renovating HTML, rather than developing a brand new language for web.
Advanced HTML
HTML5 was first started by Mozilla, Apple, and Opera under a group called the WHATWG (Web Hypertext Application Technology Working Group). In 2006 W3C showed an interest in HTML5 and in 2007 they created a working group to work in HTML5 project. HTML5 is still under development.
Page 2
Fig: HTML4 document structure Diagram illustrates a typical two-column layout marked up using divs with id and class attributes. It contains a header, footer, and horizontal navigation bar below the header. The main content contains an article and sidebar on the right. The use of div elements is largely because current versions of HTML 4 lack the necessary semantics for describing these parts more specifically. HTML 5 addresses this issue by introducing new elements for representing each of these different sections.
Page 3
Advanced HTML
Fig: HTML5 document structure The div elements can be replaced with the new elements: header, nav, section, article, aside, and footer. The markup for that document could look like the following: <body> <header>...</header> <nav>...</nav> <article> <section> ... </section> </article> <aside>...</aside> <footer>...</footer> </body> There are several advantages to using these elements. When used in conjunction with the heading elements (h1 to h6), all of these provide a way to mark up nested sections with heading levels, beyond the six levels possible with previous versions of HTML. The specification includes a detailed algorithm for generating an outline that takes the structure of these elements into account and remains backwards compatible with previous versions. This
Department of Computer Science Page 4
can be used by both authoring tools and browsers to generate tables of contents to assist users with navigating the document. For example, the following markup structure marked up with nested section and h1 elements: <section> <h1>Level 1</h1> <section> <h1>Level 2</h1> <section> <h1>Level 3</h1> </section> </section> </section> For better compatibility with current browsers, it is also possible to make use of the other heading elements (h2 to h6) appropriately in place of the h1 elements. By identifying the purpose of sections in the page using specific sectioning elements, assistive technology can help the user to more easily navigate the page. For example, they can easily skip over the navigation section or quickly jump from one article to the next without the need for authors to provide skip links. Authors also benefit because replacing many of the divs in the document with one of several distinct elements can help make the source code clearer and easier to author. The following are the new structural elements introduced in HTML5: The header element represents the header of a section. Headers may contain more than just the sections headingfor example it would be reasonable for the header to include sub headings, version history information or bylines. The header element contains introductory information to a section or page. This can involve anything from our normal documents headers (branding information) to an entire table of contents. <header> <h1>A Preview of HTML 5</h1>
Department of Computer Science Page 5
Advanced HTML
<p class="byline">By Lachlan Hunt</p> </header> <header> <h1>Example Blog</h1> <h2>Insert tag line here.</h2> </header>
Advanced HTML
The footer element represents the footer for the section it applies to. A footer typically contains information about its section such as who wrote it, links to related documents, copyright data, and the like. The footer element is for marking up the footer of, not only the current page, but each section contained in the page. So, its very likely that youll be using the <footer> element multiple times within one page. <footer> 2007 Example Inc.</footer> The nav element represents a section of navigation links. It is suitable for either site navigation or a table of contents. The nav element is reserved for a section of a document that contains links to other pages or links to sections of the same page. Not all link groups need to be contained within the <nav> element, just primary navigation. <nav> <ul> <li><a href="/">Home</a></li> <li><a href="/products">Products</a></li> <li><a href="/services">Services</a></li> <li><a href="/about">About</a></li> </ul> </nav> The aside element is for content that is tangentially related to the content around it. Aside, represents content related to the main area of the document. This is usually expressed in sidebars that contain elements like related posts, tag clouds, etc. They can also be used for pull quotes. <aside>
Page 6
<h1>Archives</h1> <ul>
Advanced HTML
<li><a href="/2007/09/">September 2007</a></li> <li><a href="/2007/08/">August 2007</a></li> <li><a href="/2007/07/">July 2007</a></li> </ul> </aside> The section element represents a generic section of a document or application, such as a chapter. It acts much the same way a <div> does by separating off a portion of the document. For example, <section> <h1>Chapter 1: The Period</h1> <p>It was the best of times, it was the worst of times, it was the age of wisdom, it was the age of foolishness, it was the epoch of belief, it was the epoch of incredulity, it was the season of Light, it was the season of Darkness, ...</p> </section> The article element represents an independent section of a document, page or site, which can stand alone. It is suitable for content like news or blog articles, forum posts or individual comments or any independent item of content. <article id="comment-2"> <header> <h4><a href="#comment-2" rel="bookmark">Comment #2</a> by <a href="http://example.com/">Jack O'Niell</a></h4> <p><time datetime="2007-08-29T13:58Z">August 29th, 2007 at 13:58</time> </header> <p>That's another great article!</p> </article>
Page 7
The previous/current version of HTML is HTML 4.01. Here's a list of HTML 4.01 tags.
Tag
Description
New HTML5?
in
<!--...-->
Specifies a comment
<a>
Specifies a hyperlink
<abbr>
Specifies an abbreviation
<address>
<area>
<article>
Specifies an article
NEW
<aside>
NEW
Page 8
Advanced HTML
Tag Description New HTML5? in
<audio>
NEW
<b>
<base>
<bb>
NEW
<bdo>
<blockquote>
<body>
<br>
<button>
<canvas>
Define graphics
NEW
<caption>
Page 9
Advanced HTML
Tag Description New HTML5? in
<cite>
Specifies a citation
<code>
<col>
<colgroup>
<command>
Specifies a command
NEW
<datagrid>
NEW
<datalist>
NEW
<dd>
<del>
<details>
NEW
<dialog>
NEW
Page 10
Advanced HTML
Tag Description New HTML5? in
<dfn>
<div>
<dl>
<dt>
<em>
<embed>
NEW
NEW
<fieldset>
Specifies a fieldset
<figure>
NEW
<footer>
NEW
<form>
Specifies a form
Page 11
Advanced HTML
Tag Description New HTML5? in
<h1>
<h2>
<h3>
<h4>
<h5>
<h6>
<head>
<header>
NEW
<hr>
<html>
<i>
Page 12
Advanced HTML
Tag Description New HTML5? in
<iframe>
<img>
Specifies an image
<input>
<ins>
<kbd>
<keygen>
NEW
<label>
<legend>
<li>
<link>
<mark>
NEW
Page 13
Advanced HTML
Tag Description New HTML5? in
<map>
<menu>
<meta>
<meter>
NEW
<nav>
NEW
<noscript>
<object>
<ol>
<optgroup>
<option>
<output>
NEW
Page 14
Advanced HTML
Tag Description New HTML5? in
<p>
Specifies a paragraph
<param>
<pre>
<progress>
NEW
<q>
<ruby>
<rp>
Used for the benefit of browsers that don't support NEW ruby annotations
<rt>
<samp>
Page 15
Advanced HTML
Tag Description New HTML5? in
<script>
Specifies a script
<section>
Specifies a section
NEW
<select>
<small>
<source>
NEW
<span>
<strong>
<style>
<sub>
<sup>
<table>
Specifies a table
Page 16
Advanced HTML
Tag Description New HTML5? in
<tbody>
<td>
<textarea>
<tfoot>
<th>
<thead>
<time>
Specifies a date/time
NEW
<title>
<var>
Specifies a variable
<video>
Specifies a video
NEW
Page 17
video,audio,embed,mark,progress,meter,time,ruby,rt,rp,canvas,command,details, datalist etc. Video and audio-for multimedia content embed-for plug in content mark-represents marked text progress-when completing a task it gives the progress like progress of file
Department of Computer Science Page 18
downloading
Advanced HTML
time-represents date/time meter-represents a measurement canvas- for rendering the dynamic bit map images datalist:-Together with the a new list attribute for input can be used to make combo boxes New attributes are identified to various elements. There are several new global attributes. They are, Contentedittable Contextmenu Draggable Hidden Spell check etc Some elements are missing for HTML5. They are, big, center, font, u, s, strike etc. These effects can be better handled by CSS. frames, frameset, noframes etc. Their usage affects usability and accessibility for the end user in a negative way. acronym, applet, isindex, dir. Their usage creates confusion and so they are avoided Some attributes are not allowed in HTML5. Most of the styling attributes are removed from the HTML5. User can use CSS for that purpose. Examples of removed attributes are given below. align attribute on caption, iframe, img, input, object, legend, table, hr, div, h1, h2, h3, h4, h5, h6, p, col, colgroup, tbody, td, tfoot, th, thead and tr background attribute on body. Bgcolor attribute on table, tr, td, th and body. Border attribute on table and object. Cellpadding and cellspacing attributes on table.
the user can embed different audio/video formats in to the web page API that allow offline web applications:- HTML5 allows several features in which
Page 19
the web applications can work locally, that is without an internet connection. So that the web applications can store their data locally. Drag and drop API :- HTML5 allows drag and drop feature with the help of the draggtable attribute API that exposes the history and allows pages to add to it to prevent breaking the back button An API that allows a Web application to register itself for certain protocols or media types Editing API in combination with a new global contenteditable attribute :- Can edit the contents at client side browser with the help of contenteditable attribute HTML Microdata: In HTML microdata the user can embed machine readable data in to HTML documents. It is build in such a way that it is easy to write and it has unambiguous parsing model. HTML micro data is compatible with RDF and JSON. So that it is compatible to Web3.0 HTML canvas 2D context- This API is used for rendering the 2D graphics, bitmaps and shapes. This technology introduced by Apple. Example code <canvas id=rect width=100 height=50> your browser does not support this feature </canvas> HTML5 web messaging:Through this mechanism user can communicate between browsing contexts in HTML documents
Advanced HTML
Page 20
Page 21
// evt.data is the values from the Web Worker alert(evt.data); }; // If the Web Worker throws an error worker.onerror = function (evt) { alert(evt.data); }; b) In the Web Worker JavaScript file // Triggered by postMessage in the page onmessage = function (evt) {
Advanced HTML
// evt.data will be 0 here from the above postMessage for (var i=evt.data, il=1000001; i<il; i++) { // Continually sends data back postMessage(i); }; }; In addition to the postMessage method and the onmessage event used above, there is a handy terminate method on the Worker object, to instantly stop all of its work.
Page 22
Advanced HTML
Page 23
The simplest way to embed a video is to use a video element and allow the browser to provide a default user interface. The controls attribute is a boolean attribute that indicates whether or not the author wants this UI on or off by default. <video src="video.ogv" controls poster="poster.jpg" width="320" height="240"> <a href="video.ogv">Download movie</a> </video> The optional poster attribute can be used to specify an image which will be displayed in place of the video before the video has begun playing. Although there are some video formats that support their own poster frame feature, such as MPEG-4, this provides an alternative solution that can work independently of the video format. It is just as simple to embed audio into a page using the audio element. Most of the attributes are common between the video and audio elements, although for obvious reasons, the audio element lacks the width, height, and poster attributes. <audio src="music.oga" controls> <a href="music.oga">Download song</a> </audio> HTML 5 provides the source element for specifying alternative video and audio files which the browser may choose from based on its media type or codec support. The media attribute can be used to specify a media query for selection based on the device limitations and the type attribute for specifying the media type and codecs. Note that when using the source elements, the src attribute needs to be omitted from their parent video or audio element or the alternatives given by the source elements will be ignored. <video poster="poster.jpg"> <source src="video.3gp" type="video/3gpp" media="handheld"> <source src="video.ogv" type="video/ogg; codecs=theora, vorbis"> <source src="video.mp4" type="video/mp4">
Department of Computer Science Page 24
Advanced HTML
</video> <audio>
Advanced HTML
<source src="music.oga" type="audio/ogg"> <source src="music.mp3" type="audio/mpeg"> </audio> For authors who want a little more control over the user interface so that they can make it fit the overall design of the web page, the extensive API provides several methods and events to let scripts control the playback of the media. The simplest methods to use are the play(), pause(), and setting currentTime to rewind to the beginning. The following example illustrates the use of these. <video src="video.ogg" id="video"></video> <script> var video = document.getElementById("video"); </script> <p><button type="button" onclick="video.play();">Play</button> <button type="button" onclick="video.pause();">Pause</button> <button type="button" onclick="video.currentTime = 0;"> << Rewind</button>
HTML5 has added new video and audio tags that can play video/audio in a browser without a plug-in but it doesnt officially support any video or audio format. Video formats are like written languages. An English newspaper may convey the same information as a Spanish newspaper, but if you can only read English, only one of them will be useful to you! To play a video, your browser needs to understand the language in which the video was written. The language of a video is called a codec this is the algorithm used to encode the video into a stream of bits. There are dozens of codecs in use all over the world. Which one should you use? The unfortunate reality of HTML5 video is that browsers cant agree on a single codec. However, they seem to have narrowed it down to two. One codec costs money (because of patent licensing), but it works in Safari and on the iPhone. (This one also works
Page 25
in Flash if you use a solution like Video for Everybody!) The other codec is free and works in open source browsers like Chromium and Mozilla Firefox. Content developers will have to spend more time in encoding the videos to Ogg Theora and to H.264 formats so that all major browsers are supported. But this is not sufficient as IE doesnt support the video tag and would not be able to play the video or audio file without a plug-in.
Advanced HTML
There are experimental implementations in opera which supports OGG video, though its not really in a public build version yet, there is a experimental version which was released last year sometime. And webkit also has support in their nightly builds, which supports mpeg 4 unfortunate they dont support the same codec but the user can experiment with them.
Page 26
5.3 CANVAS
Advanced HTML
Canvas element lets you render graphics and images on the fly. An excellent implementation of this element was done by the developers of Mozilla lab project Bespin, which is an extensible Web Code Editor using Canvas (among other things). HTML5 defines the <canvas> element as a resolution-dependent bitmap canvas that can be used for rendering graphs, game graphics, or other visual images on the fly. A canvas is a rectangle in your page where you can use JavaScript to draw anything you want. HTML5 defines a set of functions (the canvas API) for drawing shapes, defining paths, creating gradients, and applying transformations. Its a 2D drawing API that you can use javascript to draw dynamic image with. People have used it to implement things like graphs that are built using tables of data which are on the page. Even if your browser supports the canvas API, it might not support the canvas text API. The canvas API grew over time, and the text functions were added late in the game. Some browsers shipped with canvas support before the text API was complete. It is different SVG is entirely done with XML, you modify that with script via the DOM by changing elements and attributes and stuff or with CSS. Canvas is an immediate mode graphics API where it is more like a bitmap sort of thing where as SVG is vector graphics, and canvas is bit map. They can both do images, the same sort of images, if you like but we have both vector images and bitmap images, so they both can serve different purposes.
Page 27
Advanced HTML
This feature provides the ability to store web apps like email locally and access it without having to connect to the internet or install an external client like Outlook or Thunderbird. Google gears, which helps you access Gmail offline, is an implementation of HTML 5 specifications for Applications Cache (and much more). Reading static web pages offline is easy: connect to the Internet, load a web page, disconnect from the Internet, drive to a secluded cabin, and read the web page at your leisure. (To save time, you may wish to skip the step about the cabin.) But what about web applications like Gmail or Google Docs? Thanks to HTML5, anyone (not just Google!) can build a web application that works offline.
Offline web applications start out as online web applications. The first time you visit an offline-enabled web site, the web server tells your browser which files it needs in order to work offline. These files can be anything HTML, JavaScript, images, even videos. Once your browser downloads all the necessary files, you can revisit the web site even if youre not connected to the Internet. Your browser will notice that youre offline and use the files it has already downloaded. When you get back online, any changes youve made can be uploaded to the remote web server.
Page 28
5.5 GEOLOCATION
Advanced HTML
This API defines location information with high-level interface (GPS) associated with the device hosting the API. Sources of location information includes Global Positioning System (GPS) and network signals such as IP address, RFID, WiFi and Bluetooth MAC addresses, and GSM/CDMA cell IDs. Yes, a big brother feature, but it can only be used if the user gives the application permission to use the information. Geolocation is the art of figuring out where you are in the world and (optionally) sharing that information with people you trust. There is more than one way to figure out where you are your IP address, your wireless network connection, which cell tower your phone is talking to, or dedicated GPS hardware that receives latitude and longitude information from satellites in the sky.
If your browser does not support the geolocation API natively, there is still hope. Gears is an open source browser plugin from Google that works on Windows, Mac, Linux, Windows Mobile, and Android. It provides features for older browsers that do not support all the fancy new stuff weve discussed in this chapter. One of the features that Gears provides is a geolocation API. Its not the same as the navigator, but it serves the same purpose.
Page 29
Advanced HTML
HTML5 storage provides a way for web sites to store information on your computer and retrieve it later. The concept is similar to cookies, but its designed for larger quantities of information. Cookies are limited in size, and your browser sends them back to the web server every time it requests a new page (which takes extra time and precious bandwidth). HTML5 storage stays on your computer, and web sites can access it with JavaScript after the page is loaded.
10. <input type="week"> for weeks 11. <input type="time"> for timestamps 12. <input type="datetime"> for precise, absolute date+time stamps 13. <input type="datetime-local"> for local dates and times
Advanced HTML
Besides new input types, HTML5 includes several small tweaks to existing forms. One improvement is the ability to set placeholder text in an input field. Placeholder text is displayed inside the input field as long as the field is empty and not focused. As soon you click on (or tab to) the input field, the placeholder text disappears.
Page 31
5.11 MICRODATA
Advanced HTML
Microdata is a standardized way to provide additional semantics in your web pages. For example, you can use microdata to declare that a photograph is available under a specific Creative Commons license. As youll see in [TODO link to chapter once written], you can use microdata to mark up an About Me page. Browsers, browser extensions, and search engines can convert your HTML5 microdata markup into a vCard, a standard format for sharing contact information. You can also define your own microdata vocabularies. The HTML5 microdata standard includes both HTML markup (primarily for search engines) and a set of DOM functions (primarily for browsers). Theres no harm in including microdata markup in your web pages. Its nothing more than a few well-placed attributes, and search engines that dont understand the microdata attributes will just ignore them. But if you need to access or manipulate microdata through the DOM, youll need to check whether the browser supports the microdata DOM API.
5.12 PARSING
HTML 5 defines 2 Serializations: 1. A custom "classic" syntax 2. An XML syntax (XHTML 5) The classic syntax has a fully specified parsing algorithm. The parsing algorithm is designed (and being refined) for compatibility with deployed content.
Page 32
New open standards created in the mobile era( HTML5), will win on mobile devices (and PCs too). Clearly, Apple is backing HTML 5, CSS 3 and JavaScript for developing future web applications.HTML5 still has some real constraints and it may not replace Flash for eLearning/ mLearning development in the near future because of the following reasons: 1. BROWSERS DO NOT PROVIDE FULL SUPPORT FOR HTML5
None of the web browsers for mobile or desktop have full HTML 5 implementations at present. Internet Explorer (IE 6, 7 and 8), the most widely used web browser, has no support for HTML5. The new version (IE 9) which is expected to be released sometime in 2011 will support HTML5. Internet Explorer (IE 6, 7 and 8), the most widely used web browser, has no support for HTML5. Even Apple iPad Safari browser doesnt have full HTML5 support. 2. CROSS PLATFORM / BROWSER COMPATIBILITY
Every browser has its own rendering mechanism so an application developed for iPad Safari is not guaranteed to work well in other browsers like IE, Firefox or Chrome. Developers will have to make modifications in the code to make it work in different browsers. This is not the case with plug-ins like Flash or Silverlight where the applications once developed can run on all the browsers without any modifications. 3. AUDIO/VIDEO SUPPORT
HTML5 has added new video and audio tags that can play video/audio in a browser without a plug-in but it doesnt officially support any video or audio format.Content developers will have to spend more time in encoding the videos to Ogg Theora and to H.264 formats so that all major browsers are supported. But this is not sufficient as IE doesnt support the video tag and would not be able to play the video or audio file without a plug-in. Flash supports FLV/FV4 formats and those are not browser dependent. Also, Flash or Silverlight
video/audio supports secure media streaming; there is no clear counterpart for this in HTML5.
Page 33
4. DEVELOPMENT TOOLS
Advanced HTML
There are no tools available (except Dreamweaver CS5) that can create animations for HTML5 having a good designer developer workflow required to create quality graphics and animations like Flash Professional. To create animations with HTML5, developers have to code animations using JavaScript and CSS. A task which tools like Flash professional can do in minutes may take hours, if not days, to do using HTML5, CSS3 and JavaScript. BROWSER SUPPORT FOR SOME FEATURES
Chrome
Firefox
Opera
Safari
ContentEditable Stylable Elements (new) getElementsByClassName Cross-Document Messaging Web Forms 2.0 Drag and Drop <audio>
Yes
Yes
Yes
Yes
Yes
Partial Yes No
No Yes 3.5
No Yes No
Yes No No Labs
<video>
3.0
3.5
No
release, partial
Yes
Yes No
Yes No
No No
Yes Partial
Yes No
Page 34
Firefox 4 (WebM, Beta) Google Chrome (h.264 supported now, WebM enabled version available via Early Release Channel)
Opera 10.6+ (WebM) Apple Safari (h.264, version 4+) Microsoft Internet Explorer 9 (h.264, Platform Preview 3) Microsoft Internet Explorer 6, 7, or 8 with Google Chrome Frame installed
FEATURES
Full screen support is partially implemented. Pressing the full screen button will expand the player to fill your browser. If your browser supports a full screen option, you can then use that to truly fill the screen.
The HTML5 player has a badge in the control bar. If you don't see the "HTML5" icon in the control bar, you've been directed to the Flash player .
The HTML5 player also has a badge to indicate the video is using the WebM format. If you don't see the "WebM" icon, the video is encoded using h.264
Page 35
If you want to find videos with WebM formats available, you can use the Advanced Search options to look for them (or just add &webm=1 to any search URL)
Advanced HTML
ADDITIONAL RESTRICTIONS
Videos with ads are not supported (they will play in the Flash player) On Firefox and Opera, only videos with WebM transcodes will play in HTML5 If you've opted in to other testtube experiments, you may not get the HTML5 player (Feather is supported, though)
Page 36
Page 37
Page 38