react-transcript-editor
react-transcript-editor copied to clipboard
MediaPlayer Cannot read property 'start' of undefined - when deleting first transcript line
Describe the bug If you delete the first line of a transcript, the MediaPlayer will throw an "Cannot read property 'start' of undefined" exception.
To Reproduce Steps to reproduce the behavior:
- Load the Demo
- Start Playing
- Highlight the first transcript line, press "Delete" or "Backspace" key. Press Delete/Backspace again.
- See error
Expected behavior Delete the entire first transcript line, or do nothing.
Screenshots