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;

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.12
    2
    • latest

Version History

Package Sidebar

Install

npm i dash-react

Weekly Downloads

2

Version

1.0.12

License

ISC

Unpacked Size

4.38 kB

Total Files

6

Last publish

Collaborators

  • samparsons