WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: HTML5 jQuery Audio Player] Player does not show up on page

[Resolved] [Plugin: HTML5 jQuery Audio Player] Player does not show up on page

Viewing 15 replies - 1 through 15 (of 33 total)
  • Plugin Author Maeve Lander
    Participant

    @enigmaweb

    Hi Boverman, please can you post a link to your site so I can take a look?

    Plugin Author Maeve Lander
    Participant

    @enigmaweb

    Ok update to the latest version of the plugin, and the problem should now be fixed.

    Please join the conversation over here if this doesn’t solve the issue for you. Thanks.

    PS If you like the plugin please give it a rating 🙂

    I’m having trouble here too. Created new page, pasted the short code [hmp_player] on its own in the page, tried under both Visual and HTML tabs – but the page comes up completely blank. In settings it happily accepted the folder and the information I gave it. I have version 1.2 – is this the latest version? Only downloaded it about a couple of hours ago.

    Plugin Author Maeve Lander
    Participant

    @enigmaweb

    When the player doesn’t show up at all it is most likely either a Mime type issue or a JS conflict.

    A mime type issue will be solved by adding the following lines to your htaccess file:
    AddType audio/ogg ogg
    AddType audio/ogg oga
    AddType video/ogg ogv
    AddType video/mp4 m4v

    A JS conflict will need to be identified using a debugger… post any error codes here so we can take a look and try to help.

    jwcoffeeman
    Member

    @jwcoffeeman

    I’m having the same problem. It’s just not showing up at all. I’d really like to use this player because it’s definitely the best looking one I’ve seen! I’ve tried adding the above lines to my .htaccess file but nothing changed.

    Here’s the page I’m trying to add it to: http://tjclive.com/40-days-journey/

    I also dont see any changed with plugin
    I use only this shortcode [hmp_player], insert it in my page

    It global trouble or i made something wrong?

    Also can i use only mp3 file, or i need necessarily add ogg file, when i create play list?

    word_ding
    Member

    @word_ding

    I am also having this problem. my memes.type file is correct and so is my htaccess file.

    Plugin Author Maeve Lander
    Participant

    @enigmaweb

    Hi guys, I’m pretty sure there is some sort of jQuery conflict causing the player not to display for a small number of users. I can’t replicate the error myself, so if you want help fixing this you’ll need to use a debugger to isolate the problem and post the findings here so I can look into it and fix it.

    I also started off with a blank page – so I dug into the code with Firebug, and the error I originally had was:

    Error: syntax error
    Source File: http://site/page-with-hmp_player-shortcode
    Line: 257, Column: 15
    Source Code:
    rating:,

    So I added single quotes around the $songs->rating output on line 176 of the “index.php” file in the plugin directory. That fixed that issue and the player and list of songs shows up on the page, but nothing played still – next got the generic “$ is not a function” (standard jQuery “oops” error).

    So I further modified the index.php file by:

    * Commenting out the jQuery library call (line 146), since I’ve already got the latest jQuery running on my WP site, and then
    * Modified the jQuery call prefix on lines 203 and 206 from:


    $(....

    to the standard no conflict replacement:


    jQuery(...

    And now I’m not getting any further errors 🙂

    FWIW,
    twykr.

    word_ding
    Member

    @word_ding

    This solution above worked for me.
    BTW WP threw an error with the function “my_admin_scripts()” and my theme having the same named function. Maybe that should be changed to something less generic. I named mine “my_player_admin_scripts()”

    Thanks for the great plugin. Keep up the good work.

    word_ding
    Member

    @word_ding

    I didn’t comment out line 146 BTW.

    Thanks a lot for TWYRKR!
    It realy help me!

    Plugin Author Maeve Lander
    Participant

    @enigmaweb

    @twyker Thanks for identifying the error and providing a fix.

    I have made the corrections in the plugin so an upgrade to version 1.3 should solve this issue of the player not displaying and/or playing the files for users.

    Thanks again for your help with this one! 🙂

    > @twykr Thanks for identifying the error and providing a fix.

    Glad to help 🙂

    > Thanks again for your help with this one! 🙂

    And thanks to you for a great plugin!

    twykr

    mindperson
    Member

    @mindperson

    Hello! I looked through all these entries so I suppose the coding issues are resolved. I added in the scripts to my htaccess file as well but I’m still having troubles…nothing is showing up at all on the page where I would like the player to be.

    I double-checked my file paths on all the mp3s/ogg files as well but no luck.

    Is there something else I should try? Maybe it’s the fact that I have an existing theme in place?

Viewing 15 replies - 1 through 15 (of 33 total)
  • The topic ‘[Resolved] [Plugin: HTML5 jQuery Audio Player] Player does not show up on page’ is closed to new replies.