From ddade75490ee963eeef945c54c47a0da2f414e7d Mon Sep 17 00:00:00 2001 From: Rob Smith Date: Tue, 9 Oct 2018 18:02:08 +0100 Subject: [PATCH] Updated WebVMT Editor's Draft Added media path & path id --- proposals/geotagging/webvmt/index.html | 79 ++++++++++++++++---------- 1 file changed, 50 insertions(+), 29 deletions(-) diff --git a/proposals/geotagging/webvmt/index.html b/proposals/geotagging/webvmt/index.html index aa3080ce..bee5f65e 100644 --- a/proposals/geotagging/webvmt/index.html +++ b/proposals/geotagging/webvmt/index.html @@ -1035,6 +1035,9 @@

WebVMT Media Settings

  • A WebVMT media start time setting.
  • +
  • + A WebVMT media path setting. +
  • The WebVMT media settings list gives details of the linked media file with which to synchronise. For example, identifying the media file, providing media encoding details and allowing multiple WebVMT files to be aggregated. @@ -1073,28 +1076,49 @@

    WebVMT Media Settings

    A valid MIME type. -

    -

    - The WebVMT media MIME type setting gives the MIME type of the media file associated with the WebVMT file. Omission of WebVMT media MIME type setting indicates that no linked media file exists. -

    -

    - A WebVMT media start time setting consists of the following components, in the order given: -

    -
      -
    1. - The string "starttime". -
    2. -
    3. - A U+003A COLON character (:). -
    4. -
    5. - A valid global date and time string. -
    6. -
    -

    -

    - The WebVMT media start time setting gives the global date and time of the start time of the media file associated with the WebVMT file, which allows multiple WebVMT files to be aggregated. Omission of the WebVMT media start time setting indicates that no start time is associated, for example in the case of an animation. -

    +

    + The WebVMT media MIME type setting gives the MIME type of the media file associated with the WebVMT file. Omission of WebVMT media MIME type setting indicates that no linked media file exists. +

    +

    + A WebVMT media start time setting consists of the following components, in the order given: +

    +
      +
    1. + The string "starttime". +
    2. +
    3. + A U+003A COLON character (:). +
    4. +
    5. + A valid global date and time string. +
    6. +
    +

    + The WebVMT media start time setting gives the global date and time of the start time of the media file associated with the WebVMT file, which allows multiple WebVMT files to be aggregated. Omission of the WebVMT media start time setting indicates that no start time is associated, for example in the case of an animation. +

    +

    + A WebVMT media path setting consists of the following components, in the order given: +

    +
      +
    1. + The string "path". +
    2. +
    3. + A U+003A COLON character (:). +
    4. +
    5. + A WebVMT path identifier. +
    6. +
    +

    + A WebVMT media path setting uniquely identifies the path of the object that is capturing the linked media file, for example a camera. Omission of the WebVMT media path setting indicates that no object is associated, for example when no linked media file exists. +

    +

    + A WebVMT path identifier 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. +

    +

    + A WebVMT path identifier is a string which uniquely identifies a moving object in the WebVMT file, for example a camera. +

    WebVMT Map Settings

    @@ -1496,12 +1520,12 @@

    WebVMT Path Commands

    A WebVMT location attribute list.
  • - Optionally, a WebVMT path identifier attribute. + Optionally, a WebVMT path attribute.
  • - A WebVMT path identifier attribute consists of a JSON text consisting of the following components in the order given: + A WebVMT path attribute consists of a JSON text consisting of the following components in the order given:

    1. The JSON string "path". @@ -1510,13 +1534,10 @@

      WebVMT Path Commands

      A U+003A COLON character (:).
    2. - A JSON value consisting of a JSON string. + A JSON value consisting of a JSON string representing a WebVMT path identifier.

    -

    - A WebVMT path identifier attribute is a string which uniquely identifies a moving object in the WebVMT file, for example a camera. -

    A WebVMT line command consists of a JSON text representing the following JSON object: