Support » Plugin: podPress » NO PLAYER!

  • I did the plugin upgrade this morning… and now my player is gone!
    I only use PodPress to post audio files on my site… I haven’t changed anything and I’ve checked my files, folder, etc…

    Help? Please…

    [Email redacted]

Viewing 15 replies - 1 through 15 (of 19 total)
  • Plugin Author ntm


    On a first look the problem seems to be related to the relative new HTML5 support of the plugin.
    I will look into it.
    But as a quick fix you could deactivate the feature which is called “Use HTML5 tags” (player settings page).

    later more ..


    oh just found this, not seeing Use HTML5 tags in settings

    Got the settings, did not help, I tried the Enable listen wrapper to nothing but the weird thing is the wrapper unchecked has the player on the settings page. When clicked it states “file not found”

    works in Chrome 😉 opera,safari,not IE 9 gosh dern MS…

    got this error for transitional:
    Line 198, Column 30: document type does not allow element “div” here; missing one of “object”, “applet”, “map”, “iframe”, “button”, “ins”, “del” start-tag <div class="podPress_content">

    The mentioned element is not allowed to appear in the context in which you’ve placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you’ve forgotten to close a previous element.

    One possible cause for this message is that you have attempted to put a block-level element (such as “<p>” or “<table>“) inside an inline element (such as “<a>“, “<span>“, or “<font>“).
    and these for HTML5 (over-riding the trans type):

    Validation Output: 3 Errors
    Line 2, Column 39: The profile attribute on the head element is obsolete. To declare which meta terms are used in the document, instead register the names as meta extensions. To trigger specific UA behaviors, use a link element instead.

    <head profile="">

    Line 5, Column 60: Bad value X-UA-Compatible for attribute http-equiv on element meta.

    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7"/>

    Line 210, Column 4: No p element in scope but a p end tag seen.</p>
    !!!!!!!!!! see source

    202.<!-- End: podPress download link line -->
    204.<script type="text/javascript">
    206.podPressShowHidePlayer('1', '', 290, 24, 'false', '', 'Ohio Legislature Voter Suppression', 'FraudbusterBob');
    209.<!-- End: podPress -->

    Plugin Author ntm


    @jimbronyaur: I have probably found the cause of the problem you have observed. I could reproduce the symptomes after a lot of testing and includes a bug fix for it.
    Let me know if the problem is not gone.

    @dael3: At least one half of the error you described is unrelated to the problem JimBronyaur has written in the first post. Why don’t you start new threads?

    works in Chrome 😉 opera,safari,not IE 9 gosh dern MS…

    I would like to take a look at this page myself. Or could you be more specific about the problems in the IE9?

    got this error for transitional:

    The elements which podPress places in the content of the posts are all <div> elements (that has not changed recently) and that is usually no problem. Because a lot of the themes (incl. Twenty Ten or Kubrick the old default theme or the famous K2 theme) place the post content in <div> elements, too.
    But after a first look it seems to me like the content of the posts is surround by <p> elements in your theme.
    You are right a <div> element a <p> element is not ok.

    podPress uses <div> elements to surround its player and link elements exactly for that reason. It would also be not okay to place an <object> (like the mp3 Flash players) in a <p> element.
    Furthermore podPress uses regularly the the_content Action Hook of WP to insert these elements into the post during the page is loading. That means the podPress elements will be placed always in the container element which surrounds the the_content(); function in the template files of your theme.
    Other plugins are maybe using also this Action Hook to insert to insert more than plain text.
    That is why I think that it is probably a good idea to modify the templates of your theme a little bit.
    Your theme has obviously already such a section for the title of a post <div class="title">. Why not have <div class="content"> instead of a <p> around the post content?


    thx tim I will look into it. It just seems that the newer code is migrating to another level and the old has to change?
    Change the code, change your life! 🙂

    Plugin Author ntm


    It just seems that the newer code is migrating to another level and the old has to change?

    I’m not sure which code you mean. It is migrating from where to where?
    (podPress used the current method (the the_content hook) for quite some time.)

    The new code is aiming for HTML5 expectations?

    There has been a recent change in the code that has caused my site not to have a player. It was working fine and no validation problems.

    So I either need to change my code to accomadate the new or the new podpress code change caused this effect.

    Thanks, I know you probably volunteer to cover this and I don’t mean to pain you.

    This is the same thing? New thread?


    Plugin Author ntm


    The validator points to 197, the begin of the first podPress DIV <div class="podPress_content">.

    <!-- is content -->
    	A talk on the current Ohio legislation to suppress the Vote in Ohio.<br />
    	<!-- Begin: podPress -->
    	<div class="podPress_content">
    		<div class="podpress_playerspace podpress_mp3player" style="display:block;" >
    		<div id="podPressPlayerSpace_1"><!-- podPress --></div>
    		<!-- Begin: podPress download link line -->
    		<div class="podPress_downloadlinks"><a href="" target="new" title="Download: Ohio Legislature Voter Suppression"><img src="" class="podPress_imgicon" alt="" /></a> <span class="podpress_mediafile_title">Ohio Legislature Voter Suppression</span> <span class="podpress_mediafile_dursize">[ 30:00 ]</span> <a href="#podPressPlayerSpace_1" onclick="javascript:podPressShowHidePlayer('1', '', 290, 24, 'false', '', 'Ohio Legislature Voter Suppression', 'FraudbusterBob'); return false;"><span id="podPressPlayerSpace_1_PlayLink" class="podPress_playerspace_playlink">Play Now</span></a><input type="hidden" id="podPressPlayerSpace_1_OrigURL" value="" /> | <a href="#podPressPlayerSpace_1" onclick="javascript:podPressPopupPlayer('1', '', 290, 24, 'FraudbusterBob', '1451', 'Ohio Legislature Voter Suppression', 'FraudbusterBob'); return false;">Play in Popup</a> | <a href="" target="new">Download</a>
    		<!-- End: podPress download link line -->
    	<script type="text/javascript">
    		podPressShowHidePlayer('1', '', 290, 24, 'false', '', 'Ohio Legislature Voter Suppression', 'FraudbusterBob');
    	<!-- End: podPress -->

    The complete section from <!-- Begin: podPress --> to <!-- End: podPress --> is in a <p> section. That is the problem and it has nothing to do with HTML5. As you can see the code snippet does not contain <audio> nor <video> elements.
    there is one further possibility, how the podPress code could end up inside a <p> section: If you place the [display_podcast] placeholder inside a <p> section then podPress code will also be inside that section.
    This might be the case here. If you look at the code of the other posts, you can see that the podPress code there is not inside a <p> section.
    If you place the player with the help of the placeholder then please open this post in editor and check its position in the HTML view of the editor.

    All the audio that once worked is now not, I have not been doing any coding on this as it was stable.
    You still think I need to add:

    “Why not have <div class=”content”> instead of a <p> around the post content?”

    I stripped out all the content thinking the links maybe throwing it. Still no player.
    Should I expect this old Wuhan contrived theme is due for a major revision?
    Should I start a new thread?

    Thanks for your help Tim.

    safari still good…

    ahh jeez
    Found stuff in IE9 debugger using F12 and selecting script tab and using debugger button

    Exception Line 235 `podPressShowHidePlayer(‘1’, ‘’, 290, 24, ‘false’, ‘’, ‘Ohio Legislature Voter Suppression’, ‘FraudbusterBob’);
    also script 1028 and 5007

    SCRIPT1028: Expected identifier, string or number
    podpress.js?ver=3.1.2, line 680 character 5
    SCRIPT5007: The value of the property 'podPressShowHidePlayer' is null or undefined, not a Function object
    blog, line 235 character 1

Viewing 15 replies - 1 through 15 (of 19 total)
  • The topic ‘NO PLAYER!’ is closed to new replies.