Hi, I'm David, an Independent Advisor, here to help you.
I understand that your Bluetooth speaker is not playing sound connected via cable.
Does other equipment, such as a headphone, have sound connected to the same port?
Kindly follow the instructions on this link to check all the possibilities.
https://support.microsoft.com/en-us/help/452028...
I hope this helps. Feel free to ask back any questions.