An open API service indexing awesome lists of open source software.

https://github.com/fdmediagroep/fdmg-ts-react-audio-widget

ReactJS AudioWidget component
https://github.com/fdmediagroep/fdmg-ts-react-audio-widget

compnent enzyme fdmg jest react reactjs tslint typescript typescript2

Last synced: 9 months ago
JSON representation

ReactJS AudioWidget component

Awesome Lists containing this project

README

          

> :exclamation: **DEPRECATED** :exclamation:

# fdmg-ts-react-audio-widget

[![Build Status](https://travis-ci.org/FDMediagroep/fdmg-ts-react-audio-widget.svg?branch=master)](https://travis-ci.org/FDMediagroep/fdmg-ts-react-audio-widget)
[![Coverage Status](https://coveralls.io/repos/github/FDMediagroep/fdmg-ts-react-audio-widget/badge.svg?branch=master)](https://coveralls.io/github/FDMediagroep/fdmg-ts-react-audio-widget?branch=master)
[![npm version](https://badge.fury.io/js/%40fdmg%2Fts-react-audio-widget.svg)](https://badge.fury.io/js/%40fdmg%2Fts-react-audio-widget)

[ReactJS](https://reactjs.org/) AudioWidget component. This component renders a stand-alone Audio Widget for playing
audio files. All you need is some styling and you're good to go.

## Installation
- Run `npm i --save-dev @fdmg/ts-react-audio-widget`

or

- Run `yarn add @fdmg/ts-react-audio-widget --dev`

## Usage
### TypeScript
```
import * as React from 'react';
import H1 from 'fdmg-ts-react-audio-widget';

export default class foo {
public state: any;
public props: any;

constructor(props: any) {
super(props);
this.props = props;
}

handleOnLoad() {}

handleOnCanPlay() {}

handleOnLoadStart() {}

handleOnLoadedData() {}

handleOnSeeked() {}

handleOnEnded() {}

handleOnSeeking() {}

handleOnTimeUpdate() {}

render() {
return (

);
}
}
```

### Resulting HTML
```











12s
5m 0s



```