For videos, use a resolution of 1280 x 720 pixels with a 16:9 aspect ratio. Keep video length short, ideally between 15-30 seconds, to improve engagement. Twitter supports videos up to 512 MB in size and 2 minutes 20 seconds in length, but shorter videos tend to perform better​. Always optimize for mobile viewing since most users browse on smartphones.