audiobooks icon indicating copy to clipboard operation
audiobooks copied to clipboard

duration property in JSON example uses incorrect syntax (number instead of ISO 8601 string format)

Open danielweck opened this issue 4 years ago • 1 comments

https://w3c.github.io/audiobooks/#audio-simple

https://www.w3.org/TR/audiobooks/#audio-simple

Snippet:

 "readingOrder": [
    {
      "url": "http://www.archive.org/download/flatland_rg_librivox/flatland_1_abbott.mp3",
      "encodingFormat": "audio/mpeg",
      "duration": 1371,
      "name": "Part 1, Sections 1 - 3"
    }
]

References:

  • https://www.w3.org/TR/pub-manifest/#duration
  • https://en.wikipedia.org/wiki/ISO_8601#Durations

danielweck avatar Sep 24 '21 17:09 danielweck

Thanks @danielweck, I have marked this as an erratum for the spec.

cc @wareid @mattgarrish

iherman avatar Sep 25 '21 06:09 iherman