Hi, the ios green tracker dont move, actually i have the current time, but this dont works
this.state = {
trimmerPosition: 0
}
<VideoPlayer
ref={ref => this.videoPlayerRef = ref}
height={Screen.height * 0.7}
width={Screen.width}
startTime={this.state.video.startTime} // seconds
endTime={this.state.video.endTime} // seconds
play={this.state.play} // default false
replay={true} // should player play video again if it's ended
source={this.state.video.uri}
volume={1}
onChange={ ({ nativeEvent }) => {
this.setState({ trimmerPosition: nativeEvent.currentTime });
}
}
resizeMode={VideoPlayer.Constants.resizeMode.CONTAIN}
/>
<Trimmer
source={uri}
height={50}
width={Screen.width}
currentTime={this.state.trimmerPosition} // use this prop to set tracker position iOS only
themeColor={'gray'} // iOS only
thumbWidth={30} // iOS only
trackerColor={'green'} // iOS only
onChange={(e) => {
this.onChangeTimmer(e.startTime, e.endTime);
}}
/>
Current Behavior
Hi, the ios green tracker dont move, actually i have the current time, but this dont works
<Trimmer source={uri} height={50} width={Screen.width} currentTime={this.state.trimmerPosition} // use this prop to set tracker position iOS only themeColor={'gray'} // iOS only thumbWidth={30} // iOS only trackerColor={'green'} // iOS only onChange={(e) => { this.onChangeTimmer(e.startTime, e.endTime); }} />
video demo https://youtu.be/hDID_zNgn1k
Expected Behavior
move the ios tracker or hide this
Your Environment