Best described by functionality
- click on word, play video at corresponding part
- video plays, words change color to show you were it's at.
- sync scroll (optional)
- search text (optional)
It’s a view. It’s extensible. Eg need to be able to add other components, for text selections, annotations, tags, search, etc to the view.
in quickQuote, made hypertranscript using rails and erb.
Using backbone and browserify, with ejs templating.
Reusable front end client side components.
At the moment the views are one block, it could be smaller views combined together, with defined interfaces, to make it more reusable.
Eg the hypertranscript "component" in transcript show and in paper edit is repeated. See view components for paper-edit
Eg in branch paper-edit (which is an attempt to implement “v3”) I have tried to put hypertranscript template as a separate view. https://github.com/OpenNewsLabs/autoEdit_2/blob/paperedit/lib/app/templates/hypertranscript.html.ejs
Paper-edit show and transcription show could be made of components.