dash-react
TypeScript icon, indicating that this package has built-in type declarations

1.0.12 • Public • Published

dash-react

react/dash.js integration component

Install

npm install dash-react

Usage

import React from 'react';
import DASH from 'dash-react';

class VideoPlayer extends React.Component {
  render() {
    return (
      <DASH 
        className={"class-name"}
        controls={true}
        autoPlay={true}
        url={"url.mpd"}
        options={this.props.options}
      />
    );
  }
}

export default VideoPlayer;

Package Sidebar

Install

npm i dash-react

Weekly Downloads

0

Version

1.0.12

License

ISC

Unpacked Size

4.38 kB

Total Files

6

Last publish

Collaborators

  • samparsons