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

Feature: Enable a mechanism to show/hide captions on-demand #84

Open
JavierMartinz opened this issue Feb 17, 2023 · 1 comment
Open

Comments

@JavierMartinz
Copy link
Contributor

Currently, there is a possibility to autoplay a muted video with a captions track shown. However, there is no way to, for instance, hide those captions if user disables muted.

Since the video is behind and iframe, there is no way to access to the tracks and hide them using something like

videoRef.textTracks[0].mode = 'hidden'
@kensnyder
Copy link

I too need this feature because I am implementing my own controls.

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

No branches or pull requests

2 participants