Skip to content

Commit

Permalink
improve get volume code
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisweb committed Aug 2, 2023
1 parent 2b66572 commit 3a7d656
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ player.setLoopQueue(true)
Note: all of these setters have a corresponding getter, so if you want to now what the current value is, for example if you want to know what the current volume is set to:

```ts
player.getVolume(volume)
const volume = player.getVolume(volume)
```

now it is time to build your player UI, if you want a good example of such an UI check out the [simple player example](examples/simple-player)
Expand Down

0 comments on commit 3a7d656

Please sign in to comment.