Vodpod Video Gallery Plugin for WordPress
Notice: If you upgraded your plugin after May 2, 2010, you will need to update your settings to include your vodpod username AND a vodpod collection ID. If you only have one collection, then your collection ID is likely the same as your vodpod username. See below for more information on Collection IDs.
Don’t like this plugin? You can also try the Vodpod Videos Widget.
This video gallery plugin is based on Vodpod, using the v2 API as of May 2, 2010.
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.
To install:
This plugin now uses WordPress short codes and requires new configuration settings as of May 2, 2010.
- Copy the vodpod-video-gallery folder to your wordpress plugins directory.
- Activate the Vodpod Video Gallery plugin from your admin plugins page.
- Go to the ‘Vodpod Video Gallery’ page in the ‘Settings’ menu and configure your Vodpod account name AND collection ID. See below for how to determine your collection ID.
- Put the text [vodpod_video_gallery] into any page
Alternatively, for multiple pods on one wordpress site, you can specify the vodpod user and/or collection ID:
[vodpod_video_gallery user=”vodpod_username” collection=”collection_id”]
You can also specify pod name, number of thumbnails per page, and height of the iframe that holds the thumbnails:
[vodpod_video_gallery collection=”collection_id” 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=”collection_id” tag=”tagname”]
How to determine your collection ID: The collection ID is different from the name you assign to the collection. If you only have 1 collection, it is likely that the ID of that collection is the same as your vodpod username. To determine the ID of your collection, go to your vodpod page at vodpod.com/username. Click on the dropdown above your videos to find the option for your desired collection and click it to go to that page. Look at the URL for your collection page. The collection ID will be the last part of the URL, which will be structured like this: http://www.vodpod.com/username/collection_id
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-4.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. Really try to get the regular version working first. Configuration errors are the most common reason why the plugin does not work at first.
Like this plugin? Please consider donating by clicking the ‘Donate’ button in the sidebar. Enjoy!
![[Bloglines]](http://www.xondie.com/resources/wp-content/plugins/bookmarkify/bloglines.png)
![[del.icio.us]](http://www.xondie.com/resources/wp-content/plugins/bookmarkify/delicious.png)
![[Digg]](http://www.xondie.com/resources/wp-content/plugins/bookmarkify/digg.png)
![[Facebook]](http://www.xondie.com/resources/wp-content/plugins/bookmarkify/facebook.png)
![[Fark]](http://www.xondie.com/resources/wp-content/plugins/bookmarkify/fark.png)
![[Furl]](http://www.xondie.com/resources/wp-content/plugins/bookmarkify/furl.png)
![[Ma.gnolia]](http://www.xondie.com/resources/wp-content/plugins/bookmarkify/magnolia.png)
![[Newsvine]](http://www.xondie.com/resources/wp-content/plugins/bookmarkify/newsvine.png)
![[Reddit]](http://www.xondie.com/resources/wp-content/plugins/bookmarkify/reddit.png)
![[StumbleUpon]](http://www.xondie.com/resources/wp-content/plugins/bookmarkify/stumbleupon.png)
![[Technorati]](http://www.xondie.com/resources/wp-content/plugins/bookmarkify/technorati.png)
![[Email]](http://www.xondie.com/resources/wp-content/plugins/bookmarkify/email.png)

July 1st, 2008 at 6:00 pm
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.
July 1st, 2008 at 8:15 pm
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.
July 1st, 2008 at 10:41 pm
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.
July 4th, 2008 at 1:46 am
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.
July 4th, 2008 at 2:54 am
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.
July 5th, 2008 at 12:46 am
Thank you xondie, I will work on it tomorrow in my website and I will let you know about any problems, Thank you.
July 8th, 2008 at 7:27 am
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
July 8th, 2008 at 4:46 pm
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.
July 8th, 2008 at 10:27 pm
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!
August 15th, 2008 at 1:33 am
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…?
August 15th, 2008 at 12:22 pm
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.
September 4th, 2008 at 8:37 pm
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.
September 4th, 2008 at 8:53 pm
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.
September 4th, 2008 at 10:58 pm
It works perfectly now in my category page labeled videos. check it out! wow thanks a lot!
September 5th, 2008 at 12:33 am
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?
September 6th, 2008 at 2:09 pm
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.
September 7th, 2008 at 12:18 am
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.
September 8th, 2008 at 2:52 pm
So glad it is working out for you Nick. Thanks so much for your support!
September 21st, 2008 at 11:33 pm
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.
October 10th, 2008 at 7:39 am
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
October 10th, 2008 at 1:04 pm
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.
November 4th, 2008 at 3:25 am
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.
November 4th, 2008 at 2:10 pm
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?
November 5th, 2008 at 1:03 am
What is the best way to write this line? I have the php.ini in my wp-includes folder. Should I place it elsewhere?
November 6th, 2008 at 9:05 pm
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.
November 6th, 2008 at 9:16 pm
actually, it might be
allow_url_open = On;
November 8th, 2008 at 3:06 pm
hi. Thanks for plugin
perfect.
Regards
November 26th, 2008 at 1:01 pm
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.
November 26th, 2008 at 1:30 pm
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.
November 27th, 2008 at 10:52 pm
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!
December 15th, 2008 at 2:56 pm
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
December 15th, 2008 at 3:01 pm
Did you look under ‘Settings’? It should be under there.
Thanks for pointing out that I need to update the instructions for newer versions.
December 15th, 2008 at 3:08 pm
yes, thanks
actually, I have added sidebar plugin at first, so I couldn’t find it
It is in settings now
December 27th, 2008 at 3:53 am
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
December 27th, 2008 at 4:47 am
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.
December 29th, 2008 at 12:50 am
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
December 31st, 2008 at 11:55 am
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!
December 31st, 2008 at 1:31 pm
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!
January 5th, 2009 at 10:38 pm
Hi Xondie,
Does your plugin work with WordPress 2.7?
Regards
Michael
January 5th, 2009 at 10:42 pm
I haven’t tested it with WP 2.7 myself, but others have used it successfully with 2.7.
January 14th, 2009 at 1:58 pm
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
January 14th, 2009 at 2:24 pm
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?
January 15th, 2009 at 5:47 am
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
January 15th, 2009 at 7:39 am
I found this problem with wordpress 2.7 only please reply me its very much needed
January 15th, 2009 at 1:49 pm
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.
January 16th, 2009 at 5:19 am
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
January 16th, 2009 at 1:36 pm
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.
January 22nd, 2009 at 12:28 am
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.
February 3rd, 2009 at 11:15 pm
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
February 8th, 2009 at 10:14 am
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.
February 8th, 2009 at 10:15 am
Here is the link . . . sorry
http://www.studioaviv.com/vopod-test/
February 8th, 2009 at 2:02 pm
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.
February 12th, 2009 at 2:29 am
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.
February 21st, 2009 at 1:00 am
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
February 21st, 2009 at 1:22 am
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!
February 21st, 2009 at 2:52 pm
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.
February 21st, 2009 at 5:55 pm
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
February 21st, 2009 at 6:15 pm
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
February 22nd, 2009 at 12:36 am
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
February 22nd, 2009 at 5:32 am
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
February 22nd, 2009 at 12:16 pm
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.
February 23rd, 2009 at 2:09 am
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..
February 23rd, 2009 at 1:55 pm
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.
February 25th, 2009 at 11:54 pm
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
February 26th, 2009 at 1:17 am
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.
February 26th, 2009 at 5:52 pm
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 ?
February 26th, 2009 at 9:38 pm
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?
February 27th, 2009 at 3:58 pm
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
February 27th, 2009 at 8:06 pm
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?
February 27th, 2009 at 8:14 pm
yeah i did. Just filling in the Vodpod username and specifying how many videos per page etc, right?
March 4th, 2009 at 3:23 am
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!
March 4th, 2009 at 12:10 pm
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!
March 6th, 2009 at 5:07 pm
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.
March 6th, 2009 at 6:41 pm
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.
March 8th, 2009 at 5:32 pm
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.
March 8th, 2009 at 6:03 pm
Works great, thank you
March 8th, 2009 at 8:00 pm
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?
March 8th, 2009 at 11:40 pm
Jeanie,
I think I understand now. You want to go where you add (or edit) a post (or page) in the dashboard.
March 9th, 2009 at 2:38 am
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
March 9th, 2009 at 2:48 am
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.
March 9th, 2009 at 3:28 am
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.
March 9th, 2009 at 1:19 pm
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.
March 9th, 2009 at 2:08 pm
Here’s what box says, function.f open, this box is what appears instead of my post and all sidebar stuff.
March 9th, 2009 at 5:14 pm
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.
March 15th, 2009 at 1:11 am
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!
March 17th, 2009 at 11:46 am
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?
March 20th, 2009 at 5:57 am
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
March 20th, 2009 at 12:36 pm
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.
March 20th, 2009 at 5:56 pm
Hi-Xondie I think that the problem is fixed if you try again it should automatically load.
March 20th, 2009 at 8:14 pm
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.
March 21st, 2009 at 12:50 pm
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.
April 2nd, 2009 at 10:33 am
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
April 2nd, 2009 at 12:59 pm
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.
April 2nd, 2009 at 9:58 pm
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)
April 2nd, 2009 at 10:02 pm
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
April 3rd, 2009 at 1:00 am
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!
April 3rd, 2009 at 8:43 pm
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.
April 3rd, 2009 at 9:04 pm
James – This plugin only works as a way to display videos from your vodpod account. It will not work in the way you need.
April 4th, 2009 at 1:51 am
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?
April 4th, 2009 at 2:58 pm
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.
April 7th, 2009 at 4:56 pm
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
April 7th, 2009 at 5:59 pm
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.
April 10th, 2009 at 7:45 pm
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?
April 10th, 2009 at 10:59 pm
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.
April 10th, 2009 at 11:06 pm
Just realized all of that was mentioned above.
April 11th, 2009 at 1:10 am
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.
April 13th, 2009 at 9:22 pm
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?
April 14th, 2009 at 5:10 pm
Deborah,
Gerogianna just had a similar problem which she fixed. Check out the comments just a couple before yours and see if that helps.
April 21st, 2009 at 11:49 am
How to add my own videos or delete my old added videos from vodpod-video-gallery?
April 21st, 2009 at 11:55 am
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.
April 22nd, 2009 at 3:04 am
great and useful plugin. thanks for detail post..
April 29th, 2009 at 11:58 am
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?
April 29th, 2009 at 12:05 pm
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.
May 23rd, 2009 at 12:09 pm
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.
May 23rd, 2009 at 1:14 pm
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.
May 23rd, 2009 at 2:53 pm
it didn’t work, any idea why?
May 24th, 2009 at 12:39 am
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
May 25th, 2009 at 4:23 am
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
May 26th, 2009 at 1:18 am
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.
May 26th, 2009 at 4:29 am
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
May 27th, 2009 at 11:12 pm
I also had the exact same problem as Julie..hopefully you can help us all
.Thanx
May 30th, 2009 at 4:14 pm
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.
May 30th, 2009 at 5:08 pm
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
May 31st, 2009 at 7:08 pm
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.
June 1st, 2009 at 4:01 am
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!
June 2nd, 2009 at 6:56 pm
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]
June 2nd, 2009 at 7:02 pm
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
June 2nd, 2009 at 7:51 pm
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!
June 2nd, 2009 at 8:57 pm
Oh good – glad it all worked out.
June 4th, 2009 at 5:31 am
This rocks. You rock. Thank you for sharing and helping people out. I send you a virtual beer
June 5th, 2009 at 3:37 am
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?
June 5th, 2009 at 11:34 am
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
June 5th, 2009 at 3:52 pm
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!
June 6th, 2009 at 2:16 am
thanks so much the revert worked just fine!
June 6th, 2009 at 12:10 pm
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.
June 14th, 2009 at 2:35 am
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.
June 14th, 2009 at 3:16 pm
Hi,
I was wondering: is it possible to enlarge a little the thumbnails?
June 15th, 2009 at 12:33 pm
Please help: the video gallery shows up just fine, but I lose any text before or after it?
June 15th, 2009 at 2:19 pm
Good job with this plugin, easy to use, works great, thanks
June 15th, 2009 at 7:50 pm
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’
June 15th, 2009 at 8:13 pm
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.
June 15th, 2009 at 8:18 pm
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.
June 16th, 2009 at 9:56 pm
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.
June 16th, 2009 at 9:57 pm
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.
June 16th, 2009 at 10:00 pm
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.
June 16th, 2009 at 11:02 pm
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.
June 17th, 2009 at 5:35 am
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.
June 17th, 2009 at 6:12 am
I got it right it now. Thanks any way, its a great plugin and nice and easy to install.
Great stuff
June 17th, 2009 at 12:52 pm
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.
June 19th, 2009 at 11:25 am
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 ?
June 19th, 2009 at 12:58 pm
kikope – You need to use php5. You are currently running php4.
June 19th, 2009 at 3:12 pm
Thanks Xondie ! All is perfect now ! And congratulations for this very useful and complete plugin !
Best regards.
Kikope.
June 22nd, 2009 at 1:55 pm
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
June 22nd, 2009 at 10:30 pm
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.
June 23rd, 2009 at 2:08 am
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.
June 26th, 2009 at 6:53 am
[...] For information and updates, please visit: http://www.xondie.com/resources/vodpod-video-gallery-plugin-for-wordpress/ [...]
June 27th, 2009 at 12:14 am
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.
June 27th, 2009 at 12:19 am
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.
June 27th, 2009 at 1:36 am
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.
June 27th, 2009 at 1:56 am
Wow, cool, thanks! I really appreciate you taking the time to look into it.
June 27th, 2009 at 2:34 am
@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.
July 7th, 2009 at 6:16 am
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!!!
July 7th, 2009 at 10:53 pm
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 & please replace it with just an &. I believe there are 2 places.
Please let me know if that fixes it.
July 8th, 2009 at 11:03 am
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.
July 8th, 2009 at 10:07 pm
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.
July 11th, 2009 at 6:40 am
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.
July 20th, 2009 at 9:35 am
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.
July 20th, 2009 at 10:39 am
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….
July 26th, 2009 at 11:49 am
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,
July 27th, 2009 at 12:48 pm
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.
July 27th, 2009 at 4:09 pm
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
July 27th, 2009 at 4:16 pm
Obviously not line 286, but anyway, there is a line where you have written ireplace instead of replace.
July 27th, 2009 at 4:23 pm
There is the same mistake in the vodpod_gallery_thumbs.php file.
July 27th, 2009 at 9:53 pm
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.
July 29th, 2009 at 1:36 am
@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?
August 5th, 2009 at 1:35 am
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/
August 5th, 2009 at 2:02 am
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.
August 5th, 2009 at 2:03 am
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!
August 5th, 2009 at 3:23 am
Xondie;
Thanks for responding. I deleted the whole text but still I am receiving the same error. Seems to be another cause.
August 5th, 2009 at 3:25 am
Thanks the problem was resolved. I just have to wait some minutes
August 9th, 2009 at 11:57 am
How to add my own videos or delete my old added videos from vodpod-video-gallery
August 12th, 2009 at 11:58 am
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/
August 12th, 2009 at 11:20 pm
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.
August 13th, 2009 at 2:30 am
thanks a bunch sorry for being a goof, its all working now. thanks for your time
August 18th, 2009 at 7:00 pm
Hi !
Nice plugin but I’ve a problem in the settings.
The CSS cannot be changed.. It’s just for me or a rule ?!
August 20th, 2009 at 3:57 am
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
August 20th, 2009 at 10:20 am
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.
August 20th, 2009 at 10:28 am
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.
August 25th, 2009 at 9:56 am
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
August 25th, 2009 at 10:13 am
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.
August 25th, 2009 at 11:47 pm
I’m so stupid.. Thanks a lot for your help and for this plugin!
CSS works correctly now
See you soon.
August 26th, 2009 at 1:36 am
Not at all Syzla. It was only obvious to me because I wrote the thing. So glad it’s working for you!
August 26th, 2009 at 8:36 pm
hi, thanks for the plugin. it’s great. one question: is there any way to make video screen larger – 600px insted of 425 ???
September 2nd, 2009 at 6:50 pm
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.
September 4th, 2009 at 1:55 am
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.
September 4th, 2009 at 2:54 am
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
September 8th, 2009 at 4:16 pm
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!
September 19th, 2009 at 11:56 pm
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?
September 24th, 2009 at 10:19 pm
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/
September 24th, 2009 at 10:51 pm
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.
September 25th, 2009 at 3:27 am
i can’t see vodpod Video Gallery Options. why? i use wp 2.8.4
September 25th, 2009 at 3:30 am
i can’t see Option. why? i use WP 2.8.4
September 25th, 2009 at 10:20 am
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.
September 25th, 2009 at 11:57 am
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.
September 25th, 2009 at 3:09 pm
i have the same error: “Error reading RSS data” when creat a new post/page. help me!
September 25th, 2009 at 9:49 pm
adtv – I’m afraid that is not quite enough for me to go on. Can you send me a link to your page?
October 1st, 2009 at 7:51 pm
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?
October 2nd, 2009 at 11:18 am
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?
October 2nd, 2009 at 2:31 pm
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!!!
October 2nd, 2009 at 2:58 pm
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.
October 2nd, 2009 at 9:45 pm
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.
October 6th, 2009 at 8:42 am
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?
October 6th, 2009 at 10:17 am
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.
October 6th, 2009 at 2:05 pm
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
October 6th, 2009 at 7:01 pm
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/
October 6th, 2009 at 11:34 pm
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!
October 13th, 2009 at 9:53 pm
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
October 13th, 2009 at 11:23 pm
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.
October 13th, 2009 at 11:28 pm
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
October 13th, 2009 at 11:44 pm
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.
October 14th, 2009 at 8:40 pm
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.
October 16th, 2009 at 11:03 pm
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?
October 17th, 2009 at 12:39 am
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.
October 18th, 2009 at 5:35 pm
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.
October 18th, 2009 at 5:41 pm
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.
October 19th, 2009 at 10:07 pm
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!
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?
)
October 21st, 2009 at 6:03 pm
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!
October 25th, 2009 at 2:17 am
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
October 25th, 2009 at 12:33 pm
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!
October 25th, 2009 at 6:53 pm
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
October 25th, 2009 at 10:01 pm
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
October 25th, 2009 at 10:10 pm
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.
October 25th, 2009 at 10:12 pm
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.
October 25th, 2009 at 10:41 pm
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..
October 25th, 2009 at 11:16 pm
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.
October 31st, 2009 at 3:07 pm
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.
November 2nd, 2009 at 4:04 am
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.
November 2nd, 2009 at 4:08 am
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.
November 5th, 2009 at 1:17 am
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.
November 18th, 2009 at 8:23 am
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!
November 18th, 2009 at 11:23 am
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.
November 18th, 2009 at 6:46 pm
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”
November 19th, 2009 at 12:51 pm
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.
November 19th, 2009 at 1:04 pm
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.
November 20th, 2009 at 4:27 pm
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!
November 20th, 2009 at 11:51 pm
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!
November 21st, 2009 at 4:20 pm
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.
November 21st, 2009 at 6:08 pm
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
November 21st, 2009 at 6:27 pm
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.
November 21st, 2009 at 7:08 pm
H xondie,
that’s the problem, I have no file called php.ini in the whole directory of wordpress ….
November 21st, 2009 at 7:25 pm
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.
November 21st, 2009 at 7:44 pm
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
November 21st, 2009 at 7:54 pm
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.
November 21st, 2009 at 8:07 pm
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
November 21st, 2009 at 8:26 pm
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.
November 21st, 2009 at 8:44 pm
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
November 21st, 2009 at 9:28 pm
That’s fantastic news, Torsten. Thanks for letting me know it worked so I can have this as an option for others as well.
November 30th, 2009 at 5:38 am
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.
November 30th, 2009 at 11:27 am
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.
November 30th, 2009 at 8:33 pm
xondie,
I set both addresses to ‘www.’ and EVERYTHING seems to be working great.
Muchas Gracias for the quick response and simple fix!!!
December 3rd, 2009 at 2:52 am
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
December 3rd, 2009 at 4:10 am
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.
December 7th, 2009 at 7:01 pm
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.
December 7th, 2009 at 7:19 pm
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.
December 7th, 2009 at 7:27 pm
That did the trick … I must have upgraded before my Costa Rica coffee … Thanks!
December 12th, 2009 at 6:27 pm
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
December 12th, 2009 at 6:35 pm
probaly I need a curl version for the update also? I just updated by the wordpress internal update function….
December 12th, 2009 at 8:22 pm
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.
December 13th, 2009 at 10:53 am
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
December 13th, 2009 at 11:03 am
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
December 13th, 2009 at 1:08 pm
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.
December 13th, 2009 at 4:37 pm
Torsten,
I have updated the curl version. Give it a try at
http://xondie.com/temp/vodpod-video-gallery-curl-3.zip
December 16th, 2009 at 2:31 am
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
December 16th, 2009 at 2:52 am
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.
December 16th, 2009 at 2:58 am
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
December 16th, 2009 at 3:08 am
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.
December 16th, 2009 at 3:38 am
Great! Thanks so much, I’ll work on that tomorrow and let you know how it works out.
Cary
December 18th, 2009 at 3:03 pm
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!
December 18th, 2009 at 4:24 pm
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.
December 22nd, 2009 at 4:26 am
@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.
December 22nd, 2009 at 11:45 am
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.
December 30th, 2009 at 2:48 am
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
–
January 2nd, 2010 at 7:53 pm
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!
January 11th, 2010 at 9:17 pm
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?
January 11th, 2010 at 10:35 pm
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"]
January 14th, 2010 at 7:36 pm
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
January 15th, 2010 at 11:59 am
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.
January 15th, 2010 at 11:30 pm
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
January 15th, 2010 at 11:37 pm
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.
January 15th, 2010 at 11:49 pm
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?
January 16th, 2010 at 12:04 am
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.?
January 16th, 2010 at 12:31 am
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.
January 16th, 2010 at 1:04 am
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
January 16th, 2010 at 1:31 am
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.
January 16th, 2010 at 1:35 am
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
January 28th, 2010 at 3:47 am
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…
January 28th, 2010 at 3:49 am
Sorry Here is the proper link… to the above issue…
http://derekjohnmartin.com/nightflight/?p=579
thanks again for any thoughts…
Derek
January 29th, 2010 at 4:22 pm
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”.
January 29th, 2010 at 4:39 pm
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?
January 29th, 2010 at 5:05 pm
here’s the link to the page http://playalonghero.com/?page_id=32, thank you so much for helping!
January 29th, 2010 at 5:20 pm
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!
January 29th, 2010 at 5:24 pm
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!
February 8th, 2010 at 8:28 pm
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!
February 8th, 2010 at 9:48 pm
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.
March 3rd, 2010 at 12:19 pm
I’ve got this error.
XML error: mismatched tag at line 6
Please advise.
March 3rd, 2010 at 2:50 pm
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.
March 10th, 2010 at 7:57 am
Thanks for vodpod related issues.
March 11th, 2010 at 5:37 pm
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
March 31st, 2010 at 9:13 pm
Hi,
We installed the curl version of the video gallery but it just shows a blank IFrame? Any suggestions?
We imported our videos from youtube
http://www.breedmagazine.tv
March 31st, 2010 at 11:58 pm
Ventura -
It looks like it’s working now. Did you already fix it?
April 8th, 2010 at 8:00 pm
I am running latest version of WP and I have tried adding simple code to WP pages and posts with no results being published to my blog. I have PHP5 on Hostgator. Has anyone had similar issues and how do I fix? Thanks.
April 9th, 2010 at 3:58 am
Hey Xondie! GREAT plug in! I love it!! I was wondering how I can make the thumbnails go vertical instead of horizontal and place them next to the video? Any ideas? Thanks a ton!
April 9th, 2010 at 5:33 am
Hi, I figured out my last question by putting the iframe in a div and floating it left. BUT, how can I change the thumbs to only be 3 columns per row instead of 4?
April 23rd, 2010 at 10:53 am
hello
I’m getting this error message
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 195
any idea what may be wrong?
April 23rd, 2010 at 11:16 am
Lanle,
Without seeing your gallery, it is difficult to say for sure. But the most likely cause is that you are using the wrong vodpod collection name in your vodpod video gallery settings. Whatever you configure your site with, you should be able to take that name and bring up a url like this:
yourname.vodpod.com
and it will redirect you to your video pod. If it can’t find one, you know you are using an invalid string there.
April 23rd, 2010 at 2:21 pm
Hi, I have just installed your wordpress plugin and am having mixed results. I have created 4 collections, 2 are working fine. However the other 2 are behaving strange. I have a collection called “eminem” that none of the videos are displaying for, I’m using this tag(“[vodpod_video_gallery collection="eminem"]“) and another artist I have 1 video for, but it displays a different video all together that’s not even in my collection. Any ideas where I could be going wrong? Any advice or tips would be greatly appreciated.
April 23rd, 2010 at 2:36 pm
thanks for your response, i checked username, collection et al; it’s all correct yet i keep getting this response here:
Warning: file_get_contents(http://api.vodpod.com/api/pod/videos.xml?pod_id=la compagnie theophile&api_key=js_widget&tag_id=&page=1&per_page=8): failed to open stream: HTTP request failed! in /home/content/t/h/e/theocompany/html/abba-house.org/wp-content/plugins/vodpod-video-gallery/vodpod_gallery_thumbs.php on line 189
April 23rd, 2010 at 2:41 pm
Phil – I believe you are using the wrong collection name. If you look at eminem.vodpod.com it shows a collection with 0 videos in it. So the behavior would be correct.
Lanle – The problem seems to be with the collection name – it appears to have spaces in it. Is that correct? Perhaps collection name is the wrong term for me to use. It’s really the collection id – whatever vodpod uses in its url. Surely, there are no spaces in that. Can you send me the url to your collection on vodpod.com? I am not finding anything on there that sounds like your collection when I do a search.
April 23rd, 2010 at 4:41 pm
here goes
http://vodpod.com/account/videos/lacompagnietheophile
http://vodpod.com/account/videos/lacroissancespiritue
this is what i see in the url; i also tried it without spaces and this time got this response :
Fatal error: Call to undefined function: str_ireplace() in /home/content/t/h/e/theocompany/html/abba-house.org/wp-content/plugins/vodpod-video-gallery/vodpod_gallery.php on line 321
thanks
April 23rd, 2010 at 6:00 pm
lanle,
Your collection name is lacompagnietheophile. Check out the “Second Example” page on this site and you will see your gallery displayed successfully (the second one down on the page).
April 23rd, 2010 at 6:02 pm
Oh, sorry, I just noticed the error message you are getting. Looks like you successfully used the correct collection name. This time the problem is that you are using an old version of PHP. The plugin works with PHP 5. You are using PHP 4. You can try doing a search and replace on all the code and instead of
str_ireplace()
use
str_replace()
But I highly recommend using a newer version of PHP. Version 4 is quite old.
April 23rd, 2010 at 6:35 pm
Thank you. I have upgraded to php 5 and once it’s activated i shall add the gallery and hopefully in a couple of days i will post a smilie on your wall. Have a great weekend.
April 23rd, 2010 at 10:57 pm
Many thanks for the awesome plugin. This is a jewel, easy to set up the plugin, and the vodpod account.
Is it possible to make the player wider? I tried in the css but got a wider header and a left justified player of the same size.
Thanks again
April 28th, 2010 at 5:51 pm
Thanks William. Glad it’s working out for you.
I’m not sure off the top of my head how to make the player wider, but I’ve done it in the past so I know it’s possible. The width of the player itself is probably coming from the PHP files, rather than the CSS.
April 28th, 2010 at 10:55 pm
I see the player but no videos appear in the gallery. Not sure what’s wrong exactly. Any suggestions?
this is the link to the site: http://www.christianpolanco.com/?page_id=77
Thanks in advance.
April 28th, 2010 at 11:05 pm
Christian,
You are using the vodpod collection “Stand-Up” which is referencing a vodpod collection that has no public videos:
http://vodpod.com/chrisbmartin/stand-up
Is this the collection you are trying to use? If not, please send me the vodpod url of your collection and I can help you determine what the settings should be for the plugin.
April 29th, 2010 at 4:24 pm
The collection “stand-up” is in the “christianpolanco” vodpod account. Not sure why it’s referencing a different account. This is where the videos are. http://vodpod.com/christianpolanco
April 30th, 2010 at 9:57 am
Hi xondie!
I am so glad with you for your plugin. It help me a lot! But now I am having some problems.
I usually write this sentence:
[vodpod_video_gallery collection="Grupal_3"]
And it worked fine, but today It is not working. When I click in Grupal_3′s videos link, it goes to http://vodpod.com/user/subdomain/grupal_3 and do not show anything (do not recognize my user: renzobttw)
Can you help me?
Ty for your time,
Renzo
April 30th, 2010 at 1:37 pm
Renzo,
I need to look into this more but I suspect that vodpod has changed their API and I will need to update the plugin. I will look into this this weekend and will make it a top priority.
May 2nd, 2010 at 9:52 am
It works
Fascinating
Thank You from my heart
May 3rd, 2010 at 2:17 am
Renzo and others,
I have updated the plugin to fix the problem some of you are having. Anyone upgrading will need to go to their settings page for this plugin and add your vodpod username AND your vodpod collection they are trying to display.
May 3rd, 2010 at 6:47 pm
Videos still not appearing. Correct vodpod user name and collection are selected, but no videos show up.
This is what I’m typing:
[vodpod_video_gallery user="christianpolanco" collection="cpstand-up"]
http://www.christianpolanco.com/?page_id=77
May 3rd, 2010 at 7:55 pm
Sorry for the confusion, Christian. Please download the very latest version of the plugin. I just updated it yesterday to fix the problem you are having. You are still using the version from a few days ago. It should work once you update.
May 4th, 2010 at 5:31 am
I feel like I’m being such a jerk. I really appreciate all the help though. I downloaded the new version of the plugin and I still can’t get it to work.
The link on the plugin is definitely referencing the correct vodpod account and collection, but still no luck.
http://www.christianpolanco.com/?page_id=77
May 4th, 2010 at 11:07 am
Hi Christian,
Not being a jerk at all. Can you try going to your settings->Vodpod Video Gallery page, and saving your settings, even if you don’t set anything?
May 4th, 2010 at 9:11 pm
Still nothing. I’m not receiving any errors so I’m not sure what might be causing the problem.
I noticed at the top, you mention a “fileGetContent()” issue. Could this be related?
May 10th, 2010 at 1:43 am
Hi xondie.
Thanks for a great plugin. I upgrade the plugin, updated the settings but I’m having a strange issue.
I’m getting “XML error: mismatched tag at line 6″. If you go to http://motus-anima.com/galeria-de-videos/rock-clasico/ you’ll see the error.
Thanks in advance for your support!
May 10th, 2010 at 2:08 am
Chejo,
I haven’t seen this error before, but based on what I see in the HTML source code, I’m guessing that the problem is an error of some sort in what you’re putting in the code on your page content – the stuff that goes between the [square brackets]. Can you tell me how you’re trying to call the gallery?
May 10th, 2010 at 4:14 am
Thanks xondie!
The code I’m using between square brackets is: vodpod_video_gallery collection=”motus76″ tag=”musica clasica”
Something strange is happening because another page using similar code as above is working fine (http://motus-anima.com/galeria-de-videos/oldies-but-goodies/)
And thank you very much in advance!
May 10th, 2010 at 8:01 am
Hi Xondie,
I installed the curl version of the plugin and set it up, but I have a blank video frame where I believe they should be. There is the link to the vodpod gallery in which the videos appear. Any suggestions?
May 10th, 2010 at 8:02 am
I forgot to put the link, its http://www.goodinput.com/videos
May 10th, 2010 at 5:03 pm
Hi Xondie,
I think I found something. If the tag name has one word only, the plugin works fine. But if tag name has two or more words it fails. Tags like rock and oldies have no problem. Classic rock or musica clasica throws the XML error.
If I use _, + and – between tag words the page and the video gallery shows, but no videos are displayed at the gallery. Hope it helps.
May 10th, 2010 at 5:46 pm
Chejo,
Good find. I thought I’d fixed that but maybe I re-broke it. Put %20 between the words. I bet it will work. I’ll fix it for real when I get a chance.
May 10th, 2010 at 5:49 pm
James,
I’m not sure off hand what’s wrong. For some people the curl version doesn’t work (although usually they get an error message of some sort).
What happens when you use the regular version of the plugin?
May 10th, 2010 at 7:20 pm
I was getting an error when I used the regular version, but when I just reinstalled it, it seems to be working fine. Thanks for the help!
May 10th, 2010 at 8:11 pm
Xondie,
Using “%20″ shows the post but only one video and no gallery. After the video the same XML error at line 6.
Here is the link: http://motus-anima.com/galeria-de-videos/musica-clasica/
What if I change the tags at VodPod? Like instead of “classic rock” I change it to “classic-rock”? Just like a workaround while you have time to fix it.
Thanks a lot for your time and help Xondie!
May 10th, 2010 at 8:16 pm
Glad you got it working James!
Give it a try Chejo. I bet that works. Thanks for letting me know about the bug. I’ll try to get it fixed tonight.
May 10th, 2010 at 9:35 pm
Thanks to you Xondie for your great support.
I’ll be waiting for the fix; have a great day!
May 11th, 2010 at 2:43 am
Chejo,
I think I’ve got it fixed now. Download the latest version, which will be 3.1.2 once WordPress posts the update.
May 14th, 2010 at 3:57 am
I was hoping the upgrade would’ve solved my original problem but sadly it didn’t. For whatever reason I cannot get the video gallery to show up on my WordPress site. I have temporarily loaded the page on so you can look at it and give me your thoughts. I hope we can fins a solution this time around. Any help would be greatly appreciated. Thank you in advance Xondie. http://therealmcast.com
May 14th, 2010 at 11:02 am
George,
Sorry you’re having problems. It has something to do with your server (as opposed to your settings or your vodpod account). Do you have any security settings that might prevent the plugin from making a call to the vodpod API?
May 14th, 2010 at 11:57 pm
Can you give me an idea of what things on my server I could check? I honestly wouldn’t know what to look at to check for that. Thank you again for your help.
May 15th, 2010 at 4:44 am
This is my error. How do I resolve?
Warning: file_get_contents(http://api.vodpod.com/v2/users/oldschoolscholar.com/collections/oldschoolscholar/videos.xml?api_key=1993b813d6cc8293&per_page=1) [function.file-get-contents]: failed to open stream: HTTP request failed! HTTP/1.1 500 Internal Server Error in /homepages/ … /plugins/vodpod-video-gallery/vodpod_gallery.php on line 221
May 15th, 2010 at 6:22 am
Xondie, thanks for the fix; don’t know why but my comments are waiting for moderation (I’m chejo at may 10th). Fix worked great, just wanna tell you that.
Thanks again for a great support!
May 15th, 2010 at 11:57 am
Qball, Change your vodpod user to oldschoolscholar. Currently you have it set to oldschoolscholar.com.
May 16th, 2010 at 6:16 am
Thanks! Now I need to figure out how to get all of the videos to display. Only 1 vid is listed in the gallery.
May 16th, 2010 at 9:46 am
Hello,
After updated to version 3.1.2 I get following error. Previous version worked fine. Please check.
Thanks
Warning: file_get_contents(http://api.vodpod.com/v2/users/elart/collections//videos.xml?api_key=1993b813d6cc8293&per_page=1) [function.file-get-contents]: failed to open stream: HTTP request failed! HTTP/1.1 500 Internal Server Error in /www/htdocs/w0082325/alex/wp-content/plugins/vodpod-video-gallery/vodpod_gallery.php on line 221
May 16th, 2010 at 2:49 pm
Many Thanks!!
It works now!
May 16th, 2010 at 8:04 pm
Thanks for the reply, Xondie!
I had two Vod Pod accounts. I had to rename the User and Collection IDs first then delete it so I can use the real Vod Pod account for the site. The names of the user and collection were correctly used with proper caps, and voila!
May 17th, 2010 at 7:52 pm
I am wondering whether this plugin is good to use or not because it creates iframes, which is bad for SEO
May 27th, 2010 at 3:04 pm
I’m also getting this error
file_get_contents(http://api.vodpod.com/v2/users/websie/collections/ponies/videos.xml?api_key=1993b813d6cc8293&per_page=1) [function.file-get-contents]: failed to open stream: HTTP request failed! HTTP/1.1 500 Internal Server Error in /home/cherie/public_html/……../wp-content/plugins/vodpod-video-gallery/vodpod_gallery.php on line 221
May 27th, 2010 at 3:12 pm
Cherie,
Your collection name, according to vodpod, is not “ponies”. If you use “websie” instead (the same as your vodpod user name) then it will work.
In the near future, I am going to try to incorporate some error handling into the plugin, so that these issues are easier for people to diagnose.
May 27th, 2010 at 3:59 pm
Sadly that didn’t work either – but I did get a different error
Fatal error: Call to undefined function: str_ireplace() in /home/cherie/public_html/……/wp-content/plugins/vodpod-video-gallery/vodpod_gallery.php on line 349
I have tried it with [vodpod_video_gallery collection="vodpodname"]
and [vodpod_video_gallery collection="websie"]
and just [vodpod_video_gallery]
May 27th, 2010 at 4:05 pm
Cherie,
Your current problem is due to the fact that your server is using PHP4 which is very old at this point. The plugin requires PHP5. Most hosting providers offer a way to use PHP5, but the method used depends on the server and hosting service, so you’ll need to contact them.
You can try replacing all calls to str_ireplace with str_replace, but I’m not sure if there are other dependencies at this point on PHP5 that you will run into.
May 27th, 2010 at 4:09 pm
Thanks Xondie, I will get them changed over.
May 30th, 2010 at 10:46 am
Thank you for the information your provide..
May 30th, 2010 at 1:24 pm
Hi
and me too who’s getting the same error:
Warning: file_get_contents(http://api.vodpod.com/v2/users/nooktoo/collections//videos.xml?api_key=1993b813d6cc8293&per_page=1) [function.file-get-contents]: 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 221
June 1st, 2010 at 9:58 am
I have had all of the php handlers changed from 4 to 5. But having now got a second collection I am getting this error when trying to publish it
Warning: file_get_contents(http://api.vodpod.com/v2/users/websie/collections/”jim/videos.xml?api_key=1993b813d6cc8293&per_page=1) [function.file-get-contents]: failed to open stream: HTTP request failed! HTTP/1.1 500 Internal Server Error in /home/cherie/public_html/…../wp-content/plugins/vodpod-video-gallery/vodpod_gallery.php on line 221
June 1st, 2010 at 10:01 am
I have renamed the collection so that there are no spaces and now I don’t get the warning but I only get an empty box, no videos.
June 1st, 2010 at 10:20 am
Did you name your collection jimbeamdecanters ? Did you also make sure you did not accidentally copy “smart quotes” from the webpage? From your first error, it looks like a set of quotes got copied into your collection name. In your page editor, delete and type by hand all the double quotes.
June 1st, 2010 at 4:44 pm
I am also getting an empty box, the plugin was working fine but after I upgraded it, its now only showing an empty box with next previous links.
June 4th, 2010 at 1:55 pm
Thanks Xondie, that worked and I have now got it straight in my head for the next one. However, for some reason although everything is the same, for that jimbeam video set I just cannot get the thumbnail videos to appear underneath the main video even though I swear I’ve done everything the same as in my other sites. I can only see the main video and previous/next underneath but they also aren’t clickable
June 4th, 2010 at 4:31 pm
Ah, it appears to have worked now. Brilliant, love the plugin
thanks again
June 4th, 2010 at 7:14 pm
thnaks xondie, the empty box issue is resolved after your advice, I added collection name and it worked.
June 11th, 2010 at 7:52 pm
Just like so many others, I fall victim to the “file_get contents” situation.
I’m getting:
Warning: file_get_contents(http://api.vodpod.com/v2/users/dadarkman/collections/darktv/videos.xml?api_key=1993b813d6cc8293&per_page=1) [function.file-get-contents]: failed to open stream: HTTP request failed! HTTP/1.1 500 Internal Server Error in /home/nickyni1/public_html/wp-content/plugins/vodpod-video-gallery/vodpod_gallery.php on line 221
I’ve added a php.ini as adviced in my WP root, it changed nothing. I tried to download the curl version you posted above but that link is no longer working. Any help possible? Thanks!!
June 11th, 2010 at 8:07 pm
Ron Fon – I think if you only have one collection, vodpod expects your collection name to be the same as your vodpod user name. Change your settings so that your collection is “dadarkman” and the error will disappear.
June 11th, 2010 at 9:03 pm
First like to thank you xondie for the great plugin. Not many good video galleries out their. I appreciate all the work that was involved, you can see my gallery in my link.
I wanted to leave this fix here for others if your run across this error..
Warning: file_get_contents(http://api.vodpod.com/v2/users/your user name/collections/your user name/videos.xml?api_key=************page=1&per_page=8) [function.file-get-contents]: failed to open stream: HTTP request failed!
Then simply make sure your user name is also assigned to your collection name. I think the reason it was throwing the error is that I only have one collection.
Well off to get more videos up. Cheers!
June 12th, 2010 at 5:44 pm
Thanks Xondie for the quick reply and Scott for the share.
June 12th, 2010 at 5:48 pm
One more quick question: Can I edit the size of the player to mkae it fit 720 since I’m gathering 720p videos for my site? if so, which file I edit?
Thanks!!!
June 16th, 2010 at 10:58 pm
Ron,
You can do this but not with a simple configuration change. You’d have to change the CSS and if you want more than 4 thumbnails across, you’d need to do a code change as well in a couple of places.
June 21st, 2010 at 2:48 pm
Well, it’s a wonderful plugin, so thanks a lot Xondie first of all for taking the pain to develop the tool.
Next, I was wondering what do you think having a function like get_vodpod() or get_xondie() which we could include somewhere in our index page to get the latest video (and the latest one only, not a gallery).
In vodpod_gallery.php you specify the xml url to get the latest video. $api_url = “http://api.vodpod.com/v2/users/”.strtolower($vodpod_user).”/collections/”.strtolower($vodpod_collection).”/videos.xml?api_key=1993b813d6cc8293&sort=ranking&per_page=1″.$tag_params;
So technically there should not be much work I guess to develop the function.
Cheers.
June 21st, 2010 at 2:58 pm
Well well, I just found that we can simply echo the function videogallery_get_html to get the same. I’m still looking to get a different width and height to this video, though.
June 29th, 2010 at 7:25 pm
no matter what i do i get this error.
There was a problem with the request to Vodpod. This is most often caused by an error in your plugin settings. Please make sure that you used a valid vodpod account name and collection name. You can test this by putting the vodpod call directly into your browser:
http://api.vodpod.com/v2/users/malonn/collections/vis/videos.xml?api_key=1993b813d6cc8293&sort=ranking&per_page=1
July 1st, 2010 at 12:24 am
Malonn, is there a url where I can look at this error occurring?
July 7th, 2010 at 9:41 am
Hello
I’m getting:
Warning: file_get_contents () [function.file-get-contents]: URL file-access is disabled in the server configuration in / homepages/10/d322837135/htdocs/hits-tv/wp-content/plugins/vodpod-video-gallery / vodpod_gallery.php on line 230
Warning: file_get_contents (http://api.vodpod.com/v2/users/kook/collections/dessinanime/videos.xml?api_key=1993b813d6cc8293&sort=ranking&per_page=1) [function.file-get-contents]: failed to open stream : No Suitable wrapper could “Be found in / homepages/10/d322837135/htdocs/hits-tv/wp-content/plugins/vodpod-video-gallery/vodpod_gallery.php on line 230
I do not know what to
Sorry for my English.
Thank you.
July 9th, 2010 at 5:17 pm
FOUND ERRORhere!!!!!
Hello,
This is the error message I get in my post. Below I see the frame that would have to contain the video, empty and showing the links (inactive) for Previous and Next as well as the link to go to my Vodpod page (active). I can not find the problem. This is the page: http://www.tveuropa.net/?page_id=483
Please, help.
July 9th, 2010 at 9:49 pm
Gonzalo,
First, sorry about my debug statement being left in the code. I’ll have to fix that. The problem is that vodpod does not recognize “general” as a valid collection. If you only have one collection, vodpod usually uses the same id for the collection as it does for your account. So if you use “gonzalo” for your collection as well as for your vodpod user account name, it will work.
July 9th, 2010 at 9:50 pm
Hi Kook,
I’m sorry for the delay. I haven’t forgotten about you – it just wasn’t immediately apparent to me what the problem was and I haven’t had time. But I will look into this this weekend.
July 14th, 2010 at 2:55 am
Very strange issue I have. Error reports on http://oldschoolscholar.com/video-gallery/ .
I have been trying to correct this issue with VodPod. My user name is attached to a former user name I deleted. I think this is causing my error. Old name is oldschooladmin when it is suppose to be OldSchoolScholar. Is there any work-a-round or am I completely missing the boat on this one? Error began after upgrade.
July 14th, 2010 at 3:00 am
Hi Xondie,
Thank you for the great plugin.
It is working well with the exception of the thumbnails in the gallery. I am unable to watch any other videos except the first. The thumbnails are there, but I am unable to click on them to change video. See: http://www.whydev.org/watch-dev/
July 15th, 2010 at 2:32 am
Brendan – the iframe that is displaying the thumbnails in the plugin is pointing to a different URL than your site. It is pointing to http://www.thewhyofdevelopment.com whereas your website url is http://www.whydev.com. The javascript will not work if the two urls are not the same. You will need to change your settings, or if you can’t do that, you’ll need to go to the plugin code and find the iframe and hard code the correct url.
July 15th, 2010 at 2:46 am
Q Ball – The problem does not seem to be with vodpod. The call that the plugin is making appears to be bringing back data. There is something else going on. I will have to look into it more tomorrow.
I see from earlier comments that perhaps a while back you needed to add a line to a php.ini file. Is it possible that you had done that but after the upgrade the file was deleted? This might have happened if you had put the file in the vodpod gallery plugin directory. Just a thought.
July 16th, 2010 at 10:04 am
Yep, that was the trick. I did not think about adding the php.ini file back after upgrade.
That would be a great tech upgrade note in future releases for people who will have a “blonde moment” to not check.
Thanks!
July 18th, 2010 at 3:34 pm
Thanks for the reply, Xondie!
I had two Vod Pod accounts. I had to rename the User and Collection IDs first then delete it so I can use the real Vod Pod account for the site. The names of the user and collection were correctly used with proper caps, and voila!
July 20th, 2010 at 2:52 am
Hi – really nice! Quick question – when you click on a thumbnail – the page loads at the bottom – or rather it goes to the bottom and I have to scroll back to the top – any way to fix this issue?
http://www.guccis.net
July 22nd, 2010 at 1:57 am
All was good until now. Do not know why this time. Who else is going through this issue?
http://oldschoolscholar.com/video-gallery/
My php.ini reads:
allow_url_open = on;
allow_url_fopen = on;
;*Hide our info
expose_php = Off
;*Turn off for performance
memory_limit = 128M
post_max_size = 6M
file_uploads = On
upload_max_filesize = 6M
max_execution_time = 50000;
browscap = /usr/local/lib/browscap.ini
register_globals = off
register_long_arrays = Off
register_argc_argv = Off
magic_quotes_gpc = Off
magic_quotes_runtime = Off
magic_quotes_sybase = Off
;*Allow PHP to accept large data
error_reporting = (E_ALL & ~E_NOTICE & ~E_WARNING);
url_rewriter.tags = “a=href,area=href,frame=src,form=fakeentry,fieldset=”;
July 23rd, 2010 at 12:49 am
Yes! Changing the letter “o” into capital “O” in the command “On” did the trick! Thank you Xondie. And for the rest of the fans on here this is the correct php.ini that was used for my sites needs:
allow_url_open = On;
allow_url_fopen = On;
;*Hide our info
expose_php = Off
;*Turn off for performance
memory_limit = 128M
post_max_size = 6M
file_uploads = On
upload_max_filesize = 6M
max_execution_time = 50000;
browscap = /usr/local/lib/browscap.ini
register_globals = Off
register_long_arrays = Off
register_argc_argv = Off
magic_quotes_gpc = Off
magic_quotes_runtime = Off
magic_quotes_sybase = Off
;*Allow PHP to accept large data
error_reporting = (E_ALL & ~E_NOTICE & ~E_WARNING);
url_rewriter.tags = “a=href,area=href,frame=src,form=fakeentry,fieldset=”;
August 1st, 2010 at 7:59 pm
In my video gallery below the main video, I can’t click on my Vimeo videos. Please advise. Any help would be much appreciated. Thanks!
August 1st, 2010 at 11:14 pm
Ryan,
I haven’t confirmed this, but I think it’s the parentheses in your titles. This is a bug in my plugin. I will fix it this week. I don’t think I will have time to take care of it until Thursday, but I’ll do it ASAP.
August 2nd, 2010 at 6:14 am
Xondi,
Thank you for your response. It seems that it wasn’t the parentheses, but I appreciate you getting back to me and look forward to any further assistance you can provide. Thanks again.
August 2nd, 2010 at 10:23 am
Darn. I was hoping that would fix it. OK, I will look into it more as soon as I have a chance.
August 2nd, 2010 at 4:44 pm
Hello Xondie,
I’m having problems installing vodpod on the side bar of my web-blog site. I have tried pasting the [vodpod_video_gallery] tag in different pages but it only makes other errors. What am I doing wrong ? Please help, as this is not the only thing I need to do to get my site up and running. Million thanks in advance
August 3rd, 2010 at 1:24 am
CAPQ – This plugin does not work in the sidebar. The tag is to be used in the text of a post or page, using the wp-admin functionality. Vodpod has a different plugin that works in the sidebar. You can find it here:
http://wordpress.org/extend/plugins/vodpod-videos/
August 3rd, 2010 at 3:05 pm
How do I force the video to show the full description instead of a truncated one?
August 5th, 2010 at 7:00 pm
Ryan,
I just checked in a bug fix that should take care of your problem. I was not handling line breaks in all cases in the description.
August 13th, 2010 at 12:35 am
Hi…. having problems on spacing with the plugin. Will someone take a look? I’ve tried other themes but it still has large margins between each object.
http://171designs.com/wrdp/film
Thanks!
August 13th, 2010 at 12:54 am
Matthew,
I am not able to reproduce your problem. I added your gallery to the bottom of the “second gallery example” page and it looks good.
Please try a couple of things for me so I can narrow down the possible causes:
- switch to the default theme and see if it is still broken
- if it is, try temporarily disabling other plugins one at a time to see if we have CSS collisions
If we know what’s causing the issue, I’m sure we can get it working properly.
August 20th, 2010 at 4:29 am
This plug in does not work
I have followed the instructions exactly and get a message
‘XML error: mismatched tag at line 6′
on the site
August 20th, 2010 at 12:53 pm
Tim,
I have your vodpod account working with user “etruck” and collection “timgiles” (3rd gallery down on the Second Example page). Can you tell me what configuration options you are using?
If configuration is the issue, I would like to fix the plugin so that users get a better error than the one you got. I cannot reproduce that though.
Also, I just noticed I do have another bug where the title disappears when you click a video, so I’ll need to fix that. But this should not cause any errors like the one you are seeing as far as I know.
August 23rd, 2010 at 1:08 am
For anyone getting that similar error to Tim, the problem was an incorrect collection id.
Also, I fixed the issue with the disappearing video titles when you click a video.
August 25th, 2010 at 12:39 pm
Just writing to say thank you for a great plug-in, had one small problem but read through the comments and worked it out in the end : )
August 27th, 2010 at 3:32 pm
Great Plugin, works perfectly for my real estate business. Thanks!
August 30th, 2010 at 4:04 pm
Hi tried the curl download and got an empty box, now gone back to the new plugin from wordpress (normal updated one) and would like to know if the php ini file is the way to solve this, no great instructions on how to implement from cursory glances on here, could really do with knowing why all of a sudden my site is broken after working great for quite a while, hope you can help and thanks for the plugin and your time.
ERROR MESSAGE BELOW:
“There was a problem with the request to Vodpod. This is most often caused by an error in your plugin settings. Please make sure that you used a valid vodpod account name and collection name. You can test this by putting the vodpod call directly into your browser:
http://api.vodpod.com/v2/users/localwebadverts/collections/wakefield1/videos.xml?api_key=1993b813d6cc8293&sort=ranking&per_page=1
August 30th, 2010 at 4:50 pm
Changed my api key in frustration so updated this in my setting in the plugin file line 205, curious to know why when i get rid of the plugin and delete all files, on installation of a fresh plugin (culr and wordpress.org) the code is still talking about my previous api key, how can it know this and why is it still wanting this after deletion?
It also seems that a fair few sites who thought they had solved problems are now broken exactly like mine, this is pretty worrying now as the php.ini file does not help at all (in all honesty has not been properly mentioned where to put and what to put in, but the one guy who attempted i notice site is broken today and did nothing for me when attempted in various ways (Q-Ball)
So here is the second part that is present when i look at my video collection which does not exist, it also takes ages to load to this point and i mean ages, like five minutes or more….at a loss now and hope someone can help as this is seriously worrying for future issues….if i could help i would!….thanks to anyone who may be able to shed some light…
Warning: file_get_contents(http://api.vodpod.com/v2/users/”localwebadverts”/collections/”wakefield1”/videos.xml?api_key=08d45b021cc34211&sort=ranking&page=1&per_page=8) [function.file-get-contents]: failed to open stream: HTTP request failed! in /home/aname/public_html/solicitorswakefield/wp-content/plugins/vodpod-video-gallery/vodpod_gallery_thumbs.php on line 205
August 30th, 2010 at 5:03 pm
Just a little more information, i have two collections in my vodpod account, and the above mentioned ideas (keep same name etc) has not worked.
Cheers.
August 30th, 2010 at 5:10 pm
Not sure if vodpod had some issues but all seems to be working fine again….damn!
August 31st, 2010 at 12:24 am
Wakefield,
Glad your plugin started working again. From your error message above, I can see that you had erroneous double-quotes around your configuration options (“wakefield” and “localwebadverts”). You should never see quotes inside a URL like that.
September 10th, 2010 at 9:35 am
Just a little more information, i have two collections in my vodpod account, and the above mentioned ideas (keep same name etc) has not worked.
September 12th, 2010 at 12:21 am
Hi xondie. Thank you for your time.
I am using this plugin on my local server and it works just fine.
However when I use it on a remote server, with exactly the same Vodpod account and settings, and the same call from html, it gives me the error:
There was a problem with the request to Vodpod. This is most often caused by an error in your plugin settings. Please make sure that you used a valid vodpod account name and collection name. You can test this by putting the vodpod call directly into your browser
What could be the reason?
September 18th, 2010 at 12:21 am
hi xondie,
do you also allow the use of php function call instead of shortcodes?
I want the video gallery to be in my Home or index.php page, not in the WordPress Post/Page. I need to use something like…
is this possible with xondie? Thanks for the immediate reply.
September 20th, 2010 at 12:54 pm
Hi Xondie,
I am also getting the same error saying:
There was a problem with the request to Vodpod. This is most often caused by an error in your plugin settings. Please make sure that you used a valid vodpod account name and collection name. You can test this by putting the vodpod call directly into your browser:
http://api.vodpod.com/v2/users/greekview/collections/featuredvideos/videos.xml?api_key=1993b813d6cc8293&sort=ranking&per_page=1
You can view it on the site http://greekview.net
Is there a way to fix this?
Thank you in advance for your help.
October 8th, 2010 at 10:29 pm
Can’t get 3.1.4 to work. Also tried the Curl version. Also tried the php.ini file (in various locations – no change).
Here’s what I’m getting:
Warning: file_get_contents() [function.file-get-contents]: URL file-access is disabled in the server configuration in /home/newspea1/public_html/wp-content/plugins/vodpod-video-gallery/vodpod_gallery.php on line 230
Warning: file_get_contents(http://api.vodpod.com/v2/users/jbtarnof/collections/john_tarnoff_videos/videos.xml?api_key=1993b813d6cc8293&sort=ranking&per_page=1) [function.file-get-contents]: failed to open stream: no suitable wrapper could be found in /home/newspea1/public_html/wp-content/plugins/vodpod-video-gallery/vodpod_gallery.php on line 230
There was a problem with the request to Vodpod. This is most often caused by an error in your plugin settings. Please make sure that you used a valid vodpod account name and collection name. You can test this by putting the vodpod call directly into your browser:
http://api.vodpod.com/v2/users/jbtarnof/collections/john_tarnoff_videos/videos.xml?api_key=1993b813d6cc8293&sort=ranking&per_page=1
Below this, I get a 2-box gray frame for the Xondie-powered plugin, with the error message displayed (partially) in it.
Thanks…
October 9th, 2010 at 12:55 am
John,
You have misconfigured your collection id in your plugin settings. You have one collection in your vodpod account which has the id jbtarnof, same as your vodpod account id. If you update your plugin settings it should work. Note the url for your collection:
http://vodpod.com/jbtarnof/jbtarnof
October 22nd, 2010 at 4:48 pm
I am always getting this error
There was a problem with the request to Vodpod. This is most often caused by an error in your plugin settings. Please make sure that you used a valid vodpod account name and collection name. You can test this by putting the vodpod call directly into your browser:
http://api.vodpod.com/v2/users/dwightdonut2010/collections/help/videos.xml?api_key=1993b813d6cc8293&sort=ranking&per_page=1
can you help fix this…
October 23rd, 2010 at 1:11 am
also getting the same error
October 23rd, 2010 at 2:33 am
Dwight,
I am able to display your gallery, so definitely your settings are OK. This may be an issue with server configuration differences.
Is there a page where I can view this problem?
October 23rd, 2010 at 7:37 am
Hi Xondie, thanks for a great plugin.
I have a problem with the video gallery (the one below the main video), I can’t click on the videos and only the first in the list play.
Any advice how to fix this?
Thanks in advance!
October 23rd, 2010 at 12:50 pm
good day Xondie
Sorry for my mistake, the one that you see in my site is mofeo basic gallery. It is working well but it has limited function. I really want to try your plug in. Please take a look again to my site for the problem I encounter
http://dwightdonut2010.byethost12.com/
Thanks in advance!
October 23rd, 2010 at 1:57 pm
Manima – I see the problem and can reproduce it on my site. It appears I have a bug in the plugin that I will make every effort to fix today or tomorrow. The problem is coming from your tag, sergio dalma, which has a space in it.
Sorry for the inconvenience, but I do appreciate you letting me know about this bug! I will take care of it as soon as I can.
October 23rd, 2010 at 4:16 pm
Manima,
I have fixed the bug and checked in the changes. Thanks again!
October 23rd, 2010 at 7:26 pm
Hey I can’t get the plugin to display any of the videos. I see the bottom portion of the plugin only. Here’s the link please advise. Thanks for the support.
http://www.rosterrepair.com/videos
October 24th, 2010 at 7:11 am
Thank you very much Xondie, your efforts to help us are very appreciated.
Great work, many thanks again!
October 28th, 2010 at 12:52 am
Hi Xondie,
Thanks for this VERY useful plugin. I searched like for days before I found this solution!
Many many thanks!!!
November 2nd, 2010 at 11:14 am
Installation was easy enove. Thanks!
November 10th, 2010 at 4:13 am
Hello xondie, I just came across your pluggin. I’m having the same error as dwight.
http://www.v103webmag.com/private/vodpod-test/2760/
ERROR:
There was a problem with the request to Vodpod. This is most often caused by an error in your plugin settings. Please make sure that you used a valid vodpod account name and collection name. You can test this by putting the vodpod call directly into your browser:
http://api.vodpod.com/v2/users/barrowcreative/collections/v103/videos.xml?api_key=1993b813d6cc8293&sort=ranking&per_page=1
November 12th, 2010 at 1:01 pm
Chris,
Did you try the php.ini file?
The only other thing I can think of is one person once had a problem where their server handled ampersands differently. So in the URL (in the php code) for the iframe, he had to replace all of the escaped ampersands with just a regular &. You could try that.
I have to run to work, but I can send you more specific instructions later to try that if you need me to.
Your settings appear to be fine.
December 10th, 2010 at 8:58 pm
Hi,
Been getting this same error when I tried to install the plugin “Warning: file_get_contents(http://api.vodpod.com/v2/users/vodpodusername/collections/your user name/videos.xml?api_key=yourapikeypage=1&per_page=8) [function.file-get-contents]: failed to open stream: HTTP request failed!”, upon investigating, vodpod seemed to not recognize my collection that was added or modified through Settings >> Collections tab, tried to rename it many times but to no avail, lastly, I tried adding collection name through Your Videos >> New Collection and then it worked. I deleted the old collection name and it still works. It seemed to me that the xml feed is not being created properly with the Settings >> Collections tab approach, not sure why this is happening but it did fix the issue for me, seems like the problem was with vodpod and not with this great plugin, at least on my end. Hope it helps.
Just a note: when you first get that error in your browser, it seemed that the page gets cached so even if you already fixed the problem, the error may still show, try renaming your collection to somehow refresh the page or clear your cache.
December 17th, 2010 at 1:50 pm
Thanks You Admin…
December 17th, 2010 at 6:36 pm
Hello and thanks for nice plugin, but it’s unfortunately not working on my site. The gallery loads but there are no videos. Yet, videos in Vodpod widget on sidebar display fine. I was getting a file_get_contents() function error, so I am now using the curl version 3. Username without capitols, host Godaddy, WP version 3.0.3. Theme Suffussion.
Gallery page http://sulpicia.info/videos/
Vodpod http://vodpod.com/vjopie
Many thanks!
December 25th, 2010 at 7:59 pm
thanks
January 5th, 2011 at 4:07 pm
I have the same problem like Manima described. You can’t click on the videos and only the first video in the list plays.
Please check. It seems to be a bug. I have uninstalled the plugin, reinstalled Version 3.1.5 but the issue remains.
Thanks in advance!
January 8th, 2011 at 7:01 pm
Hi,
I have the same problem as Pintdecor. You can’t click on the videos and only the first video in the list plays.
January 8th, 2011 at 8:35 pm
Pintdecor and Boozakajoe1,
I am trying to determine what the problem is. There is a javascript error causing this, so some character should be escaped that I am not escaping. Something I see in both of your cases is that your video description contains an iframe, which I haven’t seen before.
I will try to fix this today or tomorrow at the latest. Thank you for your patience and for letting me know about this problem.
January 9th, 2011 at 12:51 am
I’ve fixed the bug above. There were newline characters appearing in the embed code that I was not handling properly in the javascript. Please update to version 3.1.6 and see if that works better for you.
January 9th, 2011 at 4:17 pm
Xondie,
Thanks for the fast update. It works now.
January 9th, 2011 at 9:51 pm
Thank you very much for the prompt update!
It works now very fine!
Best Regards!
January 13th, 2011 at 6:14 pm
Amazing plug in! I’ve got two questions for you. Can I set the default to “Highest Quality?” The description for all of my videos are pulling up twice. It just repeats itself. Why is it doing that?
Thanks
January 14th, 2011 at 12:42 am
Brian,
Very interesting issue with the description showing up twice. That is happening because my plugin is pulling the description from the host (youtube or whatever) as well as from vodpod. Obviously this is a bug in my plugin, although it is not clear to me what the correct behavior should be. Perhaps the vodpod description should be displayed if available, but if not it should display the youtube description?
I’ll try to fix this over the weekend. Thanks for letting me know!
Regarding the video quality, Vodpod isn’t sending me back different video quality options, so I don’t think that’s something that can be altered from the plugin. Maybe you can manage that from youtube?
January 15th, 2011 at 11:29 pm
How do I get the video gallery to work this is the error message I received “XML error: Mismatched tag at line 6″
January 18th, 2011 at 2:08 am
Brian,
I’ve fixed the issue with the description showing up twice. It will now only display the vodpod description, unless that is blank, in which case it will display the host (youtube, etc) description. In other words, it displays the host description unless you choose to override it in your vodpod account.
VibesPlus, if you can show me the page where this is happening, I can see what the problem is.
January 28th, 2011 at 4:18 am
Has the glitch with videos not being able to be clicked on and played been fixed? I am needing this for a job application STAT.
Thanks!
January 28th, 2011 at 11:23 am
Jonathan, as far as I know, all issues have been fixed.
January 28th, 2011 at 4:36 pm
I have it on two websites and hadn’t changed anything for over a year. When I recently checked those sites, the gallery did not let me click on the videos. I reinstalled everything including the curl 3 version since the updated versions never worked on my WordPress sites. The problem is still there. What do I need to do to fix this? You can look at this page to see what it does.
February 11th, 2011 at 2:11 pm
xondie: I installed the plugin and got the file_get_contents error so I downloaded the alternative version of the plugin. When I add the shortcode
[Insert Video Gallery] to my post, the shortcode shows up in my post as if there were no functional plugin. I don’t expect this to work, but if instead I try the shortcode for the regular version of the plugin [vodpod_video_gallery], I get a frame of my site inside my post. I triple-checked my VP username and it’s correct. Any ideas?
February 12th, 2011 at 10:23 pm
The problem for “Dan” above was an incorrectly configured collection ID. I have updated the instructions on the settings page and the readme file to make this much more clear, since the problem of using the collection “name” instead of the “ID” comes up so often.
February 15th, 2011 at 11:34 am
Word press plugin works good! Its installation is easy and quick…….. Thanks for the links, its an useful blog to share with us!
March 7th, 2011 at 11:01 pm
[...] that would aggregate all these videos in one spot. Now I think I’ve figured it out with the Vodpod Video Gallery Plugin for WordPress. Click on the image to go there, or find the link under the contact section. As well, [...]
March 11th, 2011 at 3:05 pm
Hello,
my problem is:
Warning: file_get_contents() [function.file-get-contents]: URL file-access is disabled in the server configuration in /homepages/1/d156486595/htdocs/hp_redrock/wp-content/plugins/vodpod-video-gallery/vodpod_gallery_thumbs.php on line 220
Warning: file_get_contents(http://api.vodpod.com/v2/users/redrockmanagement/collections/redrockmanagement/videos.xml?api_key=1993b813d6cc8293&sort=ranking&page=1&per_page=8) [function.file-get-contents]: failed to open stream: no suitable wrapper could be found in /homepages/1/d156486595/htdocs/hp_redrock/wp-content/plugins/vodpod-video-gallery/vodpod_gallery_thumbs.php on line 220
page: http://www.redrock-management.de/?page_id=1543
Can you help me?
Kind regards, Ritchie
March 13th, 2011 at 1:03 pm
Ritchie,
Try creating a php.ini file in your root WP directory and add the line:
allow_url_fopen=On
April 2nd, 2011 at 7:59 am
well I went for the Vodpod Videos Widget and I’m glad I did because its fantastic. thanks
April 6th, 2011 at 9:39 pm
Hi Xondie!
I’m having some issues with the thumbs of the video gallery. Instead of thumbs I’m getting a 404 page. You can see it here: http://motus-anima.com/2011/02/supertramp-lenta-muerte-del-rock-progresivo/
Any idea what can be wrong?
As usual, thanks in advance for your support!
May 3rd, 2011 at 8:44 pm
Hi Xondie,
Your plugin look great and I am would like to use it.
I have opened an account according to your suggestion in vodpod.com/reutrashook.
I am getting an error:
Warning: file_get_contents(http://api.vodpod.com/v2/users/reutrashook/collections/1169728/videos.xml?api_key=1993b813d6cc8293&sort=ranking&per_page=1) [function.file-get-contents]: failed to open stream: HTTP request failed! HTTP/1.1 500 Internal Server Error in /nfs/c04/h03/mnt/85506/domains/greenparenthood.com/html/wp-content/plugins/vodpod-video-gallery/vodpod_gallery.php on line 235
There was a problem with the request to Vodpod. This is most often caused by an error in your plugin settings. Please make sure that you used a valid vodpod account name and collection name. You can test this by putting the vodpod call directly into your browser:
http://api.vodpod.com/v2/users/reutrashook/collections/1169728/videos.xml?api_key=1993b813d6cc8293&sort=ranking&per_page=1
You can view it here.
Thanks in advance for your support,
Reut
May 3rd, 2011 at 10:30 pm
Hi Reut,
You have the wrong collection ID configured. Your collection ID is reutrashook (same as your vodpod user ID in this case). Make that change and it should work fine.
May 4th, 2011 at 8:31 am
Thanks Xondie for the fast answer.
I am still getting the same error.
I have tried all 3 combination like you suggest on your plugin page:
[vodpod_video_gallery user="reutrashook"]
[vodpod_video_gallery user="reutrashook" collection="1169728"]
[vodpod_video_gallery collection="c1169728" tag="Health"]
And still all 3 have the same error:
You can view the error at the bottom of this page:
http://www.greenparenthood.com/disclosure
Thanks in advance again,
Reut
May 4th, 2011 at 10:15 am
Reut,
I believe I was unclear with my previous response. It should be this:
[vodpod_video_gallery user="reutrashook" collection="reutrashook"]
May 19th, 2011 at 10:35 pm
I was wondering why the z-index of the videos on our site that are using your plug-in are causing issues with the colorbox/modal box. If it was a normal video, I could add ?wmode=transparent to the end of the video and that may fix it (see: http://bit.ly/k0InxM). However, since the videos are embedded, I am having trouble fixing this issue. Can you let me know what needs to be changed.
Thanks!
See: http://www.energyresults.com/community/
May 20th, 2011 at 1:36 am
I went to your link and it looks to me like you’ve edited the code to insert ?wmode=transparent on all the video thumbnails. But you’ve added it in a place that is breaking the javascript. You’ve inadvertently appended it to the end of a javascript parameter that is supposed to be used to find the id of the player div, so now the javascript can’t find the player.
If you remove whatever you did there, I can take another look and see what might be done to fix the original problem you were having.
June 2nd, 2011 at 7:54 pm
Since the WP upgrade to 3.1.3, my Vodpod plugin has stopped working. I checked in 3 browsers, Chrome,FF and IE9. Is there an update coming from you?
June 2nd, 2011 at 9:24 pm
I just updated to 3.1.3 and I’m not seeing any problems. Can you be more specific in how your plugin has stopped working?
There is an update coming, but it isn’t related to the new WP 3.1.3 version, and it might be another week or two before it’s out.
June 8th, 2011 at 11:10 am
Hi there, I’ve just joined your site and uploaded a few videos but when I put your code on my wordpress blog page I get the following error – help!
Warning: file_get_contents() [function.file-get-contents]: URL file-access is disabled in the server configuration in /homepages/45/d196756662/htdocs/glitchaddictcom/wp-content/plugins/vodpod-video-gallery/vodpod_gallery.php on line 235
Warning: file_get_contents(http://api.vodpod.com/v2/users/morticiaaddams/collections/morticiaaddams/videos.xml?api_key=1993b813d6cc8293&sort=ranking&per_page=1) [function.file-get-contents]: failed to open stream: no suitable wrapper could be found in /homepages/45/d196756662/htdocs/glitchaddictcom/wp-content/plugins/vodpod-video-gallery/vodpod_gallery.php on line 235
There was a problem with the request to Vodpod. This is most often caused by an error in your plugin settings. Please make sure that you used a valid vodpod account name and collection name. You can test this by putting the vodpod call directly into your browser:
http://api.vodpod.com/v2/users/morticiaaddams/collections/morticiaaddams/videos.xml?api_key=1993b813d6cc8293&sort=ranking&per_page=1
June 8th, 2011 at 11:44 am
I read your instructions and tried the curl version – this just brings up the words [Insert Video Gallery] on my page …what am I doing wrong? I’d like to use the regular version if at all possible. I created a file called php.ini and uploaded it with the line “allow_url_fopen = On” in it but that didn’t work either..
June 8th, 2011 at 12:12 pm
Losing all hope now and thinking of looking around for another video plugin instead – hope you can offer assistance, thanks.
http://glitchaddict.com/video-test/
June 16th, 2011 at 4:01 pm
Is there any way to disable the up next screen at the end of the youtube videos, or to just have the next video in my gallery play instead?
July 5th, 2011 at 7:55 pm
Hi,
First, thanks for such a good plugin. it’s exactly what i was searching for days.
I still got a little problem.
I embed my videos from vimeo but got a generic description for all vids (Vimeo is a respectful community of creative people………) instead of the real desciptions of the vids.
Do you know if there is a workaround for this problem?
thank you very much.
Flavien
July 5th, 2011 at 11:12 pm
Hi Flavien,
Did you get this problem fixed already? I visited your site and the plugin looked like it was working fine and pulling in individual descriptions. Let me know if you’re still struggling with this. Email me at info(at)xondie(dot)com.
July 18th, 2011 at 4:49 pm
Hi there,
I am trying to use your plug-in on my website but it doesnt appear to be working. It appears fine. It shows a main video (which plays) but the thumbnails beneath it do nothing, lead nowhere. Any idea what the problem could be?
You can see the video page here: http://test.tzsu.eu/?page_id=169
Really hope to get this plugin working because it looks great!
Adam
July 19th, 2011 at 10:00 pm
Hi Adam,
You are having some kind of a javascript error. Most likely this needs to be fixed in my plugin code. I’ll have to look at it on Thursday. I’m sorry for the delay. It will be very helpful if you could leave that test page available for me to look at.
July 26th, 2011 at 10:15 am
Hi xondie,
I have reacvtivated the plugin so you can look at the problem on my page: http://test.tzsu.eu/?page_id=169
Please get back to me as soon as you can!
Many thanks,
Adam
August 21st, 2011 at 11:33 pm
Do you have any idea why the videos in the commercials category don’t play? It must have something to do with them being hosted on youtube vs. my own servers. What is weird is that I was using the non-curl version of the script and all the videos worked (however I can’t use the non-curl version because I get so many errors).
Any help would be appreciated. Thanks!
August 22nd, 2011 at 1:31 am
Andy,
Youtube changed their embed code a while back and so the plugin had to be updated to accommodate it. The curl version has not been kept up to date with the regular version, so if you are using the curl, I am not surprised it has errors. If you are having trouble with the regular version and want some assistance, I can try to help with that.
It may be a few weeks before I am able to better support this plugin again, due to other big commitments.
August 22nd, 2011 at 1:34 am
Just to clarify my last comment, I can help right away with errors you are having with the regular version.
What I am not able to support for the next few weeks is updating the curl plugin and/or making major fixes to the standard plugin.
October 4th, 2011 at 7:33 am
hello Xondie your plugin seems great.
i have a question… is this plugin supported the Download feature of my FLV or any video uploaded? I am not sure if someone asked this question before.
Thank you.
October 7th, 2011 at 4:07 pm
Hi ,
Thanks immensely for providing this plugin. I’ve been looking
around for something similar for my video gallary, and I hope this can prove to be ideal.
Much appreciated,
Pope
November 2nd, 2011 at 3:54 pm
Is vodpod.com down? i keep getting the following message 503 Service Unavailable
No server is available to handle this request.
Video gallery on my site is not working. Any word when issue will be resolved?
November 2nd, 2011 at 11:03 pm
Rami – hopefully everything is working for you again. I am not seeing any problems at the moment.
November 6th, 2011 at 11:29 pm
I do not see any problem with the vodpod.com its working fine today.
November 21st, 2011 at 1:36 pm
I was wondering if there’s any way for me to include in the .php some string that will add append the &rel=0 argument to the url so I don’t get related videos at the end of the video playing. I don’t really know .php but am more than willing to cut and paste code where you tell me.
November 23rd, 2011 at 11:29 am
Hi Jay – So sorry I didn’t get back to you sooner. Yes this is possible and not too difficult. I can’t give the details right this moment because I have to get to work. But I’ll do it tonight or tomorrow.
November 25th, 2011 at 12:37 am
Jay – Adding the rel=0 to the end of the youtube video URLs is not as simple as I thought. It’s possible, but would require some fancy regular expression code, which would take quite a while to figure out. A regular expressions guru could probably rig something up in no time. I’m sorry I couldn’t help.
November 30th, 2011 at 1:59 am
Anyone else know how to do this?
December 4th, 2011 at 5:20 am
Hi Xondie,
I’m getting a “XML error: syntax error at line 1″ in all post using the vodpod video gallery (older and new posts).
Any idea what can be wrong?
thanks in advance!!
December 4th, 2011 at 6:06 am
My site broke today without provocation. It was working great for a couple of weeks. I didn’t change any settings. This evening I start getting…
There was a problem with the request to Vodpod. This is most often caused by an error in your plugin settings. Please make sure that you used a valid vodpod account name and collection name. You can test this by putting the vodpod call directly into your browser:
http://api.vodpod.com/v2/users/jaylperry/collections/jaylperry/videos.xml?api_key=1993b813d6cc8293&sort=ranking&per_page=1&tag_mode=any&tags=puzzles
December 4th, 2011 at 6:34 am
Sorry Xondie, my issues were caused by a wordpress plugin, Adsense Optimizer.
Now your plugin works as it should.
Thanks!
December 4th, 2011 at 2:29 pm
Oh! Never mind. The issue has somehow resolved itself overnight.
December 4th, 2011 at 6:37 pm
So sorry, Jay – I meant to respond to your comment. Vodpod was down for a while yesterday.
December 8th, 2011 at 7:00 pm
dear xondie, your plugin is great!
but now i have a problem with it and i dont know how do fix it.
it worked well for two months, but now i have the problem, that only the main video is working. the “older” videos are displayed in the gallery, but it is not possible to open them.
maybe you have an idea about it?
greetings
raph
December 8th, 2011 at 8:14 pm
raph
The iframe that holds the thumbnails in your gallery is using a URL that is different than your main site. The iframe is using the domain http://d5148.ispservices.at, while your website is http://www.raphanus.org.
Javascript does not allow a page at one URL (the iframe with the thumbnails) to change the content of a page at a different URL (your main page).
I’m not sure why the iframe is at a different URL, but can I presume that this is the result of a recent change to your site?
December 9th, 2011 at 3:10 pm
dear xondie, thank you very much – it is working now
December 19th, 2011 at 10:50 am
I do not see any problem with the vodpod.com i think there is some problem with the feeds xml its not opening .
December 22nd, 2011 at 4:59 pm
Hello,
For the past couple of days, i’ve been getting this error on my site:
Fatal error: Maximum execution time of 30 seconds exceeded in …/wp-content/plugins/vodpod-video-gallery/vodpod_gallery.php on line 231
Nothing has changed in my server/site configuration.
Do you have any idea what the problem may be?
Thanks!
December 22nd, 2011 at 5:34 pm
Sara, I do not know what you mean by feeds xml not opening. What is “feeds xml”?
December 22nd, 2011 at 5:37 pm
Enrique, how often does this happen? I just went to your site and the video gallery appears to be working. If it is intermittent, it is probably an issue with vodpod’s servers. If that is the case, I could let them know, but it would be helpful for me to see the error happen.
January 19th, 2012 at 7:27 pm
Hey Xondie, that error that i mentioned has stopped appearing but now i’m getting the infamous “XML error: mismatched tag at line 6″
Again, nothing has changed in my server, it just stopped working.
I had to disable it for a while since it was breaking the template.
Do you have any idea why this is happening and how I can fix it?
Thanks!
January 19th, 2012 at 7:35 pm
Enrique – Looks like the vodpod API server is down again.
January 19th, 2012 at 7:57 pm
January 19th, 2012 at 8:08 pm
Yup – they have had an awful lot of downtime in recent months. Vodpod was just bought by Lockerz. Hopefully that will mean it will get better, and not worse.
January 21st, 2012 at 4:06 am
Hi Xondie!
I’m having the same issue like Enrique (XML error: mismatched tag at line 6) but all my posts with video collections, are blank.
I disabled your plugin and installed the vodpod-video-gallery-curl-4 instead of the normal plugin. Now the posts show but only with one video in the collection.
But at least, they are showing now
January 21st, 2012 at 11:57 am
hi i am get this error on my site:
file_get_contents(http://api.vodpod.com/v2/users/star_seven/collections/starseven/videos.xml?api_key=1993b813d6cc8293&sort=ranking&per_page=1&tag_mode=any&tags=bashment) [function.file-get-contents]: failed to open stream: HTTP request failed! HTTP/1.1 502 Bad Gateway in E:\domains\s\starsevenmusic.com\user\htdocs\BLOG\wp-content\plugins\vodpod-video-gallery\vodpod_gallery.php on line 231
i have made no changes to the user account so not sure why im getting this error
January 21st, 2012 at 1:46 pm
The vodpod api server is still down. I’ve contacted their support to complain. I can only hope they will fix it very soon.
January 31st, 2012 at 2:13 pm
Hi Xondie,
I have been using your great plugin for a while, but recently, it has started to pick up the descriptive text from YouTube.com that follows a video, and which I do NOT wish to display on my WordPress page.
Why is this text being displayed?
Is there an easy way to switch this off?
Thanks in advance !
February 27th, 2012 at 11:26 pm
Same here, that text is showing up and on some there is a lot and it really strains the spacial formatting. Please let us know if you issue a revision that allows for turning this off or limiting to “X” number of characters.
Thanks — Arthur
March 1st, 2012 at 1:09 pm
Arthur and others,
I have been out of town for a while. I will look into this YouTube text issue and get back to you. This weekend at the latest. Sorry for the delay.