Hello desmond789,
Thank you for using the Apple Support Communities. Keeping your iPhone running smoothly is a great idea, and I'd like to see if I can help. I understand you might be having an issue when you watch video for an extended period of time.
Can you clarify what's happening when you say the screen shakes? Are you referring to the image on your display, or does the display seem to be physically shaking?
Is this happening while your device is on the charger, off the charger, or both?
Also, does it happen in any other circumstances that you've noticed, or only after watching videos for a few hours as you mentioned?
When the issue occurs, does it stop if you Restart your iPhone?
Also, it may be helpful to ensure you're running iOS 13.4 under Settings > General > About: How to back up your iPhone, iPad, and iPod touch and Update your iPhone, iPad, or iPod touch
Feel free to reply back with the answers to the questions above, and the community may be able to offer additional steps.
Have a great day.