We'll create fresh WordPress site with YouTube SimpleGallery installed. You have 20 minutes to test the plugin after that site we'll be deleted.
YouTube SimpleGallery is a plugin for creating video galleries with thumbnails. Now merged with the Vimeo SimpleGallery, this plugin supports both YouTube and Vimeo. You can even combine videos from both services in the same gallery. The plugin will automatically fetch both thumbnails and titles from YouTube/Vimeo.
Now also supports user feeds – a much requested feature!
To embed a gallery in a Post use the following code:
[youtubegallery]
http://www.youtube.com/watch?v=cRdxXPV9GNQ
http://vimeo.com/13470805
http://www.youtube.com/watch?v=jJK-G9-dLzw
http://www.youtube.com/watch?v=S4aqM_wu6Ns
http://vimeo.com/68180971
[/youtubegallery]
= Galleries =
You can now combine links from YouTube and Vimeo in the same gallery.
To embed a gallery in a Post use the following code:
[youtubegallery]
http://www.youtube.com/watch?v=cRdxXPV9GNQ
http://vimeo.com/13470805
http://www.youtube.com/watch?v=jJK-G9-dLzw
http://www.youtube.com/watch?v=S4aqM_wu6Ns
http://vimeo.com/68180971
[/youtubegallery]
NOTE: Make sure URLs start with http. For the time being, https is not supported.
If you want to add titles to the videos, add it before the link and separate with | (pipe), like this:
[youtubegallery]
Eyes Close|http://vimeo.com/13470805
Jožin z bažin|http://www.youtube.com/watch?v=S4aqM_wu6Ns
[/youtubegallery]
NOTE: If titles are added before videos, these will override titles fetched automatically from services.
To set up a gallery that subscribes to a user’s feed, use the following shortcode:
[youtubeuserfeed user=username service=youtube]
Note that both user
and service
are required for the feed to work. Service is either youtube or vimeo.
Optional attributes are maxitems=x where x is the number of items to fetch:
[youtubeuserfeed user=username service=youtube maxitems=4]
Overrides are a way of suppressing the default settings of the plugin, with attributes of your own.
Override columns with cols=x
, where x is the number of thumbs per row:
[youtubegallery cols=8]
Override thumbnail width with thumbwidht=x
, where x is a pixel value:
[youtubegallery thumbwidth=100]
Fetch titles from service with autotitles=fetch
(or autotitles=false
to not fetch):
[youtubegallery autotitles=fetch]
And, of course, you can combine them:
[youtubegallery cols=8 thumbwidth=100 autotitles=false]
These are also applicable for the [youtubeuserfeed]
shortcode.
Supported services are YouTube and Vimeo. Other services might be added, but a requirement is that they can deliver video streams in a HTML5-compatible format.
Note that it is possible to combine videos from both services in galleries.