Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <PRE>
- _onEnd() {
- // This onEnd after the implementation of the onProgress did not stop how the onEnd after the implementation of the onProgress also stop execution?
- // The 'volume' seems to be set up but does not work
- console.log('is end?');
- this.setState({
- videoProgress:1,
- playing: false
- })
- <Video
- ref="videoPlayer"
- source={{
- uri: data.video
- }}
- style={styles.video}
- volume={10.0}
- paused={this.state.paused}
- rate={this.state.rate}
- muted={this.state.muted}
- resizeMode={this.state.resizeMode}
- repeat={this.state.repeat}
- onLoadStart={this._onLoadStart}
- onLoad={this._onLoad}
- onProgress={this._onProgress}
- onEnd={this._onEnd}
- onError={this._onError}
- />
- }
- </ PRE>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement