-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Temporal Media Fragments URI in readingOrder, should be time interval instead of playback start timestamp? #68
Comments
Current specification text ( https://w3c.github.io/audiobooks/#audio-readingorder ):
...should probably say: "by using media fragments time intervals to locate the exact starting and end points" ? |
The example here may be the problem -- you're not supposed to list the same resource more than once in the reading order. I don't see a problem with specifying an offset to begin playback at, but as you say @danielweck, the expectation is that the resource is played all the way to the end before moving to the next. We can allow intervals, but it alone doesn't solve the warning on duplicate resources (which is not advised generally because of the complication of linking into the correct instance). The table of contents is where links to specific points of interest within a single resource are best expressed. Is there a need to have granular representation of chunks of audio within a larger resource in the reading order @wareid ? |
We need to have granular representations of chunks of audio /somewhere/ but not necessarily in the reading order. There is the odd case of one file containing not only multiple chapters but chapters also spanning multiple files (yay!), but that can be addressed in the TOC. I can add a note. |
Addressing the issues Daniel raised in #68: * corrected the time references * edited the TOC example with media fragments * added a note addressing not referencing the same audio file multiple times in the reading order Feedback appreciated!
Having media fragments in the Is there any valid reason to allow them at all? |
Could you elaborate on the "many problems" please @HadrienGardeur ? Just so we have all of the information. |
Just to name two issues that immediately come to mind:
|
Closing as this issue has been fixed per the original request. The question of whether media fragments should be allowed can be raised separately, although I suspect it's too late now to revisit the group's decision for the first version. |
https://www.w3.org/TR/media-frags/#naming-time
If I am not mistaken, a temporal Media Fragments URI such as
audio.wav#t=123.45
means "start playback at the given timestamp, and play until the end of the resource is reached".This in fact corresponds to the TOC processing model ( https://w3c.github.io/audiobooks/#toc-mediafragments ), for example:
https://github.com/w3c/wpub/blob/948442a71610abcc757513dc3313f6ed0e8fd22f/experiments/audiobook/toc-as-json.json#L32
https://github.com/w3c/wpub/blob/948442a71610abcc757513dc3313f6ed0e8fd22f/experiments/audiobook/toc.html#L7
But in the context of
readingOrder
, shouldn't time intervals be used instead of discrete timestamps, in order to provide bothstart
andend
playback boundaries? Otherwise, the playback sequence is not as expected, see for example:https://w3c.github.io/audiobooks/#example-9-audiobook-reading-order-for-multiple-resources-using-media-fragments
https://w3c.github.io/audiobooks/#example-13-audiobook-with-synchronized-narration
The text was updated successfully, but these errors were encountered: