JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 7
  • Score
    100M100P100Q45848F
  • License MIT

React wrapper for playable

Package Exports

  • react-playable

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (react-playable) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

react-playable

React wrapper for playable

Instalation

npm install react-playable

Usage

import ReactPlayable from 'react-playable';

function App() {
  return (
    <ReactPlayable
      width={760}
      height={428}
      title="MY VIDEO!"
      src="http://clips.vorwaerts-gmbh.de/big_buck_bunny.mp4"
    />
  );
}

See code for component props datails

You can play with demo here