cloudflare / cloudflare/stream-react

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

Offen
#84 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
TypeScript
Sterne
198
Forks
30
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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'
```

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Start by tracing the iframe integration and the existing muted, autoplay, and captions behavior. Determine how the component can expose caption visibility when the user changes muted state, then verify that captions can be shown and hidden on demand without direct access to the iframe's textTracks.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
typescript
Bereich
frontend
Issue-Typ
Feature
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.