charliesbot / react-native-media-controls

A sweet UI component to manipulate your media. Strongly typed.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Show and Fade in/out duration

opened this issue · comments

Great work on the controls component. Quick feature suggestion:

As a user I would like to set the show and fade in/out duration of the media controls.

When using the controls (especially) on short video clips, it would be great to be able to shorten the time the controls are shown before fading out so that you see more of the video.

Thanks!

For sure!

Are you referring to the delay until the fade out happen?

For example, when the video starts, the control appears and stays there for 5 secs before fading out.

Yeah exactly! so I guess that's show time rather than fade time... but you could have props for both to make it more customizable [SO MANY POSSIBILITIES :) ]

It's just if you have shorter video clips (maybe 10-15s) it would be nice to hide the controls sooner...maybe after 1-2s.

Anyways, thanks for hearing me out :)

Hi, i'm also interested into this

Can you provide a way to do this please ?

Is there a solution to the customization of the delay for hiding/showing controls?

Fixed in v2.0 👌 FadeOut delay is a new prop to customize this case.