Skip to content

Error handling #25

@zzarcon

Description

@zzarcon

Different error might happen while trying to play the audio:

We should handle those accordingly and notify consumer:

import MicDrop from 'react-micdrop'

<MicDrop 
  src="nope"
  isPlaying={this.state.isPlaying}
  onError={() => this.setState({isPlaying: false})}
/>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions