use this in your .htaccess file:
ForceType applicaton/octet-stream
and it will force mp4 download from links
edit: force will force download if it’s a link, but if you include the mp4 file in an object like an html5 video element, it will be played.
Related Posts:
- Get url of thumbnail from the media uploader
- Import media to online WordPress from local development
- How to force Media manager to overwrite files of same name?
- How can I stop WP media uploader from creating duplicates of my uploaded images?
- Plugging into the Media Library to upload images (NOT associated with any post)
- Get attachments by user
- Adding wp_enqueue_media(); causes problem
- Media Uploader in custom path
- Attach media to multiple posts
- Featured Images are not able to be set
- Add attachment for all images in post
- Is it possible to determine when user is at “Media > Add New” vs “Post > Add an Image”
- wp.media issue with selected image
- Using the media library for theme customization
- Get video from the post on homepage
- “The REST API did not process the context query parameter correctly.” Custom theme conflicting with Media Library
- How to make the media library searchable by image title
- WordPress uploads do not show up and I see the white screen of death in some cases
- FitVid not working for iframes on particular theme install
- Is there any halfway decent documentation on the wp.media JS class?
- How to show a custom meta box on the “Quick Edit” screen?
- How to add CSS class to custom logo?
- Display Search Result Count
- Are content.php and content-single.php the same?
- How to change get_custom_logo() url?
- What can I hook into after_setup_theme?
- Removing all classes from nav_menu except current-menu-item and current-menu-parent
- Add meta-information to theme itself
- Theme elements not translating
- Adding dashicon fonts to the admin of pre 3.8 installs
- How to use bloginfo( ‘template_directory’ ) in array
- Is using eval() ok in this scenario
- Prevent WordPress updates from overriding custom language translations?
- Display site admin profile fields in header.php
- Add tinymce to widget textareas
- Custom Nav Walker to show siblings and children of current branch?
- Page template across themes
- Append HTML to an LI of wp_list_categories
- Customizer API and add_panel(). Panel doesn’t show
- Is there a filter for enqueue script to strip the type=”text/javascript” property
- How display id of most recent modified post in wordpress?
- I want to get the home root path
- Bold letters inside excerpt [closed]
- How to make Home Menu( Front Page) use index.php instead of page.php
- Unable to pass variable on theme cusomizer add_settings()
- Get a setting value conditionally in the Customizer api
- How should I be handling my theme version numbering?
- Set default featured image for terms of a custom taxonomy
- How would you accomplish the following advanced settings page?
- image url relative path not working in css file
- Sort wp_query by sum of two meta fields
- How to i style the elements from the TinyMCE
- Why wp_nav_menu() doesnt show the proper meny when invoked two consecutive times?
- Change the “Default Avatar” admin option via functions.php
- ACF Pro make URL Linked in Custom Template [closed]
- How to escape multiple attribute at once in WordPress?
- Override plugin option by with a custom theme
- Is WordPress a good option for this…?
- Review site using WordPress
- What happens if a theme is no longer supported?
- Running a function on post update with new post meta
- How to find and remove unnecessary theme scripts? [closed]
- Is There A WordPress Hook for Accessing Attachments for A Particular Page?
- WP Customazation API doesn’t save the default Value
- Change WordPress Resource URL
- Sample Theme Options page for Multisite – what to consider
- How to use shortcode inside of shortcode in theme
- Search Form Not Working
- My contact form – I’ve changed the source code but the changes are not being applied
- Theme calling page.php instead of home.php
- Why do sticky posts show in this menu?
- Dot “.” in option value foobars save options function
- style variations hurt the editing performance
- Strict Folder and File Permissions for WordPress Themes Folder
- WP Gutenberg custom block – generate theme colors from SASS and use them in the inspector and php callback
- How to properly use AWS SES for a contact form?
- No templates for condition page.php Elementor
- Use instead of for wp_nav_menu()
- Find out the reason that the Styles and scripts in the theme are loading properly in localhost but Not in server after deploying
- fetch all post from wp multisite network and sort all the post in descending order on the basis of “Created by ” term
- How allow users to select the theme color?
- How to generate a rtl.css file for themes?
- How can i create my Onepage smoothscrool WordPress theme?
- What is the best practice workflow for new website overhaul and keeping current SEO ranking? [closed]
- Add a customize control depending wich radio setting is checked
- Providing updates to your WordPress theme
- How do child themes work?
- Mutlisite in wordpress is not working
- How can i create a tag with the template’s name like below, and what is the purpose of using them? [duplicate]
- Checking conditionals
- add_theme_page is not working
- including post-specific feed without full wp_head()
- Show post thumbnail only if it exists using timthumb
- What matters should I care to make my theme SEO friendly? [closed]
- How to resize video lightbox popup in wordpress? [closed]
- How can I get rid of the distance when I’m using list-style-type: none? [closed]
- Extracting Distance from FacetWP Proximity Function to Display in WordPress Template
- WP site makes mobile browser crash for high memory usage
- How to automatically set a Template Page Name next to a page in menu screen such as WooCommerce pages, front page, or posts page in wordpress?
- Remove nonindex meta tag