Youtube videos apperars with green-white lines

Problem
Youtube videos show moving green-white-black lines when the quality turns 240p.
Tested on two of my android device (android 10 and android 6)
With android 10 I am getting this problem it all the time whereas with android 6 device it happens sometimes.
All the settings are set to default (expect background video playback turned on)

How to replicate this problem:
Turn on video quality to 240p
(try to turn on background video playback in browser settings)

Screenshot from Redmi with android 10
Normal View:


Fullscreen_Youtube Video

Youtube setting configuration