mirror of
https://github.com/mediacms-io/mediacms.git
synced 2025-11-11 18:08:54 -05:00
Fix progress bar spacer for touch devices
Update condition to add the progress bar spacer when on touch devices, ensuring correct UI behavior regardless of nonTouchPosition setting.
This commit is contained in:
parent
a6abd46cbe
commit
523ae2e736
@ -2813,7 +2813,7 @@ function VideoJSPlayer({ videoId = 'default-video' }) {
|
||||
controlBar &&
|
||||
customRemainingTime &&
|
||||
customRemainingTime.el() &&
|
||||
PlayerConfig.progressBar.nonTouchPosition !== 'default'
|
||||
(PlayerConfig.progressBar.nonTouchPosition !== 'default' || isTouchDevice)
|
||||
) {
|
||||
// Create spacer element
|
||||
const spacer = document.createElement('div');
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user