WP Audio Player not working
  • Can anyone tell me why my audio player is not showing up in any blog posts?

    I've got the latest flash and I'm pretty sure my footer/header script matches up with the Troubleshooting guide (http://wpaudioplayer.com/support/troubleshooting/) but there is still a blank space where the player should be.

    I think it's happened since we posted last night and it's driving me crazy! Any thoughts would be very welcome x
  • Not showing up for me, either (I'm using Google Chrome). When I use the Inspect Element tool, it's definitely there, just invisible. I wonder if you've recently installed any other plugins which might be conflicting with the player?
  • turn off all plugins before u install new ones, then turn em back on one at a time. if u haven't installed new ones then try shutting them all off and turn em on one by one.


    or ask tim

  • I just had a go at deactivating all Plugins then just reactivating the audio player but still nothing.

    @Nullity, Tim was the first person I think of when something technical goes wrong (and when someone asks me for a good blog of course)
  • yeah, there should be a sticky thread at the top called "ask tim". he may not like it but i do mean it as a compliment.


    maybe brandon could add him on the payroll as a consultant.

  • I noticed today that it seems the WP audio player doesn't work with AAC files. I uploaded AAC files for the first time today, and they won't play in the player. They play in their own tab though.

    http://forwardslashdublin.wordpress.com/2011/02/20/cubana/
  • Haha, I think you've actually got me stumped on this one...

    I can see the wp-player on the individual post pages, just not on the homepage for some reason, and as Sean said the element is there just not visible.

    Have you got a different header included on your homepage vs. post pages? - I've done this before by accident using a different theme
    What other plugins are you using? - I know you've tried disabling one by one, but there might be some clues in the list.


  • Im pretty sure I just have the one header, the single post.php uses the <?php get_header(); ?> and I dont think theres anything else that looks like a header.


    Plugins:
    Akismet
    Audio PLayer
    Redirection (from my old wp.com)
    SEO Slugs
    Shockingly Simple Favicon
    Web Ninja Google Analytics
    WP to Twitter

    SO frustrating!
  • Id sift through your style.css, it seems very unlikely, but it may be a styling error. I wouldn't suggest this normally, but it looks like you've gone threw everything else.

    You may also have my interference with other things in your <head></head> that overlap. I know I'me having issues right now with some overlapping.
  • What would I be looking for? The only thing I recognise is my Analytics code

    Terrible forum behaviour but this is my <head> </head> in case something looks out of place to anyone.



    <head>
      <head profile="http://gmpg.org/xfn/11">
      <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo( 'charset' ); ?>" />
      <title><?php wp_title(); ?> <?php bloginfo('name'); ?></title>
      <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
      <link rel="EditURI" type="application/rsd+xml" title="RSD" href="<?php bloginfo('url'); ?>/xmlrpc.php?rsd" />
      <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />

      <!--[if IE]>
        <link href="<?php bloginfo('template_directory'); ?>/ie.css" type="text/css" rel="stylesheet" media="screen" />
      <![endif]-->
     
      <!--[if lte IE 6]>
        <link href="<?php bloginfo('template_directory'); ?>/ie6.css" type="text/css" rel="stylesheet" media="screen" />
      <![endif]-->

      <?php if ( is_singular() && get_option( 'thread_comments' ) ) wp_enqueue_script( 'comment-reply' ); ?>
      <?php wp_head(); ?>
    <script type="text/javascript">

      var _gaq = _gaq || [];
      _gaq.push(['_setAccount', 'UA-15978378-3']);
      _gaq.push(['_trackPageview']);

      (function() {
        var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
        var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
      })();

    </script>
    </head>


    any ideas?
  • I've had a little play around and the problem is definitely in the Javascript somewhere - so most likely how you've used the wpaudioplayer script in that page or how the lugin is installed/working.

    Comparing two of your posts, one with working wpaudio and one without there are some major differences to how things are working...

    The working post calls a flash object, whilst the non-working one doesn't. A pretty major issue.
    This is definitely either a plugin conflict or a use problem.

    Working:

    <p class="audioplayer_container"><object width="290" height="24" type="application/x-shockwave-flash" name="audioplayer_1" style="outline: medium none;" data="http://apocketfullofseeds.com/wp-content/plugins/audio-player/assets/player.swf?ver=2.0.4.1" id="audioplayer_1"><param name="bgcolor" value="#FFFFFF"><param name="wmode" value="transparent"><param name="menu" value="false"><param name="flashvars" value="animation=yes&amp;encode=yes&amp;initialvolume=60&amp;remaining=no&amp;noinfo=no&amp;buffer=5&amp;checkpolicy=no&amp;rtl=no&amp;bg=0xFFFFFF&amp;text=0×000000&amp;leftbg=0xFFB00F&amp;lefticon=0×FFFFFF&amp;volslider=666666&amp;voltrack=FFFFFF&amp;rightbg=0xFFFFFF&amp;rightbghover=0xD4D4D4&amp;righticon=0×000000&amp;righticonhover=0xFFFFFF&amp;track=FFFFFF&amp;loader=009900&amp;border=0×000000&amp;tracker=DDDDDD&amp;skip=666666&amp;titles=01%20Puppy%20Toy&amp;slider=0×FFFF00&amp;soundFile=aHR0cDovL2Fwb2NrZXRmdWxsb2ZzZWVkcy5jb20vd3AtY29udGVudC91cGxvYWRzLzIwMTEvMDIvMDEtUHVwcHktVG95Lm1wMw&amp;playerID=audioplayer_1"></object></p>


    Not working:

    <p class="audioplayer_container"><span id="audioplayer_1" style="display: block; padding: 5px; border: 1px solid rgb(221, 221, 221); background: none repeat scroll 0% 0% rgb(248, 248, 248);"><strong>Audio clip: Adobe Flash Player (version 9 or above) is required to play this audio clip. Download the latest version <a title="Download Adobe Flash Player" href="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash&amp;promoid=BIOW" onclick="javascript:_gaq.push(['_trackPageview', '/out/www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash&amp;promoid=BIOW']);">here</a>. You also need to have JavaScript enabled in your browser.</strong></span></p>
  • Sorted.

    The code we use to customise the player was out on one of the posts, not really sure (technical master as I am) how that messed up the entire page of posts but it did.

    Thanks for all the responses.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!