3.0.4 • Published 5 days ago

reactjs-media v3.0.4

Weekly downloads
54
License
MIT
Repository
github
Last release
5 days ago

Reactjs Media

License: MIT Npm package total downloads version npm.io

The reactjs media is a react package with awesome HTMLMediaElements that are recreated into react components with a good looking UI and fast UX.

Try it out on CodeSandbox

It includes currently only has a video and audio component.

Available components:

  • Video
  • Audio

Installation

To install go to your terminal and run this script

# npm
$ npm install reactjs-media
# yarn
$ yarn add reacttjs-media

If your see no error then is is Installed.

Setup

In here we shall show a small demo on how to setup a simple video component. We shall create the default component.

import React from 'react';
import { Video } from 'reactjs-media';

const App = () => {
    return (
        <div>
            <MyVideo />
        </div>
    )
}

const MyVideo = () => {
    return (
        <>
        <div>
            <Video
                src='https://www.example.com/myvideo.mp4'
                poster='/poster.png'
            />
        <div/>
        </>
    )
}

If you want to learn more, Checkout the offical Documentation


The source code can be found on Github.

3.0.4

5 days ago

3.0.3

6 days ago

3.0.1

6 days ago

3.0.0

6 days ago

2.2.0

2 years ago

2.1.4

3 years ago

2.1.3

3 years ago

2.1.2

3 years ago

2.0.0

3 years ago

1.5.1

3 years ago

1.4.0

3 years ago

1.3.1

3 years ago

1.3.0

3 years ago

1.2.0

3 years ago

1.1.6

3 years ago

1.1.5

3 years ago

1.1.4

3 years ago

1.1.3

3 years ago

1.1.2

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago