1.0.1 • Published 4 years ago

reactautoplay v1.0.1

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

reactautoplay

Auto play video when you hover on the thumbnail.

NPM JavaScript Style Guide

Install

npm install --save reactautoplay

Usage

import React from 'react'
import VideoThumbnail from "reactautoplay";

const App = () => {
    return (
        <VideoThumbnail
          title='The Bachelor Premieres January 6'
          preview='https://media1.giphy.com/media/llsb2HU9sKfK57pcnf/giphy480p.mp4'
          badge='Premiere'
          badgeBG='#EF798A'
          message='1.2M Watching Now 🔥🔥'
          muted={false}
          width={350} 
          classname='customClassName' /> 
    )
}

License

MIT © wrongakram