- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Wed, 05 May 2010 08:24:01 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec In directory hutz:/tmp/cvs-serv17696 Modified Files: Overview.html Log Message: Captions - Stage 8: MIME registration for text/websrt and minor edits around that. (whatwg r5078) Index: Overview.html =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.4079 retrieving revision 1.4080 diff -u -d -r1.4079 -r1.4080 --- Overview.html 5 May 2010 05:48:54 -0000 1.4079 +++ Overview.html 5 May 2010 08:23:57 -0000 1.4080 @@ -24,7 +24,7 @@ @media screen { code { color: orangered; } code :link, code :visited { color: inherit; } } var sub { vertical-align: bottom; font-size: smaller; position: relative; top: 0.1em; } table { border-collapse: collapse; border-style: hidden hidden none hidden; } - table thead { border-bottom: solid; } + table thead, table tbody { border-bottom: solid; } table tbody th:first-child { border-left: solid; } table tbody th { text-align: left; } table td, table th { border-left: solid; border-right: solid; border-bottom: solid thin; vertical-align: top; padding: 0.2em; } @@ -1251,7 +1251,8 @@ <li><a href="#text-html"><span class="secno">12.1 </span><code>text/html</code></a></li> <li><a href="#text-html-sandboxed"><span class="secno">12.2 </span><code>text/html-sandboxed</code></a></li> <li><a href="#application-xhtml-xml"><span class="secno">12.3 </span><code>application/xhtml+xml</code></a></li> - <li><a href="#text-cache-manifest"><span class="secno">12.4 </span><code>text/cache-manifest</code></a></ol></li> + <li><a href="#text-cache-manifest"><span class="secno">12.4 </span><code>text/cache-manifest</code></a></li> + <li><a href="#text-websrt"><span class="secno">12.5 </span><code>text/websrt</code></a></ol></li> <li><a class="no-num" href="#index">Index</a> <ol> <li><a class="no-num" href="#elements-1">Elements</a></li> @@ -20330,10 +20331,10 @@ which those keywords map.<table><thead><tr><th>State <th>Keywords <th>Brief description - <tbody><tr><td><dfn id="attr-track-kind-subtitle" title="attr-track-kind-subtitle">Subtitles</dfn> + <tbody><tr><td><dfn id="attr-track-kind-subtitles" title="attr-track-kind-subtitles">Subtitles</dfn> <td><dfn id="attr-track-kind-keyword-subtitles" title="attr-track-kind-keyword-subtitles"><code>subtitles</code></dfn> <td>Translation of the dialogue, suitable for when the sound is available but not understood (e.g. because the user does not understand the language of the <a href="#media-resource">media resource</a>'s soundtrack). - <tr><td><dfn id="attr-track-kind-caption" title="attr-track-kind-caption">Captions</dfn> + <tr><td><dfn id="attr-track-kind-captions" title="attr-track-kind-captions">Captions</dfn> <td><dfn id="attr-track-kind-keyword-captions" title="attr-track-kind-keyword-captions"><code>captions</code></dfn> <td>Transcription of the dialogue, suitable for when the soundtrack is unavailable (e.g. because it is muted or because the user is deaf). <tr><td><dfn id="attr-track-kind-descriptions" title="attr-track-kind-descriptions">Descriptions</dfn> @@ -20346,14 +20347,14 @@ <td><dfn id="attr-track-kind-keyword-metadata" title="attr-track-kind-keyword-metadata"><code>metadata</code></dfn> <td>Tracks intended for use from script. </table><p>The attribute may be omitted. The <i>missing value default</i> is - the <span title="attr-track-kind-captions">captions</span> state.<p>The <dfn id="attr-track-src" title="attr-track-src"><code>src</code></dfn> attribute + the <a href="#attr-track-kind-captions" title="attr-track-kind-captions">captions</a> state.<p>The <dfn id="attr-track-src" title="attr-track-src"><code>src</code></dfn> attribute gives the address of the time track data. The value must be a <a href="#valid-non-empty-url-potentially-surrounded-by-spaces">valid non-empty URL potentially surrounded by spaces</a>. This attribute must be present.<p>The <dfn id="attr-track-srclang" title="attr-track-srclang"><code>srclang</code></dfn> attribute gives the language of the time track data. The value must be a valid BCP 47 language tag. This attribute must be present if the element's <code title="attr-track-kind"><a href="#attr-track-kind">kind</a></code> attribute is - in the <span title="attr-track-kind-subtitles">subtitles</span> + in the <a href="#attr-track-kind-subtitles" title="attr-track-kind-subtitles">subtitles</a> state. <a href="#refsBCP47">[BCP47]</a><p>The <dfn id="attr-track-label" title="attr-track-label"><code>label</code></dfn> attribute gives a user-readable title for the track.<p>There must not be two <code><a href="#the-track-element">track</a></code> element children of the same <a href="#media-element">media element</a> whose <code title="attr-track-kind"><a href="#attr-track-kind">kind</a></code> attributes are in the same @@ -20447,22 +20448,10 @@ - add stream(s) to play at end of current stream - pause playback upon reaching a certain time - playlists, with the ability to get metadata out of them (e.g. xspf) - * control over closed captions: - - enable, disable, select language - - event that sends caption text to script - * in-band metadata and cue points to allow: - - Chapter markers that synchronize to playback (without having to poll - the playhead position) - - Annotations on video content (i.e., pop-up video) - - General custom metadata store (ratings, etc.) - * notification of chapter labels changing on the fly: - - onchapterlabelupdate, which has a time and a label - * cue points that trigger at fixed intervals, so that - e.g. animation can be synced with the video * general meta data, implemented as getters (don't expose the whole thing) - getMetadata(key: string, language: string) => HTMLImageElement or string - onmetadatachanged (no context info) - * external captions support (request from John Foliot) + - general custom metadata store (ratings, etc.) * video: applying CSS filters * an event to notify people of when the video size changes (e.g. for chained Ogg streams of multiple independent videos) @@ -22786,7 +22775,8 @@ --> - <h5 id="websrt"><span class="secno">4.8.10.11 </span>WebSRT</h5><h6 id="syntax-0"><span class="secno">4.8.10.11.1 </span>Syntax</h6><p class="XXX">... + <h5 id="websrt"><span class="secno">4.8.10.11 </span>WebSRT</h5><p>The WebSRT format (Web Subtitle Resource Tracks) is a format + intended for marking up external timed track resources.<h6 id="syntax-0"><span class="secno">4.8.10.11.1 </span>Syntax</h6><p class="XXX">... <h6 id="parsing-0"><span class="secno">4.8.10.11.2 </span>Parsing</h6><p class="XXX">... @@ -65019,7 +65009,65 @@ <dt>Change controller:</dt> <dd>WHATWG</dd> </dl><p>Fragment identifiers have no meaning with - <code><a href="#text-cache-manifest">text/cache-manifest</a></code> resources.<h2 class="no-num" id="index">Index</h2><p class="XXX annotation"><b>Status: </b><i>Implemented and widely deployed</i><div class="impl"> + <code><a href="#text-cache-manifest">text/cache-manifest</a></code> resources.<h3 id="text-websrt"><span class="secno">12.5 </span><dfn><code>text/websrt</code></dfn></h3><p>This registration is for community review and will be submitted + to the IESG for review, approval, and registration with IANA.</p><!-- + To: ietf-types@iana.org + Subject: Registration of media type text/cues + --><dl><dt>Type name:</dt> + <dd>text</dd> + <dt>Subtype name:</dt> + <dd>websrt</dd> + <dt>Required parameters:</dt> + <dd>No parameters</dd> + <dt>Optional parameters:</dt> + <dd>No parameters</dd> + <dt>Encoding considerations:</dt> + <dd>Always UTF-8.</dd> + <dt>Security considerations:</dt> + <dd> + <p>Timed track files themselves pose no immediate risk unless + sensitive information is included within the + data. Implementations, however, are required to follow specific + rules when processing timed tracks, to ensure that certain + origin-based restrictions are honored. Failure to correctly + implement these rules can result in information leakage, + cross-site scripting attacks, and the like.</p> + </dd> + <dt>Interoperability considerations:</dt> + <dd> + Rules for processing both conforming and non-conforming content + are defined in this specification. + </dd> + <dt>Published specification:</dt> + <dd> + This document is the relevant specification. + </dd> + <dt>Applications that use this media type:</dt> + <dd> + Web browsers and other video players. + </dd> + <dt>Additional information:</dt> + <dd> + <dl><dt>Magic number(s):</dt> + <dd>No sequence of bytes can uniquely identify a WebSRT timed + track file.</dd> + <dt>File extension(s):</dt> + <dd>"<code title="">srt</code>"</dd> + <dt>Macintosh file type code(s):</dt> + <dd>No specific Macintosh file type codes are recommended for this type.</dd> + </dl></dd> + <dt>Person & email address to contact for further information:</dt> + <dd>Ian Hickson <ian@hixie.ch></dd> + <dt>Intended usage:</dt> + <dd>Common</dd> + <dt>Restrictions on usage:</dt> + <dd>No restrictions apply.</dd> + <dt>Author:</dt> + <dd>Ian Hickson <ian@hixie.ch></dd> + <dt>Change controller:</dt> + <dd>WHATWG</dd> + </dl><p>Fragment identifiers have no meaning with + <code><a href="#text-websrt">text/websrt</a></code> resources.<h2 class="no-num" id="index">Index</h2><p class="XXX annotation"><b>Status: </b><i>Implemented and widely deployed</i><div class="impl"> <p>The following sections only cover conforming elements and features.</p> @@ -66704,8 +66752,8 @@ <tr><th> <code title="">kind</code> <td> <code title="attr-track-kind"><a href="#attr-track-kind">track</a></code> <td> The type of timed track - <td> "<code title="attr-track-kind-subtitles">subtitles</code>"; - "<code title="attr-track-kind-captions">captions</code>"; + <td> "<code title="attr-track-kind-subtitles"><a href="#attr-track-kind-subtitles">subtitles</a></code>"; + "<code title="attr-track-kind-captions"><a href="#attr-track-kind-captions">captions</a></code>"; "<code title="attr-track-kind-descriptions"><a href="#attr-track-kind-descriptions">descriptions</a></code>"; "<code title="attr-track-kind-chapters"><a href="#attr-track-kind-chapters">chapters</a></code>"; "<code title="attr-track-kind-metadata"><a href="#attr-track-kind-metadata">metadata</a></code>" @@ -69010,7 +69058,10 @@ features first widely deployed by the Windows Internet Explorer browser.<p>Thanks to the participants of the microdata usability study for allowing us to use their mistakes as a guide for designing the - microdata feature.<div class="impl"> + microdata feature.<p>Thanks to the SubRip community, including in particular Zuggy and + ai4spam, for their work on the SubRip software program whose SRT + file format was used as the basis for the WebSRT timed track file + format.<div class="impl"> <p>Special thanks and $10,000 to David Hyatt who came up with a broken implementation of the <a href="#adoptionAgency">adoption
Received on Wednesday, 5 May 2010 08:24:02 UTC