Viewing 15 replies - 1 through 15 (of 21 total)
  • Confirmed. Plugin does not work anymore due to the error. The Player is displayed but the file is not played.

    The error is:
    “OH, SNAP THERE WAS A PLAYBACK ERROR”

    The problem seems to be the initialization of the player_color with an invalid default value. The value contains a number sign (#), which is not escaped inside the embed URL. As a consequence, the “embed_type” parameter is not passed correctly to the mixcloud server.

    You can fix it by editing the file mixcloud-embed-core.php.
    Replace
    $this->_options['mixcloud-embed_player_color'] = '#fffff';
    (in line 445) by
    $this->_options['mixcloud-embed_player_color'] = 'ffffff';

    confirmed, fix works!

    Hello

    I tried this fix in the core.php code and it still does not work.

    Still getting the “OH, SNAP THERE WAS A PLAYBACK ERROR”

    Any other suggestions?

    @zenpop: Can you attach the HTML output of a mixcloud player that shows the bad behavior, or give us a link on which we can see the broken player in action?

    Thread Starter andrea.corelli

    (@andreacorelli)

    Hi guys, I did change the line in the mixcloud-embed-core.php file and still nothing happens:

    http://www.dennyberland.com/index.php/october-2013-podcast/

    Hi hairyheron (great handle btw)

    I simply installed the plug in and then put in the line of code

    ala:

    [mixcloud height=”200″ width=”800″]http://www.mixcloud.com/dennyberland/october-2013-podcast/[/mixcloud]

    that was supposed to allow the plug in to make the player work. So I don’t have any HTML code from the player to post.

    I don’t have the page up on my site anymore as it was annoying my readers (who couldn’t play the mix).

    @andrea.corelli:
    Thanks for trying the fix. The generated HTML on your page is still faulty. Could you please follow these steps:

    • Edit the mixcloud-embed-core.php as described above and re-upload it into the same location on your server
    • visit the “Mixcloud-Embed” settings page at YOUR-DOMAIN.COM/wp-admin/options-general.php?page=mixcloud-embed/mixcloud-embed.php and check the value provided as “Color”: It should be either
    • an empty field, or
    • a 6-letter hex code like “ff6699”. Especially, the value must not contain a number sign (#).

    Change and save the option accordingly if necessary.

    • In case you have any caches running, remember to clear them after your changes.

    Please let me know whether this helps.

    @zenpop: You referred to the shortcode of the player ([mixcloud …]…[/mixcloud]); When somebody visits your website, the mixcloud-embed plugin is responsible for turning that shortcode into an actual player. This is where the problem occurs: The generated (HTML) code for the player is wrong. Maybe you could also try the above steps and see whether they solve your problem. If not, it would be great if you could provide a URL to your page where the broken player is displayed. This makes troubleshooting a lot easier. Good luck!

    Thread Starter andrea.corelli

    (@andreacorelli)

    @hairyheron sorry, but I edited the php file directly on the bash of the webserver and nothing happened.

    Here you can see the result:
    http://www.dennyberland.com/index.php/october-2013-podcast/

    thanks!

    @andrea.corelli: Ok. Apart from editing the PHP file, have you also followed the instructions from the other two bullet points in my last post?
    If you have, please tell me the exact value of the “Color” setting which you find under “Settings” -> “Mixcloud-Embed”. Thanks

    Hi hairyheron,

    I’m also seeing the same error as andrea and zenpop.

    I tried editing the mixcloud_embed_core.php file as instructed above, but this actually seemed to break the plugin entirely – not even the mix cloud image or playlist would appear. I also found I could not actually access the admin page for Mixcloud Embed to check the colour setting as that was also broken.

    Here’s the URL to where the embeded mix cloud page is on my site:

    http://www.unzippedpromotions.com/djdanbooth/?page_id=105

    I’d really appreciate your help with this 🙂

    Cheers,
    Dan.

    Dan Booth: Actually, as far as I remember, editing the mixcloud_embed_core.php is only really necessary when doing a fresh install. If you encounter problems with this step, you can probably leave the original file untouched and only edit the color setting in the “Mixcloud-Embed” admin panel.

    Thread Starter andrea.corelli

    (@andreacorelli)

    Just so you know I simply fixed it by editing the color tag on the wp-admin section.

    Thanks for the replies!

    Okay, I went to the “Mixcloud-Embed” admin panel.

    The field for colour was blank.

    I added the following colour code: ffcc00 and saved the changes.

    Sadly the problem persists… any other ideas? 🙂

    Thanks,
    Dan.

    Please reload the Mixcloud-Embed admin page and verify that you see your correct color code.
    If you use any caches, make sure to clean them after your changes.

Viewing 15 replies - 1 through 15 (of 21 total)
  • The topic ‘Can't have the embedded players to play’ is closed to new replies.