Disable touch device check in SeekIndicator show method

Commented out the early return for touch devices in the SeekIndicator's show method, allowing the indicator to display regardless of device type. This may be for testing or to support custom controls on touch devices.
This commit is contained in:
Yiannis Christodoulou 2025-10-11 00:44:42 +03:00
parent 27a6ab0755
commit e9431d8191

View File

@ -51,9 +51,9 @@ class SeekIndicator extends Component {
*/ */
show(direction, seconds = this.seekAmount) { show(direction, seconds = this.seekAmount) {
// Skip showing icons on touch devices as native browser controls handle them // Skip showing icons on touch devices as native browser controls handle them
if (this.isTouchDevice) { /* if (this.isTouchDevice) {
return; return;
} } */
const el = this.el(); const el = this.el();
const iconEl = el.querySelector('.vjs-seek-indicator-icon'); const iconEl = el.querySelector('.vjs-seek-indicator-icon');