Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
videoDisplay が応答していないときに play()、pause()、seek() などのコマンドが呼び出された場合、キューに入れられます。このキューをフラッシュして、最新のコマンドだけが処理されるようにするにはどうすればよいですか?
キューをフラッシュしようとする代わりに、stateResponsiveがtrueであるかどうかを確認してください。trueの場合、コマンドをvideoDisplayに送信し、falseの場合、videoDisplayのstateResponsiveがtrueになるまでコマンドを保存してから、コマンドを送信します。