I'm not very familiar with audio integration so I'm wondering why I couldn't simply use the plain <audio> element? This would avoid the overhead of medialement.js that WP seems to use. I'm fine with targeting only recent browsers that support <audio> . Am I missing something? Cheers.

  • You can use <audio> if this satisfies you. WordPress is targeted at a large audience with different user agents and environments - wp-mediaelement.js might be necessary for backward compatibility. I disabled JS, and <audio> element worked for me. :) Mar 18, 2021 at 9:06
  • Thanks @MayeenulIslam ! Based on those stats, I'm confident that my user base will be better served with a simple <audio> element. Cheers!
    – Kerans
    Mar 18, 2021 at 11:57


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.