You should really get to a dr asap. My daughter used to do this when she was about 1 1/2 yrs old, she was having seizures, however very mild. She took medication for about 3 yrs and we weaned her off at dr's advice, she has not had an episode like that again.
It was the weirdest thing, like she would just go blank in the face and crash over often smacking her face on the floor. We used to joke that she would trip over thin air and knock her self out, because it would take 2-3 minutes before you could get her attn again after an episode.
Please see a dr.