Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Constrain annotation to transcript in video player #940

Open
robertknight opened this issue May 25, 2023 · 0 comments
Open

Constrain annotation to transcript in video player #940

robertknight opened this issue May 25, 2023 · 0 comments

Comments

@robertknight
Copy link
Member

robertknight commented May 25, 2023

When annotating videos transcripts, the user should only be able to annotate text that is part of the transcript and not text outside of that (such as eg. UI elements). This means that:

  • If users select text that is outside of the transcript, they shouldn't see the Annotate / Highlight controls appear.
  • Quote selectors (or other selectors) captured on videos shouldn't include any text outside of the transcript

A possible mechanism for this might be for the Hypothesis client to expose a way for the host page to configure the root element used by the Guest, and for the guest to ignore selections outside of this element.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant