I think videoElapsed is only updated once a second, right?  So the min recordingTime of 500 effectively becomes 1000 here. I don't know if we actually care, though.