Quick-thinking first responders have been praised for using a defibrillator as he went into seizures.