IIIF / cookbook-recipes

For working on the recipes
https://iiif.io/api/cookbook/index.html
37 stars 32 forks source link

Issue with the VTT file used in 0219 using-caption-file #443

Closed glenrobson closed 11 months ago

glenrobson commented 12 months ago

Recieved via the website:

"I have a question about cookbook recipe https://iiif.io/api/cookbook/recipe/0219-using-caption-file/. In trying to fulfill this recipe with the Aviary IIIF Player, I notice that the VTT in the JSON manifest is invalid. It does not match the WebVTT standard (https://www.w3.org/TR/webvtt1/#introduction-other-features). It is my understanding that whenever there is a cue identifier, as is the case with this manifest VTT, there should be 2 empty lines between the previous cue payload and the following cue identifier. This example only has a single empty line. Am I misunderstanding the standard? "

glenrobson commented 12 months ago

This is the VTT file:

https://fixtures.iiif.io/video/indiana/lunchroom_manners/lunchroom_manners.vtt

glenrobson commented 12 months ago

I can't find the 2 empty lines part of the specification. It seems to say the following for cue identifier blocks:

"A WebVTT cue block consists of the following components, in the given order:

From: https://www.w3.org/TR/webvtt1/#file-structure