now supports webm and ogg encodes, gif works correctly