New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

upkeep-js

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

upkeep-js

React video built for the mobile world

latest
npmnpm
Version
1.0.5
Version published
Maintainers
1
Created
Source

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

FAQs

Package last updated on 14 Aug 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts