Skip to content

Commit 7052e44

Browse files
committed
feat: updated readme
1 parent 1903437 commit 7052e44

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ They can be turned off by setting `hasKeyBindings` prop to `false`
7474

7575
- `className` (string, optional): A CSS class name for styling the component.
7676
- `src` (string, required): The URL or file path of the audio file to be played.
77+
- `autoPlay` (boolean, optional): Set this to `true` to autoplay the audio. Default is `false`.
7778
- `preload` (string, optional): Specifies the preload behavior for the audio file. Possible values are:
7879
- `auto`: The audio data is loaded as soon as possible.
7980
- `metadata`: Only metadata (e.g., duration) is loaded.

0 commit comments

Comments
 (0)