Loading Video.js +4 −4 Changes for Video.js: 4 added lines, 4 removed lines. Original line number Diff line number Diff line Loading @@ -31,10 +31,6 @@ class Video extends Component { this._onEnd = this._onEnd.bind(this); } seek(time) { this.setState({ seekTime: time }); } render() { const { seekTime } = this.state; const { Loading Loading @@ -82,6 +78,10 @@ class Video extends Component { return <RCTVideo ref={ref} {...nativeProps} />; } seek(time) { this.setState({ seekTime: time }); } _onLoadStart(event) { this.props.onLoadStart && this.props.onLoadStart(event.nativeEvent); } Loading Loading
Video.js +4 −4 Changes for Video.js: 4 added lines, 4 removed lines. Original line number Diff line number Diff line Loading @@ -31,10 +31,6 @@ class Video extends Component { this._onEnd = this._onEnd.bind(this); } seek(time) { this.setState({ seekTime: time }); } render() { const { seekTime } = this.state; const { Loading Loading @@ -82,6 +78,10 @@ class Video extends Component { return <RCTVideo ref={ref} {...nativeProps} />; } seek(time) { this.setState({ seekTime: time }); } _onLoadStart(event) { this.props.onLoadStart && this.props.onLoadStart(event.nativeEvent); } Loading