I recommend using smplayer with mpv backend with x11
output driver selected in its settings for video output.
Also related topic about youtube playback (maybe you find something useful there):
I recommend using smplayer with mpv backend with x11
output driver selected in its settings for video output.
Also related topic about youtube playback (maybe you find something useful there):