React component to load video from Vimeo or Youtube across any device Sample in 2020

React component to load video from Vimeo or Youtube across any device Sample in 2020


tutorials -

React Video

A pretty good and effective way to create a video placeholder from Youtube or Vimeo using a high-res image.

If you don't know, when an iframe is rendered from browser, it blocks its parse because it isn't a non-blocking script. This isn't so good to your user, no?. With this react component, the iframe just will be loaded when the user click on play.

Install

Installing this component is very easy and it has just one dependency: React. So, you have a lot of options to do that:

Using NPM the quickest way

  $ npm install --save react-video

Using Bower

  $ bower install --save react-video

Live Demo

http://pedronauck.github.io/react-video/

GitHub

Trending On Tutorial Stuff

Our Sponsors

Top Applications in Tutorial Stuff

Top Experts In Tutorial Stuff