Open Lumbendil opened 8 years ago
This fixes the mouseTime, which is currently sometimes wrong. With the current video.js default skin, there is an offset in time due to the volume control sometimes taking the space. The code I'm using is taken from the core of video.js:
https://github.com/videojs/video.js/pull/2569/files#diff-be82dd77ef994b77f1636de6ed9d2c59R45 https://github.com/videojs/video.js/blob/master/src/js/utils/dom.js#L473
This fixes the mouseTime, which is currently sometimes wrong. With the current video.js default skin, there is an offset in time due to the volume control sometimes taking the space. The code I'm using is taken from the core of video.js:
https://github.com/videojs/video.js/pull/2569/files#diff-be82dd77ef994b77f1636de6ed9d2c59R45 https://github.com/videojs/video.js/blob/master/src/js/utils/dom.js#L473