Archived
non mi ricordo cosa ho fatto
This commit is contained in:
+2
-2
@@ -27,7 +27,7 @@ class VideoPlayer extends Component {
|
||||
|
||||
}
|
||||
|
||||
componentDidMount(){
|
||||
componentWillMount(){
|
||||
if(this.props.match.params.id)
|
||||
this.setState((state, props) => { return { videoId: props.match.params.id }});
|
||||
|
||||
@@ -70,7 +70,7 @@ class VideoPlayer extends Component {
|
||||
// console.warn(event.target.getDuration());
|
||||
}
|
||||
_onStateChange(event) {
|
||||
// console.info('statechange: ', event)
|
||||
// console.info('statechange: ', event.data)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user