How do I configure APNG (or any custom extensions) attachments to automatically preview, like JPG or regular PNG images?

Animated PNGs are super useful for screencasts and could do without the download step.