MacBook Pro M1 freezing when streaming YouTube
I'm experiencing random freezes of my 2021 MacBook Pro M1 16in running Monterey when I watch YouTube videos. I have no idea what the trigger may be as the videos can play fine for some length of time and then suddenly freeze -- or sometimes the audio continues -- but I have no more control over the computer. I have to hard reboot. Once I've experienced the freeze, it often happens again quickly after restarting. But if the computer has been shut down of a while, it could be days before it happens again. I've tried restarting in safe mode and have not experienced the problem while running this way. So I must have a software conflict. But I have no idea how to troubleshoot it. Has anyone else experienced this and found a fix? Or does anyone have a suggestion for analyzing the problem? Thank you.
MacBook Pro 16″, macOS 12.5