Skip to content

Instantly share code, notes, and snippets.

@jide
Created July 11, 2016 21:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jide/43da15a9fcf9378f5892bc28157b8d27 to your computer and use it in GitHub Desktop.
Save jide/43da15a9fcf9378f5892bc28157b8d27 to your computer and use it in GitHub Desktop.
export default class Video extends Component {
render() {
return (
<video
ref='video'
{ ...this.props }
onDurationChange={ this.handleDurationChange }
onRateChange={ this.handleRateChange }
onTimeUpdate={ this.handleTimeUpdate }
onSeeking={ this.handleSeeking }
onSeeked={ this.handleSeeked }
onWaiting={ this.handleWaiting }
onCanPlay={ this.handleCanPlay }
/>
)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment