Assalamualikum warahmatullahi wabarakatuhu. There at times I get very short video clips when I close my eyes and take rest. Is this because of the jinn?
All perfect praise be to Allah, The Lord of the Worlds. I testify that there is none worthy of worship except Allah, and that Muhammad is His slave and Messenger.
We do not know what the essence and reality of this is; perhaps psychiatry has the ability to know the source of these imaginations that you see.
What we advise you is not to get carried away with daydreaming and drowning in imaginary thoughts; rather, a person should occupy himself with what benefits him in his religion and worldly matters.
It would be good if you consult a psychiatrist.
Allah Knows best.
You can search for fatwa through many choices