1.0.5 • Published 4 years ago

upkeep-js v1.0.5

Weekly downloads
1
License
MIT
Repository
-
Last release
4 years ago

UpkeepJS

Welcome to UpkeepJS: React video built for the mobile world. UpkeepJS is designed for frontend developers seeking a lightweight solution to mobile video.

Getting Started

Installing

Install upkeep-js and peer dependencies via NPM:

npm install --save upkeep-js react react-dom prop-types styled-components

Import the UpkeepVideo component, then provide props according to the following specifications:

src = 'string'
// Required - provides the uri of the video to be loaded.
// Accepts local filepaths and externally hosted videos.

width = 'string'
// Optional - provides width of the player.
// Height is automatically adjusted based on the video's dimensions.

For example:

import React from 'react';
import UpkeepVideo from 'upkeep-js';

export default props => {
  return (
    <div>
      <h1>New Video</h1>
      <UpkeepVideo
        src='https://media.w3.org/2010/05/sintel/trailer_hd.mp4'
        width='200px'
      />
    </div>
  );
};

Contribute

Find UpkeepJS on GitHub

Authors

Travis Frank - Initial Author - TravisFrankMTG

License

This project is licensed under the MIT License

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago