How to i add slider volume to habpanel?

I successfully added Spotify to habpanel but I only have control over the songs and playlists but not the volume
i want to contol only the volume spotify how do i add this slider like in the picture?