• Resolved jtrollia

    (@malivuk)


    Hi (thanks for the plugin).

    I’m using 3.5.2 WP version and last plugin version. Working on wamp.

    Everythings works well : pictures, titles, authors are displayed and prev/next buttons work, but music isn’t played.

    I add the following lines to htacess (root of WP file) because i’m using FF (last version) :

    AddType audio/ogg ogg
    AddType audio/ogg oga
    AddType video/ogg ogv
    AddType video/mp4 m4v

    But the play button still switch from pause to play really fast and music isn’t played. It is like the player is empty.

    I also checked Jquery implementation since it is called in the theme I use. But it seems to be correct :

    if (!function_exists('core_mods')) {
    
        function core_mods() {
            if (!is_admin()) {
                wp_deregister_script('jquery');
                wp_register_script('jquery', ("http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"));
                wp_register_script('jquery.masonry', (get_template_directory_uri() . "/js/jquery.masonry.min.js"), 'jquery', false, true);
                wp_register_script('gridly.functions', (get_template_directory_uri() . "/js/functions.js"), 'jquery.masonry', false, true);
    
                wp_enqueue_script('jquery');
                wp_enqueue_script('jquery.masonry');
                wp_enqueue_script('gridly.functions');
            }
        }
    
        core_mods();
    }

    Then <?php wp_head(); ?> function is called in <head></head>

    Also, even if the music seems loaded in WP dashboard, it doesn’t appear in “mix” plugin file. Maybe it’s normal.

    Thanks for any tips 🙂

    http://wordpress.org/plugins/html5-jquery-audio-player/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Maeve Lander

    (@enigmaweb)

    Hi Malivuk. Sounds like you’ve done everything right and checked the usual suspects. It’s hard to give much help because I can’t see the site while it’s running locally…. but try these checks:

    1. Did you check your filepaths and use full filepaths?
    2. Did you use both mp3 and ogg?
    3. Did you check the files themselves are actually valid and playing properly if you drag them into the browser? (check ogg on firefox, mp3 on chrome or IE)
    4. Did you try disabling other plugins to check for a conflict?
    5. Did you try switching to the default twentytwelve theme to confirm its not a theme conflict?
    6. Re: the MIME types…. the mime types have to be added to the server that’s actually hosting the audio files… I found sometimes that user will be hosting the audio files somewhere different from the site (eg Amazon s3) and thus adding mime types to their own hosting server is doing absolutely nothing… Could this be your issue?

    Thread Starter jtrollia

    (@malivuk)

    Ayo,

    Thanks for all these tips ! I finally solved my (stupid) problem thanks to your first point…

    The problem was, songs had korean chars in their title. Then, when uploaded looked like “????” instead of their original form and couldn’t be linked properly.

    All the best, sista.

    Plugin Author Maeve Lander

    (@enigmaweb)

    Cool, glad to hear it’s sorted out.

    If you like the plugin it is really helpful if you can leave a rating/review here. Thanks! 🙂

    Thread Starter jtrollia

    (@malivuk)

    Done 🙂

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Music isn't played’ is closed to new replies.