HTML5 Tracker

Diff (omit for latest revision)
Filter

Short URL: http://html5.org/r/5078

SVNBugCommentTime (UTC)
5078[Gecko] [Internet Explorer] [Opera] [Webkit] Captions - Stage 8: MIME registration for text/websrt and minor edits around that.2010-05-05 08:24
Index: source
===================================================================
--- source	(revision 5077)
+++ source	(revision 5078)
@@ -25212,11 +25212,11 @@
      <th>Brief description
    <tbody>
     <tr>
-     <td><dfn title="attr-track-kind-subtitle">Subtitles</dfn>
+     <td><dfn title="attr-track-kind-subtitles">Subtitles</dfn>
      <td><dfn 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 <span>media resource</span>'s soundtrack).
     <tr>
-     <td><dfn title="attr-track-kind-caption">Captions</dfn>
+     <td><dfn title="attr-track-kind-captions">Captions</dfn>
      <td><dfn 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>
@@ -25372,22 +25372,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)
@@ -28312,6 +28300,9 @@
 
   <h5>WebSRT</h5>
 
+  <p>The WebSRT format (Web Subtitle Resource Tracks) is a format
+  intended for marking up external timed track resources.</p>
+
   <h6>Syntax</h6>
 
   <p class="XXX">...
@@ -99035,6 +99026,77 @@
   <code>text/ping</code> resources.</p>
 <!--START w3c-html--><!--PING-->
 
+  <h3><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 &amp; email address to contact for further information:</dt>
+   <dd>Ian Hickson &lt;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 &lt;ian@hixie.ch></dd>
+   <dt>Change controller:</dt>
+   <dd>WHATWG</dd>
+  </dl>
+
+  <p>Fragment identifiers have no meaning with
+  <code>text/websrt</code> resources.</p>
+
 <!--END w3c-html-->
 
 <!--END complete--><!--END html--><!--START microdata-->
@@ -104185,6 +104247,11 @@
   allowing us to use their mistakes as a guide for designing the
   microdata feature.</p>
 
+  <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.</p>
+
   <div class="impl">
 
   <p>Special thanks and $10,000 to David Hyatt who came up with a

|