React js UI example. media video players

React js UI example and template, media video players! . 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>
			<div class="container">
<div class="col-xs-12 col-sm-6">
	<div class="box rte">
		<h2 class="boxHeadline">Youtube video</h2>
		<h3 class="boxHeadlineSub">basic youtube iframe embed</h3>
		<iframe width="100%" height="281" src="https://www.youtube.com/embed/ESXgJ9-H-2U" frameborder="0" allowfullscreen=""></iframe>
	</div>
</div>

<div class="col-xs-12 col-sm-6">
	<div class="box rte">
		<h2 class="boxHeadline">Youtube video</h2>
		<h3 class="boxHeadlineSub">basic youtube iframe embed</h3>
		<iframe width="100%" height="281" src="https://www.youtube.com/embed/ESXgJ9-H-2U" frameborder="0" allowfullscreen=""></iframe>
	</div>
</div>

<div class="col-xs-12 col-sm-6">
	<div class="box rte">
		<h2 class="boxHeadline">Youtube video</h2>
		<h3 class="boxHeadlineSub">basic youtube iframe embed</h3>
		<iframe width="100%" height="281" src="https://www.youtube.com/embed/ESXgJ9-H-2U" frameborder="0" allowfullscreen=""></iframe>
	</div>
</div>

<div class="col-xs-12 col-sm-6">
	<div class="box rte">
		<h2 class="boxHeadline">Youtube video</h2>
		<h3 class="boxHeadlineSub">basic youtube iframe embed</h3>
		<iframe width="100%" height="281" src="https://www.youtube.com/embed/ESXgJ9-H-2U" frameborder="0" allowfullscreen=""></iframe>
	</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{margin-top:20px;
background:#eee;
}

.box {
    background: #fff;
    padding: 30px;
    margin: 0 0 24px 0;
}

.rte .boxHeadline {
    font-size: 18px;
    font-size: 1.8rem;
    font-weight: 400;
    margin: 0 0 25px 0;
}

.rte .boxHeadline+.boxHeadlineSub {
    margin: -18px 0 30px 0;
}

.rte .boxHeadlineSub {
    font-size: 14px;
    font-size: 1.4rem;
    font-weight: 400;
    font-style: italic;
    color: #919599;
    margin: 0 0 25px 0;
}

Similar snippets

React js template and ui example responsive video with description

responsive video with description

React js template and ui example bs5 dark footer

bs5 dark footer

React js template and ui example bs5 edit profile account details

bs5 edit profile account details

React js template and ui example Gradients dashboard cards

Gradients dashboard cards

React js template and ui example bs4 beta media user list

bs4 beta media user list