Skip to content

JulienDemarque/react-happy-video

Repository files navigation

react-happy-video travis build codecov

Welcome to react-happy-player, a low-config react component for a stylish video player. Intended to provide easy control on the video playback. See a demo.

Install

$ npm i react-happy-video

Usage

import VideoPlayer from 'react-happy-video';
const YourComponent = () => {
  return (
    <VideoPlayer
        width="600px"
        color:"#3b3346"
        source="[your url]"
    />
  )
}

How to contribute:

  • install a react app somewhere on your machine (we will call demo/ the folder), Be sure to have hot-reloading.
  • clone the react-happy-player somewhere else (we will call library/ the folder)
  • npm link in library/
  • npm link react-happy-video in demo/
  • import and use the VideoPlayer in demo/ WHITHOUT npm i react-happy-video
  • start your demo/ react app
  • npm run build:watch in library/
  • Edit the react-happy-player library

The MIT License (MIT) Copyright (c) 2018 Julien Demarque

About

A npm library for a low-config stylish react video player

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published