Controls not fading out automatically
tarung opened this issue · comments
I have used
react-native-media-controls": ^2.1.0
with :
react-native-video: ^5.1.0-alpha8,
The media controls should automatically fade out once the video starts loading but that's not what's happening. If I don't tap the screen the controls continue to be visible even after the fadeOutDelay time has elapsed. once I tap on the screen, controls fade out and it starts functioning normally as expected.
Please suggest how to resolve this
Thanks.
I tried adding following code to my onLoadStart callback of the video
onLoadStart = (data) =>{
setTimeout(()=>{
this.setState({isVisible : false });
},2000);
}
but that didn't help either.
Yes, I'm also facing this issue.
Please fade out control after loading end, or either give us a prop to manually fade out the media control, so we can use that on "onLoad" callback of "react-native-video".
Any luck with this issue yet? I'm experiencing exactly the same behaviour and out of ideas for ways around it.
fixed in version 2.2!
it is still happening in version 2.3.0.