You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi everyone. I have an issue. This is the screen turn off the light while video is playing in android device. The screen just turns off light but not turn off screen.
Bug
Hi everyone. I have an issue. This is the screen turn off the light while video is playing in android device. The screen just turns off light but not turn off screen.
Platform
Which player are you experiencing the problem on:
Environment info
React native info output:
Library version: 5.1.0-alpha5
Reproducible sample code
<Video
key={lesson.id}
controls={true}
disableFocus={true}
source={{
uri: lesson.content,
}}
style={Learning.backgroundVideo}
progressUpdateInterval={20000}
onProgress={({seekableDuration, currentTime}) => {
onTracking({duration: seekableDuration, time: currentTime});
}}
onFullscreenPlayerDidPresent={() => {
if (Platform.OS === 'android') {
setFullScreenAndroid(true);
}
return;
}}
onFullscreenPlayerDidDismiss={() => {
if (Platform.OS === 'android') {
setFullScreenAndroid(false);
StatusBar.setBarStyle('dark-content');
}
return;
}}
onLoad={() => {
setLoading(false);
}}
/>
The text was updated successfully, but these errors were encountered: