mirror of
https://github.com/mediacms-io/mediacms.git
synced 2025-11-10 09:28:53 -05:00
Disable touch tooltip support for standard buttons
Commented out the call to addTouchTooltipSupport in enableStandardButtonTooltips, removing touch tooltip support for standard video player buttons. This may be to address issues with tooltip behavior on mobile devices.
This commit is contained in:
parent
523ae2e736
commit
bf27cbf559
@ -65,7 +65,7 @@ const enableStandardButtonTooltips = (player) => {
|
|||||||
buttonEl.setAttribute('aria-label', tooltipText);
|
buttonEl.setAttribute('aria-label', tooltipText);
|
||||||
|
|
||||||
// Add touch tooltip support for mobile devices
|
// Add touch tooltip support for mobile devices
|
||||||
addTouchTooltipSupport(buttonEl);
|
//addTouchTooltipSupport(buttonEl);
|
||||||
|
|
||||||
// For dynamic tooltips (play/pause, fullscreen), update on state change
|
// For dynamic tooltips (play/pause, fullscreen), update on state change
|
||||||
if (buttonName === 'playToggle') {
|
if (buttonName === 'playToggle') {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user