For some reason, I'm having a problem where my screen will occasionally while watching YouTube (Not sure if it is other videos or platforms), a black polygon-like shape will flash on the screen really quick and go back to normal. This may happen several times while watching a YouTube video. I recorded a video in slowmotion below. The last part of the video is NOT the laptop stuck with the polygon, just a picture of what it looks like.
I have the 2.3ghz with no dedicated GPU. Wondering what this could be.
Video:
I have the 2.3ghz with no dedicated GPU. Wondering what this could be.

Video: