Skip to content

Commit

Permalink
Updated WebVMT Editor's Draft
Browse files Browse the repository at this point in the history
Added media path & path id
  • Loading branch information
rjksmith committed Oct 9, 2018
1 parent 94551da commit ddade75
Showing 1 changed file with 50 additions and 29 deletions.
79 changes: 50 additions & 29 deletions proposals/geotagging/webvmt/index.html
Expand Up @@ -1035,6 +1035,9 @@ <h2>WebVMT Media Settings</h2>
<li>
A <a>WebVMT media start time setting</a>.
</li>
<li>
A <a>WebVMT media path setting</a>.
</li>
</ul>
<p class='note' title='Linked Media'>
The <a>WebVMT media settings list</a> gives details of the linked media file with which to synchronise. For example, identifying the media file, providing media encoding details and allowing multiple <a>WebVMT file</a>s to be aggregated.
Expand Down Expand Up @@ -1073,28 +1076,49 @@ <h2>WebVMT Media Settings</h2>
A <a data-cite='HTML51/infrastructure.html#valid-mime-type'>valid MIME type</a>.
</li>
</ol>
</p>
<p class='note' title='Media MIME Type'>
The <a>WebVMT media MIME type setting</a> gives the <a data-cite='RFC2046'>MIME type</a> of the media file associated with the <a>WebVMT file</a>. Omission of <a>WebVMT media MIME type setting</a> indicates that no linked media file exists.
</p>
<p>
A <dfn>WebVMT media start time setting</dfn> consists of the following components, in the order given:
</p>
<ol>
<li>
The string "<code>starttime</code>".
</li>
<li>
A U+003A COLON character (:).
</li>
<li>
A <a data-cite='HTML51/infrastructure.html#valid-global-date-and-time-string'>valid global date and time string</a>.
</li>
</ol>
</p>
<p class='note' title='Media Start Time'>
The <a>WebVMT media start time setting</a> gives the <a data-cite='HTML51/infrastructure.html#global-date-and-time'> global date and time</a> of the start time of the media file associated with the <a>WebVMT file</a>, which allows multiple <a>WebVMT file</a>s to be aggregated. Omission of the <a>WebVMT media start time setting</a> indicates that no start time is associated, for example in the case of an animation.
</p>
<p class='note' title='Media MIME Type'>
The <a>WebVMT media MIME type setting</a> gives the <a data-cite='RFC2046'>MIME type</a> of the media file associated with the <a>WebVMT file</a>. Omission of <a>WebVMT media MIME type setting</a> indicates that no linked media file exists.
</p>
<p>
A <dfn>WebVMT media start time setting</dfn> consists of the following components, in the order given:
</p>
<ol>
<li>
The string "<code>starttime</code>".
</li>
<li>
A U+003A COLON character (:).
</li>
<li>
A <a data-cite='HTML51/infrastructure.html#valid-global-date-and-time-string'>valid global date and time string</a>.
</li>
</ol>
<p class='note' title='Media Start Time'>
The <a>WebVMT media start time setting</a> gives the <a data-cite='HTML51/infrastructure.html#global-date-and-time'> global date and time</a> of the start time of the media file associated with the <a>WebVMT file</a>, which allows multiple <a>WebVMT file</a>s to be aggregated. Omission of the <a>WebVMT media start time setting</a> indicates that no start time is associated, for example in the case of an animation.
</p>
<p>
A <dfn>WebVMT media path setting</dfn> consists of the following components, in the order given:
</p>
<ol>
<li>
The string "<code>path</code>".
</li>
<li>
A U+003A COLON character (:).
</li>
<li>
A <a>WebVMT path identifier</a>.
</li>
</ol>
<p class='note' title='Media Path'>
A <a>WebVMT media path setting</a> uniquely identifies the path of the object that is capturing the linked media file, for example a camera. Omission of the <a>WebVMT media path setting</a> indicates that no object is associated, for example when no linked media file exists.
</p>
<p>
A <dfn>WebVMT path identifier</dfn> is any sequence of one or more characters not containing the substring "-->" (U+002D HYPHEN-MINUS, U+002D HYPHEN-MINUS, U+003E GREATER-THAN SIGN), nor containing any U+000A LINE FEED (LF) characters or U+000D CARRIAGE RETURN (CR) characters.
</p>
<p class='note' title='Path Identification'>
A <a>WebVMT path identifier</a> is a string which uniquely identifies a moving object in the <a>WebVMT file</a>, for example a camera.
</p>
</section>
<section>
<h2>WebVMT Map Settings</h2>
Expand Down Expand Up @@ -1496,12 +1520,12 @@ <h2>WebVMT Path Commands</h2>
A <a>WebVMT location attribute list</a>.
</li>
<li>
Optionally, a <a>WebVMT path identifier attribute</a>.
Optionally, a <a>WebVMT path attribute</a>.
</li>
</ul>
</p>
<p>
A <dfn>WebVMT path identifier attribute</dfn> consists of a <a data-cite='ECMA-404'>JSON text</a> consisting of the following components in the order given:
A <dfn>WebVMT path attribute</dfn> consists of a <a data-cite='ECMA-404'>JSON text</a> consisting of the following components in the order given:
<ol>
<li>
The <a data-cite='ECMA-404'>JSON string</a> "<code>path</code>".
Expand All @@ -1510,13 +1534,10 @@ <h2>WebVMT Path Commands</h2>
A U+003A COLON character (:).
</li>
<li>
A <a data-cite='ECMA-404'>JSON value</a> consisting of a <a data-cite='ECMA-404'>JSON string</a>.
A <a data-cite='ECMA-404'>JSON value</a> consisting of a <a data-cite='ECMA-404'>JSON string</a> representing a <a>WebVMT path identifier</a>.
</li>
</ol>
</p>
<p class='note' title='Path Identification'>
A <a>WebVMT path identifier attribute</a> is a string which uniquely identifies a moving object in the <a>WebVMT file</a>, for example a camera.
</p>
<p>
A <dfn>WebVMT line command</dfn> consists of a <a data-cite='ECMA-404'>JSON text</a> representing the following <a data-cite='ECMA-404'>JSON object</a>:
<ul>
Expand All @@ -1535,7 +1556,7 @@ <h2>WebVMT Path Commands</h2>
A <a>WebVMT location attribute list</a>.
</li>
<li>
Optionally, a <a>WebVMT path identifier attribute</a>.
Optionally, a <a>WebVMT path attribute</a>.
</li>
<li>
Optionally, one of the following components:
Expand Down

0 comments on commit ddade75

Please sign in to comment.