Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing props to AudioPlayer #40

Closed
7 tasks done
benwiley4000 opened this issue May 17, 2017 · 0 comments
Closed
7 tasks done

Add missing props to AudioPlayer #40

benwiley4000 opened this issue May 17, 2017 · 0 comments

Comments

@benwiley4000
Copy link
Owner

benwiley4000 commented May 17, 2017

A number of config options should be available to the user:

Read once, at mount time:

  • defaultVolume (double between 0 and 1; default 1)
  • defaultMuted (boolean; default false)
  • defaultLoop (boolean; default false)
  • defaultPlaybackRate (number; default 1)
  • startingTime (number; default 0)
  • startingTrackIndex (number; default 0)

Updated whenever received:

  • crossOrigin (enum['anonymous', 'use-credentials']; no default)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant