Dynamically calculate comment duration according to video aspect ratio