Including the Entry Type in a Section’s URL Format

You can tailor your section’s URI Format to include the Entry Type handle simply by adding a {type} tag to it:

media/{type}/{slug}

Applies to Craft CMS 3.