Youtube Channel Gallery - Version 1.7.9

Version Description

  • Changed the max-results parameter to 50 to allow the maximum display value of a single request. The plugin will not show more than 50 videos at least until version 2
Download this release

Release Info

Developer javitxu123
Plugin Icon 128x128 Youtube Channel Gallery
Version 1.7.9
Comparing to
See all releases

Code changes from version 1.7.8 to 1.7.9

img/play.png DELETED
Binary file
languages/youtube-channel-gallery-es_ES.mo DELETED
Binary file
languages/youtube-channel-gallery-es_ES.po DELETED
@@ -1,323 +0,0 @@
1
- # Spanish translation for duplicate-post
2
- # Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010
3
- # This file is distributed under the same license as the duplicate-post package.
4
- # FIRST AUTHOR <EMAIL@ADDRESS>, 2010.
5
- #
6
- msgid ""
7
- msgstr ""
8
- "Project-Id-Version: youtube-channel-gallery\n"
9
- "Report-Msgid-Bugs-To: \n"
10
- "POT-Creation-Date: 2013-01-08 16:50+0100\n"
11
- "PO-Revision-Date: 2013-01-08 16:51+0100\n"
12
- "Last-Translator: Javier <javierpose@gmail.com>\n"
13
- "Language-Team: PoseLab <javierpose@gmail.com>\n"
14
- "MIME-Version: 1.0\n"
15
- "Content-Type: text/plain; charset=UTF-8\n"
16
- "Content-Transfer-Encoding: 8bit\n"
17
- "X-Launchpad-Export-Date: 2010-06-23 21:48+0000\n"
18
- "X-Generator: Launchpad (build Unknown)\n"
19
- "X-Poedit-Basepath: ..\n"
20
- "X-Poedit-Language: Spanish\n"
21
- "X-Poedit-Country: SPAIN\n"
22
- "X-Poedit-KeywordsList: _e;__\n"
23
- "X-Poedit-SourceCharset: utf-8\n"
24
- "X-Poedit-SearchPath-0: .\n"
25
-
26
- #: youtube-channel-gallery.php:48
27
- msgid "Youtube Channel Gallery"
28
- msgstr "Galería de Canal de Youtube"
29
-
30
- #: youtube-channel-gallery.php:49
31
- msgid "Show a youtube video and a gallery of thumbnails for a youtube channel"
32
- msgstr "Muestra un vídeo y una galería de miniaturas de una canal de Youtube "
33
-
34
- #: youtube-channel-gallery.php:155
35
- msgid "Title:"
36
- msgstr "Título:"
37
-
38
- #: youtube-channel-gallery.php:263
39
- #: youtube-channel-gallery.php:267
40
- #: youtube-channel-gallery.php:307
41
- msgid "YouTube user id:"
42
- msgstr "Id de usuario de Youtube:"
43
-
44
- #: youtube-channel-gallery.php:270
45
- msgid "YouTube playlist id:"
46
- msgstr "Id de lista de reproducción de YouTube:"
47
-
48
- #: youtube-channel-gallery.php:282
49
- msgid "Feed"
50
- msgstr "Feed"
51
-
52
- #: youtube-channel-gallery.php:283
53
- msgid "Player"
54
- msgstr "Reproductor"
55
-
56
- #: youtube-channel-gallery.php:284
57
- msgid "Thumbnails"
58
- msgstr "Miniaturas"
59
-
60
- #: youtube-channel-gallery.php:285
61
- msgid "Link"
62
- msgstr "Enlace"
63
-
64
- #: youtube-channel-gallery.php:298
65
- msgid "Video feed type:"
66
- msgstr "Tipo de feed de vídeo:"
67
-
68
- #: youtube-channel-gallery.php:300
69
- msgid "Uploaded by a user"
70
- msgstr "Subidos por el usuario"
71
-
72
- #: youtube-channel-gallery.php:302
73
- msgid "Playlist"
74
- msgstr "Lista de reproducción"
75
-
76
- #: youtube-channel-gallery.php:312
77
- msgid "Playlist order:"
78
- msgstr "Orden de lista de reproducción:"
79
-
80
- #: youtube-channel-gallery.php:314
81
- msgid "Ascending Order"
82
- msgstr "Ascendente"
83
-
84
- #: youtube-channel-gallery.php:315
85
- msgid "Descending Order"
86
- msgstr "Descendente"
87
-
88
- #: youtube-channel-gallery.php:331
89
- msgid "Video width:"
90
- msgstr "Ancho del vídeo:"
91
-
92
- #: youtube-channel-gallery.php:336
93
- #: youtube-channel-gallery.php:407
94
- msgid "Aspect ratio:"
95
- msgstr "Relación de aspecto:"
96
-
97
- #: youtube-channel-gallery.php:338
98
- #: youtube-channel-gallery.php:409
99
- msgid "Standard (4x3)"
100
- msgstr "Estándar (4x3)"
101
-
102
- #: youtube-channel-gallery.php:339
103
- #: youtube-channel-gallery.php:410
104
- msgid "Widescreen (16x9)"
105
- msgstr "Panorámico (16x9)"
106
-
107
- #: youtube-channel-gallery.php:344
108
- msgid "Theme:"
109
- msgstr "Tema:"
110
-
111
- #: youtube-channel-gallery.php:346
112
- msgid "Dark"
113
- msgstr "Oscuro"
114
-
115
- #: youtube-channel-gallery.php:347
116
- msgid "Light"
117
- msgstr "Claro"
118
-
119
- #: youtube-channel-gallery.php:352
120
- msgid "Progress bar color:"
121
- msgstr "Color de barra de progreso:"
122
-
123
- #: youtube-channel-gallery.php:354
124
- msgid "Red"
125
- msgstr "Rojo"
126
-
127
- #: youtube-channel-gallery.php:355
128
- msgid "White"
129
- msgstr "Blanco"
130
-
131
- #: youtube-channel-gallery.php:360
132
- msgid "Video quality:"
133
- msgstr "Calidad del vídeo:"
134
-
135
- #: youtube-channel-gallery.php:362
136
- msgid "default"
137
- msgstr "por defecto"
138
-
139
- #: youtube-channel-gallery.php:363
140
- msgid "highres"
141
- msgstr "alta resolución"
142
-
143
- #: youtube-channel-gallery.php:364
144
- msgid "hd1080"
145
- msgstr "hd1080"
146
-
147
- #: youtube-channel-gallery.php:365
148
- msgid "hd720"
149
- msgstr "hd720"
150
-
151
- #: youtube-channel-gallery.php:366
152
- msgid "large"
153
- msgstr "largo"
154
-
155
- #: youtube-channel-gallery.php:367
156
- msgid "medium"
157
- msgstr "mediano"
158
-
159
- #: youtube-channel-gallery.php:368
160
- msgid "small"
161
- msgstr "pequeño"
162
-
163
- #: youtube-channel-gallery.php:373
164
- msgid "Autoplay"
165
- msgstr "Autoplay"
166
-
167
- #: youtube-channel-gallery.php:378
168
- msgid "Show related videos"
169
- msgstr "Mostrar los vídeos relacionados"
170
-
171
- #: youtube-channel-gallery.php:383
172
- msgid "Show info (title, uploader)"
173
- msgstr "Mostrar información (título, cargador)"
174
-
175
- #: youtube-channel-gallery.php:396
176
- msgid "Number of videos to show:"
177
- msgstr "Número de vídeos a mostrar:"
178
-
179
- #: youtube-channel-gallery.php:401
180
- msgid "Thumbnail width:"
181
- msgstr "Ancho de miniaturas:"
182
-
183
- #: youtube-channel-gallery.php:415
184
- msgid "Thumbnail columns:"
185
- msgstr "Columnas de las miniaturas:"
186
-
187
- #: youtube-channel-gallery.php:422
188
- msgid "Show title or description"
189
- msgstr "Mostrar título y descripción"
190
-
191
- #: youtube-channel-gallery.php:429
192
- msgid "Show title"
193
- msgstr "Mostrar Título"
194
-
195
- #: youtube-channel-gallery.php:434
196
- msgid "Show description"
197
- msgstr "Mostrar descripción"
198
-
199
- #: youtube-channel-gallery.php:438
200
- msgid "Thumbnail alignment:"
201
- msgstr "Alineación de miniaturas:"
202
-
203
- #: youtube-channel-gallery.php:440
204
- msgid "Left"
205
- msgstr "Izquierda"
206
-
207
- #: youtube-channel-gallery.php:441
208
- msgid "Right"
209
- msgstr "Derecha"
210
-
211
- #: youtube-channel-gallery.php:442
212
- msgid "Top"
213
- msgstr "Arriba"
214
-
215
- #: youtube-channel-gallery.php:443
216
- msgid "Bottom"
217
- msgstr "Abajo"
218
-
219
- #: youtube-channel-gallery.php:448
220
- msgid "Description words number:"
221
- msgstr "Número de palabras en la descripción:"
222
-
223
- #: youtube-channel-gallery.php:469
224
- msgid "Link text:"
225
- msgstr "Texto del enlace"
226
-
227
- #: youtube-channel-gallery.php:475
228
- msgid "Show link to channel"
229
- msgstr "Mostrar enlace al canal"
230
-
231
- #: youtube-channel-gallery.php:480
232
- msgid "Open in a new window or tab"
233
- msgstr "Abri en una ventana nueva o pestaña"
234
-
235
- #: youtube-channel-gallery.php:564
236
- msgid "Show more videos»"
237
- msgstr "Ver más vídeos»"
238
-
239
- #: youtube-channel-gallery.php:598
240
- #: youtube-channel-gallery.php:603
241
- msgid "You must insert a valid YouTube user id."
242
- msgstr "Debes introducir un id válido de usuario de YouTube."
243
-
244
- #: youtube-channel-gallery.php:609
245
- msgid "You must insert a valid playlist id."
246
- msgstr "Debes introducir un id válido de lista de reproducción de YouTube."
247
-
248
- #: youtube-channel-gallery.php:819
249
- msgid "There is no video to show."
250
- msgstr "No hay ningún vídeo para mostrar."
251
-
252
- #~ msgid "User's favorites"
253
- #~ msgstr "Favoritos del usuario"
254
- #~ msgid "Light:"
255
- #~ msgstr "Claro"
256
- #~ msgid "No post to duplicate has been supplied!"
257
- #~ msgstr "No se facilitó ninguna entrada a copiar"
258
- #~ msgid "Post creation failed, could not find original post:"
259
- #~ msgstr ""
260
- #~ "Creación realizada sin éxito, no ha sido posible encontrar la entrada "
261
- #~ "original:"
262
- #~ msgid "No page to duplicate has been supplied!"
263
- #~ msgstr "No se facilitó ninguna página a copiar"
264
- #~ msgid "Make a duplicate from this post"
265
- #~ msgstr "Crea una copia de esta entrada"
266
- #~ msgid "Duplicate"
267
- #~ msgstr "Duplicar"
268
- #~ msgid "Make a duplicate from this page"
269
- #~ msgstr "Crea una copia de esta página"
270
- #~ msgid "Copy to a new draft"
271
- #~ msgstr "Copia en un borrador nuevo"
272
- #~ msgid "Duplicate Post Options"
273
- #~ msgstr "Opciones"
274
- #~ msgid "Duplicate Post"
275
- #~ msgstr "Duplicate Post"
276
- #~ msgid "Copy post/page date also"
277
- #~ msgstr "Copiar también fecha del post o la página"
278
- #~ msgid ""
279
- #~ "Normally, the new draft has publication date set to current time: check "
280
- #~ "the box to copy the original post/page date"
281
- #~ msgstr ""
282
- #~ "Normalmente se establece la fecha de publicación del nuevo borrador a la "
283
- #~ "fecha actual: compruebe la casilla para copiar la fecha original del post "
284
- #~ "o la página"
285
- #~ msgid "Do not copy these fields"
286
- #~ msgstr "No copiar estos campos"
287
- #~ msgid ""
288
- #~ "Comma-separated list of meta fields that must not be copied when cloning "
289
- #~ "a post/page"
290
- #~ msgstr ""
291
- #~ "Lista separada por comas de meta campos que no pueden ser copiados cuando "
292
- #~ "se clona una entrada/pagina."
293
- #~ msgid "Title prefix"
294
- #~ msgstr "Prefijo del titulo"
295
- #~ msgid ""
296
- #~ "Prefix to be added before the original title when cloning a post/page, e."
297
- #~ "g. \"Copy of\" (blank for no prefix)"
298
- #~ msgstr ""
299
- #~ "Prefijo a ser agregado antes del titulo original cuando se clona una "
300
- #~ "entrada/pagina, ej. \"Copia de\" (en blanco para no agregar prefijo)"
301
- #~ msgid "Minimum level to copy posts"
302
- #~ msgstr "Nivel mínimo para copiar posts"
303
- #~ msgid ""
304
- #~ "Warning: users will be able to copy all posts, even those of higher level "
305
- #~ "users"
306
- #~ msgstr ""
307
- #~ "Atención: los usuarios podrán copiar todos los posts, incluso aquellos de "
308
- #~ "usuarios de nivel más alto"
309
- #~ msgid "Save Changes"
310
- #~ msgstr "Guardar los cambios"
311
- #~ msgid "Donate"
312
- #~ msgstr "Hacer una donación"
313
- #~ msgid "Translate"
314
- #~ msgstr "Traducir"
315
- #~ msgid "http://www.lopo.it/duplicate-post-plugin/"
316
- #~ msgstr "Copy text \t http://www.lopo.it/duplicate-post-plugin/"
317
- #~ msgid "Creates a copy of a post."
318
- #~ msgstr "Crear una copia de las entradas."
319
- #~ msgid "Enrico Battocchi"
320
- #~ msgstr "Enrico Battocchi"
321
- #~ msgid "http://www.lopo.it"
322
- #~ msgstr "http://www.lopo.it"
323
-
readme.txt CHANGED
@@ -4,26 +4,27 @@ Donate link: http://poselab.com/
4
Tags: widget, gallery, youtube, channel, user, sidebar, video, youtube playlist, html5, iframe, Youtube channel, youtube videos
5
Requires at least: 2.8
6
Tested up to: 3.4.1
7
- Stable tag: 1.7.8
8
License: GPLv2 or later
9
License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
11
- Show a YouTube video and a gallery of thumbnails for a youtube channel.
12
13
== Description ==
14
15
- Show a youtube video and a gallery of thumbnails for a youtube user channel.
16
17
18
= Demo: =
19
You can see a demo of the plugin in the following URLs:
20
21
- * [Widget Demo](http://poselab.com/youtube-channel-gallery)
22
- * [Demo only with thumbnails](http://poselab.com/youtube-channel-gallery-demo-solo-con-miniaturas)
23
- * [Demo with title and description and thumbnail at top](http://poselab.com/youtube-channel-gallery-demo-con-titulo-y-descripcion-y-miniatura-arriba)
24
- * [Demo with title and thumbnail at top](http://poselab.com/youtube-channel-gallery-demo-con-titulo-y-miniatura-arriba)
25
- * [Demo with title and description and thumbnail on the left](http://poselab.com/youtube-channel-gallery-demo-con-titulo-y-descripcion-y-miniatura-a-la-izquierda)
26
- * [Demo with title and thumbnail at bottom](http://poselab.com/youtube-channel-gallery-demo-con-titulo-y-miniatura-abajo)
27
28
29
= Features: =
@@ -70,7 +71,7 @@ Description of the different fields of the plugin:
70
**Link tab:**
71
72
* **Link text:** field to customize the text of the link to the gallery on YouTube. Shortcode attribute: link_tx; value: String. (Optional).
73
- * **Show link to channel:** option to display a link to the youtube user channel. Shortcode attribute: link; values: 0 (default) or 1. (Optional).
74
* **Open in a new window or tab:** option to open the link to YouTube in a new window or tab . Shortcode attribute: link_window; values: 0 (default) or 1. (Optional).
75
76
@@ -123,6 +124,9 @@ This will happen if your playlist has more than 1000 videos because YouTube API
123
124
== Changelog ==
125
126
= 1.7.8 =
127
* Fixed scroll to player script.
128
* CSS improvements.
4
Tags: widget, gallery, youtube, channel, user, sidebar, video, youtube playlist, html5, iframe, Youtube channel, youtube videos
5
Requires at least: 2.8
6
Tested up to: 3.4.1
7
+ Stable tag: 1.7.9
8
License: GPLv2 or later
9
License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
11
+ Show a YouTube video and a gallery of thumbnails for a YouTube channel.
12
13
== Description ==
14
15
+ Show a YouTube video and a gallery of thumbnails for a YouTube user channel.
16
17
18
= Demo: =
19
You can see a demo of the plugin in the following URLs:
20
21
+ * [Widget Demo](http://poselab.com/en/youtube-channel-gallery/) | [ES](http://poselab.com/youtube-channel-gallery)
22
+ * [Demo only with thumbnails](http://poselab.com/en/youtube-channel-gallery-demo-only-with-thumbnails/) | [ES](http://poselab.com/youtube-channel-gallery-demo-solo-con-miniaturas)
23
+ * [Demo with title and description and thumbnail at top](http://poselab.com/en/youtube-channel-gallery-demo-with-the-title-description-and-thumbnail-shown-at-the-top/) | [ES](http://poselab.com/youtube-channel-gallery-demo-con-titulo-y-descripcion-y-miniatura-arriba)
24
+ * [Demo with title and thumbnail at top](http://poselab.com/en/youtube-channel-gallery-demo-with-the-title-and-thumbnail-at-the-top/) | [Demo with title and thumbnail at top](http://poselab.com/youtube-channel-gallery-demo-con-titulo-y-miniatura-arriba)
25
+ * [Demo with title and description and thumbnail on the left](http://poselab.com/en/youtube-channel-gallery-demo-with-title-description-and-thumbnail-on-the-left/) | [ES](http://poselab.com/youtube-channel-gallery-demo-con-titulo-y-descripcion-y-miniatura-a-la-izquierda)
26
+ * [Demo with title and thumbnail at bottom](http://poselab.com/en/youtube-channel-gallery-demo-with-title-and-thumbnail-at-the-bottom/) | [ES](http://poselab.com/youtube-channel-gallery-demo-con-titulo-y-miniatura-abajo)
27
+ * [Demo with playlist](http://poselab.com/en/youtube-channel-gallery-demo-with-playlist/) | [ES](http://poselab.com/youtube-channel-gallery-demo-con-lista-de-reproduccion/)
28
29
30
= Features: =
71
**Link tab:**
72
73
* **Link text:** field to customize the text of the link to the gallery on YouTube. Shortcode attribute: link_tx; value: String. (Optional).
74
+ * **Show link to channel:** option to display a link to the YouTube user channel. Shortcode attribute: link; values: 0 (default) or 1. (Optional).
75
* **Open in a new window or tab:** option to open the link to YouTube in a new window or tab . Shortcode attribute: link_window; values: 0 (default) or 1. (Optional).
76
77
124
125
== Changelog ==
126
127
+ = 1.7.9 =
128
+ * Changed the max-results parameter to 50 to allow the maximum display value of a single request. The plugin will not show more than 50 videos at least until version 2
129
+
130
= 1.7.8 =
131
* Fixed scroll to player script.
132
* CSS improvements.
youtube-channel-gallery.php CHANGED
@@ -5,7 +5,7 @@
5
Description: Show a youtube video and a gallery of thumbnails for a youtube channel.
6
Author: Javier Gómez Pose
7
Author URI: http://www.poselab.com/
8
- Version: 1.7.8
9
License: GPL2
10
11
Copyright 2013 Javier Gómez Pose (email : javierpose@gmail.com)
@@ -593,7 +593,7 @@
593
$youtube_feed_url = 'http://gdata.youtube.com/feeds/api';
594
// links
595
if($ytchag_feed == 'user'){
596
- $ytchag_rss_url = $youtube_feed_url . '/users/' . $ytchag_user . '/uploads';
597
$ytchag_link_url = 'http://www.youtube.com/user/' . $ytchag_user;
598
$errorMesagge = __('You must insert a valid YouTube user id.', 'youtube-channel-gallery');
599
}
@@ -603,7 +603,7 @@
603
$errorMesagge = __('You must insert a valid YouTube user id.', 'youtube-channel-gallery');
604
}
605
if($ytchag_feed == 'playlist'){
606
- $ytchag_rss_url = $youtube_feed_url . '/playlists/' . $ytchag_user . '?v=2&prettyprint=true';//&prettyprint=true
607
//print_r($ytchag_rss_url . '<br>');
608
$ytchag_link_url = 'http://www.youtube.com/playlist?list=' . $ytchag_user;
609
$errorMesagge = __('You must insert a valid playlist id.', 'youtube-channel-gallery');
5
Description: Show a youtube video and a gallery of thumbnails for a youtube channel.
6
Author: Javier Gómez Pose
7
Author URI: http://www.poselab.com/
8
+ Version: 1.7.9
9
License: GPL2
10
11
Copyright 2013 Javier Gómez Pose (email : javierpose@gmail.com)
593
$youtube_feed_url = 'http://gdata.youtube.com/feeds/api';
594
// links
595
if($ytchag_feed == 'user'){
596
+ $ytchag_rss_url = $youtube_feed_url . '/users/' . $ytchag_user . '/uploads?max-results=50';
597
$ytchag_link_url = 'http://www.youtube.com/user/' . $ytchag_user;
598
$errorMesagge = __('You must insert a valid YouTube user id.', 'youtube-channel-gallery');
599
}
603
$errorMesagge = __('You must insert a valid YouTube user id.', 'youtube-channel-gallery');
604
}
605
if($ytchag_feed == 'playlist'){
606
+ $ytchag_rss_url = $youtube_feed_url . '/playlists/' . $ytchag_user . '?v=2&max-results=50';//&prettyprint=true
607
//print_r($ytchag_rss_url . '<br>');
608
$ytchag_link_url = 'http://www.youtube.com/playlist?list=' . $ytchag_user;
609
$errorMesagge = __('You must insert a valid playlist id.', 'youtube-channel-gallery');