Can someone help me I don't know what's happening

A few minutes ago I was watching my guinea pig lay down on my bed as I was watching YouTube and his pupils started darting everywhere and rolling around his eyes kinda like if he was possessed by a demon or something (I used this to help you understand what was happening), and it went on until I started petting him. I don't know if it was nothing or something seriously wrong, I also have some other images of a little before his pupils started tweaking out and going crazy of when he was laying down but his pupils started to sink lower down. Can someone tell me what's going on and if I should be concerned.