cloudflare / cloudflare/stream-react
Feature: Enable a mechanism to show/hide captions on-demand
オープン
- 主要言語
- TypeScript
- スター
- 198
- フォーク
- 30
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
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'
```
コントリビューションガイド
調査の方向性
まず iframe 統合と、既存の muted、autoplay、captions の動作を追跡します。ユーザーが muted の状態を変更したときに、コンポーネントから captions の表示状態を公開する方法を確認し、その後、iframe の textTracks に直接アクセスせずに captions をオンデマンドで表示および非表示にできることを検証します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- typescript
- 領域
- frontend
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100