From 3a7d65679b9652fd8434f09eabd14e047716486d Mon Sep 17 00:00:00 2001 From: chrisweb Date: Wed, 2 Aug 2023 23:51:37 +0200 Subject: [PATCH] improve get volume code --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index efe46f0..6898c43 100644 --- a/README.md +++ b/README.md @@ -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)