invidious icon indicating copy to clipboard operation
invidious copied to clipboard

Make caption text selectable

Open CyanEngineer opened this issue 7 months ago • 1 comments

I think it would be really nice to be able to select and copy the caption text. The caption container has pointer-events disabled as it would otherwise eat the mouse input for the whole player area. But re-enabling pointer-events for just the text container makes the text selectable without affecting the player outside of the area with text.

CyanEngineer avatar May 31 '25 17:05 CyanEngineer

Tested and works as expected.


Though this isn't a problem right now I'm concerned that this feature could conflict with implementing freely movable captions like those seen on YouTube's official player. You can't really differentiate whether the user wants to move the captions box or select the text since it involves the same mouse movements over a very tiny space that overlaps.

syeopite avatar Aug 23 '25 09:08 syeopite