Youtube Channel Gallery - Version 2.3.2

Version Description

  • Deleted file_get_contents function for avoid error in some hostings.
  • Added Norwegian bokml (nb_NO).
Download this release

Release Info

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

Code changes from version 2.3 to 2.3.2

languages/youtube-channel-gallery-nb_NO.MO ADDED
Binary file
languages/youtube-channel-gallery-nb_NO.PO ADDED
@@ -0,0 +1,585 @@
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: 2015-06-05 10:40+0100\n"
11
+ "PO-Revision-Date: 2015-07-30 12:35+0200\n"
12
+ "Last-Translator: Harald Fjogstad <post@thefjogstad.no>\n"
13
+ "Language-Team: Diego <diego.franca@lojainterativa.com>\n"
14
+ "Language: nb_NO\n"
15
+ "MIME-Version: 1.0\n"
16
+ "Content-Type: text/plain; charset=UTF-8\n"
17
+ "Content-Transfer-Encoding: 8bit\n"
18
+ "X-Launchpad-Export-Date: 2010-06-23 21:48+0000\n"
19
+ "X-Generator: Poedit 1.8.2\n"
20
+ "X-Poedit-Basepath: ..\n"
21
+ "X-Poedit-KeywordsList: _e;__\n"
22
+ "X-Poedit-SourceCharset: UTF-8\n"
23
+ "Plural-Forms: nplurals=2; plural=(n > 1);\n"
24
+ "X-Poedit-SearchPath-0: .\n"
25
+
26
+ #: templates/admin_tabs.php:3 templates/admin_tabs.php:321
27
+ msgid "Title:"
28
+ msgstr "Tittel:"
29
+
30
+ #: templates/admin_tabs.php:9
31
+ msgid "Feed"
32
+ msgstr "Nyhetstrøm"
33
+
34
+ #: templates/admin_tabs.php:10
35
+ msgid "Player"
36
+ msgstr "Spiller"
37
+
38
+ #: templates/admin_tabs.php:11
39
+ msgid "Search"
40
+ msgstr "Søk"
41
+
42
+ #: templates/admin_tabs.php:12
43
+ msgid "Thumbnails"
44
+ msgstr "Vis miniatyrbilder"
45
+
46
+ #: templates/admin_tabs.php:13
47
+ msgid "Link"
48
+ msgstr "Link"
49
+
50
+ #: templates/admin_tabs.php:26
51
+ msgid "YouTube API Key:"
52
+ msgstr "YouTube API Key:"
53
+
54
+ #: templates/admin_tabs.php:28
55
+ msgid "Get your own YouTube API Key and put here."
56
+ msgstr "Få din egen YouTube API Key og satt her."
57
+
58
+ #: templates/admin_tabs.php:32
59
+ msgid "Video feed type:"
60
+ msgstr "Video feed type:"
61
+
62
+ #: templates/admin_tabs.php:34
63
+ msgid "Uploaded by a user"
64
+ msgstr "Lastet opp av en bruker"
65
+
66
+ #: templates/admin_tabs.php:36
67
+ msgid "Playlist"
68
+ msgstr "Spilleliste"
69
+
70
+ #: templates/admin_tabs.php:41
71
+ msgid "YouTube user id:"
72
+ msgstr "YouTube-bruker id:"
73
+
74
+ #: templates/admin_tabs.php:42
75
+ msgid "YouTube playlist id:"
76
+ msgstr "YouTube-spilleliste id:"
77
+
78
+ #: templates/admin_tabs.php:48
79
+ msgid "Playlist order:"
80
+ msgstr "Spilleliste sortering:"
81
+
82
+ #: templates/admin_tabs.php:50
83
+ msgid "Ascending Order"
84
+ msgstr "Stigende rekkefølge"
85
+
86
+ #: templates/admin_tabs.php:51
87
+ msgid "Descending Order"
88
+ msgstr "Spilleliste sortering:"
89
+
90
+ #: templates/admin_tabs.php:56
91
+ msgid "Cache time (hours):"
92
+ msgstr "Cache tid (timer):"
93
+
94
+ #: templates/admin_tabs.php:58
95
+ msgid ""
96
+ "Hours that RSS data is saved in database, to not make a request every time "
97
+ "the page is displayed. Assign this value according to how often you upgrade "
98
+ "your playlist in YouTube."
99
+ msgstr ""
100
+
101
+ #: templates/admin_tabs.php:63
102
+ msgid "Activate cache"
103
+ msgstr "Aktiver cache"
104
+
105
+ #: templates/admin_tabs.php:64
106
+ msgid ""
107
+ "If you disable this field the cache will be deleted and will not be used. "
108
+ "This is useful to refresh immediately the YouTube RSS used by the plugin. "
109
+ "Reenable the cache when the gallery shows the changes you made in your "
110
+ "youtube account."
111
+ msgstr ""
112
+
113
+ #: templates/admin_tabs.php:79
114
+ msgid "Player:"
115
+ msgstr "Spiller:"
116
+
117
+ #: templates/admin_tabs.php:81
118
+ msgid "Without player"
119
+ msgstr "Uten spiller"
120
+
121
+ #: templates/admin_tabs.php:82
122
+ msgid "show player above thumbnails"
123
+ msgstr "Vis spiller over miniatyrbilde"
124
+
125
+ #: templates/admin_tabs.php:83
126
+ msgid "show player in Magnific Popup"
127
+ msgstr "vis spiller i Magnific Popup"
128
+
129
+ #: templates/admin_tabs.php:89
130
+ msgid "Width:"
131
+ msgstr "Bredde:"
132
+
133
+ #: templates/admin_tabs.php:92
134
+ msgid "%"
135
+ msgstr "%"
136
+
137
+ #: templates/admin_tabs.php:93
138
+ msgid "px"
139
+ msgstr "px"
140
+
141
+ #: templates/admin_tabs.php:97 templates/admin_tabs.php:232
142
+ msgid "Aspect ratio:"
143
+ msgstr "Oppløsning"
144
+
145
+ #: templates/admin_tabs.php:99 templates/admin_tabs.php:234
146
+ msgid "Standard (4x3)"
147
+ msgstr "Standard (4x3)"
148
+
149
+ #: templates/admin_tabs.php:100 templates/admin_tabs.php:235
150
+ msgid "Widescreen (16x9)"
151
+ msgstr "Widescreen (16x9)"
152
+
153
+ #: templates/admin_tabs.php:105
154
+ msgid "Theme:"
155
+ msgstr "Tema:"
156
+
157
+ #: templates/admin_tabs.php:107
158
+ msgid "Dark"
159
+ msgstr "Mørk"
160
+
161
+ #: templates/admin_tabs.php:108
162
+ msgid "Light"
163
+ msgstr "Lys"
164
+
165
+ #: templates/admin_tabs.php:113
166
+ msgid "Progress bar color:"
167
+ msgstr "Progress bar farge:"
168
+
169
+ #: templates/admin_tabs.php:115
170
+ msgid "Red"
171
+ msgstr "Rød"
172
+
173
+ #: templates/admin_tabs.php:116
174
+ msgid "White"
175
+ msgstr "Hvit"
176
+
177
+ #: templates/admin_tabs.php:121
178
+ msgid "Video quality:"
179
+ msgstr "Video kvalitet:"
180
+
181
+ #: templates/admin_tabs.php:123
182
+ msgid "default"
183
+ msgstr "standard"
184
+
185
+ #: templates/admin_tabs.php:124
186
+ msgid "highres"
187
+ msgstr "highres"
188
+
189
+ #: templates/admin_tabs.php:125
190
+ msgid "hd1080"
191
+ msgstr "hd1080"
192
+
193
+ #: templates/admin_tabs.php:126
194
+ msgid "hd720"
195
+ msgstr "hd720"
196
+
197
+ #: templates/admin_tabs.php:127
198
+ msgid "large"
199
+ msgstr "stor"
200
+
201
+ #: templates/admin_tabs.php:128
202
+ msgid "medium"
203
+ msgstr "medium"
204
+
205
+ #: templates/admin_tabs.php:129
206
+ msgid "small"
207
+ msgstr "liten"
208
+
209
+ #: templates/admin_tabs.php:131
210
+ msgid ""
211
+ "Default value enables YouTube to select the most appropriate playback "
212
+ "quality. If you select a quality level that is not available for the video, "
213
+ "then the quality will be set to the next lowest level that is available."
214
+ msgstr ""
215
+
216
+ #: templates/admin_tabs.php:135
217
+ msgid "Autoplay"
218
+ msgstr "Autospill"
219
+
220
+ #: templates/admin_tabs.php:140
221
+ msgid "Show YouTube logo"
222
+ msgstr "Vis YouTube logo"
223
+
224
+ #: templates/admin_tabs.php:141
225
+ msgid ""
226
+ "Activate this field to show the YouTube logo in the control bar. Setting the "
227
+ "color parameter to white will show the YouTube logo in the control bar."
228
+ msgstr ""
229
+
230
+ #: templates/admin_tabs.php:146
231
+ msgid "Show related videos"
232
+ msgstr "Vis relaterte videoer"
233
+
234
+ #: templates/admin_tabs.php:147
235
+ msgid ""
236
+ "Activate this field to show related videos when playback of the video ends."
237
+ msgstr ""
238
+
239
+ #: templates/admin_tabs.php:152
240
+ msgid "Show info"
241
+ msgstr "Vis info"
242
+
243
+ #: templates/admin_tabs.php:153
244
+ msgid ""
245
+ "Activate this field to display information like the video title and uploader "
246
+ "before the video starts playing."
247
+ msgstr ""
248
+
249
+ #: templates/admin_tabs.php:155 templates/admin_tabs.php:207
250
+ #: templates/admin_tabs.php:317 templates/admin_tabs.php:328
251
+ #: templates/admin_tabs.php:365
252
+ msgid "Order:"
253
+ msgstr "Sortering:"
254
+
255
+ #: templates/admin_tabs.php:172
256
+ msgid "Search input text:"
257
+ msgstr "Angi tekst å søke:"
258
+
259
+ #: templates/admin_tabs.php:176
260
+ msgid "Restrict search to (# separated):"
261
+ msgstr "Begrens søket til (# separated):"
262
+
263
+ #: templates/admin_tabs.php:180
264
+ msgid "You must assing this tags to your videos to restrict the search:"
265
+ msgstr ""
266
+
267
+ #: templates/admin_tabs.php:189
268
+ msgid "Restrict search by default: It will overwrite results of feed tab)"
269
+ msgstr ""
270
+
271
+ #: templates/admin_tabs.php:191 templates/search.php:10
272
+ msgid "None"
273
+ msgstr "Ingen"
274
+
275
+ #: templates/admin_tabs.php:199
276
+ msgid "Show search box"
277
+ msgstr "Vis søkeboks"
278
+
279
+ #: templates/admin_tabs.php:203
280
+ msgid "Show select with Playlists"
281
+ msgstr "Vis valg med spillelister"
282
+
283
+ #: templates/admin_tabs.php:219
284
+ msgid "Number of videos to show:"
285
+ msgstr "Antall videoer å vise"
286
+
287
+ #: templates/admin_tabs.php:221
288
+ msgid ""
289
+ "The plugin can display a maximum of 50 videos. This limitation will change in "
290
+ "a future release."
291
+ msgstr ""
292
+
293
+ #: templates/admin_tabs.php:225
294
+ msgid "Thumbnail width:"
295
+ msgstr "Miniatyrbilde bredde:"
296
+
297
+ #: templates/admin_tabs.php:227
298
+ msgid ""
299
+ "This field is used to assign the appropriate quality of thumbnail images in "
300
+ "top and bottom alignments and to assign width to thumbnails in left and right "
301
+ "alignments. If the quality of thumbnail images is not enough, insert a larger "
302
+ "value. If you are unsure you can assign one of the following values​​: 120, "
303
+ "320, 480 or 640"
304
+ msgstr ""
305
+
306
+ #: templates/admin_tabs.php:240
307
+ msgid "Thumbnail columns:"
308
+ msgstr ":"
309
+
310
+ #: templates/admin_tabs.php:242
311
+ msgid "Phones:"
312
+ msgstr "Telefoner:"
313
+
314
+ #: templates/admin_tabs.php:244
315
+ msgid "Tablets:"
316
+ msgstr "Nettbrett:"
317
+
318
+ #: templates/admin_tabs.php:247
319
+ msgid "Medium Desktops:"
320
+ msgstr "Mellomstore skjermer"
321
+
322
+ #: templates/admin_tabs.php:249
323
+ msgid "Large Desktops:"
324
+ msgstr "Store skjermer"
325
+
326
+ #: templates/admin_tabs.php:258
327
+ msgid "Show title or description"
328
+ msgstr "Vis tittel eller beskrivelse"
329
+
330
+ #: templates/admin_tabs.php:265
331
+ msgid "Show title"
332
+ msgstr "Vis tittel"
333
+
334
+ #: templates/admin_tabs.php:270
335
+ msgid "Show description"
336
+ msgstr "Vis beskrivelse"
337
+
338
+ #: templates/admin_tabs.php:274
339
+ msgid "Title tag:"
340
+ msgstr "Tittel tag:"
341
+
342
+ #: templates/admin_tabs.php:276
343
+ msgid "h1"
344
+ msgstr "h1"
345
+
346
+ #: templates/admin_tabs.php:277
347
+ msgid "h2"
348
+ msgstr "h2"
349
+
350
+ #: templates/admin_tabs.php:278
351
+ msgid "h3"
352
+ msgstr "h3"
353
+
354
+ #: templates/admin_tabs.php:279
355
+ msgid "h4"
356
+ msgstr "h4"
357
+
358
+ #: templates/admin_tabs.php:280
359
+ msgid "h5"
360
+ msgstr "h5"
361
+
362
+ #: templates/admin_tabs.php:281
363
+ msgid "h6"
364
+ msgstr "h6"
365
+
366
+ #: templates/admin_tabs.php:286
367
+ msgid "Thumbnail alignment:"
368
+ msgstr "Miniatyrbilde justering:"
369
+
370
+ #: templates/admin_tabs.php:288
371
+ msgid "none"
372
+ msgstr "ingen"
373
+
374
+ #: templates/admin_tabs.php:289
375
+ msgid "Left"
376
+ msgstr "Venstre"
377
+
378
+ #: templates/admin_tabs.php:290
379
+ msgid "Right"
380
+ msgstr "Høyre"
381
+
382
+ #: templates/admin_tabs.php:295
383
+ msgid "Description words number:"
384
+ msgstr "Beskrivelse words nummer:"
385
+
386
+ #: templates/admin_tabs.php:297
387
+ msgid ""
388
+ "Set the maximum number of words that will be displayed of the description. "
389
+ "This field is useful when the descriptions of videos in the gallery have "
390
+ "different sizes."
391
+ msgstr ""
392
+
393
+ #: templates/admin_tabs.php:303
394
+ msgid "Add \"nofollow\" attribute to links"
395
+ msgstr "Legg til \"nofollow\" attributt til linker"
396
+
397
+ #: templates/admin_tabs.php:304
398
+ msgid ""
399
+ "\"nofollow\" attribute provides a way for webmasters to tell search engines "
400
+ "\"Don't follow this specific link.\""
401
+ msgstr ""
402
+
403
+ #: templates/admin_tabs.php:310 templates/admin_tabs.php:355
404
+ msgid "Open in a new window or tab"
405
+ msgstr "Åpne i nytt vindu eller fane"
406
+
407
+ #: templates/admin_tabs.php:315
408
+ msgid "Show pagination"
409
+ msgstr "Vis navigering"
410
+
411
+ #: templates/admin_tabs.php:319
412
+ msgid "Thumbnail:"
413
+ msgstr "Miniatyrbilde:"
414
+
415
+ #: templates/admin_tabs.php:323
416
+ msgid "Description:"
417
+ msgstr "Beskrivelse:"
418
+
419
+ #: templates/admin_tabs.php:344
420
+ msgid "Link text:"
421
+ msgstr "Link tekst:"
422
+
423
+ #: templates/admin_tabs.php:350
424
+ msgid "Show link to channel"
425
+ msgstr "Vis link til kanal"
426
+
427
+ #: templates/admin_tabs.php:360
428
+ msgid "Show link to thank the developer"
429
+ msgstr "Vis link til å takke utvikler"
430
+
431
+ #: templates/link.php:9
432
+ msgid "By PoseLab"
433
+ msgstr "Av PoseLab"
434
+
435
+ #: templates/link.php:18
436
+ msgid "Show more videos"
437
+ msgstr "Vis flere videoer"
438
+
439
+ #: templates/thumbs.php:55
440
+ msgid "«Previous"
441
+ msgstr "«Forrige"
442
+
443
+ #: templates/thumbs.php:64
444
+ msgid "Next»"
445
+ msgstr "Neste»"
446
+
447
+ #: youtube-channel-gallery.php:48
448
+ msgid "Youtube Channel Gallery"
449
+ msgstr "Youtube kanal gallery"
450
+
451
+ #: youtube-channel-gallery.php:50
452
+ msgid "Show a youtube video and a gallery of thumbnails for a youtube channel"
453
+ msgstr ""
454
+
455
+ #: youtube-channel-gallery.php:552
456
+ msgid "Show more videos»"
457
+ msgstr "Vis flere videoer»"
458
+
459
+ #: youtube-channel-gallery.php:561
460
+ msgid "There is no video to show."
461
+ msgstr "Det er ingen video å vise."
462
+
463
+ #: youtube-channel-gallery.php:616
464
+ #, php-format
465
+ msgid ""
466
+ "Message from server: %1$s. Check in YouTube if the id <a href=\"%2$s\" target="
467
+ "\"_blank\">%3$s</a> belongs to a %4$s. To locate the id of your %4$s check "
468
+ "the <a href=\"http://wordpress.org/extend/plugins/youtube-channel-gallery/faq/"
469
+ "\" target=\"_blank\">FAQ</a> of the plugin."
470
+ msgstr ""
471
+
472
+ #~ msgid "Top"
473
+ #~ msgstr "Arriba"
474
+
475
+ #~ msgid "Bottom"
476
+ #~ msgstr "Abajo"
477
+
478
+ #~ msgid "Video width:"
479
+ #~ msgstr "Ancho del vídeo:"
480
+
481
+ #~ msgid "Show info (title, uploader)"
482
+ #~ msgstr "Mostrar información (título, cargador)"
483
+
484
+ #~ msgid "You must insert a valid YouTube user id."
485
+ #~ msgstr "Debes introducir un id válido de usuario de YouTube."
486
+
487
+ #~ msgid "You must insert a valid playlist id."
488
+ #~ msgstr "Debes introducir un id válido de lista de reproducción de YouTube."
489
+
490
+ #~ msgid "User's favorites"
491
+ #~ msgstr "Favoritos del usuario"
492
+
493
+ #~ msgid "Light:"
494
+ #~ msgstr "Claro"
495
+
496
+ #~ msgid "No post to duplicate has been supplied!"
497
+ #~ msgstr "No se facilitó ninguna entrada a copiar"
498
+
499
+ #~ msgid "Post creation failed, could not find original post:"
500
+ #~ msgstr ""
501
+ #~ "Creación realizada sin éxito, no ha sido posible encontrar la entrada "
502
+ #~ "original:"
503
+
504
+ #~ msgid "No page to duplicate has been supplied!"
505
+ #~ msgstr "No se facilitó ninguna página a copiar"
506
+
507
+ #~ msgid "Make a duplicate from this post"
508
+ #~ msgstr "Crea una copia de esta entrada"
509
+
510
+ #~ msgid "Duplicate"
511
+ #~ msgstr "Duplicar"
512
+
513
+ #~ msgid "Make a duplicate from this page"
514
+ #~ msgstr "Crea una copia de esta página"
515
+
516
+ #~ msgid "Copy to a new draft"
517
+ #~ msgstr "Copia en un borrador nuevo"
518
+
519
+ #~ msgid "Duplicate Post Options"
520
+ #~ msgstr "Opciones"
521
+
522
+ #~ msgid "Duplicate Post"
523
+ #~ msgstr "Duplicate Post"
524
+
525
+ #~ msgid "Copy post/page date also"
526
+ #~ msgstr "Copiar también fecha del post o la página"
527
+
528
+ #~ msgid ""
529
+ #~ "Normally, the new draft has publication date set to current time: check "
530
+ #~ "the box to copy the original post/page date"
531
+ #~ msgstr ""
532
+ #~ "Normalmente se establece la fecha de publicación del nuevo borrador a la "
533
+ #~ "fecha actual: compruebe la casilla para copiar la fecha original del post "
534
+ #~ "o la página"
535
+
536
+ #~ msgid "Do not copy these fields"
537
+ #~ msgstr "No copiar estos campos"
538
+
539
+ #~ msgid ""
540
+ #~ "Comma-separated list of meta fields that must not be copied when cloning a "
541
+ #~ "post/page"
542
+ #~ msgstr ""
543
+ #~ "Lista separada por comas de meta campos que no pueden ser copiados cuando "
544
+ #~ "se clona una entrada/pagina."
545
+
546
+ #~ msgid "Title prefix"
547
+ #~ msgstr "Prefijo del titulo"
548
+
549
+ #~ msgid ""
550
+ #~ "Prefix to be added before the original title when cloning a post/page, e."
551
+ #~ "g. \"Copy of\" (blank for no prefix)"
552
+ #~ msgstr ""
553
+ #~ "Prefijo a ser agregado antes del titulo original cuando se clona una "
554
+ #~ "entrada/pagina, ej. \"Copia de\" (en blanco para no agregar prefijo)"
555
+
556
+ #~ msgid "Minimum level to copy posts"
557
+ #~ msgstr "Nivel mínimo para copiar posts"
558
+
559
+ #~ msgid ""
560
+ #~ "Warning: users will be able to copy all posts, even those of higher level "
561
+ #~ "users"
562
+ #~ msgstr ""
563
+ #~ "Atención: los usuarios podrán copiar todos los posts, incluso aquellos de "
564
+ #~ "usuarios de nivel más alto"
565
+
566
+ #~ msgid "Save Changes"
567
+ #~ msgstr "Guardar los cambios"
568
+
569
+ #~ msgid "Donate"
570
+ #~ msgstr "Hacer una donación"
571
+
572
+ #~ msgid "Translate"
573
+ #~ msgstr "Traducir"
574
+
575
+ #~ msgid "http://www.lopo.it/duplicate-post-plugin/"
576
+ #~ msgstr "Copy text \t http://www.lopo.it/duplicate-post-plugin/"
577
+
578
+ #~ msgid "Creates a copy of a post."
579
+ #~ msgstr "Crear una copia de las entradas."
580
+
581
+ #~ msgid "Enrico Battocchi"
582
+ #~ msgstr "Enrico Battocchi"
583
+
584
+ #~ msgid "http://www.lopo.it"
585
+ #~ msgstr "http://www.lopo.it"
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://poselab.com/
4
Tags: widget, gallery, youtube, channel, user, sidebar, video, youtube playlist, html5, iframe, Youtube channel, youtube videos, API 3
5
Requires at least: 2.8
6
Tested up to: 3.8.8
7
- Stable tag: 2.3
8
License: GPLv2 or later
9
License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
@@ -156,14 +156,15 @@ Description of the different fields of the plugin:
156
157
158
= Shortcode syntax: =
159
- Example of shortcode use:
160
161
- `[Youtube_Channel_Gallery user="apple" maxitems="16" thumb_columns_phones="2" thumb_columns_tablets="4" ]`
162
163
164
= Languages: =
165
* Brazilian portuguese (pt_BR) - [lojainterativa.com](http://www.lojainterativa.com).
166
* Italian (it_IT) - [Marco Milesi](https://profiles.wordpress.org/milmor).
167
* Spanish (es_ES) - [PoseLab](http://poselab.com/)
168
169
If you have created your own language pack, or have an update of an existing one, you can [send me](mailto:javier@poselab.com) your gettext PO and MO so that I can bundle it into the Youtube Channel Gallery.
@@ -190,8 +191,6 @@ To find your channel's user ID and channel ID, sign in to YouTube and check your
190
191
You can find how to get your Google API key and use it in the plugin in the [video tutorials](http://poselab.com/en/youtube-channel-gallery-help).
192
193
- If you go to a playlist you will get the following url format: https://www.youtube.com/playlist?list=PL33942589618ABDE3. The playlist id is what you have after list=. In this example, the playlist id is PL33942589618ABDE3.
194
-
195
= How do I find a YouTube playlist id? =
196
197
If you go to a playlist you will get the following url format: https://www.youtube.com/playlist?list=PL33942589618ABDE3. The playlist id is what you have after list=. In this example, the playlist id is PL33942589618ABDE3.
@@ -200,10 +199,9 @@ If you go to a playlist you will get the following url format: https://www.youtu
200
201
If another plugin or your theme throws a javascript error before Youtube Channel Gallery has been executed, it will prevent Youtube Channel Gallery JavaScript from functioning properly, so thumbnails links will go to the YouTube page instead of playing the video in the player.
202
203
- = If the plugin is used on a page using SSL, the player will throw warnings in the browser console =
204
205
- See [HTTPS Support for YouTube Embeds](http://apiblog.youtube.com/2011/02/https-support-for-youtube-embeds.html):
206
- "The actual video bitstream, and some additional content loaded by the YouTube player may still be accessed via standard HTTP connections when you use an HTTPS URL in your embed code."
207
208
209
== Screenshots ==
@@ -217,7 +215,11 @@ See [HTTPS Support for YouTube Embeds](http://apiblog.youtube.com/2011/02/https-
217
218
== Changelog ==
219
220
- = 2.3 =
221
* Stop other videos if there is more than one instance of the plugin in the same page.
222
* Corrected problem with pagination when there are multiple instances in the same page.
223
* Added option to show video duration in thumbnails.
4
Tags: widget, gallery, youtube, channel, user, sidebar, video, youtube playlist, html5, iframe, Youtube channel, youtube videos, API 3
5
Requires at least: 2.8
6
Tested up to: 3.8.8
7
+ Stable tag: 2.3.2
8
License: GPLv2 or later
9
License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
156
157
158
= Shortcode syntax: =
159
+ Example of shortcode use, remember to change your_Google_API_key for your own. Look at the [help](http://poselab.com/en/youtube-channel-gallery-help):
160
161
+ `[Youtube_Channel_Gallery user="googledevelopers" key="your_Google_API_key" maxitems="16" thumb_columns_tablets="4" title="1"]`
162
163
164
= Languages: =
165
* Brazilian portuguese (pt_BR) - [lojainterativa.com](http://www.lojainterativa.com).
166
* Italian (it_IT) - [Marco Milesi](https://profiles.wordpress.org/milmor).
167
+ * Norwegian bokmål (nb_NO) - Harald Fjogstad
168
* Spanish (es_ES) - [PoseLab](http://poselab.com/)
169
170
If you have created your own language pack, or have an update of an existing one, you can [send me](mailto:javier@poselab.com) your gettext PO and MO so that I can bundle it into the Youtube Channel Gallery.
191
192
You can find how to get your Google API key and use it in the plugin in the [video tutorials](http://poselab.com/en/youtube-channel-gallery-help).
193
194
= How do I find a YouTube playlist id? =
195
196
If you go to a playlist you will get the following url format: https://www.youtube.com/playlist?list=PL33942589618ABDE3. The playlist id is what you have after list=. In this example, the playlist id is PL33942589618ABDE3.
199
200
If another plugin or your theme throws a javascript error before Youtube Channel Gallery has been executed, it will prevent Youtube Channel Gallery JavaScript from functioning properly, so thumbnails links will go to the YouTube page instead of playing the video in the player.
201
202
+ = Are you using a CDN, such as Cloudflare, MaxCDN,..., a cache plugin, sucha as WP Super Cache, W3 Total Cache,... or minification plugin, and the plugin is not working correctly? =
203
204
+ You have to purge or delete de cache of the CDN, plugin chache or minification plugin. Maybe, your website is using an old version of CSS or JS.
205
206
207
== Screenshots ==
215
216
== Changelog ==
217
218
+ = 2.3.2 =
219
+ * Deleted file_get_contents function for avoid error in some hostings.
220
+ * Added Norwegian bokmål (nb_NO).
221
+
222
+ = 2.3.2 =
223
* Stop other videos if there is more than one instance of the plugin in the same page.
224
* Corrected problem with pagination when there are multiple instances in the same page.
225
* Added option to show video duration in thumbnails.
scripts.js CHANGED
@@ -1,7 +1,7 @@
1
/*------------------------------------------------------------
2
Plugin Name: Youtube Channel Gallery
3
Plugin URI: http://www.poselab.com/
4
- Version: 2.3
5
Description: Show a youtube video and a gallery of thumbnails for a youtube channel.
6
------------------------------------------------------------*/
7
jQuery(document).ready(function($) {
1
/*------------------------------------------------------------
2
Plugin Name: Youtube Channel Gallery
3
Plugin URI: http://www.poselab.com/
4
+ Version: 2.3.2
5
Description: Show a youtube video and a gallery of thumbnails for a youtube channel.
6
------------------------------------------------------------*/
7
jQuery(document).ready(function($) {
styles.css CHANGED
@@ -1 +1 @@
1
- #ytc-wrapper .col-xs-2-4,#ytc-wrapper .col-sm-2-4,#ytc-wrapper .col-md-2-4,#ytc-wrapper .col-lg-2-4{position:relative;min-height:1px;padding-right:7px;padding-left:7px}#ytc-wrapper .col-xs-2-4{float:left}@media (min-width:768px){#ytc-wrapper .col-sm-2-4{float:left}}@media (min-width:992px){#ytc-wrapper .col-md-2-4{float:left}}@media (min-width:1200px){#ytc-wrapper .col-lg-2-4{float:left}}#ytc-wrapper .col-xs-1-7,#ytc-wrapper .col-sm-1-7,#ytc-wrapper .col-md-1-7,#ytc-wrapper .col-lg-1-7{position:relative;min-height:1px;padding-right:7px;padding-left:7px}#ytc-wrapper .col-xs-1-7{float:left}@media (min-width:768px){#ytc-wrapper .col-sm-1-7{float:left}}@media (min-width:992px){#ytc-wrapper .col-md-1-7{float:left}}@media (min-width:1200px){#ytc-wrapper .col-lg-1-7{float:left}}#ytc-wrapper .col-xs-1-5,#ytc-wrapper .col-sm-1-5,#ytc-wrapper .col-md-1-5,#ytc-wrapper .col-lg-1-5{position:relative;min-height:1px;padding-right:7px;padding-left:7px}#ytc-wrapper .col-xs-1-5{float:left}@media (min-width:768px){#ytc-wrapper .col-sm-1-5{float:left}}@media (min-width:992px){#ytc-wrapper .col-md-1-5{float:left}}@media (min-width:1200px){#ytc-wrapper .col-lg-1-5{float:left}}#ytc-wrapper .col-xs-1-3,#ytc-wrapper .col-sm-1-3,#ytc-wrapper .col-md-1-3,#ytc-wrapper .col-lg-1-3{position:relative;min-height:1px;padding-right:7px;padding-left:7px}#ytc-wrapper .col-xs-1-3{float:left}@media (min-width:768px){#ytc-wrapper .col-sm-1-3{float:left}}@media (min-width:992px){#ytc-wrapper .col-md-1-3{float:left}}@media (min-width:1200px){#ytc-wrapper .col-lg-1-3{float:left}}#ytc-wrapper .col-xs-1-2,#ytc-wrapper .col-sm-1-2,#ytc-wrapper .col-md-1-2,#ytc-wrapper .col-lg-1-2{position:relative;min-height:1px;padding-right:7px;padding-left:7px}#ytc-wrapper .col-xs-1-2{float:left}@media (min-width:768px){#ytc-wrapper .col-sm-1-2{float:left}}@media (min-width:992px){#ytc-wrapper .col-md-1-2{float:left}}@media (min-width:1200px){#ytc-wrapper .col-lg-1-2{float:left}}#ytc-wrapper .col-xs-1-1,#ytc-wrapper .col-sm-1-1,#ytc-wrapper .col-md-1-1,#ytc-wrapper .col-lg-1-1{position:relative;min-height:1px;padding-right:7px;padding-left:7px}#ytc-wrapper .col-xs-1-1{float:left}@media (min-width:768px){#ytc-wrapper .col-sm-1-1{float:left}}@media (min-width:992px){#ytc-wrapper .col-md-1-1{float:left}}@media (min-width:1200px){#ytc-wrapper .col-lg-1-1{float:left}}#ytc-wrapper audio,#ytc-wrapper canvas,#ytc-wrapper progress,#ytc-wrapper video{display:inline-block;vertical-align:baseline}#ytc-wrapper a{background-color:transparent}#ytc-wrapper a:active,#ytc-wrapper a:hover{outline:0}#ytc-wrapper b,#ytc-wrapper strong{font-weight:700}#ytc-wrapper small{font-size:80%}#ytc-wrapper img{border:0}#ytc-wrapper svg:not(:root){overflow:hidden}#ytc-wrapper figure{margin:1em 40px}#ytc-wrapper .container{margin-right:auto;margin-left:auto;padding-left:7px!important;padding-right:7px!important}@media (min-width:768px){#ytc-wrapper .container{width:734px}}@media (min-width:992px){#ytc-wrapper .container{width:954px}}@media (min-width:1200px){#ytc-wrapper .container{width:1154px}}#ytc-wrapper .container-fluid{margin-right:auto;margin-left:auto;padding-left:7px!important;padding-right:7px!important}#ytc-wrapper .row{margin-left:-7px!important;margin-right:-7px!important}#ytc-wrapper .col-xs-1,#ytc-wrapper .col-sm-1,#ytc-wrapper .col-md-1,#ytc-wrapper .col-lg-1,#ytc-wrapper .col-xs-2,#ytc-wrapper .col-sm-2,#ytc-wrapper .col-md-2,#ytc-wrapper .col-lg-2,#ytc-wrapper .col-xs-3,#ytc-wrapper .col-sm-3,#ytc-wrapper .col-md-3,#ytc-wrapper .col-lg-3,#ytc-wrapper .col-xs-4,#ytc-wrapper .col-sm-4,#ytc-wrapper .col-md-4,#ytc-wrapper .col-lg-4,#ytc-wrapper .col-xs-5,#ytc-wrapper .col-sm-5,#ytc-wrapper .col-md-5,#ytc-wrapper .col-lg-5,#ytc-wrapper .col-xs-6,#ytc-wrapper .col-sm-6,#ytc-wrapper .col-md-6,#ytc-wrapper .col-lg-6,#ytc-wrapper .col-xs-7,#ytc-wrapper .col-sm-7,#ytc-wrapper .col-md-7,#ytc-wrapper .col-lg-7,#ytc-wrapper .col-xs-8,#ytc-wrapper .col-sm-8,#ytc-wrapper .col-md-8,#ytc-wrapper .col-lg-8,#ytc-wrapper .col-xs-9,#ytc-wrapper .col-sm-9,#ytc-wrapper .col-md-9,#ytc-wrapper .col-lg-9,#ytc-wrapper .col-xs-10,#ytc-wrapper .col-sm-10,#ytc-wrapper .col-md-10,#ytc-wrapper .col-lg-10,#ytc-wrapper .col-xs-11,#ytc-wrapper .col-sm-11,#ytc-wrapper .col-md-11,#ytc-wrapper .col-lg-11,#ytc-wrapper .col-xs-12,#ytc-wrapper .col-sm-12,#ytc-wrapper .col-md-12,#ytc-wrapper .col-lg-12{position:relative;min-height:1px;padding-left:7px!important;padding-right:7px!important}#ytc-wrapper .col-xs-1,#ytc-wrapper .col-xs-2,#ytc-wrapper .col-xs-3,#ytc-wrapper .col-xs-4,#ytc-wrapper .col-xs-5,#ytc-wrapper .col-xs-6,#ytc-wrapper .col-xs-7,#ytc-wrapper .col-xs-8,#ytc-wrapper .col-xs-9,#ytc-wrapper .col-xs-10,#ytc-wrapper .col-xs-11,#ytc-wrapper .col-xs-12{float:left}#ytc-wrapper .col-xs-12{width:100%}#ytc-wrapper .col-xs-11{width:91.66666667%}#ytc-wrapper .col-xs-10{width:83.33333333%}#ytc-wrapper .col-xs-9{width:75%}#ytc-wrapper .col-xs-8{width:66.66666667%}#ytc-wrapper .col-xs-7{width:58.33333333%}#ytc-wrapper .col-xs-6{width:50%}#ytc-wrapper .col-xs-5{width:41.66666667%}#ytc-wrapper .col-xs-4{width:33.33333333%}#ytc-wrapper .col-xs-3{width:25%}#ytc-wrapper .col-xs-2-4{width:20%}#ytc-wrapper .col-xs-2{width:16.66666667%}#ytc-wrapper .col-xs-1-7{width:14.28571429%}#ytc-wrapper .col-xs-1-5{width:12.5%}#ytc-wrapper .col-xs-1-3{width:11.11111111%}#ytc-wrapper .col-xs-1-2{width:10%}#ytc-wrapper .col-xs-1-1{width:9.09090909%}#ytc-wrapper .col-xs-1{width:8.33333333%}@media (min-width:768px){#ytc-wrapper .col-sm-1,#ytc-wrapper .col-sm-2,#ytc-wrapper .col-sm-3,#ytc-wrapper .col-sm-4,#ytc-wrapper .col-sm-5,#ytc-wrapper .col-sm-6,#ytc-wrapper .col-sm-7,#ytc-wrapper .col-sm-8,#ytc-wrapper .col-sm-9,#ytc-wrapper .col-sm-10,#ytc-wrapper .col-sm-11,#ytc-wrapper .col-sm-12{float:left}#ytc-wrapper .col-sm-12{width:100%}#ytc-wrapper .col-sm-11{width:91.66666667%}#ytc-wrapper .col-sm-10{width:83.33333333%}#ytc-wrapper .col-sm-9{width:75%}#ytc-wrapper .col-sm-8{width:66.66666667%}#ytc-wrapper .col-sm-7{width:58.33333333%}#ytc-wrapper .col-sm-6{width:50%}#ytc-wrapper .col-sm-5{width:41.66666667%}#ytc-wrapper .col-sm-4{width:33.33333333%}#ytc-wrapper .col-sm-3{width:25%}#ytc-wrapper .col-sm-2-4{width:20%}#ytc-wrapper .col-sm-2{width:16.66666667%}#ytc-wrapper .col-sm-1-7{width:14.28571429%}#ytc-wrapper .col-sm-1-5{width:12.5%}#ytc-wrapper .col-sm-1-3{width:11.11111111%}#ytc-wrapper .col-sm-1-2{width:10%}#ytc-wrapper .col-sm-1-1{width:9.09090909%}#ytc-wrapper .col-sm-1{width:8.33333333%}}@media (min-width:992px){#ytc-wrapper .col-md-1,#ytc-wrapper .col-md-2,#ytc-wrapper .col-md-3,#ytc-wrapper .col-md-4,#ytc-wrapper .col-md-5,#ytc-wrapper .col-md-6,#ytc-wrapper .col-md-7,#ytc-wrapper .col-md-8,#ytc-wrapper .col-md-9,#ytc-wrapper .col-md-10,#ytc-wrapper .col-md-11,#ytc-wrapper .col-md-12{float:left}#ytc-wrapper .col-md-12{width:100%}#ytc-wrapper .col-md-11{width:91.66666667%}#ytc-wrapper .col-md-10{width:83.33333333%}#ytc-wrapper .col-md-9{width:75%}#ytc-wrapper .col-md-8{width:66.66666667%}#ytc-wrapper .col-md-7{width:58.33333333%}#ytc-wrapper .col-md-6{width:50%}#ytc-wrapper .col-md-5{width:41.66666667%}#ytc-wrapper .col-md-4{width:33.33333333%}#ytc-wrapper .col-md-3{width:25%}#ytc-wrapper .col-md-2-4{width:20%}#ytc-wrapper .col-md-2{width:16.66666667%}#ytc-wrapper .col-md-1-7{width:14.28571429%}#ytc-wrapper .col-md-1-5{width:12.5%}#ytc-wrapper .col-md-1-3{width:11.11111111%}#ytc-wrapper .col-md-1-2{width:10%}#ytc-wrapper .col-md-1-1{width:9.09090909%}#ytc-wrapper .col-md-1{width:8.33333333%}}@media (min-width:1200px){#ytc-wrapper .col-lg-1,#ytc-wrapper .col-lg-2,#ytc-wrapper .col-lg-3,#ytc-wrapper .col-lg-4,#ytc-wrapper .col-lg-5,#ytc-wrapper .col-lg-6,#ytc-wrapper .col-lg-7,#ytc-wrapper .col-lg-8,#ytc-wrapper .col-lg-9,#ytc-wrapper .col-lg-10,#ytc-wrapper .col-lg-11,#ytc-wrapper .col-lg-12{float:left}#ytc-wrapper .col-lg-12{width:100%}#ytc-wrapper .col-lg-11{width:91.66666667%}#ytc-wrapper .col-lg-10{width:83.33333333%}#ytc-wrapper .col-lg-9{width:75%}#ytc-wrapper .col-lg-8{width:66.66666667%}#ytc-wrapper .col-lg-7{width:58.33333333%}#ytc-wrapper .col-lg-6{width:50%}#ytc-wrapper .col-lg-5{width:41.66666667%}#ytc-wrapper .col-lg-4{width:33.33333333%}#ytc-wrapper .col-lg-3{width:25%}#ytc-wrapper .col-lg-2-4{width:20%}#ytc-wrapper .col-lg-2{width:16.66666667%}#ytc-wrapper .col-lg-1-7{width:14.28571429%}#ytc-wrapper .col-lg-1-5{width:12.5%}#ytc-wrapper .col-lg-1-3{width:11.11111111%}#ytc-wrapper .col-lg-1-2{width:10%}#ytc-wrapper .col-lg-1-1{width:9.09090909%}#ytc-wrapper .col-lg-1{width:8.33333333%}}#ytc-wrapper .embed-responsive{position:relative;display:block;height:0;padding:0;overflow:hidden}#ytc-wrapper .embed-responsive .embed-responsive-item,#ytc-wrapper .embed-responsive iframe,#ytc-wrapper .embed-responsive embed,#ytc-wrapper .embed-responsive object,#ytc-wrapper .embed-responsive video{position:absolute;top:0;left:0;bottom:0;height:100%;width:100%;border:0}#ytc-wrapper .embed-responsive-16by9{padding-bottom:56.25%}#ytc-wrapper .embed-responsive-4by3{padding-bottom:75%}#ytc-wrapper .clearfix:before,#ytc-wrapper .clearfix:after,#ytc-wrapper .container:before,#ytc-wrapper .container:after,#ytc-wrapper .container-fluid:before,#ytc-wrapper .container-fluid:after,#ytc-wrapper .row:before,#ytc-wrapper .row:after{content:" ";display:table}#ytc-wrapper .clearfix:after,#ytc-wrapper .container:after,#ytc-wrapper .container-fluid:after,#ytc-wrapper .row:after{clear:both}#ytc-wrapper .center-block{display:block;margin-left:auto;margin-right:auto}#ytc-wrapper .pull-right{float:right!important}#ytc-wrapper .pull-left{float:left!important}#ytc-wrapper .hide{display:none!important}#ytc-wrapper .show{display:block!important}#ytc-wrapper .invisible{visibility:hidden}#ytc-wrapper .text-hide{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}#ytc-wrapper .hidden{display:none!important}#ytc-wrapper .affix{position:fixed}@-ms-viewport{width:device-width}#ytc-wrapper .visible-xs,#ytc-wrapper .visible-sm,#ytc-wrapper .visible-md,#ytc-wrapper .visible-lg{display:none!important}#ytc-wrapper .visible-xs-block,#ytc-wrapper .visible-xs-inline,#ytc-wrapper .visible-xs-inline-block,#ytc-wrapper .visible-sm-block,#ytc-wrapper .visible-sm-inline,#ytc-wrapper .visible-sm-inline-block,#ytc-wrapper .visible-md-block,#ytc-wrapper .visible-md-inline,#ytc-wrapper .visible-md-inline-block,#ytc-wrapper .visible-lg-block,#ytc-wrapper .visible-lg-inline,#ytc-wrapper .visible-lg-inline-block{display:none!important}@media (max-width:767px){#ytc-wrapper .visible-xs{display:block!important}#ytc-wrapper table.visible-xs{display:table!important}#ytc-wrapper tr.visible-xs{display:table-row!important}#ytc-wrapper th.visible-xs,#ytc-wrapper td.visible-xs{display:table-cell!important}}@media (max-width:767px){#ytc-wrapper .visible-xs-block{display:block!important}}@media (max-width:767px){#ytc-wrapper .visible-xs-inline{display:inline!important}}@media (max-width:767px){#ytc-wrapper .visible-xs-inline-block{display:inline-block!important}}@media (min-width:768px) and (max-width:991px){#ytc-wrapper .visible-sm{display:block!important}#ytc-wrapper table.visible-sm{display:table!important}#ytc-wrapper tr.visible-sm{display:table-row!important}#ytc-wrapper th.visible-sm,#ytc-wrapper td.visible-sm{display:table-cell!important}}@media (min-width:768px) and (max-width:991px){#ytc-wrapper .visible-sm-block{display:block!important}}@media (min-width:768px) and (max-width:991px){#ytc-wrapper .visible-sm-inline{display:inline!important}}@media (min-width:768px) and (max-width:991px){#ytc-wrapper .visible-sm-inline-block{display:inline-block!important}}@media (min-width:992px) and (max-width:1199px){#ytc-wrapper .visible-md{display:block!important}#ytc-wrapper table.visible-md{display:table!important}#ytc-wrapper tr.visible-md{display:table-row!important}#ytc-wrapper th.visible-md,#ytc-wrapper td.visible-md{display:table-cell!important}}@media (min-width:992px) and (max-width:1199px){#ytc-wrapper .visible-md-block{display:block!important}}@media (min-width:992px) and (max-width:1199px){#ytc-wrapper .visible-md-inline{display:inline!important}}@media (min-width:992px) and (max-width:1199px){#ytc-wrapper .visible-md-inline-block{display:inline-block!important}}@media (min-width:1200px){#ytc-wrapper .visible-lg{display:block!important}#ytc-wrapper table.visible-lg{display:table!important}#ytc-wrapper tr.visible-lg{display:table-row!important}#ytc-wrapper th.visible-lg,#ytc-wrapper td.visible-lg{display:table-cell!important}}@media (min-width:1200px){#ytc-wrapper .visible-lg-block{display:block!important}}@media (min-width:1200px){#ytc-wrapper .visible-lg-inline{display:inline!important}}@media (min-width:1200px){#ytc-wrapper .visible-lg-inline-block{display:inline-block!important}}@media (max-width:767px){#ytc-wrapper .hidden-xs{display:none!important}}@media (min-width:768px) and (max-width:991px){#ytc-wrapper .hidden-sm{display:none!important}}@media (min-width:992px) and (max-width:1199px){#ytc-wrapper .hidden-md{display:none!important}}@media (min-width:1200px){#ytc-wrapper .hidden-lg{display:none!important}}#ytc-wrapper .visible-print{display:none!important}@media print{#ytc-wrapper .visible-print{display:block!important}#ytc-wrapper table.visible-print{display:table!important}#ytc-wrapper tr.visible-print{display:table-row!important}#ytc-wrapper th.visible-print,#ytc-wrapper td.visible-print{display:table-cell!important}}#ytc-wrapper .visible-print-block{display:none!important}@media print{#ytc-wrapper .visible-print-block{display:block!important}}#ytc-wrapper .visible-print-inline{display:none!important}@media print{#ytc-wrapper .visible-print-inline{display:inline!important}}#ytc-wrapper .visible-print-inline-block{display:none!important}@media print{#ytc-wrapper .visible-print-inline-block{display:inline-block!important}}@media print{#ytc-wrapper .hidden-print{display:none!important}}#ytc-wrapper div{margin:0;padding:0}#ytc-wrapper a{word-break:break-word}#ytc-wrapper *{-webkit-box-sizing:border-box!important;box-sizing:border-box!important;white-space:normal}#ytc-wrapper :before,#ytc-wrapper :after{-webkit-box-sizing:border-box!important;box-sizing:border-box!important}#ytc-wrapper .container-fluid{padding:0!important}#ytc-wrapper .ytcplayer-wrapper{border:1px solid #999;margin-bottom:14px}#ytc-wrapper .ytcplayer-wrapper iframe{margin:0!important;padding:0!important}#ytc-wrapper .ytcplayercontent{margin-bottom:20px}#ytc-wrapper time{font-size:small}#ytc-wrapper .ytc-thumbnails{padding:0!important}#ytc-wrapper .ytc-thumbnails .ytc-row .ytc-column{margin-left:0!important;margin-right:0!important;-webkit-box-sizing:border-box!important;box-sizing:border-box!important;position:relative!important;margin-bottom:10px}#ytc-wrapper .ytc-thumbnails.ytc-thumb-align-left .ytc-column,#ytc-wrapper .ytc-thumbnails.ytc-thumb-align-right .ytc-column{margin-bottom:20px}#ytc-wrapper .ytc-thumbnails.ytc-thumb-align-left .ytctitle:first-child,#ytc-wrapper .ytc-thumbnails.ytc-thumb-align-right .ytctitle:first-child{margin:0 0 10px 0}#ytc-wrapper .ytc-thumbnails .ytcthumb-cont{position:relative}#ytc-wrapper .ytc-thumbnails .video-time{margin-top:0;margin-right:0;padding:0 4px;font-weight:700;font-size:11px;background-color:#000;color:#fff!important;height:14px;line-height:14px;opacity:.75;filter:alpha(opacity=75);display:-moz-inline-stack;vertical-align:top;display:inline-block;position:absolute;right:2px;bottom:2px;pointer-events:none}#ytc-wrapper .ytc-thumbnails a.ytcthumb{padding-bottom:55%!important}#ytc-wrapper .ytc-thumbnails.ytc-thumb4x3 a.ytcthumb{padding-bottom:75%!important}#ytc-wrapper .ytc-thumbnails a.ytcthumb{display:block!important;border:1px solid #999;position:relative!important;line-height:0!important;width:100%!important;padding-top:0!important;padding-left:0!important;padding-right:0!important;margin:0!important;height:0!important;overflow:hidden!important;background-size:cover!important;background-position:center!important}#ytc-wrapper .ytc-thumbnails a.ytcthumb:hover{opacity:.75}#ytc-wrapper .ytc-thumbnails a.ytcthumb .ytcplay{background:url(img/play.png) no-repeat!important;background-position:-9999px -9999px!important;position:absolute!important;width:100%!important;height:100%!important}#ytc-wrapper .ytc-thumbnails a.ytcthumb:hover .ytcplay{background-position:center center!important}#ytc-wrapper .ytc-thumbnails .private{background:#262626;background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0, #383838), to(#131313));background-image:-webkit-linear-gradient(top, #383838 0, #131313 100%);background-image:linear-gradient(to bottom,#383838 0,#131313 100%)}#ytc-wrapper .ytc-thumbnails .private a{background-size:38%!important;background-repeat:no-repeat!important;background-position:50% 76%!important}#ytc-wrapper .ytc-thumbnails .private a .private-text{width:100%!important;height:100%!important;padding-top:10px;position:absolute;text-align:center}#ytc-wrapper .ytc-thumbnails p{display:none!important}#ytc-wrapper .ytc-thumbnails .ytc-pagination{margin-top:16px}#ytc-wrapper .ytc-thumbnails .ytc-pagination div.ytc-next{text-align:right}#ytc-wrapper .ytc-thumbnails .ytc-pagination a{cursor:pointer}#ytc-wrapper .ytc-thumbnails .ytc-pagination .ytc-numeration{text-align:center}#ytc-wrapper .ytc-links{margin-top:16px}#ytc-wrapper .ytc-links .ytc-promotion a{font-size:10px;opacity:.3}#ytc-wrapper .ytc-links .ytc-youtubelink{text-align:right}
1
+ #ytc-wrapper .col-xs-2-4,#ytc-wrapper .col-sm-2-4,#ytc-wrapper .col-md-2-4,#ytc-wrapper .col-lg-2-4{position:relative;min-height:1px;padding-right:7px;padding-left:7px}#ytc-wrapper .col-xs-2-4{float:left}@media (min-width:768px){#ytc-wrapper .col-sm-2-4{float:left}}@media (min-width:992px){#ytc-wrapper .col-md-2-4{float:left}}@media (min-width:1200px){#ytc-wrapper .col-lg-2-4{float:left}}#ytc-wrapper .col-xs-1-7,#ytc-wrapper .col-sm-1-7,#ytc-wrapper .col-md-1-7,#ytc-wrapper .col-lg-1-7{position:relative;min-height:1px;padding-right:7px;padding-left:7px}#ytc-wrapper .col-xs-1-7{float:left}@media (min-width:768px){#ytc-wrapper .col-sm-1-7{float:left}}@media (min-width:992px){#ytc-wrapper .col-md-1-7{float:left}}@media (min-width:1200px){#ytc-wrapper .col-lg-1-7{float:left}}#ytc-wrapper .col-xs-1-5,#ytc-wrapper .col-sm-1-5,#ytc-wrapper .col-md-1-5,#ytc-wrapper .col-lg-1-5{position:relative;min-height:1px;padding-right:7px;padding-left:7px}#ytc-wrapper .col-xs-1-5{float:left}@media (min-width:768px){#ytc-wrapper .col-sm-1-5{float:left}}@media (min-width:992px){#ytc-wrapper .col-md-1-5{float:left}}@media (min-width:1200px){#ytc-wrapper .col-lg-1-5{float:left}}#ytc-wrapper .col-xs-1-3,#ytc-wrapper .col-sm-1-3,#ytc-wrapper .col-md-1-3,#ytc-wrapper .col-lg-1-3{position:relative;min-height:1px;padding-right:7px;padding-left:7px}#ytc-wrapper .col-xs-1-3{float:left}@media (min-width:768px){#ytc-wrapper .col-sm-1-3{float:left}}@media (min-width:992px){#ytc-wrapper .col-md-1-3{float:left}}@media (min-width:1200px){#ytc-wrapper .col-lg-1-3{float:left}}#ytc-wrapper .col-xs-1-2,#ytc-wrapper .col-sm-1-2,#ytc-wrapper .col-md-1-2,#ytc-wrapper .col-lg-1-2{position:relative;min-height:1px;padding-right:7px;padding-left:7px}#ytc-wrapper .col-xs-1-2{float:left}@media (min-width:768px){#ytc-wrapper .col-sm-1-2{float:left}}@media (min-width:992px){#ytc-wrapper .col-md-1-2{float:left}}@media (min-width:1200px){#ytc-wrapper .col-lg-1-2{float:left}}#ytc-wrapper .col-xs-1-1,#ytc-wrapper .col-sm-1-1,#ytc-wrapper .col-md-1-1,#ytc-wrapper .col-lg-1-1{position:relative;min-height:1px;padding-right:7px;padding-left:7px}#ytc-wrapper .col-xs-1-1{float:left}@media (min-width:768px){#ytc-wrapper .col-sm-1-1{float:left}}@media (min-width:992px){#ytc-wrapper .col-md-1-1{float:left}}@media (min-width:1200px){#ytc-wrapper .col-lg-1-1{float:left}}#ytc-wrapper audio,#ytc-wrapper canvas,#ytc-wrapper progress,#ytc-wrapper video{display:inline-block;vertical-align:baseline}#ytc-wrapper a{background-color:transparent}#ytc-wrapper a:active,#ytc-wrapper a:hover{outline:0}#ytc-wrapper b,#ytc-wrapper strong{font-weight:700}#ytc-wrapper small{font-size:80%}#ytc-wrapper img{border:0}#ytc-wrapper svg:not(:root){overflow:hidden}#ytc-wrapper figure{margin:1em 40px}#ytc-wrapper .container{margin-right:auto;margin-left:auto;padding-left:7px!important;padding-right:7px!important}@media (min-width:768px){#ytc-wrapper .container{width:734px}}@media (min-width:992px){#ytc-wrapper .container{width:954px}}@media (min-width:1200px){#ytc-wrapper .container{width:1154px}}#ytc-wrapper .container-fluid{margin-right:auto;margin-left:auto;padding-left:7px!important;padding-right:7px!important}#ytc-wrapper .row{margin-left:-7px!important;margin-right:-7px!important}#ytc-wrapper .col-xs-1,#ytc-wrapper .col-sm-1,#ytc-wrapper .col-md-1,#ytc-wrapper .col-lg-1,#ytc-wrapper .col-xs-2,#ytc-wrapper .col-sm-2,#ytc-wrapper .col-md-2,#ytc-wrapper .col-lg-2,#ytc-wrapper .col-xs-3,#ytc-wrapper .col-sm-3,#ytc-wrapper .col-md-3,#ytc-wrapper .col-lg-3,#ytc-wrapper .col-xs-4,#ytc-wrapper .col-sm-4,#ytc-wrapper .col-md-4,#ytc-wrapper .col-lg-4,#ytc-wrapper .col-xs-5,#ytc-wrapper .col-sm-5,#ytc-wrapper .col-md-5,#ytc-wrapper .col-lg-5,#ytc-wrapper .col-xs-6,#ytc-wrapper .col-sm-6,#ytc-wrapper .col-md-6,#ytc-wrapper .col-lg-6,#ytc-wrapper .col-xs-7,#ytc-wrapper .col-sm-7,#ytc-wrapper .col-md-7,#ytc-wrapper .col-lg-7,#ytc-wrapper .col-xs-8,#ytc-wrapper .col-sm-8,#ytc-wrapper .col-md-8,#ytc-wrapper .col-lg-8,#ytc-wrapper .col-xs-9,#ytc-wrapper .col-sm-9,#ytc-wrapper .col-md-9,#ytc-wrapper .col-lg-9,#ytc-wrapper .col-xs-10,#ytc-wrapper .col-sm-10,#ytc-wrapper .col-md-10,#ytc-wrapper .col-lg-10,#ytc-wrapper .col-xs-11,#ytc-wrapper .col-sm-11,#ytc-wrapper .col-md-11,#ytc-wrapper .col-lg-11,#ytc-wrapper .col-xs-12,#ytc-wrapper .col-sm-12,#ytc-wrapper .col-md-12,#ytc-wrapper .col-lg-12{position:relative;min-height:1px;padding-left:7px!important;padding-right:7px!important}#ytc-wrapper .col-xs-1,#ytc-wrapper .col-xs-2,#ytc-wrapper .col-xs-3,#ytc-wrapper .col-xs-4,#ytc-wrapper .col-xs-5,#ytc-wrapper .col-xs-6,#ytc-wrapper .col-xs-7,#ytc-wrapper .col-xs-8,#ytc-wrapper .col-xs-9,#ytc-wrapper .col-xs-10,#ytc-wrapper .col-xs-11,#ytc-wrapper .col-xs-12{float:left}#ytc-wrapper .col-xs-12{width:100%}#ytc-wrapper .col-xs-11{width:91.66666667%}#ytc-wrapper .col-xs-10{width:83.33333333%}#ytc-wrapper .col-xs-9{width:75%}#ytc-wrapper .col-xs-8{width:66.66666667%}#ytc-wrapper .col-xs-7{width:58.33333333%}#ytc-wrapper .col-xs-6{width:50%}#ytc-wrapper .col-xs-5{width:41.66666667%}#ytc-wrapper .col-xs-4{width:33.33333333%}#ytc-wrapper .col-xs-3{width:25%}#ytc-wrapper .col-xs-2-4{width:20%}#ytc-wrapper .col-xs-2{width:16.66666667%}#ytc-wrapper .col-xs-1-7{width:14.28571429%}#ytc-wrapper .col-xs-1-5{width:12.5%}#ytc-wrapper .col-xs-1-3{width:11.11111111%}#ytc-wrapper .col-xs-1-2{width:10%}#ytc-wrapper .col-xs-1-1{width:9.09090909%}#ytc-wrapper .col-xs-1{width:8.33333333%}@media (min-width:768px){#ytc-wrapper .col-sm-1,#ytc-wrapper .col-sm-2,#ytc-wrapper .col-sm-3,#ytc-wrapper .col-sm-4,#ytc-wrapper .col-sm-5,#ytc-wrapper .col-sm-6,#ytc-wrapper .col-sm-7,#ytc-wrapper .col-sm-8,#ytc-wrapper .col-sm-9,#ytc-wrapper .col-sm-10,#ytc-wrapper .col-sm-11,#ytc-wrapper .col-sm-12{float:left}#ytc-wrapper .col-sm-12{width:100%}#ytc-wrapper .col-sm-11{width:91.66666667%}#ytc-wrapper .col-sm-10{width:83.33333333%}#ytc-wrapper .col-sm-9{width:75%}#ytc-wrapper .col-sm-8{width:66.66666667%}#ytc-wrapper .col-sm-7{width:58.33333333%}#ytc-wrapper .col-sm-6{width:50%}#ytc-wrapper .col-sm-5{width:41.66666667%}#ytc-wrapper .col-sm-4{width:33.33333333%}#ytc-wrapper .col-sm-3{width:25%}#ytc-wrapper .col-sm-2-4{width:20%}#ytc-wrapper .col-sm-2{width:16.66666667%}#ytc-wrapper .col-sm-1-7{width:14.28571429%}#ytc-wrapper .col-sm-1-5{width:12.5%}#ytc-wrapper .col-sm-1-3{width:11.11111111%}#ytc-wrapper .col-sm-1-2{width:10%}#ytc-wrapper .col-sm-1-1{width:9.09090909%}#ytc-wrapper .col-sm-1{width:8.33333333%}}@media (min-width:992px){#ytc-wrapper .col-md-1,#ytc-wrapper .col-md-2,#ytc-wrapper .col-md-3,#ytc-wrapper .col-md-4,#ytc-wrapper .col-md-5,#ytc-wrapper .col-md-6,#ytc-wrapper .col-md-7,#ytc-wrapper .col-md-8,#ytc-wrapper .col-md-9,#ytc-wrapper .col-md-10,#ytc-wrapper .col-md-11,#ytc-wrapper .col-md-12{float:left}#ytc-wrapper .col-md-12{width:100%}#ytc-wrapper .col-md-11{width:91.66666667%}#ytc-wrapper .col-md-10{width:83.33333333%}#ytc-wrapper .col-md-9{width:75%}#ytc-wrapper .col-md-8{width:66.66666667%}#ytc-wrapper .col-md-7{width:58.33333333%}#ytc-wrapper .col-md-6{width:50%}#ytc-wrapper .col-md-5{width:41.66666667%}#ytc-wrapper .col-md-4{width:33.33333333%}#ytc-wrapper .col-md-3{width:25%}#ytc-wrapper .col-md-2-4{width:20%}#ytc-wrapper .col-md-2{width:16.66666667%}#ytc-wrapper .col-md-1-7{width:14.28571429%}#ytc-wrapper .col-md-1-5{width:12.5%}#ytc-wrapper .col-md-1-3{width:11.11111111%}#ytc-wrapper .col-md-1-2{width:10%}#ytc-wrapper .col-md-1-1{width:9.09090909%}#ytc-wrapper .col-md-1{width:8.33333333%}}@media (min-width:1200px){#ytc-wrapper .col-lg-1,#ytc-wrapper .col-lg-2,#ytc-wrapper .col-lg-3,#ytc-wrapper .col-lg-4,#ytc-wrapper .col-lg-5,#ytc-wrapper .col-lg-6,#ytc-wrapper .col-lg-7,#ytc-wrapper .col-lg-8,#ytc-wrapper .col-lg-9,#ytc-wrapper .col-lg-10,#ytc-wrapper .col-lg-11,#ytc-wrapper .col-lg-12{float:left}#ytc-wrapper .col-lg-12{width:100%}#ytc-wrapper .col-lg-11{width:91.66666667%}#ytc-wrapper .col-lg-10{width:83.33333333%}#ytc-wrapper .col-lg-9{width:75%}#ytc-wrapper .col-lg-8{width:66.66666667%}#ytc-wrapper .col-lg-7{width:58.33333333%}#ytc-wrapper .col-lg-6{width:50%}#ytc-wrapper .col-lg-5{width:41.66666667%}#ytc-wrapper .col-lg-4{width:33.33333333%}#ytc-wrapper .col-lg-3{width:25%}#ytc-wrapper .col-lg-2-4{width:20%}#ytc-wrapper .col-lg-2{width:16.66666667%}#ytc-wrapper .col-lg-1-7{width:14.28571429%}#ytc-wrapper .col-lg-1-5{width:12.5%}#ytc-wrapper .col-lg-1-3{width:11.11111111%}#ytc-wrapper .col-lg-1-2{width:10%}#ytc-wrapper .col-lg-1-1{width:9.09090909%}#ytc-wrapper .col-lg-1{width:8.33333333%}}#ytc-wrapper .embed-responsive{position:relative;display:block;height:0;padding:0;overflow:hidden}#ytc-wrapper .embed-responsive .embed-responsive-item,#ytc-wrapper .embed-responsive iframe,#ytc-wrapper .embed-responsive embed,#ytc-wrapper .embed-responsive object,#ytc-wrapper .embed-responsive video{position:absolute;top:0;left:0;bottom:0;height:100%;width:100%;border:0}#ytc-wrapper .embed-responsive-16by9{padding-bottom:56.25%}#ytc-wrapper .embed-responsive-4by3{padding-bottom:75%}#ytc-wrapper .clearfix:before,#ytc-wrapper .clearfix:after,#ytc-wrapper .container:before,#ytc-wrapper .container:after,#ytc-wrapper .container-fluid:before,#ytc-wrapper .container-fluid:after,#ytc-wrapper .row:before,#ytc-wrapper .row:after{content:" ";display:table}#ytc-wrapper .clearfix:after,#ytc-wrapper .container:after,#ytc-wrapper .container-fluid:after,#ytc-wrapper .row:after{clear:both}#ytc-wrapper .center-block{display:block;margin-left:auto;margin-right:auto}#ytc-wrapper .pull-right{float:right!important}#ytc-wrapper .pull-left{float:left!important}#ytc-wrapper .hide{display:none!important}#ytc-wrapper .show{display:block!important}#ytc-wrapper .invisible{visibility:hidden}#ytc-wrapper .text-hide{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}#ytc-wrapper .hidden{display:none!important}#ytc-wrapper .affix{position:fixed}@-ms-viewport{width:device-width}#ytc-wrapper .visible-xs,#ytc-wrapper .visible-sm,#ytc-wrapper .visible-md,#ytc-wrapper .visible-lg{display:none!important}#ytc-wrapper .visible-xs-block,#ytc-wrapper .visible-xs-inline,#ytc-wrapper .visible-xs-inline-block,#ytc-wrapper .visible-sm-block,#ytc-wrapper .visible-sm-inline,#ytc-wrapper .visible-sm-inline-block,#ytc-wrapper .visible-md-block,#ytc-wrapper .visible-md-inline,#ytc-wrapper .visible-md-inline-block,#ytc-wrapper .visible-lg-block,#ytc-wrapper .visible-lg-inline,#ytc-wrapper .visible-lg-inline-block{display:none!important}@media (max-width:767px){#ytc-wrapper .visible-xs{display:block!important}#ytc-wrapper table.visible-xs{display:table!important}#ytc-wrapper tr.visible-xs{display:table-row!important}#ytc-wrapper th.visible-xs,#ytc-wrapper td.visible-xs{display:table-cell!important}}@media (max-width:767px){#ytc-wrapper .visible-xs-block{display:block!important}}@media (max-width:767px){#ytc-wrapper .visible-xs-inline{display:inline!important}}@media (max-width:767px){#ytc-wrapper .visible-xs-inline-block{display:inline-block!important}}@media (min-width:768px) and (max-width:991px){#ytc-wrapper .visible-sm{display:block!important}#ytc-wrapper table.visible-sm{display:table!important}#ytc-wrapper tr.visible-sm{display:table-row!important}#ytc-wrapper th.visible-sm,#ytc-wrapper td.visible-sm{display:table-cell!important}}@media (min-width:768px) and (max-width:991px){#ytc-wrapper .visible-sm-block{display:block!important}}@media (min-width:768px) and (max-width:991px){#ytc-wrapper .visible-sm-inline{display:inline!important}}@media (min-width:768px) and (max-width:991px){#ytc-wrapper .visible-sm-inline-block{display:inline-block!important}}@media (min-width:992px) and (max-width:1199px){#ytc-wrapper .visible-md{display:block!important}#ytc-wrapper table.visible-md{display:table!important}#ytc-wrapper tr.visible-md{display:table-row!important}#ytc-wrapper th.visible-md,#ytc-wrapper td.visible-md{display:table-cell!important}}@media (min-width:992px) and (max-width:1199px){#ytc-wrapper .visible-md-block{display:block!important}}@media (min-width:992px) and (max-width:1199px){#ytc-wrapper .visible-md-inline{display:inline!important}}@media (min-width:992px) and (max-width:1199px){#ytc-wrapper .visible-md-inline-block{display:inline-block!important}}@media (min-width:1200px){#ytc-wrapper .visible-lg{display:block!important}#ytc-wrapper table.visible-lg{display:table!important}#ytc-wrapper tr.visible-lg{display:table-row!important}#ytc-wrapper th.visible-lg,#ytc-wrapper td.visible-lg{display:table-cell!important}}@media (min-width:1200px){#ytc-wrapper .visible-lg-block{display:block!important}}@media (min-width:1200px){#ytc-wrapper .visible-lg-inline{display:inline!important}}@media (min-width:1200px){#ytc-wrapper .visible-lg-inline-block{display:inline-block!important}}@media (max-width:767px){#ytc-wrapper .hidden-xs{display:none!important}}@media (min-width:768px) and (max-width:991px){#ytc-wrapper .hidden-sm{display:none!important}}@media (min-width:992px) and (max-width:1199px){#ytc-wrapper .hidden-md{display:none!important}}@media (min-width:1200px){#ytc-wrapper .hidden-lg{display:none!important}}#ytc-wrapper .visible-print{display:none!important}@media print{#ytc-wrapper .visible-print{display:block!important}#ytc-wrapper table.visible-print{display:table!important}#ytc-wrapper tr.visible-print{display:table-row!important}#ytc-wrapper th.visible-print,#ytc-wrapper td.visible-print{display:table-cell!important}}#ytc-wrapper .visible-print-block{display:none!important}@media print{#ytc-wrapper .visible-print-block{display:block!important}}#ytc-wrapper .visible-print-inline{display:none!important}@media print{#ytc-wrapper .visible-print-inline{display:inline!important}}#ytc-wrapper .visible-print-inline-block{display:none!important}@media print{#ytc-wrapper .visible-print-inline-block{display:inline-block!important}}@media print{#ytc-wrapper .hidden-print{display:none!important}}#ytc-wrapper div{margin:0;padding:0}#ytc-wrapper a{word-break:break-word}#ytc-wrapper *{-webkit-box-sizing:border-box!important;box-sizing:border-box!important;white-space:normal}#ytc-wrapper :before,#ytc-wrapper :after{-webkit-box-sizing:border-box!important;box-sizing:border-box!important}#ytc-wrapper .container-fluid{padding:0!important}#ytc-wrapper .ytcplayer-wrapper{border:1px solid #999;margin-bottom:14px}#ytc-wrapper .ytcplayer-wrapper iframe{margin:0!important;padding:0!important}#ytc-wrapper .ytcplayercontent{margin-bottom:20px}#ytc-wrapper time{font-size:small}#ytc-wrapper .ytc-thumbnails{padding:0!important}#ytc-wrapper .ytc-thumbnails .ytc-row{display:block!important}#ytc-wrapper .ytc-thumbnails .ytc-row .ytc-column{margin-left:0!important;margin-right:0!important;-webkit-box-sizing:border-box!important;box-sizing:border-box!important;position:relative!important;margin-bottom:10px}#ytc-wrapper .ytc-thumbnails.ytc-thumb-align-left .ytc-column,#ytc-wrapper .ytc-thumbnails.ytc-thumb-align-right .ytc-column{margin-bottom:20px}#ytc-wrapper .ytc-thumbnails.ytc-thumb-align-left .ytctitle:first-child,#ytc-wrapper .ytc-thumbnails.ytc-thumb-align-right .ytctitle:first-child{margin:0 0 10px 0}#ytc-wrapper .ytc-thumbnails .ytcthumb-cont{position:relative}#ytc-wrapper .ytc-thumbnails .video-time{margin-top:0;margin-right:0;padding:0 4px;font-weight:700;font-size:11px;background-color:#000;color:#fff!important;height:14px;line-height:14px;opacity:.75;filter:alpha(opacity=75);display:-moz-inline-stack;vertical-align:top;display:inline-block;position:absolute;right:2px;bottom:2px;pointer-events:none}#ytc-wrapper .ytc-thumbnails a.ytcthumb{padding-bottom:55%!important}#ytc-wrapper .ytc-thumbnails.ytc-thumb4x3 a.ytcthumb{padding-bottom:75%!important}#ytc-wrapper .ytc-thumbnails a.ytcthumb{display:block!important;border:1px solid #999;position:relative!important;line-height:0!important;width:100%!important;padding-top:0!important;padding-left:0!important;padding-right:0!important;margin:0!important;height:0!important;overflow:hidden!important;background-size:cover!important;background-position:center!important}#ytc-wrapper .ytc-thumbnails a.ytcthumb:hover{opacity:.75}#ytc-wrapper .ytc-thumbnails a.ytcthumb .ytcplay{background:url(img/play.png) no-repeat!important;background-position:-9999px -9999px!important;position:absolute!important;width:100%!important;height:100%!important}#ytc-wrapper .ytc-thumbnails a.ytcthumb:hover .ytcplay{background-position:center center!important}#ytc-wrapper .ytc-thumbnails .private{background:#262626;background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0, #383838), to(#131313));background-image:-webkit-linear-gradient(top, #383838 0, #131313 100%);background-image:linear-gradient(to bottom,#383838 0,#131313 100%)}#ytc-wrapper .ytc-thumbnails .private a{background-size:38%!important;background-repeat:no-repeat!important;background-position:50% 76%!important}#ytc-wrapper .ytc-thumbnails .private a .private-text{width:100%!important;height:100%!important;padding-top:10px;position:absolute;text-align:center}#ytc-wrapper .ytc-thumbnails p{display:none!important}#ytc-wrapper .ytc-thumbnails .ytc-pagination{margin-top:16px}#ytc-wrapper .ytc-thumbnails .ytc-pagination div.ytc-next{text-align:right}#ytc-wrapper .ytc-thumbnails .ytc-pagination a{cursor:pointer}#ytc-wrapper .ytc-thumbnails .ytc-pagination .ytc-numeration{text-align:center}#ytc-wrapper .ytc-links{margin-top:16px}#ytc-wrapper .ytc-links .ytc-promotion a{font-size:10px;opacity:.3}#ytc-wrapper .ytc-links .ytc-youtubelink{text-align:right}
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: 2.3
9
License: GPL2
10
11
Copyright 2013 Javier Gómez Pose (email : javierpose@gmail.com)
@@ -75,7 +75,7 @@ class YoutubeChannelGallery_Widget extends WP_Widget {
75
extract($instance);
76
$playercontent = 'player';
77
78
- $thumb = $this->getThumbsDetails($youtubeid, $ytchag_key);
79
80
echo '<div class="ytcplayercontent">';
81
@@ -181,7 +181,7 @@ class YoutubeChannelGallery_Widget extends WP_Widget {
181
$ytchag_prev_token = $json->prevPageToken;
182
}
183
184
- $thumbs = $this->getThumbs($json->items, $modules, $ytchag_thumb_width, $ytchag_key);
185
186
include 'templates/thumbs.php';
187
@@ -263,14 +263,14 @@ class YoutubeChannelGallery_Widget extends WP_Widget {
263
$ytchag_prev_token = $json->prevPageToken;
264
}
265
266
- $thumbs = $this->getThumbs($json->items, $modules, $ytchag_thumb_width, $ytchag_key);
267
268
include 'templates/thumbs.php';
269
270
wp_die();
271
}
272
273
- function getThumbs($items, $modules, $thumb_width, $key) {
274
275
$thumbs = array();
276
@@ -286,7 +286,7 @@ class YoutubeChannelGallery_Widget extends WP_Widget {
286
$thumb->modules = $modules;
287
$thumb->privacyStatus = isset($item->status->privacyStatus) ? $item->status->privacyStatus : null;
288
289
- $details = $this->getThumbsDetails($thumb->id, $key);
290
$thumb->duration = $details->duration;
291
292
@@ -314,10 +314,21 @@ class YoutubeChannelGallery_Widget extends WP_Widget {
314
return $thumbs;
315
}
316
317
- function getThumbsDetails($id, $key) {
318
319
- $video_details_api = 'https://www.googleapis.com/youtube/v3/videos?part=snippet,statistics,contentDetails,status&id=' . $id . '&key=' . $key;
320
- $json = json_decode(file_get_contents($video_details_api));
321
322
$details = new stdClass();
323
@@ -806,6 +817,9 @@ class YoutubeChannelGallery_Widget extends WP_Widget {
806
$content .= isset($json->error->errors[0]->location) ? sprintf( __( 'Location: "%1$s". ', 'youtube-channel-gallery' ), $json->error->errors[0]->location ) : '';
807
$content .= '<br><br>';
808
809
$content .= sprintf( __( 'Check in YouTube if the id %1$s belongs to a %2$s. ', 'youtube-channel-gallery' ), $error_link, $error_type );
810
if ( $ytchag_feed !== 'playlist' && ($ytchag_feed === 'favorites' || $ytchag_feed === 'likes') ) {
811
$content .= sprintf( __( 'If the user id is correct, check that the channel of the user has list of "%1$s". ', 'youtube-channel-gallery' ), $ytchag_feed );
@@ -815,7 +829,6 @@ class YoutubeChannelGallery_Widget extends WP_Widget {
815
}
816
else {
817
static $plugincount = 0;
818
-
819
$json = json_decode($videos_result['body']);
820
821
if ($json->pageInfo->totalResults > 0) {
@@ -842,7 +855,12 @@ class YoutubeChannelGallery_Widget extends WP_Widget {
842
843
ksort($modules);
844
845
- $thumbs = $this->getThumbs($json->items, $modules, $ytchag_thumb_width, $ytchag_key);
846
847
$content = '';
848
@@ -864,10 +882,6 @@ class YoutubeChannelGallery_Widget extends WP_Widget {
864
865
ksort($modules);
866
867
- $plugincount += 1;
868
-
869
- update_option('ytc-' . $plugincount, $instance);
870
-
871
echo '<div class="youtubechannelgallery">';
872
echo '<div id="ytc-'. $plugincount .'">';
873
echo '<div id="ytc-wrapper">';
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: 2.3.2
9
License: GPL2
10
11
Copyright 2013 Javier Gómez Pose (email : javierpose@gmail.com)
75
extract($instance);
76
$playercontent = 'player';
77
78
+ $thumb = $this->getThumbsDetails($youtubeid, $ytchag_key, $wid);
79
80
echo '<div class="ytcplayercontent">';
81
181
$ytchag_prev_token = $json->prevPageToken;
182
}
183
184
+ $thumbs = $this->getThumbs($json->items, $modules, $ytchag_thumb_width, $ytchag_key, $wid);
185
186
include 'templates/thumbs.php';
187
263
$ytchag_prev_token = $json->prevPageToken;
264
}
265
266
+ $thumbs = $this->getThumbs($json->items, $modules, $ytchag_thumb_width, $ytchag_key, $wid);
267
268
include 'templates/thumbs.php';
269
270
wp_die();
271
}
272
273
+ function getThumbs($items, $modules, $thumb_width, $key, $wid) {
274
275
$thumbs = array();
276
286
$thumb->modules = $modules;
287
$thumb->privacyStatus = isset($item->status->privacyStatus) ? $item->status->privacyStatus : null;
288
289
+ $details = $this->getThumbsDetails($thumb->id, $key, $wid);
290
$thumb->duration = $details->duration;
291
292
314
return $thumbs;
315
}
316
317
+ function getThumbsDetails($id, $key, $wid) {
318
319
+
320
+ $instance = get_option($wid);
321
+
322
+ extract($instance);
323
+
324
+ $ytchag_feed_url = 'https://www.googleapis.com/youtube/v3/videos?part=snippet,statistics,contentDetails,status&id=' . $id . '&key=' . $key;
325
+
326
+ $transientId = 'ytc-' .md5($ytchag_feed_url);
327
+
328
+ $videos_result = $this->get_rss_data ( $ytchag_cache, $transientId, $ytchag_feed_url, $ytchag_cache_time);
329
+
330
+
331
+ $json = json_decode($videos_result['body']);
332
333
$details = new stdClass();
334
817
$content .= isset($json->error->errors[0]->location) ? sprintf( __( 'Location: "%1$s". ', 'youtube-channel-gallery' ), $json->error->errors[0]->location ) : '';
818
$content .= '<br><br>';
819
820
+ $content .= sprintf( __( 'Did you added your own Google API key? Look at the <a href="http://poselab.com/en/youtube-channel-gallery-help" target="_blank">help</a>.', 'youtube-channel-gallery' ), $error_link, $error_type );
821
+ $content .= '<br><br>';
822
+
823
$content .= sprintf( __( 'Check in YouTube if the id %1$s belongs to a %2$s. ', 'youtube-channel-gallery' ), $error_link, $error_type );
824
if ( $ytchag_feed !== 'playlist' && ($ytchag_feed === 'favorites' || $ytchag_feed === 'likes') ) {
825
$content .= sprintf( __( 'If the user id is correct, check that the channel of the user has list of "%1$s". ', 'youtube-channel-gallery' ), $ytchag_feed );
829
}
830
else {
831
static $plugincount = 0;
832
$json = json_decode($videos_result['body']);
833
834
if ($json->pageInfo->totalResults > 0) {
855
856
ksort($modules);
857
858
+ $plugincount += 1;
859
+ $wid = 'ytc-' . $plugincount;
860
+
861
+ update_option($wid, $instance);
862
+
863
+ $thumbs = $this->getThumbs($json->items, $modules, $ytchag_thumb_width, $ytchag_key, $wid);
864
865
$content = '';
866
882
883
ksort($modules);
884
885
echo '<div class="youtubechannelgallery">';
886
echo '<div id="ytc-'. $plugincount .'">';
887
echo '<div id="ytc-wrapper">';