Online videos with large file sizes contribute to carbon emissions. Optimizing videos for the web can make them more people- and planet-friendly.