VideoPlayerコンポーネントやAudioPlayerコンポーネントを使用してプレバッファリングモードで動作している場合にのみ使用してください。
アプリでは、onCaptionViewCreatedイベントコールバックで渡されたキャプションハンドルを、setCaptionViewHandle関数を通じてVideoPlayerとAudioPlayerに関連付けて、プレーヤーがキャプションや字幕を画面上にレンダリングできるようにします。
拡張
React.Component
コンストラクタ
new KeplerCaptionsView()
new KeplerCaptionsView(props): KeplerCaptionsView
パラメーター
props
CaptionViewProps
戻り値
KeplerCaptionsViewメソッド
componentDidMount()
componentDidMount():void
componentWillUnmount()
componentWillUnmount():void
render()
render():React.ReactNode
戻り値
React.ReactNode

