Vodpod Video Gallery Plugin for WordPress

I spent quite a while looking for a way to display a video gallery that allowed multiple video sources (not just YouTube) and that didn’t require me to host the videos myself. I tried one that I thought would do the trick – the Vodpod Videos Widget. Unfortunately, I couldn’t get it to work well on my blog (their sidebar video widget works great though).

So, I wrote my own video gallery plugin, based on Vodpod. Vodpod is a great tool for collecting videos. You can download a browser toolbar so that all you have to do is click a button when you are viewing a video and it will insert it into your Vodpod account, which will then allow it to appear in your WordPress gallery. So get yourself a Vodpod account and then give this plugin a try.

Multiple video galleries within one WordPress site, as displayed on this site with the Second Gallery Example page, is now supported. You may also specify a tag name in order to limit your gallery to a subset of your vodpod videos.

Download from wordpress.org This plugin is now hosted on wordpress.org!

To install:

This plugin now uses WordPress short codes!

  1. Copy the vodpod-video-gallery folder to your wordpress plugins directory.
  2. Activate the Vodpod Video Gallery plugin from your admin plugins page.
  3. Go to the ‘Vodpod Video Gallery’ page in the ‘Options’ or ‘Settings’ menu (depending on your WP version) and configure your VodPod account name.
  4. Put the text [vodpod_video_gallery] into any page
    Alternatively, for multiple pods on one wordpress site, you can specify the vodpod collection name:
    [vodpod_video_gallery collection=”vodpodname”]
    You can also specify pod name, number of thumbnails per page, and height of the iframe that holds the thumbnails:
    [vodpod_video_gallery collection=”vodpodname” per_page=”16″ iframe_height=”280″] (the iframe height will attempt to guess the correct height on its own, but you can override this if you choose)
    You may also specify a particular tag:
    [vodpod_video_gallery collection=”vodpodname” tag=”tagname”]

Disclaimers: This plugin looks best on themes that have a content area that is wider than the video player (425px) which is most of them. It has been tested in Firefox, Safari, IE 7, and IE 6, and IE 5. If you find bugs, please let me know and I will try to fix those as soon as possible.

Troubleshooting: If you have problems with the file_get_contents() function, you can either try creating a php.ini file in your root WP directory and add the line allow_url_fopen=On or you can try the alternative curl version of this plugin, which works better for some servers, located at http://www.xondie.com/temp/vodpod-video-gallery-curl-3.zip. If you use this alternative version though, remember to ignore any suggestions from WP to upgrade the Vodpod Video Gallery plugin, as this will overwrite your alternative curl version.

Like this plugin? Please consider donating by clicking the ‘Donate’ button in the sidebar. Enjoy!

[Bloglines] [del.icio.us] [Digg] [Facebook] [Fark] [Furl] [Ma.gnolia] [Newsvine] [Reddit] [StumbleUpon] [Technorati] [Email]

