Closed robertknight closed 7 months ago
In the case of Canvas Studio specifically, there are APIs for downloading the media, which returned a signed URL for an MP4 file (or possibly other formats?), plus the transcript in SRT format (or possibly other formats?). We need to check whether there are any other formats we might get back that we'll have to handle.
This was implemented in https://github.com/hypothesis/via/pull/1294.
The current video annotation tool works with YouTube embeds. We'd like to extend it to more sources, starting with Canvas Studio. Preferably we'd like to avoid having to build a new player UI for every video service that we integrate with. One way to do this is to build a more general purpose video annotation feature using browser-native video support. The way this would work is:
<video>
's<source>
list. These must be in widely supported formats such as MP4. These may be temporary signed URLs.<video>
element, and the rest of the UI would work the same way it does with YouTube.