cloudflare / cloudflare/stream-react

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

Open
#84 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
198
Forks
30
PR merge metrics
No merged PRs in 30d

Description

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

```js
videoRef.textTracks[0].mode = 'hidden'
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.