308 Responses to “WordPress Plugin”

  1. Abdul Says:

    hi,
    Thank you xondie for this great pluging, I started using Vodpod.com a month ago, I like the way it works with my new self hosted wordpress http://soccernewstv.com, every thing works fine, I just wanna know if there is an option to add different pods to different pages, I am planing to collect more videos with vodpod but the only problem is how can I use these pods on one website.
    In other words I need to use multiple pods in on blog or website, is that possible with vodpod-video-gallery-v0.4 pluging or not?
    Thank you.

  2. xondie Says:

    You’re very welcome, Abdul! That is a great idea. I’m sure that a lot of people would like that capability.

    I’m swamped today and tomorrow, but check back here Thursday night and I’ll see if I can incorporate multiple pods into the plugin.

  3. Abdul Says:

    Thank you xondie,
    There is an other issue witch is templates, I looked for one that I can use with vodpod but I couldn’t find a template that is designed or at least optimized to Vodpod use.
    Thank you in advance.

  4. xondie Says:

    OK, multiple galleries within one WordPress site is now supported! You can optionally configure individual galleries on different pages with vodpod usernames, videos per page, and height of the thumbnail gallery iframe that is different from the configured defaults. You do not need to set any or all of these values for a gallery.

    I also added a link back to a user’s pod at the bottom (at the very reasonable request of the vodpod folks).

    I discovered a bug that I guess no one had noticed – the previous page arrow link didn’t always work right. That has been fixed.

    I also did a little bit more code cleanup.

    Abdul, the video galleries should look pretty good in any template that has a content area width of 425px or greater. You could make it look good in a template that is more narrow than that, but you’d have to do a little code changing to the width of the video player and to the widths set in the CSS. Is the problem that your templates are too narrow? Or is there some other reason why it doesn’t look good. On your site that you link to from your comment, your video gallery looks great.

  5. xondie Says:

    We just fixed an IE 5 bug – it now centers and lines up nicely like in all the other browsers. So we’re up to v0.6 now.

  6. Abdul Says:

    Thank you xondie, I will work on it tomorrow in my website and I will let you know about any problems, Thank you.

  7. Riisens Says:

    Hi there xondie,

    Your plugin seems great.

    However I seem to have a problem with your plugin. I´ve uploaded the plugin and installed it. Set it up to my vodpod account, and everything seems fine. Then ive created a new page, called videogallery. However when i past the “[Insert Video Gallery]” into my page nothing happens. What am i doing wrong?

    Thanks in advance

  8. xondie Says:

    Hi Riisens,

    One common cause I have seen of similar problems with various plugins is that sometimes when we copy and paste something, some hidden html tags get copied with it. To make sure this is not the case for you, switch to the “html” view within your page editor and make sure there is no hidden code around or within the [Insert Video Gallery].

    If that doesn’t fix it, perhaps point me to the url where you are trying to add the video gallery and I can see if anything jumps out at me.

  9. Riisens Says:

    Hi Xondie,

    Thanks for your reply.

    After i messed around with it for a while i found out what the problem was. Being rather new to Wordpress i thought i could edit the page in my “Themes editor” (that is messing with the PHP coding), AND pasting your code in the “Manage” “Page” side of wordpress. I thought that it was the same page i was working on. Then i found out that was not the case (i think). Anyway my problem was, that i had been working on the PHP side, and somehow confused Wordpress to overwrite the input form the “manage”, “Page” side (even though my PHP code could validate). Nothing i typed in, would be presented.

    My solution (which works) was to delete the page, and then start a fresh, and now it works fine!

    Anyway thanks for your help, your great plugin and your quick reply!

  10. Isaac Alexander Says:

    Thanks for creating a great program. Do you plan to post more links to sites that use your program? Also, will your plug work in other environments like drupal, joomla, etc…?

  11. xondie Says:

    Hi Isaac, I hadn’t thought to post links to sites using the video gallery. I would love for those using the plugin to post a comment letting everyone know. I can see from my visitor tracking some sites that are using it but I’m not sure that the owners of all of them have officially “launched” their sites since a few of them look to be in progress. It’s a great idea though – I think I will work on putting a list up after I get permission from site owners to post their links.

    It does not currently work with any other CMS. I may actually port this plugin over to Drupal, but I need to work with Drupal just a little more before I feel confident enough to do so. I have no plans to create a Joomla version at this point.

  12. Nick Says:

    Hey. Great plugin! Is it possible to include it in one of my wordpress pages using php? I’ve been looking at the code and trying to figure out how to include it but having no luck.

  13. xondie Says:

    Hm. I didn’t really write it for that, but maybe it could work. Did you try installing and configuring it and then adding this php line to your page?

    videogallery_get_html($params);

    That’s the line that writes out all of the html/javascript code. If no $params are passed in (you may have to at least pass in an empty array) it should get the data from the configuration. If you want multiple video galleries, then you would have to set the $params values.

    $params[0] = ‘vodpod_podname’; //whatever your vodpod username is
    $params[1] = 8; // number of video thumbnails per page
    $params[2] = 200 // height of thumbnails iframe

    If you get it to work, I’d love to know about it.

  14. Nick Says:

    It works perfectly now in my category page labeled videos. check it out! wow thanks a lot!

  15. Nick Says:

    I seem to have a problem with the plugin effecting my sidebar and page size. To troubleshoot deactivated the plugin and it fixed the problem so I know its unrelated to my new code. Any suggestions?

  16. xondie Says:

    Hi Nick,

    It’s tough to say, since (I think) you implemented the video gallery directly with PHP on your template file, rather than the standard way of putting

    [Insert Video Gallery]

    on a page using the standard content management. If you use the plugin the standard way, I would guess that your sidebar would return.

    I’m assuming that you have implemented the video gallery in the way we discussed in the comments above.

  17. Nick Says:

    The problem was a “&” in one of the queries for the plugin. Easy fix. I really like the plugin because it makes it very easy and quick to add new videos to my site.

    When I have some time I’m going to try and change the layout of the thumbnails to better fit my site. I’ll keep you posted on my progress. Thanks again and I WILL be donating.

  18. xondie Says:

    So glad it is working out for you Nick. Thanks so much for your support!

  19. xondie Says:

    I’ve just released version 0.7. By request, it now has pagination instead of just previous and next buttons. See the example galleries on this site for a live demo.

  20. Duminda Says:

    Hi,
    Please develop the Joomla 1.5 virsion from this.i want video gallary very much.and this is the gallary i want.please be kind enough to make a joomla virsion.

    duminda

  21. xondie Says:

    Hi Duminda,

    Thanks for your comments and your enthusiasm! I don’t have any experience with Joomla and so won’t be developing this plugin for Joomla any time in the foreseeable future.

    I have become quite experienced with Drupal though, and will likely develop a Drupal version as soon as time allows. Maybe within the next few months.

  22. Qball Says:

    I am getting an error. Is this an api issue? Thanks! I believe this plugin may be the answer I need.

    Warning: fopen() [function.fopen]: URL file-access is disabled in the server configuration in /plugins/vodpod-video-gallery/vodpod_gallery.php on line 168

    Warning: fopen(http://…@oldschoolscholar.com&per_page=1&api_key=js_widget) [function.fopen]: failed to open stream: no suitable wrapper could be found in /plugins/vodpod-video-gallery/vodpod_gallery.php on line 168
    Error reading RSS data.

  23. xondie Says:

    Hi Qball.

    I haven’t seen that error come up before. I searched around on google about it – one person suggests enabling allow_url_open in php.ini. Perhaps you could try that?

  24. Qball Says:

    What is the best way to write this line? I have the php.ini in my wp-includes folder. Should I place it elsewhere?

  25. xondie Says:

    Sorry for the delay, Qball. I got distracted by all the election coverage.

    I have put it under wp-content with success in the past.

    Then, I think the line you would need in there would be
    allow_url_open = true;
    (try it without the ; if it’s the last/only line in your php.ini file.

  26. xondie Says:

    actually, it might be
    allow_url_open = On;

  27. baron Says:

    hi. Thanks for plugin

    perfect.

    Regards

  28. drschuetz Says:

    I downloaded and installed the plugin into the plugin directory. I activated it through Wordpress and nothing shows up anywhere. I went to the widget page like your site instructed. Not there. I’ve tried everything I can think of. I’ve uninstalled and reinstalled. I am working with Wordpress 2.6.3. I really want to use your stuff. I’ve tried about 5 others and yours seems to be just what I need. Thank you.

  29. xondie Says:

    Hi drshuetz,

    In order to make the gallery show up on a page, you need to do more than just install and activate it. You have to then configure it and put the text into the page you want to have it show up on. It sounds to me like the steps you are missing are #3 and #4. Here are the instructions:
    http://wordpress.org/extend/plugins/vodpod-video-gallery/installation/

    I am not sure what you mean by going to the “widget page” – I only mention the Vodpod Videos Widget as an alternative to my gallery, not as any part of the installation process.

  30. xondie Says:

    Isaac and anyone else interested –

    I finally was able to port this plugin over to Drupal as was requested last August.
    http://www.xondie.com/resources/drupal-module/

    Let me know what you think!

  31. almir Says:

    Hi xondie

    drshuetz probably want to say that he can’t find the way to configure it in his wp-admin dashboard. I can’t either. I have wordpress 2.6.2 and don’t have options at all, so I can’t find where I could configure the plugin

  32. xondie Says:

    Did you look under ‘Settings’? It should be under there.

    Thanks for pointing out that I need to update the instructions for newer versions.

  33. almir Says:

    yes, thanks

    actually, I have added sidebar plugin at first, so I couldn’t find it

    It is in settings now :)

  34. Scott Says:

    Hello, I have used VodPod for sometime, aprox. 1.5 years. I have recently rebuilt the site and instead of using the buggy VodPod gallery plugin which doesnt seem to work with the newest Wordpress 2.7 anyway, I decided to try your gallery plugin. Every is great except for two issues. One is I can only select 8 thumbs to display. If I select more then the thumbs appear there but the window doesnt go low enough to see the pagination selections and arrows. #2 is I have recently used the new Flex Theme from iThemes.com and added your gallery to a black page which I name video test. There is nothing else on the page. it shows up GREAT!, the only thing is for some reason it shows in the page area fine and then ALSO it shows up AGAIN a second time in the TOP of the page above the site header… this is driving me crazy! hahah partly because I think its a simple fix, somewhere… The site is not up for public view yet, but if you contact me I can set up an account so you can see what i mean about showing up twice. I can live with the 8 thumbnails problem but I gotta fix the double showing of the gallery! EVEN THOUGH I love this plugin ALOT, I CANT have it showing up twice as im sure you could agree! ;) Anyway thanks for a great plugin! Just need a small fix and im up and running!!

    Scott

  35. xondie Says:

    Hi Scott – The first (and less important) problem is an easy fix. If you change the number of thumbnails, you also need to set the height of the iframe. In your configuration, there should be 3 settings for you to set. The 3rd one is the iframe height.

    The second problem does sound like a big problem. It’s late now, but I’ll take a look at it tomorrow.

  36. Scott Says:

    I fixed the first problem yes! hahah I was half asleep and didnt notice that option! :) But the second one yes I would like to fix this asap. Contact me via the email please and I will get you an account so you can see what I mean. Thanks in advance!

    Scott

  37. Txus Says:

    Hi!

    I’m redesigning my website with WP and I’ve just installed your plugin. It works great! Finally I can have to different VodPod widgets of different sizes.

    But I’ve a problem. I’ve placed a Video Gallery in one page (called Trailers) with some text explaing what’s in that page. However, the video gallery shows up perfect, but there’s no text. Nor before the video gallery nor after it. Is it a problem of my configuration? Or it works like that?

    Thank you and great work!

  38. xondie Says:

    Hi Txus,

    I’m afraid that is the way it works. It’s something I want to fix but haven’t done yet. When I tried to change that previously, it wasn’t a simple fix, so I put it off.

    Now that someone has mentioned it, I’m more motivated to try to fix it. Not sure when I’ll get to it but I’ll leave a comment and email you directly if/when I change that.

    Thanks for your comments!

  39. Michael Says:

    Hi Xondie,

    Does your plugin work with Wordpress 2.7?

    Regards
    Michael

  40. xondie Says:

    I haven’t tested it with WP 2.7 myself, but others have used it successfully with 2.7.

  41. jacksone Says:

    i want to know how can i view gallery without login because when i am login out the gallery is not showing so please help

  42. xondie Says:

    Jacksone,

    Whether you or logged in or not logged in, the video gallery should show up. If you have a URL where I could see this happening, I will take a look. What version of WP are you using?

  43. jacksone Says:

    i am using wordpress 2.7 http://67.228.169.192/~tbtyi123/?page_id=2733&preview=true
    and this is the link for video page when i am login then it shows when iam logging out its not showing

  44. jacksone Says:

    I found this problem with wordpress 2.7 only please reply me its very much needed

  45. xondie Says:

    Hi Jacksone. I went to the page and the video gallery is showing up just fine and I am not logged in.

    I notice that the link you gave me is preview mode. If you have only saved the page but haven’t yet “published” the page, then it might not show up when you are not logged in. Or if you have it set to private.

  46. jacksone Says:

    Thanku xondie i am just making a silly mistake.i got it yesturday.
    i just wont to ask u how i manage catagery in vodpod so can i categorised my video gallery

  47. xondie Says:

    I don’t know that vodpod has categories. They do have tags – so you could tag all your videos with a particular tag. Currently, this video gallery does not support passing in a tag_id to the query that retrieves the videos for the gallery. Seems like a good idea though and a relatively easy fix. I will try to add that capability over the next few days.

  48. xondie Says:

    Jacksone – I have updated the WordPress version of the gallery to take in an optional “tag” parameter. If you would like your gallery to only display videos from your account that use a particular tag, you can optionally specify a tag name. You can either configure this in the admin configuration page, or you can specify it on the particular page within the brackets like this:
    [ Insert Video Gallery username:tagname]

    I will update the Drupal version as well.

  49. John Says:

    I’m getting these errors.

    Notice: Undefined index: cur_page in C:\wamp\www\TheMasters\wp-content\plugins\vodpod-video-gallery\vodpod_gallery_thumbs.php on line 136

    Notice: Undefined index: vpp in C:\wamp\www\TheMasters\wp-content\plugins\vodpod-video-gallery\vodpod_gallery_thumbs.php on line 137

    Notice: Undefined index: u in C:\wamp\www\TheMasters\wp-content\plugins\vodpod-video-gallery\vodpod_gallery_thumbs.php on line 138

    Notice: Undefined index: t in C:\wamp\www\TheMasters\wp-content\plugins\vodpod-video-gallery\vodpod_gallery_thumbs.php on line 139

    Notice: Undefined index: page in C:\wamp\www\TheMasters\wp-content\plugins\vodpod-video-gallery\vodpod_gallery_thumbs.php on line 142

    Warning: fopen(http://api.vodpod.com/api/pod/videos.xml?pod_id=jludt&api_key=js_widget&tag_id=&page=1&per_page=12) [function.fopen]: failed to open stream: HTTP request failed! HTTP/1.1 500 Internal Server Error in C:\wamp\www\TheMasters\wp-content\plugins\vodpod-video-gallery\vodpod_gallery_thumbs.php on line 158
    Error reading RSS data.

    NO clue why. the last warning error just occured when I deleted a video from my vodpod account. the ones prior to that have been there since installing the plugin

  50. Coachaviv Says:

    Hi there,

    Your plugin seems to be exactly what I need! I’m just trying it out for the first time and and I am having an error message which i don’t know what to do about.One video is showing up and the thumbnails do not appear, instead it reads the following: [an error occurred while processing this directive]

    I am using the latest wordpress with OneTheme
    Thanks if you can help me solve this.

  51. Coachaviv Says:

    Here is the link . . . sorry
    http://www.studioaviv.com/vopod-test/

  52. xondie Says:

    Coachaviv:

    Sorry you are having troubles. I looked around a little bit about this error. It’s apparently a SSI module error, but I don’t know too much about that. I’ve seen some saying that it can be caused when a request takes too long, like maybe your SSI settings on your server aren’t set to allow enough time for the page to process everything. Do you have tech support at your hosting provider that you could ask about this? Who is your hosting provider?

    There is another possibility that I’ve seen come up as well – that possibly your file permissions aren’t set right. I believe all files need to be set to 644 and all folders should be set to 755. Can you check to see that the files within the plugin directory are set properly?

    FYI – I think their are two errors – the visible: [an error occurred while processing this directive]
    and then a message within HTML comments right above it that says: SHTML Wrapper – 500 Server Error

    I am not sure but I think they are separate messages. Your hosting service might have some insight. Even if they don’t know how to fix it, perhaps they can tell you something that will help us fix the problem.

  53. xondie Says:

    For anyone interested in John’s error messages above, we got this fixed by having him switch from a Windows server to a Linux server. Errors disappeared.

  54. Sam George Says:

    Hi,

    Some but not all of the videos in my gallery will not play. It seems to be from different sites (ie youtube, vimeo), and they play fine on the vodpod site. It is the same videos on each refresh that do not play.

    Here is the link to my video page:

    http://bham.fm/?page_id=1323

    Thank you!

    Sam George

  55. xondie Says:

    Hi Sam George.

    Thanks so much for trying out the plugin and letting me know about this problem. This appears to be a bug in my code! It’s throwing a javascript error – probably for videos of a particular type.

    I will fix this ASAP. If not tonight, then tomorrow.

    Thanks!

  56. xondie Says:

    Sam George,

    I have fixed this bug and updated it. You can download the new version and give it a try.

    The problem was with video descriptions that had line breaks in them. The line breaks were breaking the javascript. The plugin now replaces newline characters with br tags.

    Let me know if you still have problems.

  57. Sam George Says:

    So sorry, but I have downloaded (updated 2.21.09, so must be new version) and installed new plugin from wordpress (at first just _thumbs.php, the whole thing) and I am still having the same problem!

    Sam

  58. Sam George Says:

    I did remove the line breaks from one of the unworking videos and it will play now. I will leave the others unfixed for now so you can work on it.

    Sam

  59. Sam George Says:

    I replaced /n with /r/n in line 119 of vodpod_gallery_thumbs.php per your instructions and it worked!! Thank you so much!!

    Sam

  60. Carlos Escobar Says:

    hi, i have downloaded your plugin for wordpress.. i have installed it and i have put the text, in my page appear but when i want to change the video i do click and nothing, i think that dont have a link or something like that, you can check it please? The page is http://www.portaltuxtla.com/video/ there is, i hope some answer.

    Carlos

  61. xondie Says:

    Carlos,

    You are getting a javascript error of:
    Error: uncaught exception: Permission denied to get property HTMLDocument.getElementById

    The cause of this is that your website url has www on the front but when the iframe window opens, it does not have the www – Javascript considers these two different domains and denies permission for one to control the other.

    The plugin code which creates the iframe window src is calling get_bloginfo(‘wpurl’) which should get the same base url from wordpress that the rest of your blog is using but it isn’t. Do you happen to know of any reason why it would get a different base url?

    I know how to fix this in a hacky way, but it would be great to get to the bottom of why this is happening.

  62. Carlos Escobar Says:

    hi, i dont know why but i put a new plugin (one about image’s gallery) and now the page is working, check again please and tell my if is working in your computer, maybe the plugin did the thing that you said me.. :D

  63. xondie Says:

    Carlos,

    For me, it isn’t working still. If you’d like to fix this the quick and dirty way, you can go to the file named vodpod_gallery.php, line 202. You’ll see the iframe code.

    Replace the text:
    < ?php echo get_bloginfo('wpurl'); ?>

    With the text:
    http://www.portaltuxtla.com

    I think that will fix the problem, although I still can’t understand why it is broken currently.

  64. Becky Says:

    Hi, I’m doing this for testing. I gathered 3 videos onto Vodpod, got the Wordpress plugin installed, but I’m getting a fatal error… If you go to the page below it will show you the error. Please advise!

    http://www.beckydavisdesign.com/blog/?page_id=8

    Thanks

  65. xondie Says:

    Hi Becky,

    You would get this error if you are using PHP4. You ought to change your server settings to use PHP5 if you can. If you cannot switch to PHP5, you can make the error go away by changing the function calls for str_ireplace to str_replace. These appear in both php files. I cannot guarantee that everything will still work properly, but it might.

  66. Jyoti Says:

    Hi,
    I’m trying to add a bunch of videos to my site, and i’ve installed the WordPress plugin etc. I’ve used the toolbar button to add some videos from Youtube to my account, and now I’m trying to post them to my site, but I get and error message “Invalid blog url” Any idea what’s going on ?

  67. xondie Says:

    Hi Jyoti,

    “Invalid blog url” isn’t an error message that gets generated by this plugin so I’m thinking it’s an error that vodpod is giving you. It’s hard to say without more details. What is your vodpod account name? Do you have your video gallery on a page that I can view?

  68. Jyoti Says:

    Hi,
    thanks for the quick response.
    My account name for Vodpod is: jsauna

    The page on which my video gallery ought to go, but where i get an error message is: http://rg.kznconsulting.com/video2/

    I’ve temporarily installed a new plug in for videos, but I’m not very happy with the layout.
    thanks for your help
    Jyoti

  69. xondie Says:

    Jyoti –

    It kind of looks like you don’t have the plugin configured. Did you go into the Settings section of your admin, and configure the Vodpod Username for your plugin?

  70. Jyoti Says:

    yeah i did. Just filling in the Vodpod username and specifying how many videos per page etc, right?

  71. angelie Says:

    Hi, thanks for the very cool plugin! Very easy to use, we are using it on our web blogs. Just want to ask for solutions this issue we encounter – “XML error: not well-formed (invalid token) at line 856″. thanks!

  72. xondie Says:

    Hi angelie,

    I saw the problem last night right before bed, then just looked at it first thing this morning and it appears to be fixed. Did you figure out how to fix it? Is it working for you?

    Please let me know what the problem was in case others run into it. I hadn’t seen that one before.

    Thanks!

  73. jeanie Says:

    Hello, I saw your instructions to add vodpod to my site. I’ve installed it and did the setting thing. I don’t know how to use editing very well. I went to sidebar and there is a lot of stuff there. I am afraid if I paste code in there I might mess up stuff and then I will never be able to get it straight. below is what my sidebar stuff looks like, where exactly do I add it. Also you say add it to page, this is post and pages are different. If I want different videos on different pages, how do I do this. I am learning everyday but I am slow to get this edit thing.

  74. xondie Says:

    Hi Jeanie,

    My plugin does not require any code written into the php files. My plugin is also not intended for use with the sidebar. Are you sure it is my plugin that you read, rather than the vodpod sidebar widget available from vodpod.com? They are two separate plugins.

    If you are indeed trying to use my plugin, it will work equally well in both pages and posts. All you need to do is add the text into the main content area of the page or post – [Insert Video Gallery] (with or without optional parameters). This will insert the gallery automatically for you.

  75. xondie Says:

    Many thanks to John Ludt for pointing out a bug which is now fixed.

    Previously, the main video player, upon initial load, was displaying the first video in the vodpod account even if a tag had been specified. It is now fixed so that if a tag is specified, it will show the first video in the account with that tag.

    Another bug came up while I was fixing this: if a tagname has a space in it, the thumbnail frame didn’t display any videos. This is now fixed, however, if you configure the tagname in the content of a page or post, you must use %20 in places of spaces. I know that’s a little lame, but it works.

  76. baron Says:

    Works great, thank you

  77. jeanie Says:

    It is your directions I am following. What I am asking may be so simple you can not understand me.How do you get to the “main content of the page”? Do you mean where I add a post in dashboard? or Do you mean go to appearances in dashboard and then edit theme? That is where I was speaking of in my last inquiry?

  78. xondie Says:

    Jeanie,

    I think I understand now. You want to go where you add (or edit) a post (or page) in the dashboard.

  79. jeanie Says:

    I know I am a pain but I am determined to get this to work. I feel it is the best one. When I type in [Insert Video Gallery reggaeyard] I click update and all I see is [Insert Video Gallery reggaeyard] check out my site and see what I mean, http://www.reggaeyard.org

  80. xondie Says:

    It’s no problem at all. I want it to work for you as well.

    What I see on your site is [insert video gallery reggaeyard]

    I’m a little embarrassed because I really should have made it case insensitive, but this was my first plugin so I probably didn’t. It looks like you have ‘insert video gallery’ all lower case. It should be:
    [Insert Video Gallery reggaeyard]

    Notice the upper case letters. Double check that and let me know if it fixes the problem.

  81. jeanie Says:

    this is crazy, but when I typed it in the way you showed the whole post and sidebars were gone from my homepage. A frame came up with a box and it had some words that were click able and when you clicked it it said url could not be found.

  82. jeanie Says:

    I did the upper case on the proper letters, when I viewed it the page was corrupt-my post disappeared along with sidebar with a message saying url does not exist. Definately not what I wanted but it was more than just seeing the words as I wrote them. Do I put it in as visual or HTML (the codes on top right of box where you write your main content. I was using visual. I wonder if it has to do with the theme I am using. I am using Vigilance theme by Jestro.

  83. jeanie Says:

    Here’s what box says, function.f open, this box is what appears instead of my post and all sidebar stuff.

  84. xondie Says:

    Jeanie,

    I see the problem. There are actually 2 things.

    1 – Your vodpod account name is gypsychant (you configured that correctly in settings), but you were using reggaeyard within the post itself like this:
    [Insert Video Gallery reggaeyard]

    Since that vodpod account name does not exist, it was throwing an error. By the way, you also had ‘reggaeyard’ in the settings as a tag name, but you haven’t actually tagged any of your videos with that key word. That doesn’t cause any errors though – just thought you might like to know.

    2 – The other problem is my fault, not yours. When I developed this plugin I modeled it after a plugin that replaced the entire post (or page) content with the video gallery and so if you put other content in with the video gallery, it only displays the gallery.

    I do plan on fixing this so that you can have content before and after the video gallery within a post, but I haven’t done it yet because it will take me some time to do. I added the gallery to your site as a separate post. If that works for you for the short-term, that’s the best solution I can offer. Otherwise, I hope to have that change made in the next few weeks when I find some time.

  85. xondie Says:

    I just checked in a new version of the plugin with a major bug fix. Previously it was not displaying any content before or after the video gallery. Now it does display all content surrounding the gallery.

    This was the last known bug that I had on my list to fix, so if there is other stuff please let me know!

  86. francisten Says:

    hi – love the gallery – is there a way to have multiple galleries on the same page one below the other in order to group my videos?

  87. Tashia Says:

    Hi-Xondie, love the idea of the plugin but I cannot get it to work on my site. It is showing as a blank page on my videos tab. I followed all required steps I was wondering if you can spot anything else that I may need to adjust. Your help would be appreciated. Here is the link http://buzzword101.com/bw/?page_id=19

  88. xondie Says:

    Hi Tashia,

    I am not able to get pages to load on your site. It is running very slow and then gives me an error saying the page isn’t redirecting properly.

    By any chance, are you trying to run your site on a Windows server? WordPress tends to run very poorly on Windows, especially with regard to page redirects.

  89. Tashia Says:

    Hi-Xondie I think that the problem is fixed if you try again it should automatically load.

  90. xondie Says:

    Tashia,

    I was able to log in and see your configuration. It all looks right to me. But there is still a problem with the pages taking a very long time to load. I believe this is probably why the video gallery isn’t working. I think the call between your site and vodpod is timing out before the data loads. That’s just my best guess. I don’t think we can get the video gallery working until the load time on your site is faster.

    I’m guessing the server you are running on is Windows, rather than Apache. If that is the case, I strongly recommend switching to a new hosting server. I tried running WordPress on Windows and it is much too slow. If you are not currently on Windows, there is something else going on with your server.

    I’m sorry I could not be more helpful.

  91. xondie Says:

    francisten: Sorry for the delay in responding. I got caught up in other things and nearly forgot.

    You can try to post two galleries in one post, but right now, I don’t think the plugin will recognize more than one. The way it works, I think it just gets the first occurrence.

    I like your idea though, and I will keep it in mind for future versions. Not sure when that will happen though since I think it would take me a while to figure out how to make it work. But I will probably get around to figuring it out eventually.

    In the meantime, you can put multiple galleries on your page by putting them in separate posts and using different vodpod accounts or one account with different tags.

  92. Francis ten Says:

    thanx xondie – i would love to be able to change the background color of the gallery to a darker color to match my site. how or where can i do that? is it possible. please say yes ;)

  93. xondie Says:

    Hi francis ten,

    Not sure which background you mean. There is the light grey background that is around all of the gallery – you can change that in gallery.css. The class name is vp_gallery. Change the attribute background-color to any color you wish.

    The white background behind the big video player, that loads white initially when the page loads, I’m not actually sure you can change that.

    Take a look through gallery.css (it’s part of the plugin) and you will see various background-color settings that you can change.

  94. Jonesy Says:

    Hey Xondie -

    I echo everybody’s sentiments here when I say excellent work – this thing is simply awesome.

    One request (may be a bit ambitious)

    I was wondering if you could include the ‘Pop Out’ function for the video window like the one that exists in the VodPod Video Widget plugin (By spencerking and alexkingorg).

    That way, you can pull the video around outside of the page (obviously), but the popout window itself then becomes resizable, so as to be able to fullscreen any video you’re watching. (This is in relation to a bunch of CollegeHumor.com test videos I’ve recently jammed into my new test VodPod account)

  95. Jonesy Says:

    Oh and also,

    I’ve got the VodPod Video Widget (spencerking/alexkingorg) running on my homepage as a custom section (not without some container sizing errors anyhow…) if you want to see what I mean by the popout reference:

    Massive thanks and Cheers!
    Beautiful work.

    ~Jonesy

  96. xondie Says:

    Jonesy -

    Thank you so much! And thanks to everyone else’s kind words as well. I’m so glad to have been able to contribute something of value to the WordPress community since I have gotten so much out of others’ plugins and contributions.

    I’ll take a look at the pop-out player and see what I need to do to make that happen. It’s a great idea so I’ll add it to my to-do list. Can’t say when, but it’s on my radar. Thanks for the suggestion!

  97. James Says:

    I am looking to use this for my own ftp based videos – is this designed to be used that way? These videos would be uploaded to my website via ftp and then linked into wordpress – i dont want to use any outside video links.

  98. xondie Says:

    James – This plugin only works as a way to display videos from your vodpod account. It will not work in the way you need.

  99. James Says:

    What are the limitations of the account? Can i have private videos in the account but play on my website in a members only section? Do you have any recommendations for a plug-in that works with wordpress via my own videos? that works like this plug-in?

  100. xondie Says:

    James – I’m afraid I don’t know too much about galleries for self-hosted videos. I don’t host my own videos so I haven’t had much need for one. The problem I was attempting to solve was to have a video gallery that allowed me to have videos from many different sources (youtube, googlevideo, vimeo, etc). Since Vodpod handles all the back end aggregation, I only had to focus on pulling in the videos into a gallery.

    I know that Vodpod allows for private videos, but I’m not sure how it works with regard to displaying them on a website. I can’t see how that would work since your WordPress site wouldn’t be “logged in” to Vodpod to view the private videos. Even if a user logs into your site, Vodpod doesn’t know anything about that user being a member of your Vodpod account, so I don’t think it would work.

  101. John Says:

    I get the following error:

    Fatal error: Call to undefined function: str_ireplace() in /home/********/public_html/wp-content/plugins/vodpod-video-gallery/vodpod_gallery_thumbs.php on line 125

  102. xondie Says:

    John – your server is set to PHP4. You must use PHP5.

    If you cannot switch to PHP5, you can make the error go away by changing the function calls for str_ireplace to str_replace. These appear in both php files. I cannot guarantee that everything will still work properly.

  103. Georgianna Says:

    Hi, I got this error:

    Warning: fopen() [function.fopen]: URL file-access is disabled in the server configuration in /nfs/c01/h02/mnt/33056/domains/georgiannapinto.com/html/html/gfd/wp-content/plugins/vodpod-video-gallery/vodpod_gallery.php on line 196

    Warning: fopen(http://api.vodpod.com/api/pod/videos.xml?pod_id=getfreshdaily&tag_id=&per_page=1&api_key=js_widget) [function.fopen]: failed to open stream: no suitable wrapper could be found in /nfs/c01/h02/mnt/33056/domains/georgiannapinto.com/html/html/gfd/wp-content/plugins/vodpod-video-gallery/vodpod_gallery.php on line 196
    Error reading RSS data.

    Is it because I’m using PHP4?

  104. Georgianna Says:

    Hi, I fixed the issue. I’m hosted on Media Temple and they disabled fopen due to certain vulnerabilities. I had to edit my php.ini file with:

    allow_url_fopen = On

    Then, because of PHP4 I had to change str_ireplace to str_replace in vodpod_gallery.php and vodpod_gallery_thumbs.php

    Maybe this might help anyone else having the same problem.

  105. Georgianna Says:

    Just realized all of that was mentioned above. :-P

  106. xondie Says:

    Georgianna,

    Glad you got it working, and thanks for sharing the info about the “file access” error. I don’t think I’ve seen that one before. I’m sure it will be helpful to people.

  107. Deborah Bonello Says:

    Hey I am trying to paste the video gallery widget into a page but keep getting the following message where the gallery should be:

    Warning: fopen() [function.fopen]: URL file-access is disabled in the server configuration in /home/mexicoreporter/mexicoreporter.com/wp-content/plugins/vodpod-video-gallery/vodpod_gallery.php on line 196

    Warning: fopen(http://api.vodpod.com/api/pod/videos.xml?pod_id=mexicoreporter\’s_videos&tag_id=&per_page=1&api_key=js_widget) [function.fopen]: failed to open stream: no suitable wrapper could be found in /home/mexicoreporter/mexicoreporter.com/wp-content/plugins/vodpod-video-gallery/vodpod_gallery.php on line 196

    any ideas?

  108. xondie Says:

    Deborah,

    Gerogianna just had a similar problem which she fixed. Check out the comments just a couple before yours and see if that helps.

  109. infinets Says:

    How to add my own videos or delete my old added videos from vodpod-video-gallery?

  110. xondie Says:

    infinets: You add or remove videos from your gallery by adding/removing them in your Vodpod account. The video gallery pulls your videos in directly from your Vodpod account, so whatever is in there will be displayed on your video gallery.

    Go to vodpod.com and sign up for an account if you have not already done so.

  111. radyo dinle Says:

    great and useful plugin. thanks for detail post..

  112. squalie Says:

    Hi, I just want to change the background colour of the gallery from white to black. Can find in the CSS where to do this. Could you point me in the right direction?

  113. xondie Says:

    There is a file in the plugin folder, gallery.css

    I believe the element you want to change is the first one listed, #vp_gallery

    It currently has a background color of #F1F1F1.

  114. wolfy Says:

    I’m getting the famous allow_url_fopen message, but my hosting provider won’t allow me to change the value to On. Is there another solution for this problem?

    it’s VERY important.

    tnx.

  115. xondie Says:

    Wolfy –

    It’s no problem if your hosting provider won’t allow you to change your configuration options. Most won’t, including mine.

    What you can usually do is override their values by creating a php.ini file and putting it in your public_html directory or wp-content directory. You can probably put it in the vodpod gallery plugin directory if you want it to only be used for that code, although I’ve never tried that.

    Create a file and name it php.ini and put it on your server. Then add this line:
    allow_url_fopen = On

    If you add any other settings to this file, you’ll want to put a semicolon at the end of the line:

    allow_url_fopen = On;

    Give that a try.

  116. wolft Says:

    it didn’t work, any idea why?

  117. xondie Says:

    It’s hard to say without seeing it or knowing any specifics.

    Is it giving you the same exact error it was giving you before? I would try it in a couple of different directories. And also try it with and without the ; at the end of the line. I’m never quite sure if you need it or not.

    I’ve also seen it like this:
    allow_url_fopen = 1

  118. Julie Says:

    Hey there..

    I get the same fopen message.

    I tried everything you’ve said. Nothing works… I dont know much about php and stuff… I’m blogging from brazil.

    My error message:

    PHP Warning: fopen() [function.fopen]: URL file-access is disabled in the server configuration in E:\home\fanipacheco\Web\faclube\wp-content\plugins\vodpod-video-gallery\vodpod_gallery.php on line 196
    PHP Warning: fopen(http://api.vodpod.com/api/pod/videos.xml?pod_id=juliebbb&tag_id=&per_page=1&api_key=js_widget) [function.fopen]: failed to open stream: no suitable wrapper could be found in E:\home\fanipacheco\Web\faclube\wp-content\plugins\vodpod-video-gallery\vodpod_gallery.php on line 196

    Can you help me?

    Thanks

  119. xondie Says:

    Hm… This seems to be an ongoing problem for many people.

    I saw an alternative way to implement what I am doing. I will try the new implementation and see if that works better. Please give me until next weekend to get to this. Sorry for your hassle.

  120. Julie Says:

    Thanks for your reply.

    I contacted my hosting server support and what they told me, is that since I use a windows platform for my website, the fopen is not allowed, Meaning there’s nothing that I can do to make it work.

    It’s strange, since if I just copy the code directly from the vodpod page and past it on my blog’s page, it works fine. My problem with doing it that way, is that I can’t style the gallery like I want.

    I’ll wait for your next reply.

    Thanks… Julie

  121. Ahmad Says:

    I also had the exact same problem as Julie..hopefully you can help us all :D .Thanx

  122. xondie Says:

    Julie and Ahmad,

    I have implemented the plugin using curl, which I have read online should solve this problem. I do not have a Windows server to test this on and since I haven’t run into this problem, I can’t be sure this has actually solved it.

    Would you both mind trying out this new version of the plugin for me and if it works for you, I will commit my changes to wordpress.org so that others can benefit from the change as well.

    http://xondie.com/temp/vodpod-video-gallery.zip

    Thanks so much for your help! And for your patience this week.

  123. Ahmad Says:

    Thank you for helping us out….

    So I tried the new version of the plugin and I get a video showing up, but underneath the video I get this error:

    Notice: Undefined index: cur_page in /www/host.com/a/m/p/amparekh/htdocs/wordpress/wp-content/plugins/vodpod-video-gallery/vodpod_gallery_thumbs.php on line 131

    Notice: Undefined index: vpp in /www/host.com/a/m/p/amparekh/htdocs/wordpress/wp-content/plugins/vodpod-video-gallery/vodpod_gallery_thumbs.php on line 132

    Notice: Undefined index: u in /www/host.com/a/m/p/amparekh/htdocs/wordpress/wp-content/plugins/vodpod-video-gallery/vodpod_gallery_thumbs.php on line 133

    Notice: Undefined index: t in /www/host.com/a/m/p/amparekh/htdocs/wordpress/wp-content/plugins/vodpod-video-gallery/vodpod_gallery_thumbs.php on line 134

    Notice: Undefined index: page in /www/host.com/a/m/p/amparekh/htdocs/wordpress/wp-content/plugins/vodpod-video-gallery/vodpod_gallery_thumbs.php on line 137

    Now : after scrolling down past the error, I get the vid files for my profile showing but I can’t click any of them except the first.

    I hope theres something else you can do :) , thanks

  124. xondie Says:

    For anyone having an issue with the “fopen() [function.fopen]: URL file-access is disabled in the server configuration….” error message, I’ve just checked in a fix for it. The plugin now uses curl when calling the vodpod api.

    It’s going to write a file called temp.xml so make sure you have the correct permissions set on your vodpod-video-gallery folder. Usually 755 is fine.

  125. Jonathan Says:

    Is it possible to change the background color of the gallery? I would love to have it be black instead of gray but can’t find where to change it. Thanks!

  126. Jonathan Says:

    I have figured out how to change most everything with the layout. However, there is a white rectangle under the pagination links that I can’t cover up or get rid of. I have managed to insert a rectangle same size right below it but I can’t figure out how to get it to cover up the mysterious blank field. I want the blue one where the white one is. Also, the gray line above the video title will not disappear no matter what I do either. Thanks!

    [IMG]http://i234.photobucket.com/albums/ee267/mffpetergriffin/vodpodplayer.jpg[/IMG]

  127. xondie Says:

    Jonathan, I’m so sorry, I forgot to respond to you.

    It’s hard to see exactly from the image, rather than looking at the page, but I would think that if you changed your configuration settings so that your “iframe height” is smaller, than that empty space would not be there.

    I’m not sure about the grey line. If there is a page I could look at, I could probably tell you more. You can email it to me, rather than posting it publicly at info (at) xondie.com

  128. Jonathan Says:

    They gray line was a gif image and the white space was from the number of thumbnails reduced to 1-4. Everything is good now. Thanks so much!

  129. xondie Says:

    Oh good – glad it all worked out.

  130. Ella Says:

    This rocks. You rock. Thank you for sharing and helping people out. I send you a virtual beer :)

  131. kellyjanice Says:

    hello I have followed all the instructions am on a linux server and using PHP5
    when I try t use your widget my sidebar goes away and I get a white box that has this error in it

    http://vodpod.com/watch/1718487-baby-einstein-and-sydney-on-vimeo vimeo.com http://www.vimeo.com/5010411 543513 Thu, 04 Jun 2009 21:00:08 -0500 Thu, 04 Jun 2009 21:00:08 -0500 kellyjanice http://s3.amazonaws.com/vodpod.com.videos.thumbnail/1718487.jpg http://s3.amazonaws.com/vodpod.com.videos.thumbnail/1718487.medium160.jpg http://s3.amazonaws.com/vodpod.com.videos.thumbnail/1718487.large.jpg 2 2 0 0 0 0 1 4cac48094ebfae4be7b533299217a6c0306d7a85 Error reading RSS data.

    any ideas?

  132. xondie Says:

    Kelly,

    I think I may have messed things up for some servers with my last check-in. Trying to figure that out.

    Would you mind trying out this previous version and see if it works for you?
    http://xondie.com/temp/vodpod-video-gallery-revert.zip

  133. Teety Says:

    Hy, I tried to update from 1.1 to 1.5 and I had the same error with “Error reading RSS data.” at the end as kellyjanice. Vodpod-video-gallery-revert.zip worked for me!

  134. kellyjanice Says:

    thanks so much the revert worked just fine!

  135. xondie Says:

    Teety and kellyjanice –

    Thanks so much for trying that out for me. I’ve reverted it back to using fopen rather than curl and checked it in. I’ll have to figure something else out for those having trouble with fopen.

    In the meantime, I’ve made the curl version available for those who want to try it out at:
    http://xondie.com/temp/vodpod-video-gallery-curl.zip

    All other zip files that were in there have been removed.

  136. Pierre Says:

    Hi,

    I’m having the same problem as mentionned above (ireplace > replace). Except that I can’t find the /vodpod_gallery_thumbs.php file. I can’t find that file in my plugin editor and when I enter it directly in the browser bar, it’s saying that “Sorry, this file can’t be modified”.

    Changing /vodpod_gallery.php has arranged half of the things. When I go to my video gallery page (to be…) I can see only one video player and its written under : “Fatal error: Call to undefined function: str_ireplace() in /homez.154/dolphinc/www/wp-content/plugins/vodpod-video-gallery/vodpod_gallery_thumbs.php on line 125″

    So… (I post that in case it could help some buddies) I went to FileZilla to modify it directly and now it’s working properly !

    Thanks for your plugin ! What you describes up there is EXACTLY what I’ve been looking for for a while.

  137. Pierre Says:

    Hi,

    I was wondering: is it possible to enlarge a little the thumbnails?

  138. Amanda Says:

    Please help: the video gallery shows up just fine, but I lose any text before or after it?

  139. Kaingo Says:

    Good job with this plugin, easy to use, works great, thanks

  140. Jamie Says:

    Don’t call me stupid or owt, but ive been using wp for a while now and just found this plugin after searcing for ages. But after i installed it and got my Vodpod account, and configured it, it displays this error message when i view the page.

    Warning: fopen(http://api.vodpod.com/api/pod/videos.xml?pod_id=Blaydon%20District&tag_id=&per_page=1&api_key=js_widget) [function.fopen]: failed to open stream: HTTP request failed! HTTP/1.1 500 Internal Server Error in /wp-content/plugins/vodpod-video-gallery/vodpod_gallery.php on line 189
    Error reading RSS data.

    Any idea whats going, or more like ‘what i broke’

  141. xondie Says:

    Hi Jamie – I think you are using the wrong pod name. It should be the string that appears in your vodpod url – such as yourpod.vodpod.com

    Pierre – There is a css file included with the gallery plugin. You can change the size of the thumbnails and anything else. The name of the file is gallery.css.

    Amanda – That used to be an issue that I fixed in more recent versions. Let me double check and make sure I didn’t accidentally revert to an older version. If you have are using an older version of the plugin, please download a new version.

  142. Jamie Says:

    I managed to sort the problem, i got my self confused when i set it up and typed my username in with a space, where it’s not meant to have one.

  143. Kristina Says:

    I checked out your comments on the covering up text problem. I have the recent version and it’s still covering up my text. Any idea how I can fix that? I tried putting the “[ Insert Video Gallery hahahumour ]” in between , didn’t work.

  144. Kristina Says:

    Hmm, after the word “between” I put in the p tag with spaces, yet it still disappeared. I’m sure you get the point anyway.

  145. xondie Says:

    Yes, you’re right. I messed up. I had to revert some changes I had made because they were breaking things and I must have reverted to the wrong version. Very sorry. I will fix ASAP. It isn’t working on mine either.

  146. xondie Says:

    I’ve fixed it and checked in the changes but so far WordPress is not reflecting that the plugin has been updated. Usually it takes 15 minutes or less. Once it says “Last Updated: 2009-6-16″ then the fixed version will be there. Hopefully soon.

  147. kashmirportal Says:

    hi
    I juest added your plug in in my site en.kashmirportal.net and added [ Insert Video Gallery ] as per instructions on your site and config the same way.

    But when I preview the page its just comes empty with these words: [ insert video gallery ] nothing else comes up.

    Could you tell me whats the problem with my site?

    Looking forward for your assistance.

  148. kashmirportal Says:

    I got it right it now. Thanks any way, its a great plugin and nice and easy to install.

    Great stuff

  149. xondie Says:

    Thanks kashmirportal. Glad it’s working out for you.

    Regarding my previous message about my latest checkin, WordPress is still showing the wrong date for my latest update, but it does appear to have the latest files when you download it. So the problem with the text not appearing before and after the gallery should be fixed now.

  150. kikope Says:

    Hello,
    I just installed Wordpress 2.8. and Vodpod plugin on my blog.
    When I try to insert a video Gallery in a page ([ Insert Video Gallery Podname ]), I have the following message: “Fatal error: Call to undefined function: str_ireplace() in /homez.47/vsangers/www/cptest/wp-content/plugins/vodpod-video-gallery/vodpod_gallery.php on line 277″…
    Is there a compatibility problem between Vodpod and Wordpress 2.8 ?

  151. xondie Says:

    kikope – You need to use php5. You are currently running php4.

  152. kikope Says:

    Thanks Xondie ! All is perfect now ! And congratulations for this very useful and complete plugin !
    Best regards.
    Kikope.

  153. alaJoAnn` Says:

    I’m testing your awesome VodPod Video Gallery at a developing site: alamuze.com, and can’t wait to use it. But, I am having a similar problem to Scott, Dec 27, 08 — If you click to the post page [http://alamuze.com/?p=75/], you see two versions of the post. The top one is unwanted. How to fix this?

    Thank you for any help you can give. I know you’re busy.

    All the best,
    alaJoAnn

  154. xondie Says:

    alaJoAnn,

    This is happening because the vodpod gallery code is being displayed as part of your meta description in the HEAD tag. Are you using a plugin for SEO purposes that is generating your meta tags for you? Is there an option to filter out all HTML code from your meta tags? This is the problem and if you can fix that, the unwanted gallery at the top will disappear.

  155. alaJoAnn Says:

    I found that my theme, Mimbo, has an unexpected “quirk.” It is solved by using the optional excerpt field in the write panel. Now VodPod Video Gallery looks and works beautiful on the post page.

    Thanks for your reply. A SEO plugin wasn’t the problem in this case, but you got me hunting on a different path, until I finally found the answer.

  156. Dutchoven Cooking | My Hummingbird Cafe Says:

    [...] For information and updates, please visit: http://www.xondie.com/resources/vodpod-video-gallery-plugin-for-wordpress/ [...]

  157. Travis W. Carter Says:

    Is there something special I have to do so that it displays a video when you first go to the page? If I click on one of my thumbnails it will play, but your example gallery loads with the most recent video already up.

  158. xondie Says:

    Others have had this problem as well. I think it has to do with how long the api call to vodpod is taking to retrieve information but I’m really not sure. On a couple of sites I’ve seen, the big video loads sometimes but not others. On other sites, it seems to never load (until you click a thumbnail, that is).

    I’m perplexed as to how to fix it, to be honest. I’m open to ideas and suggestions on what it could be or how I might fix it.

  159. Travis W. Carter Says:

    I’m throwing around some ideas for the fix. I’ll let you know what I come up with. I just wanted to make sure it was an actual issue and not just me missing something before I spent some time on it.

  160. xondie Says:

    Wow, cool, thanks! I really appreciate you taking the time to look into it.

  161. Travis W. Carter Says:

    @xondie

    Do you mind emailing me so we don’t fill up this comment thread? I have a few questions about the vodpod api. I’ve managed to get it working, but the videos autoplay.

  162. Andy Says:

    Awesome plugin! I just need to get it working…

    I’ve been able to troubleshoot most of my own problems but for some reason the iframe isn’t loading and I don’t know why -

    http://www.curiousjayne.com/paulazarus/?page_id=3

    The iframe exists though –

    http://www.curiousjayne.com/paulazarus/wp-content/plugins/vodpod-video-gallery/vodpod_gallery_thumbs.php?u=almsmack&t=&vpp=2

    However, if you go to just the iframe page there is the following error

    Warning: Division by zero in /home1/…./wp-content/plugins/vodpod-video-gallery/vodpod_gallery_thumbs.php on line 181

    Any ideas? Thanks!!!

  163. xondie Says:

    Andy – I think I may see the problem and I think it’s one of these “every server is totally different” kind of things that I don’t fully understand.

    Go to vodpod_gallery.php, line 209. You will see the code for the iframe. Every place you see &amp; please replace it with just an &. I believe there are 2 places.

    Please let me know if that fixes it.

  164. Khuram Malik Says:

    Hi,

    First of all, would just like to say thank you for your contribution and efforts.

    Secondly, my question is, do you know if this method would work with videos hosted at Kaltura?

    My site: http://doubleter.com . The way i do the videos is, i do the main full length video at the top, and then segments in the post itself. I wanted to essentially post the segments as video thumbnails and cant figure out a way to do it, so i am considering using this plugin you have made.

    I dont know if that is the best method to use?

    Thank you for your time.

  165. xondie Says:

    If you can put those video segments into vodpod, then this plugin will work for you. You can also use tags in order to have a different set of videos show up for different posts.

  166. Moleman Says:

    Hello Xondie,
    I need some help getting this plugin to work. I have installed both versions on my server (the latest one and the curl one) and all I get is a rectangular white box with the mssg “Error reading RSS feed”. I’m running on Wordpress 2.8 and my server is running on php 4.4.7

    I’ve tried looking for the php.ini file to make the adjustment you suggested for another person but I have had no luck. Can you please take a look at my site’s Video Gallery? Any suggestions would be greatly appreciated. Thank you in advance.

  167. Moleman Says:

    Hey Xondie, btw my site is http://www.therealmcast.com
    You can click on the Video Gallery page listed on the right hand side. I eagerly await any advice you can offer. Thank you.

  168. xondie Says:

    Hi Moleman,

    I’m not exactly sure what’s wrong – I can’t remember seeing that particular behavior before where it just doesn’t display anything but “Error reading RSS data.” Usually it gives some kind of more useful error than that.

    I know it’s not your configuration – it must have something to do with the server or the files.

    Can you check the permissions on the files and directory for the plugin and make sure the directories are at least 755 and the files are 644?

    Can you tell me what type of server your are on? Windows, Linux, etc….

  169. jorge Says:

    Hi,

    Thanks for this amazing plugin its really a must have.

    I have tried this puglin but i cant make it work… i have tried wordpress.org version and curl version from this forum….

    If I use wordpress.org version i receive:
    “Error reading RSS data.”

    And if i use curl version the page stop loads:
    http://hermandadblanca.org/videos/vodpodtest/

    I have tried to make 755 all files and directories without any result… some help?

    Im using wordpress 2.8.1 es_ES on a centos5 server php5

    Regards,

  170. xondie Says:

    Jorge,

    I’m not sure off hand what the problem could be. But I don’t think I’ve ever tested the plugin with WP 2.8. I’ll upgrade my version and see if it works for me. I’ll try to do that today after work, if possible. Sorry for the delay. My weekend was absurdly busy.

  171. Sebastian Says:

    Dear Xondie.
    On line 286 of vodpod-video-gallery.php, you most probably have made a mistake. You write str_ireplace instead of str_replace (this is how the file is in the zip package), which creates an error when trying to load the video gallery. You might want to correct this :)
    Friendly greetings,
    Sebastian

  172. Sebastian Says:

    Obviously not line 286, but anyway, there is a line where you have written ireplace instead of replace.

  173. Sebastian Says:

    There is the same mistake in the vodpod_gallery_thumbs.php file.

  174. xondie Says:

    Sebastian,

    Thanks for trying out the plugin. str_ireplace is not a mistake actually. If that function is not working it is because your server is using PHP4 instead of PHP5. If you cannot switch to PHP5, it may be an option for you to change those function calls, although I haven’t tested that.

  175. xondie Says:

    @Jorge

    I have it running on 2.8.2 now with no problems.
    http://www.xondie.com/template/about/

    Can you give me a little more info? Such as, what configuration options did you use on the settings page, and what text did you type in on the page where you are trying to display the video gallery?

  176. Mario A . Núñez Says:

    Hi Xondie;

    I am receiving this error: XML error: not well-formed (invalid token) at line 8 but is only in one of the pods. All the others are working fine. Any idea? http://www.vidadigital.net/blog/videos/videos-tecnologia/

  177. xondie Says:

    Hi Mario,

    It looks like you have a character in your video entitled “redes sociales” that is not safe for XML. My plugin should really handle such things better than it is in this case. But for a quick fix, see if you can’t change that character and fix the issue.

    It’s in the description of the video:
    …durante la campaña electoral, más de 120.000 personas segu�

    Looks like it’s supposed to be an i with an accent. I don’t see any reason why this should be a problem since you have other Spanish characters that aren’t causing problems. But for whatever reason, it is not coming through in the XML.

  178. chejo Says:

    Hi xondie.

    Here just to thank you for this great plugin, wich was out of the box for me, all working great.

    Thanks again for your awsome efforts!

  179. Mario A . Núñez Says:

    Xondie;

    Thanks for responding. I deleted the whole text but still I am receiving the same error. Seems to be another cause.

  180. Mario A . Núñez Says:

    Thanks the problem was resolved. I just have to wait some minutes

  181. Hectoo Says:

    How to add my own videos or delete my old added videos from vodpod-video-gallery

  182. Daniel Says:

    Urgent help your plugin is great but im having a slight problem and i was trying to get this site ready for tomorrow as im chasing down advertisers for a magazine..blah blah blah, to the problem: instead of loading the thumbnails it loads my index page??? Ive tried complete deleteing everything in the vodpod_gallery_thumbs.php file but it still happpens? The only way i can stop it from loading index is delete the link to thevodpod_gallery_ thumbs.php file in the vodpod_gallery.php file? very strange

    http://exclm.com.au/video/

  183. xondie Says:

    Daniel –

    It seems to not be finding the vodpod_gallery_thumbs.php file. That makes me think that it’s a permissions problem. Can you check your file permissions and the folder permissions?

    Usually if the folder is set to at least 755 and the files are set to at least 644, that is fine. Sometimes I set them all to 777 if I’m trying to troubleshoot, just to see if that fixes things.

  184. Daniel Says:

    thanks a bunch sorry for being a goof, its all working now. thanks for your time

  185. Syzla Says:

    Hi !

    Nice plugin but I’ve a problem in the settings.
    The CSS cannot be changed.. It’s just for me or a rule ?!

  186. Dennis Says:

    It’s working, but the formatting is pretty messed up. I was playing around in firebug and deleted the tag and that seemed to fix things a little bit. Any thoughts on why this is happening and what I can do to fix it?

    Thanks!

    http://www.dennisvanhuffel.org/client/rpeterson/video

  187. xondie Says:

    Syzla – Are you trying to change the CSS through the wp-admin pages? I admit, I’ve never tried to do that. If you ftp to the files you can change the CSS file easily. It is called gallery.css.

    From what I can see, it looks like the editor within WordPress only lets you edit 1 file out of each plugin, which seems like a silly way for WordPress to set that up. But I only looked at it for a few minutes, so I’ll spend more time with that after work today and see if there’s a way to allow you to edit multiple files from within wordpress.

  188. xondie Says:

    Dennis,

    For some reason your page is putting html “pre” tags around the video gallery. That is causing the html line breaks to actually show up as line breaks on the page.

    Your other pages don’t all have that so it must be something in that page editing, rather than something in your theme files.

    Remove the pre tag and all should be well.

  189. Syzla Says:

    Greeting Xondie. Thank you for your answer.

    I tried what you said to me. This works but not absolutely..

    Another problem: my list of video (thumbnais). Looks here: http://syzla.webou.net/?page_id=88
    I cannot see the following and previous button..

    Thanks for your help :-)

  190. xondie Says:

    Syzla,

    Go to the settings for the Vodpod Video Gallery. It looks like you have the “iframe height” set to 125? If so, change it to 200. You can change the iframe height to display larger or smaller depending on how many thumbnails you choose to display.

  191. Syzla Says:

    I’m so stupid.. Thanks a lot for your help and for this plugin!
    CSS works correctly now :-)
    See you soon.

  192. xondie Says:

    Not at all Syzla. It was only obvious to me because I wrote the thing. So glad it’s working for you!

  193. tim Says:

    hi, thanks for the plugin. it’s great. one question: is there any way to make video screen larger – 600px insted of 425 ???

  194. tim Says:

    is it possible not to show Stats of the original source at the end of the video. I would like video to end when it’s finished without all additional info showing at the end. let me know if that can be done.

    thanks.

  195. xondie Says:

    Hi Tim,

    I don’t think that actually is possible, because it would rely on all the 3rd party sites (YouTube, MetaCafe, etc) to accept parameters which turn that feature off. And if that is possible, it would then have to be something that vodpod offers since all the data, including the code to display the video itself, is coming from them. I’d suggest searching vodpod for info on that, but I’d be surprised if that was an option.

  196. Caroline Says:

    Love the idea of having this kind of video gallery on my website…but I just CANNOT get it to work! Can anyone tell what I’m doing wrong?

    http://bit.ly/12f6VZ

  197. Q Ball, The 800lb Gorilla Says:

    Xondie,

    I was auditing my site’s content this morning, and when I visited the video gallery page The plugin is double posting the content. Is there something I am missing that I need to look into? I upgraded to 2.8.4 WP once the update was made available, but before hand there were no issues. Could All In One SEO factor into this? I just upgraded that plugin the other day.

    Thanks for this wicked plugin and support!

  198. Lydia Says:

    Hi – Thanks for the wonderful plugin! It was working great for me for awhile, and then all of a sudden I got this error message:

    Warning: fopen(http://api.vodpod.com/api/pod/videos.xml?pod_id=Adam%20Is%20Freaking%20Out%20Right%20Now&tag_id=&per_page=1&api_key=js_widget) [function.fopen]: failed to open stream: HTTP request failed! HTTP/1.1 500 Internal Server Error in /var/www/lcayton-holland/adamisfreakingoutrightnow/wordpress/wp-content/plugins/vodpod-video-gallery/vodpod_gallery.php on line 196
    Error reading RSS data.

    Nothing will show up on my video page. Any ideas?

  199. Q Ball, The 800lb Gorilla Says:

    Can someone please explain how I can correct this issue? This error occurred after the latest update of Vodpod plugin. Please review. I am looking for advice. I am using the latest WP install, too. http://oldschoolscholar.com/video-gallery/

  200. xondie Says:

    Sorry Q-Ball. I’ve been a bit busy. Didn’t mean to leave you hanging on this.

    I’ve seen this before when people are using some kind of SEO plugin. It is taking the full html code from the page and inserting it into your header. The SEO plugin *should* strip that html code out, but it doesn’t.

  201. adtv Says:

    i can’t see vodpod Video Gallery Options. why? i use wp 2.8.4

  202. adtv Says:

    i can’t see Option. why? i use WP 2.8.4

  203. xondie Says:

    The options will appear under Settings. There is a link for Vodpod Video Gallery. If they do not appear, make sure you have activated the plugin.

  204. Q Ball, The 800lb Gorilla Says:

    Thanks for the reply Xondie. Believe me, I understand you are busy.

    I am using All In One Seo. I will contact them to see what their work-a-round is. There may be a way to negate this header issue. I will keep you posted with the resolution.

    Brother, this plugin is friggin wicked.

  205. adtv Says:

    i have the same error: “Error reading RSS data” when creat a new post/page. help me!

  206. xondie Says:

    adtv – I’m afraid that is not quite enough for me to go on. Can you send me a link to your page?

  207. Ken Says:

    Hi,

    I’ve installed the video gallery plugin to my self-hosted WP site, configured the plugin in Settings and can’t get it to work. I created a new page that contains only the text [Insert Video Gallery]. I have saved a draft of the page and when I preview the page all I see is a blank white box. I tried publishing the page and get the error message “Error reading RSS data”

    The page where it is installed is:
    http://flyfishingreporter.com/wp-admin/page.php?action=edit&post=587&message=1

    Any suggestions?

  208. xondie Says:

    Ken,

    That link will not work for me since I am not an admin on your site. Do you have another link to the page so that I can see what you are seeing?

  209. Keith Says:

    Anyone ever figure out the cause for this error:

    Warning: fopen(http://api.vodpod.com/api/pod/videos.xml?pod_id=xxxxxx&tag_id=&per_page=1&api_key=js_widget) [function.fopen]: failed to open stream: HTTP request failed! HTTP/1.1 503 Service Unavailable in /var/www/vhosts/domain/httpdocs/wp-content/plugins/vodpod-video-gallery/vodpod_gallery.php on line 196
    Error reading RSS data.

    I used to have this running until I rebuilt the site and used the newest version of wordpress and vodpod. Now I get an error that doesn’t make any sense as allow_url_fopen = On is enabled.

    Puzzled!!!

  210. Keith Says:

    Ken, if you enable display errors, you’ll see that error is basically the same as what I have and several others;

    Warning: fopen(http://api.vodpod.com/api/pod/videos.xml?pod_id=xxxxxx&tag_id=&per_page=1&api_key=js_widget) [function.fopen]: failed to open stream: HTTP request failed! HTTP/1.1 503 Service Unavailable in /var/www/vhosts/domain/httpdocs/wp-content/plugins/vodpod-video-gallery/vodpod_gallery.php on line 196
    Error reading RSS data.

    Still not sure what is causing this.

  211. xondie Says:

    Keith,

    Is xxxxxx your vodpod id? I notice that this account does not have any videos. This should not cause that error, but maybe it could on certain servers? Not sure if that is your actual vodpod id or if you x’d it out for privacy.

  212. Kevin McCarthy Says:

    I have just installed the plugin and have exactly the same problem as the last two posts.

    I’m using latest version of wordpress.

    Can you advise?

  213. xondie Says:

    Kevin and others having the fopen problem:

    Can you please try this version and let me know if it clears it up?

    http://xondie.com/temp/vodpod-video-gallery-curl.zip

    This version may be a little out of date so let me know if it has other problems. But if it clears up the fopen issue, I will update to reflect the current plugin. If I recall correctly, it cleared up the fopen problem for those having it, but it caused problems for many other people who never had the fopen problem, so I could not release it as the regular version. If this works, I’ll make it more readily available.

  214. Kevin McCarthy Says:

    Thanks for sending me another vrsion. I’m now getting the following error message with this one.

    Warning: Cannot modify header information – headers already sent by (output started at /home/pword/public_html/wp-content/plugins/vodpod-video-gallery/vodpod_gallery.php:142) in /home/pword/public_html/wp-includes/pluggable.php on line 865

  215. Lydia Says:

    Hi – Thanks for all the work you’ve been doing trying to fix this problem. I did try installed the new version, and it didn’t fix it. I went back to the old one so you could see the page. Here is the url:

    http://adamisfreakingoutrightnow.com/videos/

  216. xondie Says:

    Wow, sorry guys, that so many people are having problems. I’m going to try to fix this as soon as possible. I’ll try to fix it tonight if possible. If it’s tougher than that, I’ll get it done as fast as I can. But I do work a day job so please be patient!

  217. Gregory Says:

    Hi,
    I am trying to install this plugin through wordpress, after following install instructions on text added to page. Next it ask me to set permissions? Where? in wordpress admin? or host sever? or where???

    I am a beginner so please be specific for me Thank you

  218. xondie Says:

    Gregory – I am not sure what you mean. Where is it asking you to set permissions? Can you send me a screen capture of this behavior? I have not heard of this problem before so I am not clear on what is happening. You can email me directly at info(at)xondie(dot)com.

  219. Gregory Says:

    Hi,
    Ok..I assume from rereading install instructions it is hosting and in plugin directory…who do we give permissions to? I have godaddy and to set permission it ask:

    Users who may access the selected folder(s):

    Who or what information do I place as user???
    Thanks again

  220. xondie Says:

    Oh, I think I know what you mean now. You often need to set the permissions on the folder containing the plugin, which would be the folder called “vodpod-video-gallery”. When setting permissions, can you see an option to set it by using 3 numbers? Usually, setting folder permissions to 755 will work fine. See if you can find where to do that and see if it fixes your problem.

  221. michelle Says:

    I could not make this work at a gridserver mediatemple hosting account; tried all the fixes I read above- so thanks to all who posted their hacks. I believe they (MT) are restricting any workarounds- warnings against the php.ini fix in knowledge base. Also- can not get this to work running WP2.8.4 and PHP5. bummer! maybe another time- it seems like a killer plugin- thanks for all your hard work. I have to uninstall.

  222. Dauphin Says:

    Hi Xondie,

    As you managed how to make a great plugin, I’m wondering if you would have the key to edit the original vodpod video widget.

    What I would like to do is to edit that widget ina way that the bottom “See all videos” link redirects to my own page with your plugin and NOT to my vodpod.com account.

    I’ve tried a lot of things and can’t make it. Would you have an idea of how to do it?

  223. xondie Says:

    Dauphin,

    I’m sorry but I don’t know. I had a difficult time trying to make changes to the original vodpod widget, which is why I ended up writing my own.

    Did you try searching all the files for the phrase “See all videos”? That’s where I would start, and if you find that, then change the href to point to your page.

    If I get some other issues fixed first, I could take a look at this for you. But at the moment I am too busy and am falling behind on things.

  224. xondie Says:

    Michelle,

    Sorry you were not able to get the plugin to work. I have it running with WP2.8.4 and PHP5 with no problems, so I don’t think that is the problem.

    I am looking into the fopen issue right now, so maybe I can find a solution for that. I assume that is the problem you are running into? I thought that had been resolved but it is popping up again.

  225. xondie Says:

    Kevin McCarthy –

    I found this article which looks similar to the problem you are having with that “headers already sent by…” error.

    http://www.hongkiat.com/blog/wordpress-error-warning-cannot-modify-header-information/

    I also saw another person say that their wp-config.php file was not set to 644 permissions, and when they set it to 644 this problem went away. I’d try both those things and see if it helps.

  226. Dauphin Says:

    Hi Xondie,

    Thanks for your answer. I did try to find the “See all videos” reference but changing the href link doesn’t change anything. It’s like the widget is built in a way that you can’t change it (I guess files are refering to each others so changing just one or a bunch of them doesn’t get the thing done!). It looks like VodPod really worked its widget to make it difficult to edit! :P

    Thanks anyway, I’ll keep coming to see if you had the time to have a look at that! (By the way, wouldn’t you like to have a Comment notifier plugin? ;) )

  227. Q Ball, The 800lb Gorilla Says:

    Yo, Xondie. I forgot to give you an update on how I resolved the duplicate header issue.

    Thanks to your insight regarding SEO plugins, I inspected my page source more closely. I noticed my site description and title was duplicating in the header.

    I have been using All In One SEO. All I had to do turn was delete my site’s description content in the plugin’s setting. Since the blog description was already entered in the General admin setting, there was no need to have it re-entered in All In One SEO.

    After that, I recached, and refreshed the page and voila!

    I hope somebody else can resolve their problem as well.

    Thank you and Peace!

  228. Paco Says:

    Hi,
    Any news about the fix of this issue?

    Warning: Cannot modify header information – headers already sent by (output started at /home/pword/public_html/wp-content/plugins/vodpod-video-gallery/vodpod_gallery.php:142) in /home/pword/public_html/wp-includes/pluggable.php on line 865

    Nice Plugin
    Thanks
    Paco

  229. xondie Says:

    Paco – I left a comment a few comments about this one regarding this issue regarding “Cannot modify header information” error. Take a look and see that fixes your problem.

    Qball – Thanks so much for the update. Glad it’s working well for you!

  230. Kevin Says:

    Hi Xondie,

    I tried what you said above and managed to get the first video up. However I am now getting another error message just above the <>

    Warning: Division by zero in /home/pword/public_html/wp-content/plugins/vodpod-video-gallery/vodpod_gallery_thumbs.php on line 185

  231. alex Says:

    hi I have a little problems, I Installing the vodpod video gallery and I change the function calls for str_ireplace to str_replace, now I see the video but for the gallery ( Thumbanail ) the are this error
    ” Internal Server Error

    The server encountered an internal error or misconfiguration and was unable to complete your request.
    Please contact the server administrator, postmaster@laboratoriocreativo.org and inform them of the time the error occurred, and anything you might have done that may have caused the error.
    More information about this error may be available in the server error log”

    Help me please!!!!!
    this is the page http://www.laboratoriocreativo.org/?page_id=2

  232. xondie Says:

    Alex – I’m not sure off hand. Do you see anything in your server error logs that looks relevant? You can send me a copy of recent log entries, and I’m happy to take a look when I get a chance.

  233. xondie Says:

    For those having the problem with the fopen error, I just realized that it sometimes comes up when you configure the gallery (in the settings section) with an incorrect vodpod username. I mistyped one just a minute ago and I got the fopen error.

    There has been confusion in the past with usernames vs. collections and other things. If you can type yourusername.vodpod.com into your browser and have it come up with your vodpod page, then that is the correct username.

  234. alex Says:

    Hi xondie,
    I try to change my vodpod username but is correctly .
    my yourusername.vodpod.com is leconte in fact if you try to write leconte appare my profile on vodpod, but im my web site the situaction is not change….. I dont now I still crazy…..

    please help my!!!
    I use php4 and my server is aruba..

  235. xondie Says:

    Alex – Is it possible to switch to php5? Most servers have both php4 and php5 installed.

    On my server, I was able to add this to the top of my .htaccess file:

    # Use PHP5 as default
    AddHandler application/x-httpd-php5 .php

    If that doesn’t work on your server, contact aruba and ask them how. php4 is pretty old now and I didn’t write the plugin to work with it, so it might not.

  236. Jason Says:

    I am new to wordpress and website development. After alot of research, Your plugin was perfect for my site. Maybe you can help me or point me in the right direction. I am looking for a way to add a search bar that will just search the tags or titles of the videos in my vodpod account and only display those videos in the gallery. Is this possible? Thank you in advance.

  237. xondie Says:

    Jason – The Vodpod API does have a search function that you can call. It searches titles and descriptions for the keyword(s) that you pass in. It does NOT search tags though. You can pass in a tag and get only those tags back, but this is separate from their search. This feature is not currently implemented in my plugin, but it can be done.

  238. xondie Says:

    FYI everyone – we were able to get Kevin’s problems fixed. He was using the wrong value in his vodpod user setting. This is my fault for not being clear enough on the settings page.

    If you have multiple collections and you are trying to call a particular collection, you need to use the collection name. If you have just one collection all under your vodpod username, vodpod accepts that username.

    I will need to update the plugin to reflect these instructions when I get a chance. This week sometime.

  239. Jason Says:

    Thank You Xondie for your help. Unfortunatly I am not well-rounded enough yet at wordpress or code to figure it out. I didn’t even know what a call or an API was until your post…lol. I am sure over time I will learn. Do you mind pointing me in a direction where I can find good information on getting this in my site? thanks.

  240. Steven Says:

    Hi Xondie,

    I’m currently using the php params to show the vodpod videos
    What do I write in the code to specify the tag? They are both under param0.. i’m not exactly sure how that would look.

    I tried
    $params[0] = ‘_user_:_tag_’; but that didn’t work

    Please let me know, thanks!

  241. xondie Says:

    Steven,

    I’m not familiar with what you are referring to. But the php variable name used in my plugin code is $vodpod_user and $vodpod_tag. You can try that.

    If that doesn’t work, the names used as the “option” code in wordpress are videogallery_user and videogallery_tag.

    Hope that helps.

  242. Steven Says:

    Hi Xondie, I followed instructions from a post you made September 2008. How would I insert the tags in php that you wrote above for me? Thanks!

    Sept 2008 post:

    “videogallery_get_html($params);

    That’s the line that writes out all of the html/javascript code. If no $params are passed in (you may have to at least pass in an empty array) it should get the data from the configuration. If you want multiple video galleries, then you would have to set the $params values.

    $params[0] = ‘vodpod_podname’; //whatever your vodpod username is
    $params[1] = 8; // number of video thumbnails per page
    $params[2] = 200 // height of thumbnails iframe”

  243. xondie Says:

    Oh, ok Steven, now I know what you are talking about. I think what you have should work. In what way is it breaking? Do you get an error or does something specific not show up?

    If you have any spaces in your tag name, you may need to replace the space with percent20. Also make sure you are using regular single or double quotes and not any weird smart quotes.

  244. xondie Says:

    Hey everyone – I believe I have fixed two major problems:

    1 – Some people have noticed the problem with the main video not loading when you first load the page. I believe that should no longer be an issue.

    2 – The plugin no longer uses fopen so hopefully those fopen errors that were occurring on certain setups will no longer be an issue.

  245. Dauphin Says:

    Hi Xondie,

    I’m having a problem with your plugin since I updated it yesterday (version 2 replacing version 1.3).
    So I went back to version 1.3, replace str_ireplace with str_replace as usual but… I didn’t fixed the thing.
    On the page where I usually embed videos with your plugin, I now have this message :

    “Warning: file_get_contents(http://api.vodpod.com/api/pod/videos.xml?pod_id=Delphus&tag_id=&per_page=1&api_key=js_widget) [function.file-get-contents]: failed to open stream: HTTP request failed! HTTP/1.1 500 Internal Server Error in /homez.154/dolphinc/www/wp-content/plugins/vodpod-video-gallery/vodpod_gallery.php on line 197″

    Under this message I have another that I cannot copy/paste. You can read it at this adress : http://www.blog-les-dauphins.com/videos-de-dauphins/

    How can I fix that? Thanks for your help!

  246. Steven Says:

    When I tried $params[0] = ‘vodpod_podname:tag’; //whatever your vodpod username is

    that didn’t filter any videos. it showed all the videos. Am I doing something wrong?
    Thanks Xondie!

  247. xondie Says:

    Dauphin,

    file_get_contents must be a PHP5 function and not compatible with PHP4. It is much more reliable and much more secure than using the fopen function, which is PHP4-compatible but which has caused nothing but problems for many users of this plugin.

    I highly recommend that you switch to PHP5. Since August 2008, PHP4 has been considered an “end-of-life” product and is no longer being developed. Here is some info from WordPress about switching to PHP5:
    http://codex.wordpress.org/Switching_to_PHP5#Compatibility:_Will_PHP_5_Break_WordPress_Themes_or_Plugins.3F

    If you are not able to switch, I recommend continuing to use the old plugin version that you have. But there is no reason why a good hosting provider should not offer PHP5 as an option at this point, so I would check out that option first.

  248. Torsten Says:

    Hi,

    i use php 5 but have the following failure message after installing the plug in:

    Warning: file_get_contents() [function.file-get-contents]: URL file-access is disabled in the server configuration in /homepages/33/d17712876/htdocs/steinbeck/wp-content/plugins/vodpod-video-gallery/vodpod_gallery.php on line 197

    Warning: file_get_contents(http://api.vodpod.com/api/pod/videos.xml?pod_id=steintier&tag_id=&per_page=1&api_key=js_widget) [function.file-get-contents]: failed to open stream: no suitable wrapper could be found in /homepages/33/d17712876/htdocs/steinbeck/wp-content/plugins/vodpod-video-gallery/vodpod_gallery.php on line 197

    any idea?

    thanx

  249. xondie Says:

    Thanks Torsten.

    It looks like I was mistaken about file_get_contents being a PHP5 function. It should work fine in PHP4 or PHP5.

    The problem is that you need allow_url_fopen to be turned on in your php.ini file.

    In your php.ini file the line should be allow_url_fopen = On
    or sometimes allow_url_fopen = 1. I’m not an expert on php.ini files so you might want to look around a little more about that if those don’t work for you. I’ve noticed that sometimes a ; is needed at the end of the line and sometimes not.

  250. Torsten Says:

    H xondie,

    that’s the problem, I have no file called php.ini in the whole directory of wordpress ….

  251. xondie Says:

    Torsten, you can just create the file. Put it in your root directory (usually public_html). Create the file and then add that line to it.

  252. Torsten Says:

    Hi Xondie,

    Ok, this sounds more helpfull but I still have an understanding problem.
    Should I create a file called php.ini or a file called public.html and put it into the root directory of the server or into a directory of wordpress?

    (I tried both but it does not work.)

    thanx

  253. xondie Says:

    The file should be named php.ini

    The directory it goes in should be the same directory where your wp-config.php file is. So the root of wherever you installed WordPress.

    You could just as easily put it inside your wp-content directory as well. Should work there too.

  254. Torsten Says:

    Hi Xondie,

    I read above that some people did have the same problem but there was no solution mentioned anytime .

    Now i created a php.ini file by windows editor and included just the one textline only: allow_url_fopen = On and tried also with allow_url_fopen = 1.

    I put the file in the root directory of wordpress, same like wp-config.php exist.

    Result: it does’nt work – the failure message is the same.

    any further idea?

    thanx

  255. xondie Says:

    You can try this version:

    http://xondie.com/temp/vodpod-video-gallery-curl-2.zip

    This uses curl, instead of file_get_contents. Curl doesn’t require allow_url_fopen to be turned on, but some servers don’t like curl for other reasons.

    If that doesn’t work, you might contact your hosting provider and ask them about how to turn on allow_url_fopen. Every server is different.

    Please let me know if that curl version works for you.

  256. Torsten Says:

    Hi Xondie,

    I was in contact with my provider (1&1 in Germany) and he did not found a solution also until I tried the curl version.

    with th curl version it did work immediately – thanx a lot – now I’ very happy because it is a very great plug in :-)

    thanx & bye

  257. xondie Says:

    That’s fantastic news, Torsten. Thanks for letting me know it worked so I can have this as an option for others as well.

  258. Costa Rica Frog Says:

    I created a “Videos” page on my WordPress 2.8.6 site: http://www.CostaRicaFrog.com/Videos

    Installed Vodpod Video Gallery 2.0, setup my Vodpod username of “costaricafrog” & pasted “[Insert Video Gallery]” on my “Videos” page.

    PROBLEM: Only the first video loads (is playable). The remaining videos show-up as thumbnails but will not play.

    Conversely, when I load the Vodpod.com Video Galleries code all videos work fine – but the format is not as attractive.

    Your assistance is greatly appreciated.

  259. xondie Says:

    Costa Rica Frog:

    For some reason, your website resolves to http://www.costaricafrog.com, but a call to get_bloginfo(‘wpurl’) points to costaricafrog.com (without the www). The urls have to match or the javascript will complain. Can you make sure that in your Settings, both your Blog Address and your WordPress Address are set with the ‘www.’ on the front?

    It may be that I am calling the wrong one and that there is a way to call the WordPress URL rather than what I am doing.

  260. Costa Rica Frog Says:

    xondie,

    I set both addresses to ‘www.’ and EVERYTHING seems to be working great.

    Muchas Gracias for the quick response and simple fix!!!

  261. Arthur Says:

    Xondie –

    We have been using your plugin at truenorthnewsandcommentary.com for many months and it’s been great. A couple of weeks ago it stopped displaying the videos or the thumbs. I noticed that there was an upgrade available and did that but then we experienced the error messages similar to those mentioned above.

    Warning: file_get_contents(http://api.vodpod.com/api/pod/videos.xml?pod_id=TNNews&tag_id=&per_page=1&api_key=js_widget) [function.file-get-contents]: failed to open stream: HTTP request failed! HTTP/1.1 500 Internal Server Error in /home/bakera/public_html/wp-content/plugins/vodpod-video-gallery/vodpod_gallery.php on line 197

    Warning: file_get_contents(http://api.vodpod.com/api/pod/videos.xml?pod_id=TNNews&api_key=js_widget&tag_id=&page=1&per_page=12) [function.file-get-contents]: failed to open stream: HTTP request failed! HTTP/1.1 500 Internal Server Error in /home/bakera/public_html/wp-content/plugins/vodpod-video-gallery/vodpod_gallery_thumbs.php on line 170

    Using the advice from earlier comments I installed the curl version and the video display window came back OK but no videos or thumbs are displayed. The call to the VodPod acct. is correct.

    I have this on a test site and it did the same thing. We had to deactivate and go with the VodPod widget code on the actual site. If you could take a minute and visit http://www.abdesignweb.com/TN-TEST_BLOG/ maybe you can see what is going on. Excuse the jumbled items, this is a test site after all however this is exactly what we were seeing on the official site.

    Thanks!

    Arthur

  262. xondie Says:

    Arthur,

    When I call the vodpod api with your vodpod id that you are using, I get a message that says “No Pod exists with id ‘TNNews”. You can check it out with this link below:

    http://api.vodpod.com/api/pod/videos.xml?pod_id=TNNews&tag_id=&per_page=8&api_key=js_widget

    However, it seems to work well if I use the id “tnnews” (all lower case). Check it out here:

    http://api.vodpod.com/api/pod/videos.xml?pod_id=tnnews&tag_id=&per_page=8&api_key=js_widget

    Try changing the settings to use “tnnews” and see if it works for you.

  263. Costa Rica Frog Says:

    xondie,

    More problems with Vodpod Video Gallery on my WordPress 2.8.6 page: http://www.CostaRicaFrog.com/Videos

    The videos have disappeared, leaving only the bracketed code showing.

    Nothing has changed that I’m aware of on the Vodpod account side (still only the one Vodpod account and one “collection”).

    I have tried various inputs for the Vodpod Username such as the original “costaricafrog”, “costarica”, “costarica/costaricafrog”, etc.

    Your assistance is greatly appreciated.

  264. xondie Says:

    Did you, by chance, upgrade to the newest version of the plugin?

    I changed it so now it works using the official WordPress “short code” format.

    So where you used to use [Insert Video Gallery], now you use [vodpod_video_gallery]

    or

    [vodpod_video_gallery collection="vodpodname"] if you need to specify another collection on the same site. I updated the installation instructions on this site as well as on the WordPress plugin download page and the readme file. Sorry for any confusion.

  265. Costa Rica Frog Says:

    That did the trick … I must have upgraded before my Costa Rica coffee … Thanks!

  266. Torsten Says:

    Hi xondie,

    it just worked like you remember me some days ago but now, after your Update, it doesn’t work again….

    I followed your advise to change the name into [vodpod_video_gallery] but it shows only the first video and below a fault message (no gallery):

    Warning: file_get_contents() [function.file-get-contents]: URL file-access is disabled in the server configuration in /homepages/33/d17712876/htdocs/steinbeck/wp-content/plugins/vodpod-video-gallery/vodpod_gallery_thumbs.php on line 170

    Warning: file_get_contents(http://api.vodpod.com/api/pod/videos.xml?pod_id=steintier&api_key=js_widget&tag_id=&page=1&per_page=8) [function.file-get-contents]: failed to open stream: no suitable wrapper could be found in /homepages/33/d17712876/htdocs/steinbeck/wp-content/plugins/vodpod-video-gallery/vodpod_gallery_thumbs.php on line 170

    Thanx Torsten

  267. Torsten Says:

    probaly I need a curl version for the update also? I just updated by the wordpress internal update function….

  268. xondie Says:

    Torsten,

    Since you are using a special version of the plugin, you should not do the automatic updates. I don’t have an updated version for the curl one yet.

  269. Torsten Says:

    OK, that I should have known ;-)
    will you create a curl version for 3.0 and if so, how can I get informed about?

    thanx Torsten

  270. Torsten Says:

    Hi Xondie,

    if i have the 2.0 Curl Version and want to show more than 1 collection, is it possible with this version and if so please let me know how since the instruction above now is only for the newl version 3.0

    thanx torsten

  271. xondie Says:

    Torsten,

    The 2.0 version allows for multiple collections. There is a readme file in there that has all the installation and configuration info. But how it works is that you would say
    [Insert Video Gallery collectionname] or
    [Insert Video Gallery collectionname:tagname] or
    [Insert Video Gallery collectionname 12 300] if you wanted to override the default number of thumbnails per page and iframe height.

    I’ll try to get a new curl version to you today. If not today, then next weekend. And I’ll post a comment here and also email you personally since I know you are waiting for it.

  272. xondie Says:

    Torsten,

    I have updated the curl version. Give it a try at
    http://xondie.com/temp/vodpod-video-gallery-curl-3.zip

  273. Criticine Says:

    Hi Xondie,

    I’ve been trying to make your great plugin work for hours…
    I installed the 3.0 curl version, followed all your instructions but no video appears in the gallery. There is just “previous” and “next”
    I do not know what to do. It seems that I can’t upload my vodpod videos account.

    Thanks

    Criticine

  274. xondie Says:

    Criticine,

    I believe the problem is that vodpod does not like that you capitalized your vodpod name. You should configure it with criticine, rather than Criticine.

    Also, please grab a new version of the curl plugin. When looking at your page, I noticed I had introduced a small bug, causing the link to your vodpod page to be broken. I have updated it with a fix.

  275. Cary Says:

    Hi Xondie,

    This looks really cool, but I don’t seem to be doing something right. I’m using the vodpod wordpress theme, WP 2.8.5, I’ve installed yourlatest curl plugin, I’m on 1and1 and no thumbnails show up, no videos show up where the tumbnails should be and in the video gallery the link to my vodpod page says

    http://.vodpod.com

    Any way you can check this out?
    http://www.opfortoons.com
    http://vodpod.com/opformedia

  276. xondie Says:

    Cary,

    The broken link is my fault. I just fixed that bug if you want to grab the zip file again.

    Once you do that, the other problem is that the plugin uses PHP 5 and you are using PHP 4. So it is breaking on a function called str_ireplace. You can replace all the str_ireplace calls with str_replace. You may have to do this in both the vodpod_gallery.php and vodpod_gallery_thumbs.php files.

    Rather than doing that, I highly recommend using PHP 5. Usually your hosting provider will have a way in your configuration to set that. If not, you can sometimes set it in the .htaccess file or something like that.

  277. Cary Says:

    Great! Thanks so much, I’ll work on that tomorrow and let you know how it works out.

    Cary

  278. Cary Says:

    Hey Xondie,

    Thanks for the info. I’ve finally gotten my php4 over to php5, but for some reason could not do it myself though I used notepad++ to write a .htcaccess file. So site support from 1and1 fixed it on their end.

    The plugin works, but the link still doesn’t show up correctly, did somehow download a previous version of your plugin? If you can, check it out, http://www.opfortoons.com

    Thanks!

  279. xondie Says:

    Cary – Glad you were able to get that worked out.

    I wonder if you got a cached version? Try clearing your browser cache and download it again. That error should be fixed now.

  280. freddy Says:

    @Xondie,
    Saw your post at Vodpod.com about ratings/thumbs up. It’d be great if we could get that functionality. I was checking to add it to the plugin, but you’re all over it as usual.

  281. xondie Says:

    Thanks Freddy! They said that ratings were not going to be part of the API for a while still. But it’s on their radar.

  282. Krzysiek Says:

    Great plugin !!!

    Please INCLUDE in manual information that inside WP settings Vodpod username must be provided lowercase !! It took me quite a time to figure it out :)

  283. xondie Says:

    Hi Krzysiek,

    Thank you so much for that feedback. I’ve done one better and automatically set the collection name to all lower case before passing it to the Vodpod API. Even though you’ll never get those hours of your life back, hopefully your suggestion has saved future users from the same pain!

  284. Maureen Says:

    I’ve installed the Vodpod Video Gallery, but under Settings where I try to enter my Vodpod username nothing happens. I enter my username “yorkalumni” click on “Update options >>” and then simply reloads the page with the username field blank again. No error messages.

    Any idea what’s happening here? Can I set it manually somewhere?

  285. xondie Says:

    Hm, I’m not sure why that would happen. I just tried it on mine and it seems to work ok. I’ll try to think on that and if I think of a cause, I will let you know.

    What you can do for now is to set it in the post, like this:

    [vodpod_video_gallery collection="yorkalumni"]

  286. derek martin Says:

    hey xondie,

    thanks for the great plug-in! I was wondering if there is a way to have continuous playback of the videos within a collection? Ya know so each video plays one after the other in a gallery/collection in a blog once the user gets it started…

    Also the ability to draw from multiple vodpod accounts (multiple contributors) in one blog would be rad. Instead of everything having to come from one vodpod acct. So each blog post would have the option to pull different collections from different vod pod accts… what do you think? Is that possible?

    Thanks again for any thoughts or hints :)

    Derek

  287. xondie Says:

    Derek,

    I don’t know if the multiple playback is technically possible. It seems like it is theoretically feasible but might require some kind of javascript voodoo, where the javascript would know the list of all the video ids and be able to…..I don’t really know.

    Drawing from multiple vodpod accounts I do not think it possible because I don’t think the Vodpod API supports that. Even if you retrieved results for more than one account with separate API calls, they would not come back in the order you would want. You would get all the results from one, then all the results from another, etc, rather than having them all intermixed.

  288. derek martin Says:

    Hi xondie,

    thanks for the thoughts. I understand that continuous playback might be a stretch for a vid collection considering all the different sources that the videos could be originating from…

    But i’m not sure we are talking about the same thing in regards to drawing from multiple accts. let me clarify my thoughts.
    granted in one post, one collection would have to be pulled from one account.
    but i guess i am under the understanding that as the plug-in stands now that all video collections must come from one vodpod acct. (currently set in the plug-in settings)
    what i was wondering is, whether the setting of the vodpod acct. could be a variable. Or rather moved from the “top-level” general settings to the post settings.
    So say For instance, i have a blog with multiple contributors, the idea being that they don’t all have to work out of one vodpod acct. when collecting videos.
    Rather they each have a vod-pod acct. and make their own collections and when they are creating a post for the blog instead of just entering the name of the vodpod collection, they enter their user name of their own vodpod acct. and the collection they want to share.
    Yes each single post would only draw from one collection but that collection could come from an array of vodpod accts.
    something like…
    instead of:
    [vodpod_video_gallery collection=”vodpodname”]
    it would be more like:
    [vodpod_user="vodpodusername" vodpod_video_gallery collection=”vodpodname”]

    does that make sense? the main jist is to be able to pull a single collection into a single post but from an array of different vodpod accounts…

    any thoughts much appreciated…

    Derker

  289. xondie Says:

    Oh, if that’s what you want then you’re in luck! That already works. You can have your gallery pull in videos from any account you want. The two example galleries on this site are from two different unrelated vodpod accounts.

    You don’t need a username and a collection. If you only have one collection in an account, then vodpod considers your account name to be your collection name. You can think of those two terms as interchangeable unless you have multiple collections per vodpod account. That’s the reason I started calling them “collection” instead of “username”. People with multiple collections were getting confused.

  290. derek martin Says:

    So are you saying when a different user signs in to WP. He or she can set-up a different vodpod acct. to pull from in the “top-level” plugin settings and be good to go?
    IE:
    User #1 logs into WP and his vodpod plugin settings are pointed to user#1 vodpod acct.

    and when

    User #2 logs into WP and his vodpod plugin settings are pointed to user#2 vodpod acct.

    and so on?

    correct?

  291. derek martin Says:

    or what about people with multiple collections, like me. heres’ the thing i would ideally like to have multiple users who have multiple collections. so if the top setting is set to my acct. how can other users use their acct.?

  292. xondie Says:

    No, it doesn’t have anything to do with different WP users. There’s the setting page for the plugin, where you can specify a collection. That will be the default if you put a gallery on a page or post.

    But if you want to put a different collection on a post, you can specify the collection on the page/post with the collection=”whatever”. It will then ignore what is in your settings, and use that collection instead.

    So you can have 50 posts, each pointing to a different collection/account, if you want.

  293. derek martin Says:

    Ok, yes i get that thank you.
    but how do i get a collection from a different acct that has multiple collections?
    example:
    there are 2 accts. at vodpod:
    user_1
    user_2

    Now user_1 has three collections on vodpod. they are called: red, blue and green.

    And user_2 has three collections on vodpod. they are called: dog, cat and fish.

    Now if my plugin settings in Wp are set to default to user_1

    i get that when I make a post i can just say
    [vodpod_video_gallery collection=”red”]

    to pull in the red collection from the user_1 acct. and so on

    but what i don’t get it is how do I pull in the dog, cat or fish collections from the user_2 vodpod acct?

    get it?

    cuz if i just put in:

    [vodpod_video_gallery collection=”dog”]

    wouldn’t there be an error cuz the default user acct: user_1 has no collection called “dog”

    user_2 does…

    so is there a way to override the general acct. settings from within the post if a vodpod acct has multiple collections?

    i don’t know the actual shortcodes but something like this:

    [vodpod acct="user_2" vodpod_video_gallery collection="dog"]

    this would override the default user acct set in the general plugin settings and allow to post a collection from a different user acct with multiple collections.

    the sticking point is vodpod accts with multiple collections. and overriding the default user acct set in wp…

    savy?

    it’s not enough to just say:

    [vodpod_video_gallery collection="user_2"]

    because i want to able to access user_2’s collection entitled dog?

    does that make sense?

    please say yes :)

  294. xondie Says:

    You can just say [vodpod_video_gallery collection="dog"]

    That’s all you have to do. The plugin ignores the user_1 setting and just passes in dog. Vodpod itself doesn’t care about the username. It only wants the collection name.

    In fact, the only use vodpod would have for ever wanting “user_1″ to be passed in, would be if that happens to be the name of the collection as well as the user. Don’t think of them as being two different piece of information that vodpod needs. Vodpod wants only 1 thing, and that is the collection name.

    So on one page, you will have
    [vodpod_video_gallery collection="red"]

    And on another page you will have
    [vodpod_video_gallery collection="dog"]

    and yes – it will work! Try it and you’ll see. It doesn’t matter that they are from two different users. It will still work.

  295. derek martin Says:

    Hey Xondie,
    SORRY SORRY SORRY
    I did not realize that a vodpod collection name has to be unique when creating a collection, hence there is never a need to specify the user if the collections are all uniquely named….
    I FINALLY GET IT…

    thank you for your great work, support and patience

    :)

  296. derek martin Says:

    Hi Xondie,

    I have come across a bit of a bug i believe. The problem is that in FF 3.6 the browser window flashes before loading a page that has the vod pod gallery plugin within its post.
    Here’s the link, refresh to see browser window “blink” or “flash”…

    http://derekjohnmartin.com/nightflight/?p=576

    This is super annoying… It also used to happen in safari but it doesn’t seem to happen in safari 4 after i upgraded.

    But it still flashes in FF 3.6… any ideas on why this is happening?

    if you click thru the other test postings that do not contain a vp gallery you will notice that there is no “blinking/flashing”

    Any ideas on squashing this issue?

    thanks again…

    Derek

    I have stripped down my whole site to try and figure this out and it may have something to do with the way Firefox handles the javascript or something… but it’s only happening with posts that contain this plugin so i don’t think it’s just FF…

  297. derek martin Says:

    Sorry Here is the proper link… to the above issue…

    http://derekjohnmartin.com/nightflight/?p=579

    thanks again for any thoughts…

    Derek

  298. Vodpoder Says:

    how do you create a php.ini file into the wp root directory? i edited the php.ini in the directory to have it say allow_url_fopen=On, but that did nothing, please explain more in detail.

    the curl3 plugin doesn’t work in wordpress for me, it says “The plugin does not have a valid header”.

  299. Vodpoder Says:

    OOooo, to add to above post, the plugin works GREAT in my posts, but not if i add the “[vodpod_video_gallery collection=”ryu1”]” as a new page. why is that?

  300. Vodpoder Says:

    here’s the link to the page http://playalonghero.com/?page_id=32, thank you so much for helping!

  301. xondie Says:

    Vodpoder – It looks like you’ve got a funky vodpod collection name in that broken page.
    This is the vodpod collection it is trying to find: xn--ryu1-fb7ae
    Vodpod doesn’t recognize it. Is that what you entered for the collection name?

    Derek – I’ll try to look into that when I get a chance. Thanks for letting me know!

  302. Vodpoder Says:

    LOL Ignore my previous 3 posts, figured it out
    just had to use rezip the curl3 windows version from the original zip file

    and when adding code to page
    reenter the quotation marks!

    [vodpod_video_gallery collection=”vodpodname”]
    [vodpod_video_gallery collection="vodpodname"]

    unreal lol THANKS FOR THE PLUGIN THO, it would be super awesome if you can add videos to comments or links in the future!

    Donating!

  303. Arthur Says:

    I’m trying to use this plugin, and I’m receiving this error:

    Fatal error: Call to undefined function: str_ireplace() in /home/content/s/t/i/stickman26/html/simplyoutdoors/wp-content/plugins/vodpod-video-gallery/vodpod_gallery.php on line 321.

    Any help is appreciated.

    Thanks!

  304. xondie Says:

    Arthur,

    The plugin requires PHP5. You will get this error when you are using PHP4.

    Usually you can switch to PHP5 on your server (I believe there are comments on this page about that), but if you cannot switch, you can try replacing all the calls to str_ireplace with str_replace. Not sure it will work, but you can try.

  305. Brock Says:

    I’ve got this error.

    XML error: mismatched tag at line 6

    Please advise.

  306. xondie Says:

    Brock,

    Is there a place where I can see this error occurring? If I can see it, I can probably tell you what the problem is. I visited your link but I don’t see the gallery or error there.

  307. mayank patel Says:

    Thanks for vodpod related issues.

  308. Vlad Says:

    Hi I just wonder is there a way to embed gallery in template with php code? I tried as you suggested to Nick at the top but nothing happened. I use now on my site code from vodpod but it breaks template a bit.. I wonder would it look better with plugin or not?Thank you

Leave a Reply