[Youtube] Copy video URL at current time breaks Readlang + ABSPlayer

Summary

Viewing youtube videos with the Readlang browser extension + ABSPlayer breaks if the URL includes a starting timestamp parameter.

Details

First off as context, it is possible to use the Readlang browser extension + ABSPlayer together (https://forum.readlang.com/t/using-readlang-asb-player-as-a-makeshift-language-reactor/4707) to translate words while watching video content.

This works really well (the alternative import method sounds painful) except for this one issue: The Readlang browser extension is not able to work a Youtube video started from a URL that copies the current time. To be clear, these are videos streamed via the youtube website, not something loaded into Readlang, that have a start time other than the beginning of the video.

Reproduction:

  1. Open a video at youtube.com, select a subtitle track with ABSPlayer + enable Readlang and note that Readlang works
  2. Right click and select the “Copy video URL at current time” to copy the URL to your clipboard
  3. Paste the video URL into a new tab
  4. Note that Readlang does not work (there is no subtitle highlight selection)
  5. Remove the timestamp in the URL parameters, e.g. ?t=145
  6. Refresh the page, and Readlang will start working again.

This is probably a somewhat niche bug report. From other posts I know some other people use this method but not sure how many. In any case, thanks for the helpful software!