Skip to main content

Voice Messages

Introducion

Voice Messages addon for Better Messages extending standard Better Messages functionality with ability to send Voice Messages.

Recorded Voice Messages stored at your website hosting in efficient MP3 format and not consume many space.

Incorrect response MIME type. Expected 'application/wasm'

When you are installing Voice Messages addon - it works out of the box on most of the servers, but in some cases server is not configured properly and you can see following error when trying to record new voice message:

Error message

Error: TypeError: Failed to execute ‘compile’ on ‘WebAssembly’: Incorrect response MIME type. Expected ‘application/wasm’.

There is 2 ways to fix the issue:

  1. Ask your host (or do it yourself if you know how to) to tune your server configuration to serve this file located at your website https://yourdomain.com/wp-content/plugins/bp-better-messages-voice-messages/assets/js/bpbm-vmsg.wasm with Content-Type: application/wasm header.
  2. Add this string to your website wp-config.php file:
    define('BETTER_MESSAGES_WASM_FALLBACK', true);

After applying one of these fixes, you will be able to record the Voice Messages with no problems.