WordPress.org

Ready to get started?Download WordPress

Forums

AUdioblog video post with 2.0 (30 posts)

  1. pcmike
    Member
    Posted 8 years ago #

    Has anyone successfully used Audioblog to post video with WP 2.0?
    It takes the text fine but doesn't show the video.

  2. kickass
    Member
    Posted 8 years ago #

    To elucidate on this it seems to be stripping out the part of the code that produces the video. This is the way posts come out on TypePad:

    <p>Here's a vBlog post about that new <a href="http://store.shopfujitsu.com/fpc/Ecommerce/buildseriesbean.do?" series="P15D">Fujitsu P1500 convertible Tablet PC</a> that I've been raving about.<br /><br />

    <iframe src="http://www.audioblog.com/playweb?audioid=P300a98e056de55710e5d35fe47f424d2YFh%2BRVREYmN3&amp;buffer=5&amp;fc=FFFFFF&amp;pc=CCFF33&amp;kc=FFCC33&amp;bc=FFFFFF&amp;gateway=http%3A%2F%2Fwww.audioblog.com%2Fplaylist&amp;player=vp24" height="210" width="246" frameborder="0" scroll="no" scrolling="no"></iframe></p>

    And this is what shows up in WordPress 2.0 when we did the same thing with just "blah blah" text:

    <p>blah blah</p>

    We've also had trouble with javascript being stripped out. Is there any way to stop that? This guy had a working blog with audio and video at TypePad, now he can't do half the things he used to do. Please help.

  3. vkaryl
    Member
    Posted 8 years ago #

    I'm pretty sure I remember some posts to the testers list on this problem. You might dig through the archives for December....

  4. pcmike
    Member
    Posted 8 years ago #

    It's not just Audioblog... I uploaded a video to the site and used the embed command with the html editor to include the video. The editor strips out the embed command.

    Here's the post:

    Ever had a day like this? When everything you do at the keyboard goes wrong?
    That's why this golden oldie video is so much fun to look at. It's supossed to be surveillance shots of a frustrated office worker. Seems I later heard - after it was widely circulated online - that it was a hoax aimed at marketing surveillance cameras. No matter. Somehow, just watching this guy do what we all want to do sometime makes me feel better.
    <embed src="http://pcmike.com/BADDAY.MPG" width="320" height="256" align="middle"></embed>

    I used the html editor for the <embed src="http://pcmike.com/BADDAY.MPG" width="320" height="256" align="middle"></embed> code but, when I hit update... it's not there. Then when I go back to the edito, all the embed code is gone.

    I'm heading to Las Vegas next week and hoped to video blog from the Consumer Electronics Show.

    Any ideas???? Thanks!

  5. podcastnyc
    Member
    Posted 8 years ago #

    A couple of ideas. I embed video on my site at http://www.getyourflow.com and http://www.newyorkminuteshow.com.

    1. Don't use the rich text editor when dealing with embeds. For whatever reason it blanks out the embed code. Whenever I want to insert or edit a video embed I just use the plain text editor.

    2. Try pasting something like the following code into the post:

    For Quicktime

    <embed src="path/to/poster frame" BGCOLOR="000000" BORDER="0" width="320" height="256" autostart="false" loop="false" controller="false" href="path/to/media" target="myself" />

    For Audioblog

    <iframe src="http://www.audioblog.com/[audioblog video id];pc=CCFF33&kc=FFCC33&bc=FFFFFF&gateway=http%3A%2F%2Fwww.audioblog.com%2Fplaylist&player=vp24" height="210" width="246" frameborder="0" scroll="no" scrolling="no"></iframe>

    Both of these methods work for me in WP 2.0

  6. pcmike
    Member
    Posted 8 years ago #

    Help me out with some dumb questions here :-)

    Version 2.0 has the html editor... that is what I have been using for the embed code. You're saying just type the code into the regular editor without clicking html?

    Audioblog does the code itself when I try to post from its site... how do I alter it?

    For QT...
    What's the difference between "path/to/poster frame" and "path/to/media" target="myself"

    Your sites are very, very cool.

  7. pcmike
    Member
    Posted 8 years ago #

    Hey... I turned off that editor and VOILA! ... I am able to insert the embed code in for QT...

    Still can't get Audioblog to automatically post from its site though.

    Any ideas????

  8. pcmike
    Member
    Posted 8 years ago #

    New info from Audioblog...
    They suggest:

    "By default, the WordPress code might not allow <iframe> html tags. You'll have to find the config option where you can allow that. Many blog engines will filter inbound HTML content and most likely this is what's happening here."

    Can someone walk me through just how to do this???

  9. vkaryl
    Member
    Posted 8 years ago #

    I've not seen anywhere in the config options that "implements" an ability to use iframes. And in fact, I tend to think it's not really problematic: for instance, google loads adsense ads into iframes, and wp hasn't any trouble with that at all.

    I myself don't use audio or video (or even graphics, much), so I'm of no help with this whatsoever....

    Skippy? Podz? Any thoughts?

  10. pcmike
    Member
    Posted 8 years ago #

    That's what's so weird... iframe seems fine in the sidebars.
    But when I post from audioblog, all that coding is filtered out by wordpress.

    Here's the coding that audioblog tries to post:
    <iframe src="http://www.audioblog.com/playweb?audioid=P300a98e056de55710e5d35fe47f424d2YFh%2BRVREYmN3&buffer=5&fc=FFFFFF&pc=CCFF33&kc=FFCC33&bc=FFFFFF&gateway=http%3A%2F%2Fwww.audioblog.com%2Fplaylist&player=vp24" height="210" width="246" frameborder="0" scroll="no" scrolling="no"></iframe>

    But none of it appears.. only the text I write above and below the iframe code.

    What would cause that to be filtered out?

    And vkaryl, thanks so much for all you do on this forum. I've been a troll for two days now reading support requests and you are the glue that holds so much of this awesome commnuity together. I suspect you aren't thanked nearly enough.

  11. vkaryl
    Member
    Posted 8 years ago #

    Oh gosh. Thanks, pcmike. That's MORE than kind of you to say!

    I'm ripping that code, and I'll play on my own 2.0 blogs (one a virgin install over the RCs, the other a recent upgrade from 1.5.2 - which for the doubters out there went without a hitch and no problems showing up at all....)

    I'll post back in a bit; I've got the zoo to feed first....

  12. podcastnyc
    Member
    Posted 8 years ago #

    I'm not sure about the automatic publishing with WP 2.0 since I haven't tried that with 2.0 but it was working for me with 1.5. What I've been doing with WP 2.0 (because I knew that the wysiwyg editor would wipe it out) is turning off the rich editor option and then pasting the code into the post and saving. Not my preferred way of doing it but it gets the job done. In 1.5 I was using a wysiwyg plug in and if I wanted to edit a post with the iframe I would deactivate the plug in before editing and saving the post.

    the "path/to/poster/frame" part is only if you use some kind of a graphic that people see by default instead of the first frame of your movie. If you're not doing that then that field would also be the path to your media.

    Also, I just tried posting from Audioblog to my WP 2.0 site and it didn't work. That really sucks cause i know it worked in previous versions of WordPress. It would be great if Audioblog could at least generate the code for you to paste. It would be even better if Audioblog could work with WP developers to make this work.

  13. vkaryl
    Member
    Posted 8 years ago #

    Okay. I've got it up and working here: http://netwizardry.net/nightwiz. Video and audio.

    What I did: I have a plugin I use for posting, CJB Quick Post from http://cjbehm.dyndns.org/wingingit/quick-post/. This lives in the sidebar, and is visible only to admin (or others if you tweak the js). I input the code I ripped from pcmike's post above, and it works fine (ah, in FF1.5, which is the only browser I use....)

    So obviously, cutting the editor AND the regular post input out of the loop will work.

    It's a nice plugin, clean and easy to implement....

  14. pcmike
    Member
    Posted 8 years ago #

    Okay... let me give that a try...
    I will need some hand holding... This is my first WP plug in to try.
    I have already disabled the rich text editor so... gulp...here goes with the CJB QUick Post....
    I've loaded it and activated.
    But what does this mean:
    "Add the call cjb_quickpost() where you would like the form to show up"

    What do I do now?

  15. vkaryl
    Member
    Posted 8 years ago #

    Hang on pcmike.... I'm hunting down the actual code string to put in the sidebar (most logical place for it)....

  16. pcmike
    Member
    Posted 8 years ago #

    One worry...
    Audioblog is an app that does the post itself. In other words, I log into audioblog, upload my video to them, then they let me title and put some text in and they send the code, logging into wp and posting the video.

    The code that we've been sharing is what we grabbed from typepad, where audioblog automatically did the post..

    I don't ever see the actual code. I post to my WP blog through them. The ony way I got the code was by going to a successful post on typepad and copying it there.

    If I have to manually enter code we're back to square one.

  17. vkaryl
    Member
    Posted 8 years ago #

    O-kaaay....

    pcmike, open wp-content/themes/"theme-you-are-using"/sidebar.php.

    Before you do anything else, make a backup copy of the file to your desktop.

    This file will have a lot of stuff which is probably Greek to you right now (or even martian....) Find this line:

    <ul> (should be right near the top of the file)

    Right after that, insert into the file the following:

    <li>
    <?php global $user_level; get_currentuserinfo(); if($user_level > 1 && function_exists('cjb_quickpost')) { ?>
    <a href="javascript:void(0)" onclick="toggleCJBQuickPost();">
    <h2><?php _e('Toggle Post Window'); ?></h2></a>
    <?php cjb_quickpost("", "", "", "true"); ?>
    <?php } ?>
    </li>

    Save the file. Either upload it to your installation theme folder, or if you're using your cPanel editor, once you save it, it's there.

    Now, when you access your blog, you should see right at the top of the sidebar three form fields, labeled QuickPost Title (a text-entry field), QuickPost Category (which is a dropdown box listing all your categories so you can choose which one the post goes into), and QuickPost Body (text-entry field for the actual post you make).

    When I input the ripped code from your post above, all I did was give the post a title, choose the category, and input in the Body field "testing", and add the ripped code.

    Give it a try, and if you get stuck, grab bj or email me at vkaryl*at*bytehaven*dot*com.

  18. vkaryl
    Member
    Posted 8 years ago #

    Hmmm. That would be a problem maybe. See, this is what happens when you're dealing with someone who doesn't really have any clue about audio/video....

    So can they email you the post info?

  19. pcmike
    Member
    Posted 8 years ago #

    I loaded the plugin and your sidebar code...
    But that isn't really an automatic solution since Audioblog doesn't show me the code.
    I'm probably better off just ftp'ing in the video and embedding it. I can do that fine when I turn off rich editor. That's at least a solution that will work for a while.

    Here's the embed code I used to put up the video on pcmike.com

    Anything I should do to clean it up? Right now to play, people have to double click. I think that's better than just an automatic play.

    <embed src="http://pcmike.com/BADDAY.MPG" width="320" height="256" align="middle" autostart="false" loop="false" controller="false"></embed>

  20. vkaryl
    Member
    Posted 8 years ago #

    Looks good - I don't see anything you need to change.

    Yes, I do believe that a "personal intervention" with the double-click is better for people than an auto-play. Most people will prefer to start that sort of thing themselves I think. (And when dealing with the embed tag on more than one video, you certainly don't want them ALL starting automatically!)

    In the interim prior to a fix from the dev team, do check with AUdioblog to see if they can simply email you the code instead of attempting to upload it themselves. That would enable you to input through the plugin and have clean aud/vid.

  21. pcmike
    Member
    Posted 8 years ago #

    I will do that with Audioblog... hope our WP dev team gets this working, too.
    Here's what Audioblog said when I asked what they thought the problem was:

    "By default, the WordPress code might not allow <iframe> html tags. You'll have to find the config option where you can allow that.
    Many blog engines will filter inbound HTML content and most likely this is what's happening here."

    Seems to be in the post area only. Anyway, thanks for all your help. I'm sure I will make quite a pest out of myself.

  22. vkaryl
    Member
    Posted 8 years ago #

    Not a problem! You probably need to tell the AUdioblog folks that other iframe input (such as adsense) works fine, and ask if they have any other ideas.

    And if for the time being they could email the code to you that would help.... don't know if they're set up for that, but it would be nice. They could go ahead and input per normal which wouldn't "hurt" precisely, as long as you got the raw code.

    BTW - I just did a regular "write post" input with the code you provided above, and it's working too. Is there anything that might have gone missing from the raw code they input? Because if all they're.... hmmm.... HOW are they doing this? By email? Now THAT could be problematic....

  23. pcmike
    Member
    Posted 8 years ago #

    I don't know how they do it.... magic, I guess :-)
    Anyway, I did ask them if I could get the code and they responded as follows:

    I'm pretty sure there is a configuration option which controls which html tags WordPress will allow during an XML-RPC post.

    You need to find that config option and make sure 'iframe' is in the list.

    Dante

    Mike Wendland wrote:

    It seems to be a compatibility issue with the latest version 2.0 of
    WordPress.
    If I have the exact code for an Audioblog post, I can enter it manually
    through a plugin and it works fine.
    For some reason, the iframe code is stripped out at the post when I try to
    publish throguh Audioblog with version 2.0 (which came out just last week). In the interim, is there any way that I can get the code when I make an
    Audioblog entry? Then I can enter it in manually?
    You have such a terrific service and I was hoping to really put it to work
    next week at the Consumer Electronics Show.

    The service as at audioblog.com. Try it out. They log in just as I do to my blog (you give them the login info when you set it up). Why their iframe code won't take is beyond me.

  24. vkaryl
    Member
    Posted 8 years ago #

    Beyond me too. So you give them the admin login? Or a "lesser mortal" login? (In other words, do they have the same stuff you do when YOU log in?)

    As far as I can tell (and I've done some SERIOUS digging this evening!) there is no "configuration option which controls which html tags WordPress will allow during an XML-RPC post" - you have to remember however that I have no real familiarity with this. I can't find any config options for XML-RPC at all specifically.

    But.... hmmm. In the xml-rpc.php file, the first lines after the opening php tag are as follows:

    # fix for mozBlog and other cases where '<?xml' isn't on the very first line
    $HTTP_RAW_POST_DATA = trim($HTTP_RAW_POST_DATA);

    So now I'm wondering if that's somehow causing the problem.

  25. pcmike
    Member
    Posted 8 years ago #

    Hmmm... this is serious geek-speak... it's all geek to me :-)
    I bet it is something that simple.

  26. vkaryl
    Member
    Posted 8 years ago #

    Hey, a lot of it is "geek" to me too, regardless that I've lived machines since 1984. For instance, xml-rpc really IS "geek" to me. I just don't really know. I've emailed bj about this too, she may have a better idea, or know someone who does....

    [Oh, tell Vegas "hi" for me, okay? I grew up there....]

  27. pcmike
    Member
    Posted 8 years ago #

    Still haven't heard from Audoblog people on this... they say it's in my lap. That it's a WP 2.0 glitch.
    <sigh>

  28. vkaryl
    Member
    Posted 8 years ago #

    Well, hopefully once the devs get back to normal they'll get it sorted. And hopefully that'll still be before you need it!

    I'm sorry I couldn't help more....

  29. pcmike
    Member
    Posted 8 years ago #

    Vkaryl you arre a genius.... There is a way in Audioblog to set up an html feed... you upload the video to their server... and instead of automatically posting, it generates html code instead of the XML-RPC code that does it automatically.
    Then I copy that code snippet and post in WP admin write area and... voila. It delivers a little click button that opens the vid in a new window.
    For some reason... posting it to http://myblogaddress.com/blog/xmlrpc doesn't send the video.
    But the click to play button is really cool.

  30. vkaryl
    Member
    Posted 8 years ago #

    I don't feel particularly like a genius.... but I'm glad you found something which might actually work!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags