JSPM

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

api.video React player component

Package Exports

  • @api.video/react-player
  • @api.video/react-player/dist/index.js

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 (@api.video/react-player) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

badge   badge   badge

api.video React player component

npm ts

api.video is the video infrastructure for product builders. Lightning fast video APIs for integrating, scaling, and managing on-demand & low latency live streaming features in your app.

Table of contents

Project description

Getting started

Demo project to illustrate how to publish a package to npmjs. Could become a real React component one day :)

Installation

$ npm install --save @api.video/react-player

Basic usage

You can then use the component in your app:

// standard upload:
import ApiVideoPlayer from '@api.video/react-player'

//...
export default function Home() {
  return (
      // ...
        <ApiVideoPlayer videoId="vi5fv44Hol1jFrCovyktAJS9" />
      // ...
  )
}

Documentation

Props

Methods