A French footballer suffered a heart attack while playing in a second division match between Sedan and Niort on Friday.