The story goes that the idea for YouTube came to its founders (Chad Hurley, Steve Chen, and Jawed Karim) at a dinner party at Steve Chen's San Francisco apartment in 2005 when they were unable to share videos of the party because of an email attachment error.