Any idea on how I can totally disable or entirely remove the default/Native Wordpress video player?

  • 1
    Note that if you do this it'll revert to the default player the browser provides, which will appear very different from browser to browser. This may also break playlists
    – Tom J Nowell
    Jan 20, 2021 at 21:39

1 Answer 1


welcome aboard.

WordPress uses Media Elements JS for default video/audio player. You can disable this scripts with this code. Please add this code to your theme's functions.php

 function deregister_media_elements(){

PS. This code de-register mediaelements.js from all WordPress (with your current theme).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.