Tengo una idea, pero no tengo tiempo :(

Sigueme en twitter ;)

Berriart

Berri YouTube Gallery

Pulsa aquí para verlo en castellano

Berri YouTube Gallery gives you possibility to show a YouTube video gallery with customized appearance on your sidebar and all you need is to write the video URLs in the widget control panel. There is no need to register or to get YouTube API. Easy to customize and you can insert an image in the video thumbnail.

How to install:1. Download berri-youtube-gallery.zip

2. Extract and upload to plugin directory

3. Give write permissions to “wp-content/plugins/berri-youtube-gallery/images” directory

4. Activate plugin

5. Add YouTube Gallery to the Widgets Sidebar

6. Configure the gallery in the widget panel and save configuration

7. That’s all

Requirements

  • Widgets enabled
  • Widgetized Theme
  • PHP GD Library
  • allow_url_fopen option enabled

Berri YouTube Gallery (Beta)
WordPress Plugin Repository

CONFIGURATION OPTIONS

Berri YouTube Gallery Options

  • Title: The title of the widget
  • Show YouTube watermark?: Check to display a YouTube logo in the thumbnails
  • Show play image?: Check to display an image in the center of the thumbnails
  • Play Image URL: Write the URL of a PNG image to personalize the play image. If is not PNG or if you leave the text-field empty the default play image will be displayed
  • Video URLs: Write the URLs of the videos that you want to show. One URL for each line
  • Display template: The template for each video. HTML code is allowed. You can use %%title%% to display the title of the video, %%url%% to display the video URL and %%img%% to display the thumbnail URL

Berri YouTube Gallery
Comments and bug reports are welcome.

Berri YouTube Gallery

Berri YouTube Gallery te da la posibilidad de mostrar una galería de vídeos de YouTube en tu sidebar con la apariencia personalizada y todo lo que necesitas es escribir las URLs de los vídeos en el panel de control del widget. No es necesario estar registrado en YouTube ni tener un código de la API de YouTube. Fácil de personalizar e incluso puedes poner la imágen que tu quieras en el thumbnail del vídeo.

Como instalar:1. Descarga berri-youtube-gallery.zip

2. Extráelo y súbelo a tu directorio de plugins

3. Dale permisos de escritura al directorio “wp-content/plugins/berri-youtube-gallery/images”

4. Activa el plugin

5. Añade YouTube Gallery a la sidebar de Widgets

6. Configura la galería en el panel del widget y guarda la configuración

7. Eso es todo

Requerimientos

  • Widgets activados
  • Un theme que soporte Widgets
  • Librería GD de PHP
  • La opción allow_url_fopen activada en tu servidor

Berri YouTube Gallery (Beta)
WordPress Plugin Repository

OPCIONES DE CONGIGURACIÓN

Berri YouTube Gallery Options

  • Title: El título del widget
  • Show YouTube watermark?: Márcalo para mostrar el logotipo de YouTube en los thumbnails
  • Show play image?: Márcalo para mostrar una imagen en el centro del thumbnail (imagen de play por ejemplo)
  • Play Image URL: Escribe la URL de una imagen PNG para personalizar la imagen del centro del thumbnail. Si no es PNG o dejas en blanco el campo se mostrará la imagen por defecto del play
  • Video URLs: Escribe la URLs de los vídeos que quieras mostrar en el sidebar. Una URL por línea
  • Display template: La template de cada vídeo. Está permitido usar código HTML. Puedes usar %%title%% para mostrar el título del vídeo, %%url%% para la URL del vídeo y %%img%% para la URL de la imagen

Berri YouTube Gallery
Los comentarios, los reportes de bugs o sugerencias son bienvenidas ;)

