-
Notifications
You must be signed in to change notification settings - Fork 65
Description
Section
https://w3c.github.io/epub-specs/epub34/authoring/#sec-media-overlays
Describe the problem
With pre-paginated EPUB files, a number of publications can either have:
- content that requires reading back and forth across the spread
- and/or content that overlaps across the spread (partially present in both pages)
This is true for comics, but it's also something that you can find in travel guides, textbooks, cookbooks and art books just to name a few.
In the current version of the specification, we don't provide any hint whatsoever on how this should be handled by authors or RS.
For content that goes back and forth (left, right then left again for example), it's technically possible to create a single SMIL that goes back and forth between two resources. I've created such an example and while it didn't raise any warning or error in EPUBCheck, I could find a RS supporting this correctly:
- Apple Books didn't play any audio (not sure why) and didn't went back to the left page when playing
- Thorium did play the audio properly but it got stuck in a loop (most likely because the same SMIL was referenced on both pages)
For elements that are visually present on both pages of the spread, that's a different story altogether.
Unlike region-based navigation, we don't have a concept for "synthetic regions" in SMIL.
At an abstract-level we need to convey the following information:
- the spread is needed to synchronize with an
<audio>element - and that a specific
<audio>element is tied to two<text>fragments instead of a single one
This goes against our content model and it's unclear how this could be addressed.
Describe the fix or new feature you propose
We need a dedicated section for spreads and clear guidelines for authors and reading systems.
For content where we go back and forth, I think that having the SMIL associated to both pages of the spread is fine but this requires guidelines for RS. For example:
- how to avoid loops (which could be tricky if the RS follows the
<spine>and then fetches the associated SMIL) - where the playback should start in such cases for the second page in the spread (first
<par>referencing the resource in the SMIL?)
For content that exists across the spread, we could either tell authors to use a single centered page instead (but that's very impactful on smaller devices) or we could explore how Media Overlays could evolve to handle this use case.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status