WordPress.org

Support

Support » Plugins and Hacks » podPress » [Resolved] [Plugin: podPress] 2 problems after upgrade

[Resolved] [Plugin: podPress] 2 problems after upgrade

  • On my podcast site (http://podcast.hawktaildesign.com), I just upgraded my WordPress installation to 3.0.1 and PodPress to 8.8.6.3 and I’ve encountered two problems.

    The first and least important issue is that every time I upgrade PodPress the “Click to Play” image changes to the default image even though I have a custom image selected in the PodPress settings. In the past I’ve gone into the code of PodPress and manually changed the code, but I’m kinda tired of doing that. This isn’t a big deal, but it is a bit annoying.

    The second issue is bigger and one I’ve never encountered before. If you click on the video player all that is shown is the question mark Quicktime logo. The only good news is that in my feed (feed://feeds2.feedburner.com/TheLameShow) the video file seems OK. It also seems like the file is ok in iTunes.

    Any help would be appreciated.

    http://wordpress.org/extend/plugins/podpress/

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

    @ntm

    Thanks for the report!

    I will fix the problem which you have mentioned first.

    I will also try to solve the second problem. In the last versions podPress encodes the URLs of the media files for the <embed> element which is part of the code of the <object> element which shows the player after the click on the player preview. The idea was to avoid problems with file names which are containing non-ASCII characters or white-spaces. But it is maybe superfluously to encode the URL at this moment at which it is done now.
    Until I fix this you can do one of two things:
    – You seem to be familiar with editing PHP and probably JS code. That is why you could do a quick fix in the podpress.js file:
    line 147
    old:

    strResult += '  <embed src="'+encodeURI(strMediaFile)+'" style="width:'+numWidth+'px; height:'+numHeight+'px; background-color:#000;" scale="aspect" cache="true" autoplay="'+strAutoStart+'" controller="true" src="'+strMediaFile+'" type="'+strMimeType+'" pluginspage="http://www.apple.com/quicktime/download/"></embed>';

    new:

    strResult += '  <embed src="'+strMediaFile+'" style="width:'+numWidth+'px; height:'+numHeight+'px; background-color:#000;" scale="aspect" cache="true" autoplay="'+strAutoStart+'" controller="true" src="'+strMediaFile+'" type="'+strMimeType+'" pluginspage="http://www.apple.com/quicktime/download/"></embed>';

    – Or you could use file names without white-spaces.

    Regards,
    Tim

    Hey Tim,

    It took me a while to find the time to do the changes you suggested, but they worked perfectly! Thanks for your help and I look forward to an update to handle both issues. Podpress is still the best plugin I’ve found for Podcasting with WordPress.

    Noah

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] [Plugin: podPress] 2 problems after upgrade’ is closed to new replies.
Skip to toolbar