Skip to content

SRT Files Download as VTT #467

Description

@joncameron

Description

Avalon's /captions route is automatically transforming SRT files to VTT for display in the client. The download from Ramp is in turn returning a VTT instead of the original SRT when a user downloads from the Transcript component. When downloading from the Ramp Transcript component, the original SRT file should be the one downloaded to the client.

Implementation Strategy

  • Captions are added as two annotations: supplementing (display in player, currently used), and rendering (to be used for download) - SRT Files Download as VTT avalonmediasystem/avalon#5725
    • Files component only shows rendering annotation
    • Supplemental file URL serialized into the manifest as an rendering annotation

That what we would show in Ramp would be set as 'rendering' would work with the ethos of IIIF.

Done Looks Like

  • Ramp only displays the supplementing caption in the player
  • Ramp only displays the rendering caption in the Files/Supplemental Files component
  • Supplementing annotations do not display in the Files/Supplemental Files component
  • Update Ramp documentation - this will change existing behavior for the Supplemental Files component

Notes

  • Route for captions: supplemental_files/sdfli2398/captions # referenced in manifest
  • Captions endpoint is only returning VTT
  • supplemental_files/sdfli2398 should return the original SRT

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions