reactautoplay

1.0.1 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i reactautoplay

Weekly Downloads

4

Version

1.0.1

License

MIT

Unpacked Size

19.6 kB

Total Files

6

Last publish

Collaborators

  • wrongakram