According to the top comment [here](http://jakevdp.github.io/blog/2013/05/12/embedding-matplotlib-animations/), the full set of extra arguments should be `extra_args=['-vcodec',` 'libx264', '-pix_fmt', 'yuv420p']' This seems to get things working for Safari