Could use modernizer to choose the smallest file when there are >1 compatible codecs. That is: use webm in chrome, even though mp4 is supported.