I use 2 velcro straps and just wrap them around the bluetooth speaker on the top tube, the speaker has a rubber base so it doesn't slip (tecevo s30) for the phone I use a generic phone holder that u found locally for 12$ that has rubber clips and a screw like rotating base.
I don't use Bluetooth speaker much on my bike anymore since I don't want to bother others with my music.