Creates a video gallery page from a Vodpod collection. Vodpod allows you to add videos from any site that supports EMBEDs.
This plugin uses WordPress "short codes".
[vodpod_video_gallery] into any page.
Alternatively, for multiple pods on one wordpress site, you can specify the vodpod user and/or collection:
[vodpod_video_gallery user="vodpod_username" collection="collection_id"]
You can also specify collection name, number of thumbnails per page, and (optional) height of the iframe that holds the thumbnails:
[vodpod_video_gallery collection="collection_id" per_page="16" iframe_height="280"]
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
The iframe height is now optional. You do not need to specify it. By default, the plugin will determine how high to make the iframe based on number of videos per page and how many lines of pagination you have. You can override the iframe height if you need to.
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 though, remember to ignore any suggestions from WP to upgrade the Vodpod Video Gallery plugin, as this will overwrite your alternative curl version. Also, this version does not get updated very often so it might be missing some bug fixes. Let me know if you need something updated on it and I'll do what I can. Really try to get the regular version working first. Configuration errors are the most common reason why the plugin does not work at first.
Requires: 2.0.2 or higher
Compatible up to: 3.0.5
Last Updated: 2010-10-23
Downloads: 18,120




