import React,{ Component } from 'react';
import PropTypes from 'prop-types';

class Video extends Component{

  render() {
    const { videoUrl } = this.props;
    return (
      <div className="detailCard">
        <div className="detailCardContxt">
          <video src={videoUrl} width="100%" height="100%" controls="controls" autoPlay>
            Your browser does not support the video tag.
          </video>
        </div>
      </div>
    );
  }
}

export default Video;
