Is it wireless or is it Bluetooth, they are two different technologies. The former usually require some form of dedicated base because they do not use a computer WiFi network but operate their own independent network.
Bluetooth is far more commonly used but again requires the right hardware in the computer. it requires a Bluetooth adapter in the PC that recognises A2DP devices (not all do). Once paired the speaker becomes another playback device.