react本机视频控件警告动画:未指定"useNativeDriver".React Native



我正在使用react native开发Android应用程序,在将react native从60.0升级到62.2后,我在我的应用程序中使用react-native-video-controls

我收到错误
警告动画:未指定useNativeDriver。在React Native 62.2中用于React Native视频控件

import Video from 'react-native-video';
import VideoPlayer from 'react-native-video-controls';

<View style={{ width: "100%", height: '100%', backgroundColor: '#065535' }} >
<VideoPlayer
navigator={this.props.navigator}
source={{ uri: "https://howtags.com/" + items.file_Name }}
style={{ width: '100%', height: '100%', top: 0, left: 0, bottom: 0, right: 0, position: "absolute" }}
ref={(ref) => { this.player = ref }}
resizeMode="cover"
posterResizeMode="cover"
fullscreen={true}
onEnd={this.onEnd}
onLoadStart={this.onLoadStart}
onProgress={this.onProgress}
paused={this.state.paused}
onFullScreen={this.state.isFullScreen}
volume={10}
/>
</View>

我只有在升级到"react native"后才收到这个错误:"^0.62.2",如果有人知道解决方案,请帮助我

现在已经修补了。使用react-native-video-controls: ^2.5.0

最新更新