WordPress.org

Ready to get started?Download WordPress

Forums

podPress
NO PLAYER! (20 posts)

  1. JimBronyaur
    Member
    Posted 3 years ago #

    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]

  2. ntm
    Member
    Plugin Author

    Posted 3 years ago #

    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 ..

    Regards,
    Tim

  3. dael3
    Member
    Posted 3 years ago #

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

  4. dael3
    Member
    Posted 3 years ago #

    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"

  5. dael3
    Member
    Posted 3 years ago #

    works in Chrome ;) opera,safari,not IE 9 gosh dern MS...

  6. dael3
    Member
    Posted 3 years ago #

    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="http://gmpg.org/xfn/11">
    ✉

    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 -->
    203.</div>
    204.<script type="text/javascript">
    205.<!--
    206.podPressShowHidePlayer('1', 'http://www.wcrsfm.org/audio/download/1502/fightback05132011.mp3', 290, 24, 'false', 'http://fraudbusterbob.com/blog/wp-content/plugins/podpress/images/vpreview_center.png', 'Ohio Legislature Voter Suppression', 'FraudbusterBob');
    207.-->
    208.</script>
    209.<!-- End: podPress -->
    210.</p>
  7. ntm
    Member
    Plugin Author

    Posted 3 years ago #

    @JimBronyaur: I have probably found the cause of the problem you have observed. I could reproduce the symptomes after a lot of testing and 8.8.10.5 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?

    Regards,
    Tim

  8. dael3
    Member
    Posted 3 years ago #

    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! :)

  9. ntm
    Member
    Plugin Author

    Posted 3 years ago #

    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.)

  10. dael3
    Member
    Posted 3 years ago #

    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?

    Dael

  11. dael3
    Member
    Posted 3 years ago #

  12. ntm
    Member
    Plugin Author

    Posted 3 years ago #

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

    <!-- is content -->
    <p>
    	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>
    		</div>
    		<!-- Begin: podPress download link line -->
    		<div class="podPress_downloadlinks"><a href="http://www.wcrsfm.org/audio/download/1502/fightback05132011.mp3" target="new" title="Download: Ohio Legislature Voter Suppression"><img src="http://fraudbusterbob.com/blog/wp-content/plugins/podpress/images/audio_mp3_button.png" 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', 'http://www.wcrsfm.org/audio/download/1502/fightback05132011.mp3', 290, 24, 'false', 'http://fraudbusterbob.com/blog/wp-content/plugins/podpress/images/vpreview_center.png', '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="http://www.wcrsfm.org/audio/download/1502/fightback05132011.mp3" /> | <a href="#podPressPlayerSpace_1" onclick="javascript:podPressPopupPlayer('1', 'http://www.wcrsfm.org/audio/download/1502/fightback05132011.mp3', 290, 24, 'FraudbusterBob', '1451', 'Ohio Legislature Voter Suppression', 'FraudbusterBob'); return false;">Play in Popup</a> | <a href="http://www.wcrsfm.org/audio/download/1502/fightback05132011.mp3" target="new">Download</a>
    		</div>
    		<!-- End: podPress download link line -->
    	</div>
    
    	<script type="text/javascript">
    	<!--
    		podPressShowHidePlayer('1', 'http://www.wcrsfm.org/audio/download/1502/fightback05132011.mp3', 290, 24, 'false', 'http://fraudbusterbob.com/blog/wp-content/plugins/podpress/images/vpreview_center.png', 'Ohio Legislature Voter Suppression', 'FraudbusterBob');
    	-->
    	</script>
    	<!-- End: podPress -->
    </p>

    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.

  13. dael3
    Member
    Posted 3 years ago #

  14. dael3
    Member
    Posted 3 years ago #

    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.

  15. dael3
    Member
    Posted 3 years ago #

    safari still good...

  16. dael3
    Member
    Posted 3 years ago #

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

    Exception Line 235 `podPressShowHidePlayer('1', 'http://www.wcrsfm.org/audio/download/1502/fightback05132011.mp3', 290, 24, 'false', 'http://fraudbusterbob.com/blog/wp-content/plugins/podpress/images/vpreview_center.png', '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
  17. dael3
    Member
    Posted 3 years ago #

    round about I went to googles cached version not here either, perhaps IE9

  18. ntm
    Member
    Plugin Author

    Posted 3 years ago #

    Please, install the Development Version (8.8.10.7 beta 2). It will most likely solve the problem which appears in the IE9.

    You may use the [display_podcast] place-holder. But you should make sure that it is not placed in a <p> section.
    I guess that you have unintentionally placed the place holder like that

    <p>A talk on the current Ohio legislation to suppress the Vote in Ohio.<br />[display_podcast]</p>

    in the last post (before you have changed the settings). If you do that then the all the elements from <!-- Begin: podPress --> to <!-- End: podPress --> are going to be placed in the <p> section which is obviously not valid.

    In other words: Yes, you can leave the code of your theme as it is and you may continue to use the place-holder. But you should be careful where you place it. But this is an general notice to all who use that place-holder.

    Regards,
    Tim

  19. dael3
    Member
    Posted 3 years ago #

    ok Tim ! thanks so much. there is a message on the media emntry section stating to use a place holder. I don't know what if any a fix would be on that.
    Generally WordPress does not show pure HTML so I see why the place holder may be a problem.

    thx agin'

    dael

  20. ntm
    Member
    Plugin Author

    Posted 3 years ago #

    Generally WordPress does not show pure HTML

    Isn't there a HTML view in the editor which you can use the see the post with all its HTML tags?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags