For years we did it in an electric frypan rather than on a stove element using a regular frypan or pot. Once for fun for the kids, my wife set that up in the middle of the Living Room floor with a big clean sheet spread out, and NO lid. Flying puffs accompanied by gales of giggles!
The REAL "old school" way from when I was a kid was a steel mesh cage on the end of a long metal arm and filled with dry kernels. You held that over an open fire when camping or backyard barbecuing, or over a hot stove element, and shook it to keep kernels moving to avoid burning.