Hi @AlejandroVe277, I'm delighted to hear you will be publishing your course on Udemy!
The maximum length for each video is 4 hours. Additionally, each video file cannot be larger than 4 GB as this is the limit in size.
Keeping videos between 2-7 minutes is only our recommendation to provide a better learning experience for students, as identified in research conducted by specialists, but it is definitely not a requirement. You can learn more about our Video Standards here.
I hope this helps!