Closed VeryGoodErotica closed 3 years ago
Ouch - with a validating .vtt file, epubcheck doesn't complain but it crashes iBooks on a 3rd gen iPad - 3rd gen iPad doesn't get updates, so it looks like audio subtitles will never be usable on that device.
Not a W3C issue, I know, but that is a bad bug.
Maybe if text/vtt is part of the specified core media types, even though there isn't a specified video type, future ePub viewers will have proper code to handle it and not crash.
Okay it seems iBooks only crashes if the track element has the default attribute set, so those who want to include VTT (works beautifully in Marvin on same device) - don't set the default attribute on any track elements.
Too bad Apple won't fix bugs for that iPad version, but that's capitalism.
The track element is exempt from fallbacks:
The following [HTML] elements can refer to Foreign Resources [EPUB32] without having to provide a fallback Core Media Type Resource:
link — when its rel attribute has the value "pronunciation"
track
video — including any child source elements
https://www.w3.org/publishing/epub3/epub-contentdocs.html#sec-xhtml-fallbacks
Okay I was looking at this section which references video and not needing a fallback but makes no reference to the track element:
https://www.w3.org/publishing/epub3/epub-spec.html#sec-publication-resources
That's within the section on creating a manifest, where a vtt file obviously needs to be specified. So perhaps that section needs to be updated to match the contentdocs page.
ePub viewers that do handle video though really should be required to handle both VTT and probably TTML so they still should (imho) be core media types so that crashing viewers, like iBooks, can be declared non-conforming. Otherwise authors will be discouraged from using the track element.
This issue was discussed in a meeting.
RESOLVED: Add WebP as a core media type in EPUB 3.3
The issue was discussed in a meeting on 2020-12-04)
List of resolutions:
Resolution #1: EPUB 3.3 will keep the concept of core media types as it is today.
I did not see text/vtt listed as a core media type but it is the required subtitle format for the html5 video tag if subtitles are provided, as they should be for video content.