text: import React from 'react';
  
  const VideoListItem = (props) => {
  
    const video = props.video;
    const imageURL = video.snippet.thumbnails.default.url;
    const onVideoSelect = props.onVideoSelect;
  
    console.log(video.snippet)
  
    return (
      <li onClick={ () => onVideoSelect(video)} className="list-group-item">
        <div className="video-list media">
          <div className="media-left">
            <img className="media-object" src={imageURL}/>
          </div>
  
          <div className="media-body">
            <div className="media-heading">{video.snippet.title}</div>
          </div>
        </div>
      </li>)
  
  }
  
  export default VideoListItem;
  