27 Comentarios
  1. Flick

    Hi,
    Great idea for a Youtube gallery! :) Perhaps in the future it could be extended to sorting by e.g. categories? Then one could show videos from one category on one page or via widget etc.
    Thanks!
    Flick :)

  2. admin

    Thanks!

    I’ll take it into account for futures versions. ;)

  3. Manu

    Respondiendo a tu comentario en mi blog: YouTube genera RSS para todos los usuarios, los tags y los nuevos añadidos, los más votados, los más vistos, etc etc etc.

    Toda la información la encuentras aquí: http://www.youtube.com/rssls

    Ahí se especifica que para poner automáticamente un canal de usuario, se generan los RSS a la siguiente dirección, por ejemplo, para el canal de un usuario llamado “youtube”:

    feed://www.youtube.com/rss/user/youtube/videos.rss

    Y el RSS para el tag “monkey”, la URL sería:

    feed://www.youtube.com/rss/tag/monkey.rss

    Esto es lo que yo te decía.

  4. admin

    Siendo así, sería una estupenda opción para implementar en una proxima versión. Muchas gracias por el consejo Manu.

  5. robyrobot

    Hi, I’ve got a problem with your plug in. I didn’t find any configuration tab onto the admin tools? Where the configuration tab is? I have to run any php page to see it?
    plz help me. thanks.

  6. Carla

    Hola,
    He intentado seguir las instrucciones que describes pero no consigo instalar el berriyoutub gallery.zip. Lo he subido a mi servidor pero entro dentro de la administración del blog y en plugins no me aparece la opción de berriyoutubegallery. Hay algo seguro que estoy haciendo mal pero no consigo saber qué es. Si me puedes ayudar me harías un GRAN favor.
    Gracias
    Carla

  7. admin

    #robyrobot: Hi. This gallery is not a normal plugin, it is a widget. You must go to Presentation->Widgets. There, place the widget into our sidebar. Here is more information about widgets:
    http://automattic.com/code/widgets/

    #carla: hola, ¿puedes decirme qué es exactamente lo que estás subiendo al servidor (qué archivos o directorios), y a que directorio los estás subiendo? así seguro encontramos la solución ;)

  8. lance

    hi, when i try to add a video to the widget, it seems that save the changes in option-lightbox, but nothing is saved…
    i set the write permission like it is definied but i can’t get it works…
    any suggestion?

    thanks,

  9. Levois

    Is there a limit to how many videos I can post into a gallery. I seems if I post more than 4 I get some configuration problems.

  10. Aaron

    Hello,
    Great plugin! Worked fine for me when I installed on one site, but now receiving an error message when I add a video (on a new install on another site). Here’s the message. Warning: Cannot modify header information - headers already sent by (output started at /home/youfedup/public_html/wp-admin/admin-header.php:16) in /home/youfedup/public_html/wp-content/plugins/berri-youtube-gallery/berri-youtube-gallery.php on line 218

    Warning: imagejpeg() [function.imagejpeg]: Unable to open ‘../wp-content/plugins/berri-youtube-gallery/images/vknPM_6rtt4.jpg’ for writing in /home/youfedup/public_html/wp-content/plugins/berri-youtube-gallery/berri-youtube-gallery.php on line 219

    Warning: Cannot modify header information - headers already sent by (output started at /home/youfedup/public_html/wp-admin/admin-header.php:16) in /home/youfedup/public_html/wp-content/plugins/berri-youtube-gallery/berri-youtube-gallery.php on line 218

    Warning: imagejpeg() [function.imagejpeg]: Unable to open ‘../wp-content/plugins/berri-youtube-gallery/images/vknPM_6rtt4.jpg’ for writing in /home/youfedup/public_html/wp-content/plugins/berri-youtube-gallery/berri-youtube-gallery.php on line 219
    Any ideas?

  11. Joel

    I cannot get the video to work. I keep getting a link with the title name. How do I write the permissions also? I am new to this.

    Thanks,
    Joel

  12. Samuel

    Como le hago para que el gd me cree las miniaturas de un tamaño especifico, pq si lo defino en el template se me hace fea la imagen, se pixela.

  13. Mihai

    The plugin is very good but it would be better if the links would have a target=”blank” in them :)

  14. Alex

    Hi,

    I can’t get the thumbnails to show up. The links and widget show up on my sidebar but the thumbnails come up as question marks. here is the error:

    Warning: imagecreatefromjpeg(): URL file-access is disabled in the server configuration in /home/content/a/l/e/alexdelcourt/html/wordpress/wp-content/plugins/berri-youtube-gallery/berri-youtube-gallery.php on line 200

    Warning: imagecreatefromjpeg(http://img.youtube.com/vi/c6SHsF1n9Qw/1.jpg): failed to open stream: no suitable wrapper could be found in /home/content/a/l/e/alexdelcourt/html/wordpress/wp-content/plugins/berri-youtube-gallery/berri-youtube-gallery.php on line 200
    Error opening http://img.youtube.com/vi/c6SHsF1n9Qw/1.jpg!

    any suggestions? thanks

  15. David B

    Nice widget but where do users stand in regards to presenting video thumbnails without doing it through the API, is this acceptable to Youtube?

  16. fondip

    Come on! this plugin is very useful.
    thanks for this project but you have to improve this plugin :P

  17. guzzettg

    Very nice and working good, with a small problem. I cannot get rid of something that is automatically added to the title.

    I want to write ‘Aldo Giovanni e Giacomo’, but this is what comes out in Internet explorer:

    Aldo Giovanni e Giacomo http://guzzettg.awardspace.com/wordpress/wp-content/plugins/berri-youtube-gallery/images/dyTjH3UK9qI.jpg

    This is the result in Firefox:

    Aldo Giovanni e Giacomo http://guzzettg.awardspace.c

    Am I doing something wrong? How can I correct it?

  18. fatih

    very nice.
    i use this on http//www.fondip.net
    there is no problem..

  19. Casitecenter

    thanks for shearing your script with GNU world.I have the best wishes for your

  20. artberri

    @lance: have you got the GD library installed?

    @Levois: I hasn’t video limit, so I’ll search for a bug.

    @Aaron: You have to turn off the php errors. On your htaccess, write: “php_flag display errors off”

    @Joel: With your FTP client, you can set the premissions. Probably with clicking right button and “properties”

    @Samuel: El tamaño de las miniaturas es fijo. Cuando haga una nueva versión intentaré que sea personalizable. Ahora mismo la manera sería cambiándolo en el código del plugin.

    @Mihai: I don’t like the “target=_blank”, I hate it ;)

    @Alex: Your hosting has to put the allow_url_fopen option enabled before using this plugin.

    @David B: Yes, because you host your own thumbnails.

    I’m sorry because I answer you so late (and because of my bad english). I’ll try to do it sooner next time.

    Thanks you all, I’m very happy with your greatings.

  21. deborah

    hi!
    I just did everything you have wrote there… i gave to the images directory permission… but the widget is still missing…
    i’m using WP 2.5…
    TNX…
    cheers…

  22. TheFrankFactor

    I don’t want people to be thrown out of my site by your refusal to include target_blank. Sorry.

  23. artberri

    @deborah: I’ll check the compability with WP2.5 soon, if i find a mistake I’ll contact you.

    @TheFrankFactor: The people only will be thrown out of your site if they want. If you put target=”_blank” you will force the user to open a new tab or window, if you don’t you allow user to do it. Don’t force users to do nothing or they will be really thrown out of your site forever.

Deja un comentario