react-thumbnail-player
NPM package to make video thumbnails play / pause on hover and more in your react app.
A simpleInstallation
npm install --save react-thumbnail-player
Usage
import React Component from "react"; import VideoThumbnail from "react-thumbnail-player"; { return <div> <VideoThumbnail ="Animated Cartoon" ="10M views" ="http://clips.vorwaerts-gmbh.de/VfE_html5.mp4" = = ="Live" ="blue" ="customClassName" /> <VideoThumbnail /> </div> ; }
Want to contribute to our project?
Please check our issues here !
Note : If you are addressing an issue that requires modification of code, remember to execute the tests, using the command npm test
. It ensures that things are working as they should.
License
This project is licensed under the MIT License, Copyright (c) 2020 Vikrant Bhat.