Any other media player that’s similar to windows default “media player”, where it will shows under connection icon?

how does windows treat video or mp3 file as media item where it shows up under connection icon? Trying to find something similar. (trying my best to explain it)

Any time when you play a video on youtube using any browser or using default media player, the item will show up under the connection icon. This is the only 2 way that I know, and it’s what I am looking for because you can control the play back of that item using bluetooth headphone, even if you step away from your pc.

I tried other music or video players such as vlc, mpc, it just doesn’t have the same function. So wondering how does that work, and if there’s any other app with similar function.