The House voted to ban online gaming parlors after hours of fierce debate and intense industry lobbying.