I am facing the same issue (connecting via usb c). However, in my case it was working earlier. There was a windows update and since then its just a black screen on youtube and every other video streaming window.
Additionally, after disconnecting from the monitor, video does not immediately work even on the laptop screen; I have to restart to make it work again.
Same spec laptop as OP. Running windows 11, update took place 2 days ago.