computer does not recognize speaker

Solution
That speaker uses USB port for charging only, it does not use it as an USB speaker.
Your PC must have Bluetooth adapter installed, and then you pair the speaker with your PC (in the same way as you would pair it with your phone)