text: import React from 'react';
  
  const VideoDetail = ({video}) => { // (props) => { const video = props.video; ... }
  
  	if(!video) {
  		return <div>Loading...</div>
  	}
  
  	const videoId = video.id.videoId;
  	const url = `https://www.youtube.com/embed/${videoId}`; 
  
  
  
  	return(
  		<div className="video-detail col-lg-8">
  			<div className="embed-responsive embed-responsive-16by9">
  				<iframe className="embed-responsive-item" src={url}></iframe>
  			</div>
  
  			<div className="details">
  				<div className="detail-title">{video.snippet.title}</div>
  				<div className="detail-description">{video.snippet.description}</div>
  			</div>
  		</div>
  	);
  
  };
  
  export default VideoDetail;