bitmovin / bitmovin-player-ui

The Bitmovin Adaptive Streaming Player UI
MIT License
126 stars 87 forks source link

Disable auto-hide to not require two touches for click-through and skipping ads #622

Closed hawk23 closed 5 months ago

hawk23 commented 5 months ago

ticket: https://bitmovin.atlassian.net/browse/PI-2655

Description

Currently, when the small-screen ads UI is used on a touch device, two touches are needed to either hit the "skip ad" button or to open the ad click-through URL. Especially for the "skip ad" button this is a confusing user experience as it is always visible and one touch should be sufficient to tap it.

To fix this, the auto hide is disabled for the small screen ads UI. After this change, the "skip ad" button can be triggered with a single touch. The same holds for triggering the ad click through URL.

Checklist (for PR submitter and reviewers)

hawk23 commented 5 months ago

As discussed offline: On Web, this causes the black shadow and fullscreen button to be visible during ad playback, which I think we don't want... Would be great if we could find a solution to make the Ad controls independent of the rest of the UI controls (but not sure how to do that 😅 )

An approach that still allows for auto hiding the control bar is now implemented in this PR (still Draft).