Skip to content

Commit

Permalink
Make body a ResourceItem.
Browse files Browse the repository at this point in the history
  • Loading branch information
markpbaggett committed Dec 11, 2024
1 parent 3e7c48e commit 4d05f75
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/recipes/scripts/0219-using-caption-file-method1.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@
id="https://fixtures.iiif.io/video/indiana/lunchroom_manners/lunchroom_manners.vtt",
type="Text",
language="en",
format="text/vtt",
label="Captions"
format="text/vtt"
)
caption_body.add_label(language="en", value="Captions in WebVTT format")
captions = canvas.make_annotation(
id=f"{base_url}/canvas/page2/a1",
motivation="supplementing",
Expand Down

0 comments on commit 4d05f75

Please sign in to comment.