APP Onboarding Video – File size [on hold]

I'd really like to have a video played during the onboarding steps of an APP. Is there a min/max size for a video to play? How do you set a tolerance to fall back to load an image? Thanks