by Denis Yanchevskiy on WordPress.org

Examples of attachment types.
DCO Comment Attachment allows your visitors to attach images, videos, audios, documents and other files with their comments. They will also be able to automatically embed links from Youtube, Facebook, Twitter and other services in the comment text.
With plugin settings you can:
You can also:
[dco_ca] shortcode. You can also filter by type. See FAQ for details.Attachments are uploaded to the WordPress Media Library and deleted along with the comment (if this is set in the settings).
REST API is supported.
DCO Comment Attachment is also available on GitHub.