[mms] Add thumbnail generation for video attachments.