The iPhone 3GS and iPhone 4 can orient the map with its digital compass.[103] Apple also developed a separate application to view YouTube videos on the iPhone, which streams videos after encoding them using the H.264 codec. Simple weather and stock quotes applications also tap into the Internet.