Update fade method example - need to start playback at volume: 0 so you don't hear a glitch before fade kicks in.
Also I found the useEffect should also take "player" as a dependency and should only try fade when player=true otherwise it throws an error
Update fade method example - need to start playback at volume: 0 so you don't hear a glitch before fade kicks in. Also I found the useEffect should also take "player" as a dependency and should only try fade when player=true otherwise it throws an error