Media types are a great way to organize and improve the rendering of various file types. Unfortunately, media alone is unable to provide a single file input for multiple media types. This module provides a new "Media abstract file" field type and formatter. It appears and acts like a standard file field. On save, the magic begins, each uploaded file automatically creates a media entity matching the file extension. Each field may enable specific media types.

Documentation

https://git.drupalcode.org/project/media_abstract

Supporting organizations: 

Project information

Releases