Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter zed0015

    (@zed0015)

    Hi,
    The file can be uploaded but not displayed. But i found the solution ?? Thank you!

    For who have the same problem, the solution was to add the mime type in the function “is_audio” in the file file class-wp-better-attachments.php. The result is :

    protected function is_audio( $mime_type )
    {
    $audio_mime_types = array(
    ‘audio/mpeg’,
    ‘audio/mpeg’,
    ‘audio/ogg’,
    ‘audio/wav’,
    ‘audio/x-midi’,
    ‘audio/midi’,
    ‘audio/mid’
    );

Viewing 1 replies (of 1 total)