samvera-labs / ramp

Interactive, IIIF powered audio/video media player React components library. Styleguidist Docs: https://samvera-labs.github.io/ramp/
https://ramp.avalonmediasystem.org/
30 stars 5 forks source link

Interaction During Playback Should Show Not Immediately Pause on Android #730

Open joncameron opened 1 week ago

joncameron commented 1 week ago

Description

For Android devices once you start playing a vide the player controls quickly disappear (as expected). In order to utilize the controls (prev/next canvas, skip ahead / behind in track, volume, closed caption, quality), you have to tap the video that's playing. When that is done, it pauses the video if it's playing or un-pauses it if it's not. This is kind of an annoying behavior.

We've kept the player controls displaying at all times on Android because previously selecting the player would always pause the video on the initial touch event, but this should be changed; it goes against the common interaction pattern where a tap/touch event on the player unhides the controls and requires another touch to pause, which is what we want to replicate in Ramp.

Additionally, it would be nice to have a large play/pause button visible as a hint to users that the remaining body of the media player outside of the control panel can be touched/clicked to toggle play/pause.

See #351 for background.

Done Looks Like