mirror of
https://github.com/shaka-project/shaka-player.git
synced 2026-06-14 15:56:38 +03:00
3de29d45d3
### Problem Previously, click/drag in the seek bar relied on the browser's default range entry event. The hover preview used 'getValueFromPosition()' separately. This resulted in a mismatch between the hover timestamp and the actual search position, This problem was particularly noticeable in long videos. ### FIx I modified to call `getValueFromPosition()` directory even when click/drag. However click, drag, and touch all go through the same function, so timestamp previews and navigation positions are always sychronized. In addition, I also fixed a bug where the tooltip moves instaneously when clicking by reflecting the thumbWide correction when we reverse the tooltip position to value in `onChange()`. --------- Co-authored-by: Claude Code <noreply@anthropic.com> Co-authored-by: Álvaro Velad Galván <ladvan91@hotmail.com>