react-transcript-editor icon indicating copy to clipboard operation
react-transcript-editor copied to clipboard

MediaPlayer Cannot read property 'start' of undefined - when deleting first transcript line

Open NickRuiz opened this issue 5 years ago • 0 comments

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:

  1. Load the Demo
  2. Start Playing
  3. Highlight the first transcript line, press "Delete" or "Backspace" key. Press Delete/Backspace again.
  4. See error

Expected behavior Delete the entire first transcript line, or do nothing.

Screenshots

NickRuiz avatar Nov 11 '19 17:11 NickRuiz