I'd like to understand what is the purpose of the WordPress core javascript file /wp-includes/js/mediaelement/mediaelement-and-player.min.js
I am asking that because it weighs 136KBytes and I'd like to understand if I can avoid to load it for certain websites that eventually do not use that functionalities.
I'd like to understand what is the purpose of the WordPress core javascript file /wp-includes/js/mediaelement/mediaelement-and-player.min.js
I am asking that because it weighs 136KBytes and I'd like to understand if I can avoid to load it for certain websites that eventually do not use that functionalities.
Share Improve this question asked May 6, 2020 at 19:36 DrakeDrake 1,4312 gold badges23 silver badges37 bronze badges1 Answer
Reset to default 1It's for the audio and video players used by the [audio]
and [video]
shortcodes, as well as the Audio and Video widgets, but not the Audio and Video blocks. The script will only be enqueued if you are using the shortcodes or widgets.