React js UI example. responsive video with description

React js UI example and template, responsive video with description! . Take a look at this UI example and see how it can enhance your project. Your can copy or download the code and use it in your project. Don't forget to browse our library of other free React Native templates for even more design and functionality inspiration. Happy coding!
Tags: video

1. First, we need fresh reactjs setup, and for that, we need to run below commands into out terminal, and also we should have latest node version installed on our system:

npx create-react-app my-awesome-project

cd my-awesome-project

npm start

2. Now we need to run below commands into our project terminal to get bootstrap and related modules into our reactjs application:

npm install [email protected] --save

npm start //For start project again

3. Finally for the main output, we need to add below code into our my-awesome-project/src/App.js file or if you have fresh setup then you can replace my-awesome-project/src/App.js file code with below code:

import React from 'react';
import './App.css';
import 'bootstrap/dist/css/bootstrap.min.css';


function App() {
  
	return (
		<div>
			<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css" rel="stylesheet"/>
<div class="container">
<div class="row">
<div class="col-md-6">
    <div class="ibox float-e-margins">
        <div class="ibox-title">
            <h5>Video window</h5>
        </div>
        <div class="ibox-content">
            <figure>
                <iframe src="https://www.youtube.com/embed/ESXgJ9-H-2U" frameborder="0" allowfullscreen="" data-aspectratio="0.8211764705882353" style={{/*width: 523px; height: 429.475px;*/}}></iframe>
            </figure>
        </div>
    </div>
</div>

<div class="col-md-6">
    <div class="ibox float-e-margins">
        <div class="ibox-title">
            <h5>Video description</h5>
        </div>
        <div class="ibox-content profile-content">
            <h4><strong>Bootdey responsive video snippet</strong></h4>
            <p><i class="fa fa-clock-o"></i> Uploaded on Jan 27, 2016</p>
            <h5>
                Science and Technology
            </h5>
            <p>
                Lorem ipsum dolor sit amet, et singulis eleifend concludaturque cum. Ne solet eleifend prodesset sed. Iusto deleniti
                <br/>
                <br/>
                <small>Lorem ipsum dolor sit amet, et singulis eleifend concludaturque cum. Ne solet eleifend prodesset</small>
                <br/>
                <br/>
                Lorem ipsum dolor sit amet, et singulis eleifend concludaturque cum. Ne solet eleifend prodesset sed. Iusto deleniti mandamus has ut, 
                vim ut omnium ponderum tractatos, oratio nostrud no mea. Dolorum assentior sed cu </p>
            <div class="row m-t-md">
                <div class="col-md-3">
                    <h5><strong>169</strong> Likes</h5>
                </div>
                <div class="col-md-9">
                    <h5><strong>28</strong> Comments</h5>
                </div>
            </div>
        </div>
    </div>
</div>

</div>
</div>
		</div>
	);
}
export default App;

4. Now we need to add below code into our my-awesome-project/src/App.css file :

body{
background:#eee; 
margin-top:10px;
}

.ibox {
  clear: both;
  margin-bottom: 25px;
  margin-top: 0;
  padding: 0;
}
.ibox.collapsed .ibox-content {
  display: none;
}
.ibox.collapsed .fa.fa-chevron-up:before {
  content: "\f078";
}
.ibox.collapsed .fa.fa-chevron-down:before {
  content: "\f077";
}
.ibox:after,
.ibox:before {
  display: table;
}
.ibox-title {
  -moz-border-bottom-colors: none;
  -moz-border-left-colors: none;
  -moz-border-right-colors: none;
  -moz-border-top-colors: none;
  background-color: #ffffff;
  border-color: #e7eaec;
  border-image: none;
  border-style: solid solid none;
  border-width: 3px 0 0;
  color: inherit;
  margin-bottom: 0;
  padding: 14px 15px 7px;
  min-height: 48px;
}
.ibox-title h5 {
    display: inline-block;
    font-size: 14px;
    margin: 0 0 7px;
    padding: 0;
    text-overflow: ellipsis;
    float: left;
}
.ibox-tools a {
    cursor: pointer;
    margin-left: 5px;
    color: #c4c4c4;
}
.ibox-tools {
    display: block;
    float: none;
    margin-top: 0;
    position: relative;
    padding: 0;
    text-align: right;
}
.ibox-content {
  background-color: #ffffff;
  color: inherit;
  padding: 15px 20px 20px 20px;
  border-color: #e7eaec;
  border-image: none;
  border-style: solid solid none;
  border-width: 1px 0;
}
.ibox-footer {
  color: inherit;
  border-top: 1px solid #e7eaec;
  font-size: 90%;
  background: #ffffff;
  padding: 10px 15px;
}
video {
  width: 100% !important;
  height: auto !important;
}

Similar snippets

React js template and ui example media video players

media video players

React js template and ui example bs5 dark footer

bs5 dark footer

React js template and ui example facebook messenger chat

facebook messenger chat

React js template and ui example bs4 project list

bs4 project list

React js template and ui example profile edit data and skills

profile edit data and skills