Skip to content

Support for <img> in SMIL #2883

@HadrienGardeur

Description

@HadrienGardeur

Section

https://w3c.github.io/epub-specs/epub34/authoring/#sec-media-overlays

Describe the problem

EPUB 3.x uses a subset of SMIL 3.0 for Media Overlays.

A number of specialized libraries have adopted EPUB with Media Overlays as a replacement for Daisy with synchronized text and audio. In Northern Europe, some of these libraries have produced a number of accessible comics over the years using images and pre-recorded audio.
Due to the lack of support for <img> in SMIL for EPUB, most of these libraries are using proprietary formats right now and haven't been able to industrialize their processes.

Describe the fix or new feature you propose

In addition to <text> and <audio>, the EPUB 3.4 specification should also reference <img>.

These references to <img> would use a spatial fragment (#xywh) in their src rather than the region attribute available in SMIL.

<par>
  <img src="page1.avif#xywh=percent:7,7,60,17" />
  <audio src="page1.ogg" clipBegin="23s" clipEnd="28s" />
</par>

This would also allow three-way references between image, audio and text.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Spec-EPUB3The issue affects the core EPUB 3.X Recommendation

    Projects

    Status

    In review

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions