Description
Have you read the FAQ and checked for duplicate issues:
What version of Shaka Player are you using:
2.2 (reproduced 2.1.x as well)
Can you reproduce the issue with our latest release version:
Yes.
Can you reproduce the issue with the latest code from master
:
Yes
Are you using the demo app or your own custom app:
My custom app. I could not reproced the error on the demo app. Probably video contents in the demo app are not suitable for this error.
If custom app, can you reproduce the issue using our demo app:
No.
What browser and OS are you using:
Mac OS: 10.12.6
Chrome 60
What are the manifest and license server URIs:
(you can send the URIs to shaka-player-issues@google.com instead, but please use GitHub and the template for the rest)
If it's required, we can send the custom app.
What did you do?
Enabled captioning on and waited around a minute(time gap is unpredictable). Then, it caught the error when I tried to disable and enable again.
What did you expect to happen?
It should not throw an error.
What actually happened?
Video is stopped. Please check the screenshot. As you may see it in screenshot, It throws the error at lib/text/simple_text_displayer.js :231, cues.length . When 'cues' is null. I put a console.log to show it in screenshot as well.