Some people like to stream audio in the browser, others like to download. Each of them is able set up the browser to choose between downloading or streaming different MIME types to get what they need.
On the other hand you can force download of certain MIME type files using PHP header()
function.
See How can I force a file download in the WordPress backend? for starting point.
Related Posts:
- Turn a URL into an Attachment / Post ID
- Delete Associated Media Upon Page Deletion
- Delete post with all files attached to it
- Is it possible to Schedule Attachments in WordPress?
- what types of order can I pass to get_posts() via orderby?
- Find the post an attachment is attached to
- media_handle_upload for local files?
- How do I detach images from posts?
- Use an attachment in multiple posts
- delete post also attachments
- Replacing all attachment links in post with media file link
- Get post id by attachment id?
- How can I export WordPress posts’ attachments?
- How to remove images from showing in a post with the_content()?
- How do I create Comma Separated list of attached image ids?
- Get post embedded image caption
- Limit amount of results returned
- post_parent is 0 when uploading new files
- Easy way to delete 70k posts and attached media?
- How to access featured image?
- Load post attached images on a single page site with fancybox
- Insert woocommerce products programmatically with featured image and gallery
- Add the description field on the attached media
- Set size for attachments
- I have a site where attachments in the wp_posts table have guid values of guid, how did this happen?
- Get all attachment by post excluding featured and content inside
- Prevent Delete Attachment by URL or When Submit
- Posts and Attachments with “Published” status in Search
- Get attachments for posts that belongs to a specific category
- Automatically attach image to post if they have the same title
- Get Image tag from content of post
- Can’t update old posts 3.5.2
- How would one change the default url structure of attachments?
- Get attachments only for this post
- Upload attachment from external site
- Reinstall WordPress while keeping attachments
- Audio post format with Advanced Custom Fields
- Get images from the post
- How to create a playlist for audio associated with posts per category
- How to get the next and previous image title from attachment or gallery?
- All images on one line for each post
- How do I assign an attachment to a post using only the REST API?
- Unable to delete attached file from folder programmatically
- How to convert attachment pages to Posts?
- Get post attachment with post id
- Delete attached images from posts
- Unable to get all the Posts Attachments
- Add in the url attachment loop the wp_link_pages of the post
- Stop images from being displayed on the front-end of the site
- How to get images only attached from edit post page
- How to prevent people from seeing an attachment to a scheduled post that’s released in future?
- How can I get a comment ID on Submit?
- Bulk Attach Or Insert Media To Post Without Opening Post Editor
- How to add audio media in a post?
- Post Attachment missing head (stylesheets/js/what-not)
- Create post from form with image
- Get Video Attachment to post
- how to edit attachments?
- Broken images after importing posts and opening in Gutenberg
- Querying post from a multisite network
- Invalid Post Type error when attempting to filter and Bulk Edit posts
- Only display posts with comments
- How to update all post at once?
- Force update all posts in custom post type, no content changes
- How to Customize number of blog posts on first page?
- Load posts into sidebar and paginate via ajax?
- Custom Theme Want To Remove One Category From All Displays
- Instead of submiting an entire post, is there any way to submit a lite-post or a simple message?
- How do I use Ajax to show the new posts realtime, on the frontpage
- Allow anonymous users to post to my site for moderation
- How Can i Get 5 Recent Post Title With Corresponding Link?
- WP_Query posts_per_page ignored
- Define a wordpress constant through plugin functions?
- Show all posts in sidebar in single.php
- recent posts for different categories
- import mailchimp newsletters into wordpress [closed]
- remove post and categories/tags count from right now dashboard widget
- How to allow visitors to filter posts by multiple taxonomies
- displaying flv-video attachment in post
- Deleted a user with administrator rights. Now all the data/content/images are lost. how to recover them back
- List all posts, pages and custom post types in admin
- Selecting related posts
- Site/Post preview is not working on all social media
- Add a field in my rest api
- Getting image data from phone camera (MediaDevices.getUserMedia) into user post
- Prevent a post with a specific ID from being created
- Template with ACF and Pagebuilder
- Posting or Updating Article Fails on WordPress [closed]
- Show posts from last 3 years in posts page
- My custom query is displaying random posts in random order
- Output wp_link_pages as raw url
- Send Newsletter-Email when post changes
- Display the latest post from some selected authors
- Add custom class to existing menu items from custom meta
- Multiple loops on a Search result page?
- WP_Query: Fetch posts that are in (category1 and not in category2), OR posts that are not in cagegory1
- How do I display a full post, not just an excerpt?
- Redirecting to a post based on a GET parameter and a custom field
- Stop Authors from submitting spam post
- Published posts counter [closed]