Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Youtube Watch component: displaying the correct video
export class WatchContent extends React.Component {
render() {
if (!this.props.videoId) {
return <div/>
return (
<div className='watch-grid'>
<Video className='video' id={this.props.videoId}/>
<VideoMetadata viewCount={1000}/>
<Comments amountComments={112499}/>
<RelatedVideos className='relatedVideos'/>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.