Here’s a surprising fact: It costs money to watch video online, even on free sites like YouTube. That’s because roughly 80% of web videos rely on a patented technology called the H.264 video codec that lets engineers shrink large media files and transmit them quickly over the internet.