-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Displaying controls on Android (play, pause, progress bar) #1404
Comments
At this time, we don't provide controls on Android because the system doesn't provide them. You should use a React Native package that provides controls or build your own. I've updated the README with this info. At some point in the future, we may offer controls. |
@cobarx glad to know that this will available soon.. |
@cobarx - one of the developers I contracted with to develop an app for us (it's designed for the deaf in mind) cited this issue in where controls weren't available. The issue at hand is we want the video to be able to provide subtitles while also providing controls. Since your library does not support controls, would you be able to recommend an alternate React Native library that supports both? I know those aren't within your scope, but I thought I'd give it a shot in asking. |
Current behavior
Controls are hidden when video starts on Android
Expected behavior
When video starts on Android platform, I want to show controls like play, pause and progress bar of the video.
Platform
Which player are you experiencing the problem on:
Video sample
plaform: Android
react - 16.56.6
rn - 0.57.8
react-native-vide - 3.2.1 ( latest version does not work for my url type)
Below is the video component for rendering url
<Video
source={{uri: this.props.navigation.state.params.watchUrl}}
ref={(ref) => {
this.player = ref
}} // Store reference
onBuffer={this.onBuffer} // Callback when remote video is buffering
onError={this.videoError} // Callback when video cannot be loaded
style={styles.backgroundVideo}
fullscreen={true}
controls={true}
/>
Thank you and Appreciate for your time.
The text was updated successfully, but these errors were encountered: