mirror of
https://github.com/videojs/video.js.git
synced 2025-03-27 22:01:42 +02:00
This uses offsetX and offsetY on the MouseEvents which helps account for transforms on the player. Unfortunately, this isn't available on TouchEvents, so, while this helps desktop devices with using a mouse, it doesn't help mobile devices using touch. Fixes #6726, fixes #1102.