Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter designxxl

    (@designxxl)

    You sir are AWESOMEEEE!!!!!! ?? Thank you greatly!

    Thread Starter designxxl

    (@designxxl)

    Unbelievable…i tried this:

    add_filter( 'fu_allowed_mime_types', 'my_fu_allowed_mime_types' );
    function my_fu_allowed_mime_types( $mime_types ) {
        // Array keys should be unique
        // To include all mime-types we use this workaround
        // Part after | could be anything as long as it's unique
        $mime_types['mp3|mp3-am'] = 'audio/mpeg';
        $mime_types['mp3|mp3-xam'] = 'audio/x-mpeg';
        $mime_types['mp3|mp3-am'] = 'audio/x-mpeg-3';
        $mime_types['mp3|mp3-xam'] = 'audio/x-mpeg-3';
    
        // Include the rest of mp3 mimes
    $mime_types['mp3|mp3-am'] = 'audio/mpeg';
    $mime_types['mp3|mp3-am'] = 'audio/x-mpeg';
    $mime_types['mp3|mp3-am'] = 'audio/mp3';
    $mime_types['mp3|mp3-am'] = 'audio/x-mp3';
    $mime_types['mp3|mp3-am'] = 'audio/mpeg3';
    $mime_types['mp3|mp3-am'] = 'audio/x-mpeg3';
    $mime_types['mp3|mp3-am'] = 'audio/mpg';
    $mime_types['mp3|mp3-am'] = 'audio/x-mpg';
    $mime_types['mp3|mp3-am'] = 'audio/x-mpegaudio';
    
        $mime_types['wav'] = 'audio/wav';
        return $mime_types;
    }

    And still nothing… impossible! :'(

    Thread Starter designxxl

    (@designxxl)

    Im still getting this error ??

    There was an error with your submission
    This kind of file is not allowed. Please, try again selecting other file.:
    Respect.mp3

    Hey guys i just got the same problem when i installed the plugin for jquery dropdown menu’s.
    It seems i had included the jquery library file twice. 1 time manually (i did some hand coding) and then second time it was auto generated by the plugin. So after i removed the hardcoded inclusion the problem was resolved. So check if it’s not javascript related.

Viewing 4 replies - 1 through 4 (of 4 total)