Now I'd like to use the Media framework to also manage some PDF and other non-image documents and embed them into my nodes and other places. Uploading and managing generic documents works – I've tried both the "Generic file" provider, as well as the contributed "Media entity document" module.
But embedding is a nightmare. The embed dialog will let me display generic file media entities as either ID, title or thumbnail and optionally link to the media entity's page. All of this is useless to me. I don't want to allow visitors to access media pages, I'd like a simple link to the (downloadable) file instead.
Can someone tell me how to embed and make use of generic file media?