I faced this issue twice.
When I would play a YouTube video it just pauses and hangs. it’s on my 2020 Sony Bravia TV which runs on Android TV.
I tried resetting my WiFi and resetting the Youtube app. Both didn’t work. When you turn the tv off and on it doesn’t really reset the TV. So there is some magic sauce to actually resetting the TV.
Watch the video below to learn how to soft reset your TV to fix the youtube app freezing issue.
Do let me know if this did not fix your issue.