Loading a file from Recents doesn't clear the previously-loaded media's captions. The new file's captions render, but the old caption track is still shown too — two caption sets stacked over the video.
Repro (see screenshot):
- Start with the default intro media (captions present).
- Load a different file from Recents.
- The video shows the new file's captions and a leftover caption from the intro media at the same time.
Expected: loading new media (via Recents, or any media swap) clears the old captions/VTT cues so only the current file's captions display.
Likely area: on load the caption <track id="hyperplayer-vtt"> / video.textTracks cues aren't reset — the previous file's cues persist alongside the regenerated ones. The Recents path wipes .transcript-holder and re-inits, but the caption track on #hyperplayer isn't cleared/rebuilt cleanly.
Possibly related: the doubling-up of captions from a single video when clicking around the transcript — likely the same root cause (stale/duplicate tracks or cues). See #287 ("Occasionally two sets of captions are shown contemporarily"); this may be a dupe or sibling of it.
Notes: Chrome/Safari priority.
Loading a file from Recents doesn't clear the previously-loaded media's captions. The new file's captions render, but the old caption track is still shown too — two caption sets stacked over the video.
Repro (see screenshot):
Expected: loading new media (via Recents, or any media swap) clears the old captions/VTT cues so only the current file's captions display.
Likely area: on load the caption
<track id="hyperplayer-vtt">/video.textTrackscues aren't reset — the previous file's cues persist alongside the regenerated ones. The Recents path wipes.transcript-holderand re-inits, but the caption track on#hyperplayerisn't cleared/rebuilt cleanly.Possibly related: the doubling-up of captions from a single video when clicking around the transcript — likely the same root cause (stale/duplicate tracks or cues). See #287 ("Occasionally two sets of captions are shown contemporarily"); this may be a dupe or sibling of it.
Notes: Chrome/Safari priority.