w3c / sync-media-pub

Repository of the Synchronized Multimedia for Publications Community Group
http://w3c.github.io/sync-media-pub
Other
17 stars 4 forks source link

we need a manifest property named "alternative" #14

Closed marisademeglio closed 5 years ago

marisademeglio commented 5 years ago

alternative: property on a linked resource object that may specify a sync narration document or an HTML document (as a high-level alt for an audio book chapter)

{
    "type":           "LinkedResource",
    "url":            "chapter1.html",
    "encodingFormat": "text/html",
    "name":           "Chapter 1 - Loomings",
    "alternative": "chapter1-sync-narr.json",
}

Or for an audio book:

"readingOrder" : [
{
    "type"  : "MediaObject",
     "url"   : "audio/janeeyre.mp3",
     "encodingFormat" : "audio/mp3",
     "name"  : "Jane Eyre",
     "duration" : "12:45:03.123",
     "alternative": "jane-eyre-text.html"
}]
marisademeglio commented 5 years ago

Done: https://github.com/w3c/pub-manifest/commit/d2b262884a4363295bf7516d9a4df8ebb4f88e37