Loading content, please wait ... loading ...

WP Wizard

I ❤ WordPress

YouTube SimpleGallery

Download

Installation

  • Install from Plugins in WP Dashboard

OR

  • Unzip the archive
  • Upload the folder “youtube-simplegallery” to “/wp-content/plugins/”
  • Activate the Plugin in the WordPress Dashboard

THEN

  • Download and install either Shadowbox JS, Fancybox or Thickbox if you want to show videos in a box on your site.
  • Go to the Settings Page (Settings > YouTube SimpleGallery) and configure the plugin to suit your needs

Usage

In Posts or Pages:

To embed a gallery in a Post or a Page use the following code:

[youtubegallery]
http://www.youtube.com/watch?v=cRdxXPV9GNQ
http://www.youtube.com/watch?v=xqTac_O_wh4
http://www.youtube.com/watch?v=jJK-G9-dLzw
http://www.youtube.com/watch?v=S4aqM_wu6Ns
[/youtubegallery]

If you want to add titles/description to the videos, add it before the link and separate with | (pipe), like this:

[youtubegallery]
Avatar Trailer HD|http://www.youtube.com/watch?v=cRdxXPV9GNQ
Call of Duty Modern Warfare: Deathmatch|http://www.youtube.com/watch?v=xqTac_O_wh4
The Fast Show: Unlucky Alf|http://www.youtube.com/watch?v=jJK-G9-dLzw
Jožin z bažin|http://www.youtube.com/watch?v=S4aqM_wu6Ns
[/youtubegallery]

In Theme files (outside The Loop):

If you wish to add a gallery in a part of the Theme that is outside «The Loop» and/or not within a Widget, you can use the do_shortcode()-function like this:

<?php echo do_shortcode('[youtubegallery]
http://www.youtube.com/watch?v=HEheh1Bh44Q
http://www.youtube.com/watch?v=xqTac_O_wh4
http://www.youtube.com/watch?v=jJK-G9-dLzw
http://www.youtube.com/watch?v=S4aqM_wu6Ns
[/youtubegallery]'); ?>

Make sure to keep the linebreaks!

Columns

For both Posts & Pages and do_shortcode you can add cols=x, e.g. [youtubegallery cols=4] to override the default setting.

In Widgets:

Add a «YouTube SimpleGallery» widget to your sidebar(s), add links with linebreaks in the area entitles «Links». You do not use the [youtubegallery] and [/youtubegallery] in Widgets. You can add titles in the same way as for Posts and Pages.

Result

The gallery will be displayed like this:

Changelog

1.5

  • Added option for thumbnail size
  • Added option for columns w/breaking rows
  • Added style option for titles

1.4.1

  • Fixed compatability issue with PHP 5.3.5.

1.4

  • Added support for Fancybox.
  • Added option for autoplay on click.
  • Changed all embedding to HTML5 compliant.
  • Remodeled Settings page.

1.3

  • Fixes broken thumbs.
  • Fixes broken Thickbox.
  • Added HD option.
  • Minor bug fixes.

1.2

  • Fixes bug with broken thumbs and videos when adding titles.

1.1

  • Added option to open links in new window/tab when going directly to YouTube.com

1.0

  • 1st official release. Option for Shadowbox JS added. Bugfixes: Fixed broken thumbnails. Fixed URIs with special characters.

0.4.1 BETA

  • Minor bugfix.

0.4 BETA

  • Fixed issues with WP’s auto embedding of YouTube-URIs, introduced in WP 2.9.

0.3.1 BETA

  • Minor bugfix.

0.3 BETA

  • Fixed errors when showing several galleries to one Page, or when showing Home or Archives with galleries in multiple Posts.

0.2 BETA

  • Option to include titles/description added

0.1 BETA

  • First launch

180 Responses to “YouTube SimpleGallery”

  1. Dave says:

    Hi there,
    It seems as though this plugin needs updating since the latest version of wordpress was released. All I get on my site is grey icons for the video links.
    Hope you get it fixed soon,
    D

  2. Kim Ravn says:

    still got the old pb with this plugin
    the plugin shows right on all the browsers but in the explorer
    the tumbnails will not resize
    so pls can u fix that

  3. Alyssa says:

    Hi,

    I installed your plugin on my site to show Youtube trailers and the trailers work fine. But for some reason it adds 2 extra gray video icons, one before my first trailer and another after my last trailer. Do you know why it is doing that?I even tried the default youtubegallery cols=3 code and the extra videos still show up.

  4. arminas says:

    You sir made a great pluggin, but reacently i faced issues :/

    OK, now I’m new to all of this WP stuff, but I’m slowly learning as I go.

    I have installed & activated the youtubegallery plugin, along with shadowbox-js. I have linked the two together.

    When I make a new post, I get the grey “video missing” thumbnail which is tall and skinny rather than square. When I hover my mouse over the link it gives me “http://www.youtube.com/embed/%3Ciframe%20width=” and upon clicking it, tries to load the page, but obviously that link is bad.

    I even reinstalled the plugin from scratch, re-linked it to Shadowbox and used the default video links supplied in the readme:

    [youtubegallery]
    http://www.youtube.com/watch?v=cRdxXPV9GNQ
    http://www.youtube.com/watch?v=xqTac_O_wh4
    http://www.youtube.com/watch?v=jJK-G9-dLzw
    http://www.youtube.com/watch?v=S4aqM_wu6Ns
    [/youtubegallery]
    I’ve got to be missing something somewhere, but I’m totally stumped. Any help would greatly be appreciated.

    http://wordpress.org/extend/plugins/youtube-simplegallery/

  5. Aivaras says:

    I’m having the same problem, cept I get a bunch of default youtube thumbnails and broken links as described above.

  6. @AgentSteph says:

    Grrr. I simply can’t figure this out and I’ve tried all three types of boxes. I can get the gray boxes on my screen, but when I click I get an error. I’m attempting to use this in a widget on my homepage. Could you, perhaps give us an example of how exactly your text looks for the referenced examples inside a widget box? Perhaps I’m doing the line breaks incorrectly or perhaps I’m supposed to have <> in there somewhere. The instructions aren’t clear to me. Thanks.

Leave a Reply