WP YouTube Lyte - Version 1.6.0

Version Description

  • New: support for YouTube API v3, requiring a server API key to be provided (due to YouTube closing down the anonymous v2 API)
  • New: updated player UI by Draikin, great job!
  • Improvement: better support for renamed wp-content directories (kudos to Wendihihihi)
  • Added Slovenian translation by Mitja Miheli or arnes.si
  • Updated Dutch & French translations, others are more then welcome
Download this release

Release Info

Developer futtta
Plugin Icon 128x128 WP YouTube Lyte
Version 1.6.0
Comparing to
See all releases

Code changes from version 1.5.0 to 1.6.0

languages/wp-youtube-lyte-fr_BE.mo CHANGED
Binary file
languages/wp-youtube-lyte-fr_BE.po CHANGED
@@ -3,16 +3,16 @@
3
  msgid ""
4
  msgstr ""
5
  "Project-Id-Version: WP YouTube Lyte 1.4.2\n"
6
- "Report-Msgid-Bugs-To: http://wordpress.org/tag/wp-youtube-lyte\n"
7
- "POT-Creation-Date: 2014-12-07 12:21:25+00:00\n"
 
 
 
 
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
11
- "PO-Revision-Date: 2014-12-08 16:32+0100\n"
12
- "Last-Translator: frank goossens (futtta) <futtta@gmail.com>\n"
13
- "Language-Team: Serge Bibauw <sbibauw@gmail.com>\n"
14
  "Plural-Forms: nplurals=2; plural=(n > 1);\n"
15
- "Language: fr\n"
16
  "X-Generator: Poedit 1.5.4\n"
17
 
18
  #: options.php:21
@@ -24,85 +24,84 @@ msgid "There was a problem, the WP YouTube Lyte cache could not be cleared."
24
  msgstr ""
25
  "Il y a eu un problème : le cache de WP YouTube Lyte n'a pas pu être effacé."
26
 
27
- #: options.php:71
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
28
  msgid "WP YouTube Lyte Settings"
29
  msgstr "Paramètres de WP YouTube Lyte"
30
 
31
- #: options.php:73
32
- msgid ""
33
- "WP YouTube Lyte inserts \"Lite YouTube Embeds\" in your blog. These look and "
34
- "feel like normal embedded YouTube, but don't use Flash unless clicked on, "
35
- "thereby <a href=\"http://blog.futtta.be/2012/04/03/speed-matters-re-"
36
- "evaluating-wp-youtube-lytes-performance/\" target=\"_blank\">reducing "
37
- "download size & rendering time substantially</a>. When a video is played, WP-"
38
- "YouTube-Lyte can either activate <a href=\"http://apiblog.youtube."
39
- "com/2010/07/new-way-to-embed-youtube-videos.html\" target=\"_blank"
40
- "\">YouTube's embedded html5-player</a> or the older Flash-version, depending "
41
- "on the settings below."
42
- msgstr ""
43
- "WP YouTube Lyte insère des \"Incrustations Lite YouTube© dans votre blog. "
44
- "Ceux-ci ont l'apparence d'incrustrations (<em>embed</em>) YouTube normales, "
45
- "mais ne lancent Flash qu'une fois cliquées, ce qui permet de <a href="
46
- "\"http://blog.futtta.be/2012/04/03/speed-matters-re-evaluating-wp-youtube-"
47
- "lytes-performance/\" target=\"_blank\">réduire le volume de téléchargement "
48
- "et le temps de chargement de manière importante</a>. Quand une vidéo est "
49
- "jouée, WP-YouTube-Lyte peut soit activer le <a href=\"http://apiblog.youtube."
50
- "com/2010/07/new-way-to-embed-youtube-videos.html\" target=\"_blank\">lecteur "
51
- "intégré HTML5 de YouTube</a> ou l'ancienne version Flash, en fonction des "
52
- "paramètres ci-dessous."
53
-
54
- #: options.php:74
55
- msgid ""
56
- "You can place video and audio in your posts and pages by adding one or more "
57
- "http<strong>v</strong> or http<strong>a</strong> YouTube-links to your post. "
58
- "These will automatically be replaced by WP YouTube Lyte with the correct "
59
- "(flash-less) code. To add a video for example, you type a URL like "
60
- "<em>http<strong>v</strong>://www.youtube.com/watch?v=QQPSMRQnNlU</em> or "
61
- "<em>http<strong>v</strong>://www.youtube.com/playlist?"
62
- "list=PLA486E741B25F8E00</em> for a playlist. If you want an audio-only "
63
- "player, you enter <em>http<strong>a</strong>://www.youtube.com/watch?"
64
- "v=BIQIGR-kWtc</em>. There's more info on the <a href=\"http://wordpress.org/"
65
- "extend/plugins/wp-youtube-lyte/faq/\" target=\"_blank\">wordpress.org WP "
66
- "YouTube Lyte FAQ page</a>."
67
- msgstr ""
68
- "Vous pouvez placer de la vidéo et de l'audio dans vos messages et pages en "
69
- "ajoutant un ou plusieurs liens YouTube http<strong>v</strong> ou "
70
- "http<strong>a</strong> à votre texte. Ils seront automatiquement remplacés "
71
- "par WP YouTube Lyte avec le code correct (sans Flash). Pour ajouter une "
72
- "vidéo par exemple, écrivez une URL comme <em>http<strong>v</strong>://www."
73
- "youtube.com/watch?v=QQPSMRQnNlU</em> ou <em>http<strong>v</strong>://www."
74
- "youtube.com/playlist?list=PLA486E741B25F8E00</em> pour une liste de lecture. "
75
- "Si vous voulez un lecteur audio uniquement, écrivez <em>http<strong>a</"
76
- "strong>://www.youtube.com/watch?v=BIQIGR-kWtc</em>. Vous trouverez plus "
77
- "d'informations sur la <a href=\"http://wordpress.org/extend/plugins/wp-"
78
- "youtube-lyte/faq/\" target=\"_blank\">FAQ wordpress.org de WP YouTube Lyte</"
79
- "a>."
80
-
81
- #: options.php:75
82
  msgid ""
83
- "You can modify WP-YouTube-Lyte's behaviour by changing the following "
84
- "settings:"
 
 
 
85
  msgstr ""
86
- "Vous pouvez modifier le comportement de WP-YouTube-Lyte en changeant les "
87
- "paramètres suivants :"
 
 
 
88
 
89
- #: options.php:84
 
 
 
 
90
  msgid "Player size"
91
  msgstr "Taille du lecteur"
92
 
93
- #: options.php:103
94
  msgid "Add links below the embedded videos?"
95
  msgstr "Ajouter des liens sous les vidéos incrustées ?"
96
 
97
- #: options.php:106
98
  msgid "Show links?"
99
  msgstr "Afficher des liens ?"
100
 
101
- #: options.php:107
 
 
 
 
102
  msgid " Add YouTube-link."
103
  msgstr " Ajouter un lien YouTube."
104
 
105
- #: options.php:108
 
 
 
 
106
  msgid ""
107
  " Add both a YouTube and an <a href=\"http://icant.co.uk/easy-youtube/docs/"
108
  "index.html\" target=\"_blank\">Easy YouTube</a>-link."
@@ -110,95 +109,183 @@ msgstr ""
110
  " Ajouter un lien YouTube et un lien <a href=\"http://icant.co.uk/easy-"
111
  "youtube/docs/index.html\" target=\"_blank\">Easy YouTube</a>."
112
 
113
- #: options.php:109
 
 
 
 
114
  msgid " Don't add any links."
115
  msgstr "N'ajouter aucun lien."
116
 
117
- #: options.php:114
118
  msgid "Player position:"
119
  msgstr "Position du lecteur :"
120
 
121
- #: options.php:117
122
  msgid "Left, center or right?"
123
  msgstr "Gauche, centré ou droite ?"
124
 
125
- #: options.php:118
126
  msgid "Left"
127
  msgstr "Gauche"
128
 
129
- #: options.php:119
130
  msgid "Center"
131
  msgstr "Centré"
132
 
133
- #: options.php:124
134
  msgid "Try to force HD (experimental)?"
135
  msgstr "Essayer de forcer la HD (expérimental) ?"
136
 
137
- #: options.php:127
138
  msgid "HD or not?"
139
  msgstr "HD ou pas ?"
140
 
141
- #: options.php:128
 
 
 
 
142
  msgid "Enable HD"
143
  msgstr "Activer la HD"
144
 
145
- #: options.php:129
 
 
 
 
146
  msgid "No HD (default)"
147
  msgstr "Pas de HD (par défaut)"
148
 
149
- #: options.php:134
150
  msgid "Add microdata?"
151
  msgstr "Ajouter des micro-ondes ?"
152
 
153
- #: options.php:137
154
  msgid "Add video microdata to the HTML?"
155
  msgstr "Ajouter des micro-données au code HTML ? "
156
 
157
- #: options.php:138 options.php:148
 
 
 
 
158
  msgid "Yes (default)"
159
  msgstr "Oui (par défaut)"
160
 
161
- #: options.php:139
 
 
 
 
162
  msgid "No microdata, thanks."
163
  msgstr "Non, pas de micro-données."
164
 
165
- #: options.php:144 options.php:147
166
  msgid "Also act on normal YouTube links?"
167
  msgstr "Agir aussi sur les liens YouTube normaux ?"
168
 
169
- #: options.php:149
 
 
 
 
 
 
 
 
170
  msgid "No thanks."
171
  msgstr "Non merci."
172
 
173
- #: options.php:154
174
  msgid "Empty WP YouTube Lyte's cache"
175
  msgstr "Vider le cache de WP YouTube Lyte"
176
 
177
- #: options.php:165
178
  msgid "Save Changes"
179
  msgstr "Enregistrer les modifications"
180
 
181
- #: options.php:173
182
  msgid "futtta about"
183
  msgstr "À propos de futtta"
184
 
 
185
  #. Plugin Name of the plugin/theme
186
- #: options.php:175
187
  msgid "WP YouTube Lyte"
188
  msgstr "WP YouTube Lyte"
189
 
190
- #: options.php:176
191
  msgid "WordPress"
192
  msgstr "WordPress"
193
 
194
- #: options.php:177
195
  msgid "Web Technology"
196
  msgstr "Technologie Web"
197
 
198
- #: options.php:181
199
  msgid "Do not donate for this plugin!"
200
  msgstr "Ne pas donner pour ce plugin !"
201
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
202
  #: player_sizes.inc.php:11
203
  msgid "Mini 16:9 player"
204
  msgstr "Mini lecteur 16:9"
@@ -264,30 +351,34 @@ msgstr "URL YouTube :"
264
  msgid "Text:"
265
  msgstr "Texte :"
266
 
267
- #: wp-youtube-lyte.php:181
268
  msgid "Watch this playlist on YouTube"
269
  msgstr "Lire cette liste de lecture sur YouTube"
270
 
271
- #: wp-youtube-lyte.php:187
272
  msgid "Watch this playlist"
273
  msgstr "Lire cette liste de lecture"
274
 
275
- #: wp-youtube-lyte.php:187 wp-youtube-lyte.php:199 wp-youtube-lyte.php:203
276
  msgid "on YouTube"
277
  msgstr "sur YouTube"
278
 
279
- #: wp-youtube-lyte.php:194
280
  msgid "Watch this video on YouTube"
281
  msgstr "Lire cette vidéo sur YouTube"
282
 
283
- #: wp-youtube-lyte.php:199 wp-youtube-lyte.php:203
284
  msgid "Watch this video"
285
  msgstr "Lire cette vidéo"
286
 
287
- #: wp-youtube-lyte.php:199
288
  msgid "or on"
289
  msgstr "ou sur"
290
 
 
 
 
 
291
  #. Plugin URI of the plugin/theme
292
  msgid "http://blog.futtta.be/wp-youtube-lyte/"
293
  msgstr "http://blog.futtta.be/wp-youtube-lyte/"
@@ -303,3 +394,58 @@ msgstr "Frank Goossens (futtta)"
303
  #. Author URI of the plugin/theme
304
  msgid "http://blog.futtta.be/"
305
  msgstr "http://blog.futtta.be/"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  msgid ""
4
  msgstr ""
5
  "Project-Id-Version: WP YouTube Lyte 1.4.2\n"
6
+ "Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/wp-youtube-lyte\n"
7
+ "POT-Creation-Date: 2015-03-06 17:49:26+00:00\n"
8
+ "PO-Revision-Date: 2015-03-27 16:49+0100\n"
9
+ "Last-Translator: frank goossens (futtta) <futtta@gmail.com>\n"
10
+ "Language-Team: Serge Bibauw <sbibauw@gmail.com>\n"
11
+ "Language: fr\n"
12
  "MIME-Version: 1.0\n"
13
  "Content-Type: text/plain; charset=UTF-8\n"
14
  "Content-Transfer-Encoding: 8bit\n"
 
 
 
15
  "Plural-Forms: nplurals=2; plural=(n > 1);\n"
 
16
  "X-Generator: Poedit 1.5.4\n"
17
 
18
  #: options.php:21
24
  msgstr ""
25
  "Il y a eu un problème : le cache de WP YouTube Lyte n'a pas pu être effacé."
26
 
27
+ #: options.php:61
28
+ msgid ""
29
+ "For WP YouTube Lyte to function optimally, you should enter an YouTube API "
30
+ "key "
31
+ msgstr ""
32
+ "Pour que WP YouTube Lyte fonctionne, vous devez entrer une YouTube API key"
33
+
34
+ #: options.php:63
35
+ msgid "in the settings screen."
36
+ msgstr "dans l'écran de configuration."
37
+
38
+ #: options.php:76
39
+ msgid "WP YouTube Lyte got the following error back from the YouTube API: "
40
+ msgstr "WP YouTube Lyte a reçu cette erreur du API YouTube:"
41
+
42
+ #: options.php:91
43
  msgid "WP YouTube Lyte Settings"
44
  msgstr "Paramètres de WP YouTube Lyte"
45
 
46
+ #: options.php:98
47
+ msgid "Your YouTube API key."
48
+ msgstr "Votre YouTube API key."
49
+
50
+ #: options.php:104
51
+ msgid "Please enter your YouTube API key."
52
+ msgstr "Veuillez entrer votre YouTube API key."
53
+
54
+ #: options.php:105
55
+ msgid "API key"
56
+ msgstr "API key"
57
+
58
+ #: options.php:105
59
+ msgid "Test Key"
60
+ msgstr "Testez l'API key."
61
+
62
+ #: options.php:107
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
63
  msgid ""
64
+ "WP YouTube Lyte uses YouTube's API to fetch information on each video. For "
65
+ "your site to use that API, you will have to <a href=\"https://console."
66
+ "developers.google.com/project/\" target=\"_blank\">register your site as a "
67
+ "new application</a>, enable the YouTube API for it and get a server key and "
68
+ "fill it out here."
69
  msgstr ""
70
+ "WP YouTube Lyte utilise l'API YouTube pour chercher de l'information sur "
71
+ "chaque vidéo. Pour que votre site puisse utiliser ce API, vous devez <a "
72
+ "href=\"https://console.developers.google.com/project/\" target=\"_blank"
73
+ "\">enregistrer votre site comme nouvelle application</a>, activer l'API "
74
+ "YouTube pour, générer une API key et remplir celle-la ici."
75
 
76
+ #: options.php:110
77
+ msgid "Great, your YouTube API key has been taken care of!"
78
+ msgstr "Superbe, votre API key YouTube est déjà OK."
79
+
80
+ #: options.php:115 options.php:117
81
  msgid "Player size"
82
  msgstr "Taille du lecteur"
83
 
84
+ #: options.php:136
85
  msgid "Add links below the embedded videos?"
86
  msgstr "Ajouter des liens sous les vidéos incrustées ?"
87
 
88
+ #: options.php:139
89
  msgid "Show links?"
90
  msgstr "Afficher des liens ?"
91
 
92
+ #: options.php:140
93
+ msgid "Show YouTube-link"
94
+ msgstr " Ajouter un lien YouTube."
95
+
96
+ #: options.php:140
97
  msgid " Add YouTube-link."
98
  msgstr " Ajouter un lien YouTube."
99
 
100
+ #: options.php:141
101
+ msgid "Show YouTube and Ease YouTube link"
102
+ msgstr "Montrez les liens YouTube et Easy YouTube"
103
+
104
+ #: options.php:141
105
  msgid ""
106
  " Add both a YouTube and an <a href=\"http://icant.co.uk/easy-youtube/docs/"
107
  "index.html\" target=\"_blank\">Easy YouTube</a>-link."
109
  " Ajouter un lien YouTube et un lien <a href=\"http://icant.co.uk/easy-"
110
  "youtube/docs/index.html\" target=\"_blank\">Easy YouTube</a>."
111
 
112
+ #: options.php:142
113
+ msgid "Don't include links."
114
+ msgstr "N'ajouter aucun lien."
115
+
116
+ #: options.php:142
117
  msgid " Don't add any links."
118
  msgstr "N'ajouter aucun lien."
119
 
120
+ #: options.php:147
121
  msgid "Player position:"
122
  msgstr "Position du lecteur :"
123
 
124
+ #: options.php:150
125
  msgid "Left, center or right?"
126
  msgstr "Gauche, centré ou droite ?"
127
 
128
+ #: options.php:151
129
  msgid "Left"
130
  msgstr "Gauche"
131
 
132
+ #: options.php:152
133
  msgid "Center"
134
  msgstr "Centré"
135
 
136
+ #: options.php:157
137
  msgid "Try to force HD (experimental)?"
138
  msgstr "Essayer de forcer la HD (expérimental) ?"
139
 
140
+ #: options.php:160
141
  msgid "HD or not?"
142
  msgstr "HD ou pas ?"
143
 
144
+ #: options.php:161
145
+ msgid "Enable HD?"
146
+ msgstr "Activer la HD"
147
+
148
+ #: options.php:161
149
  msgid "Enable HD"
150
  msgstr "Activer la HD"
151
 
152
+ #: options.php:162
153
+ msgid "Don't enable HD playback"
154
+ msgstr "Ne pas activer les vidéos HD."
155
+
156
+ #: options.php:162
157
  msgid "No HD (default)"
158
  msgstr "Pas de HD (par défaut)"
159
 
160
+ #: options.php:167
161
  msgid "Add microdata?"
162
  msgstr "Ajouter des micro-ondes ?"
163
 
164
+ #: options.php:170
165
  msgid "Add video microdata to the HTML?"
166
  msgstr "Ajouter des micro-données au code HTML ? "
167
 
168
+ #: options.php:171
169
+ msgid "Sure, add microdata!"
170
+ msgstr "Ajouter des micro-ondes ?"
171
+
172
+ #: options.php:171 options.php:181
173
  msgid "Yes (default)"
174
  msgstr "Oui (par défaut)"
175
 
176
+ #: options.php:172
177
+ msgid "No microdata in my HTML please."
178
+ msgstr "Non, pas de micro-données."
179
+
180
+ #: options.php:172
181
  msgid "No microdata, thanks."
182
  msgstr "Non, pas de micro-données."
183
 
184
+ #: options.php:177 options.php:180
185
  msgid "Also act on normal YouTube links?"
186
  msgstr "Agir aussi sur les liens YouTube normaux ?"
187
 
188
+ #: options.php:181
189
+ msgid "That would be great!"
190
+ msgstr "Ce serait magnifique!"
191
+
192
+ #: options.php:182
193
+ msgid "No, I'll stick to httpv or shortcodes."
194
+ msgstr "Non, je préfère les liens httpv ou les \"shortcodes\""
195
+
196
+ #: options.php:182
197
  msgid "No thanks."
198
  msgstr "Non merci."
199
 
200
+ #: options.php:187
201
  msgid "Empty WP YouTube Lyte's cache"
202
  msgstr "Vider le cache de WP YouTube Lyte"
203
 
204
+ #: options.php:198
205
  msgid "Save Changes"
206
  msgstr "Enregistrer les modifications"
207
 
208
+ #: options.php:206
209
  msgid "futtta about"
210
  msgstr "À propos de futtta"
211
 
212
+ #. #-#-#-#-# plugin.pot (WP YouTube Lyte 1.5.0) #-#-#-#-#
213
  #. Plugin Name of the plugin/theme
214
+ #: options.php:208
215
  msgid "WP YouTube Lyte"
216
  msgstr "WP YouTube Lyte"
217
 
218
+ #: options.php:209
219
  msgid "WordPress"
220
  msgstr "WordPress"
221
 
222
+ #: options.php:210
223
  msgid "Web Technology"
224
  msgstr "Technologie Web"
225
 
226
+ #: options.php:214
227
  msgid "Do not donate for this plugin!"
228
  msgstr "Ne pas donner pour ce plugin !"
229
 
230
+ #: options.php:228
231
+ msgid "Checking your key ..."
232
+ msgstr "En train de vérifier votre API key."
233
+
234
+ #: options.php:242
235
+ msgid "That does not seem to be a correct API key!"
236
+ msgstr "Cela ne semble pas être une API key correcte!"
237
+
238
+ #: options.php:283
239
+ msgid "API seems OK, you can Save Changes below now."
240
+ msgstr "API key semble être OK, vous pouvez sauvegarder en bas du page."
241
+
242
+ #: options.php:285
243
+ msgid "API key not OK, your key seems to "
244
+ msgstr "API key n'est pas OK, mais semble"
245
+
246
+ #: options.php:288
247
+ msgid "be invalid."
248
+ msgstr "être invalide."
249
+
250
+ #: options.php:291
251
+ msgid "be valid, but restricted to an IP-address which is not your server's."
252
+ msgstr "être valide, mais n'est pas activé pour l'adresse IP de votre serveur."
253
+
254
+ #: options.php:292
255
+ msgid "Try changing the allowed IP for your API key to include this one: "
256
+ msgstr "Essaie de changer l'adresse IP pour votre API key."
257
+
258
+ #: options.php:296
259
+ msgid "have expired, please check in the Google Developer Console."
260
+ msgstr "être plus valide, veuillez vérifier dans le Google Developer Console."
261
+
262
+ #: options.php:302
263
+ msgid ""
264
+ "be correct, but seems to have exceeded the number of requests that can be "
265
+ "made with it."
266
+ msgstr ""
267
+ "être correcte, mais as surpassé la limite de nombre de requêtes permis."
268
+
269
+ #: options.php:305
270
+ msgid "probably work, but as the video with id "
271
+ msgstr "fonctionnera probablement, mais la vidéo avec ID "
272
+
273
+ #: options.php:307
274
+ msgid " was not found we cannot be sure, please try again."
275
+ msgstr "n'a pas été retrouvé, veuillez essayer de nouveau."
276
+
277
+ #: options.php:310
278
+ msgid "be faulty, with YouTube API returning reason: "
279
+ msgstr "être invalide, avec ce réponse du API YouTube:"
280
+
281
+ #: options.php:315
282
+ msgid ""
283
+ "Something went wrong, WP YouTube Lyte might not have been able to retrieve "
284
+ "information from the YouTube API, got error: "
285
+ msgstr ""
286
+ "Il y avait une problème, WP YouTube Lyte n'a probablement pas pu retrouver "
287
+ "de l'information de l'API YouTube avec l'erreur suivant:"
288
+
289
  #: player_sizes.inc.php:11
290
  msgid "Mini 16:9 player"
291
  msgstr "Mini lecteur 16:9"
351
  msgid "Text:"
352
  msgstr "Texte :"
353
 
354
+ #: wp-youtube-lyte.php:186
355
  msgid "Watch this playlist on YouTube"
356
  msgstr "Lire cette liste de lecture sur YouTube"
357
 
358
+ #: wp-youtube-lyte.php:192
359
  msgid "Watch this playlist"
360
  msgstr "Lire cette liste de lecture"
361
 
362
+ #: wp-youtube-lyte.php:192 wp-youtube-lyte.php:204 wp-youtube-lyte.php:208
363
  msgid "on YouTube"
364
  msgstr "sur YouTube"
365
 
366
+ #: wp-youtube-lyte.php:199
367
  msgid "Watch this video on YouTube"
368
  msgstr "Lire cette vidéo sur YouTube"
369
 
370
+ #: wp-youtube-lyte.php:204 wp-youtube-lyte.php:208
371
  msgid "Watch this video"
372
  msgstr "Lire cette vidéo"
373
 
374
+ #: wp-youtube-lyte.php:204
375
  msgid "or on"
376
  msgstr "ou sur"
377
 
378
+ #: wp-youtube-lyte.php:586
379
+ msgid "Settings"
380
+ msgstr "Configuration"
381
+
382
  #. Plugin URI of the plugin/theme
383
  msgid "http://blog.futtta.be/wp-youtube-lyte/"
384
  msgstr "http://blog.futtta.be/wp-youtube-lyte/"
394
  #. Author URI of the plugin/theme
395
  msgid "http://blog.futtta.be/"
396
  msgstr "http://blog.futtta.be/"
397
+
398
+ #~ msgid ""
399
+ #~ "WP YouTube Lyte inserts \"Lite YouTube Embeds\" in your blog. These look "
400
+ #~ "and feel like normal embedded YouTube, but don't use Flash unless clicked "
401
+ #~ "on, thereby <a href=\"http://blog.futtta.be/2012/04/03/speed-matters-re-"
402
+ #~ "evaluating-wp-youtube-lytes-performance/\" target=\"_blank\">reducing "
403
+ #~ "download size & rendering time substantially</a>. When a video is played, "
404
+ #~ "WP-YouTube-Lyte can either activate <a href=\"http://apiblog.youtube."
405
+ #~ "com/2010/07/new-way-to-embed-youtube-videos.html\" target=\"_blank"
406
+ #~ "\">YouTube's embedded html5-player</a> or the older Flash-version, "
407
+ #~ "depending on the settings below."
408
+ #~ msgstr ""
409
+ #~ "WP YouTube Lyte insère des \"Incrustations Lite YouTube© dans votre blog. "
410
+ #~ "Ceux-ci ont l'apparence d'incrustrations (<em>embed</em>) YouTube "
411
+ #~ "normales, mais ne lancent Flash qu'une fois cliquées, ce qui permet de <a "
412
+ #~ "href=\"http://blog.futtta.be/2012/04/03/speed-matters-re-evaluating-wp-"
413
+ #~ "youtube-lytes-performance/\" target=\"_blank\">réduire le volume de "
414
+ #~ "téléchargement et le temps de chargement de manière importante</a>. Quand "
415
+ #~ "une vidéo est jouée, WP-YouTube-Lyte peut soit activer le <a href="
416
+ #~ "\"http://apiblog.youtube.com/2010/07/new-way-to-embed-youtube-videos.html"
417
+ #~ "\" target=\"_blank\">lecteur intégré HTML5 de YouTube</a> ou l'ancienne "
418
+ #~ "version Flash, en fonction des paramètres ci-dessous."
419
+
420
+ #~ msgid ""
421
+ #~ "You can place video and audio in your posts and pages by adding one or "
422
+ #~ "more http<strong>v</strong> or http<strong>a</strong> YouTube-links to "
423
+ #~ "your post. These will automatically be replaced by WP YouTube Lyte with "
424
+ #~ "the correct (flash-less) code. To add a video for example, you type a URL "
425
+ #~ "like <em>http<strong>v</strong>://www.youtube.com/watch?v=QQPSMRQnNlU</"
426
+ #~ "em> or <em>http<strong>v</strong>://www.youtube.com/playlist?"
427
+ #~ "list=PLA486E741B25F8E00</em> for a playlist. If you want an audio-only "
428
+ #~ "player, you enter <em>http<strong>a</strong>://www.youtube.com/watch?"
429
+ #~ "v=BIQIGR-kWtc</em>. There's more info on the <a href=\"http://wordpress."
430
+ #~ "org/extend/plugins/wp-youtube-lyte/faq/\" target=\"_blank\">wordpress.org "
431
+ #~ "WP YouTube Lyte FAQ page</a>."
432
+ #~ msgstr ""
433
+ #~ "Vous pouvez placer de la vidéo et de l'audio dans vos messages et pages "
434
+ #~ "en ajoutant un ou plusieurs liens YouTube http<strong>v</strong> ou "
435
+ #~ "http<strong>a</strong> à votre texte. Ils seront automatiquement "
436
+ #~ "remplacés par WP YouTube Lyte avec le code correct (sans Flash). Pour "
437
+ #~ "ajouter une vidéo par exemple, écrivez une URL comme <em>http<strong>v</"
438
+ #~ "strong>://www.youtube.com/watch?v=QQPSMRQnNlU</em> ou <em>http<strong>v</"
439
+ #~ "strong>://www.youtube.com/playlist?list=PLA486E741B25F8E00</em> pour une "
440
+ #~ "liste de lecture. Si vous voulez un lecteur audio uniquement, écrivez "
441
+ #~ "<em>http<strong>a</strong>://www.youtube.com/watch?v=BIQIGR-kWtc</em>. "
442
+ #~ "Vous trouverez plus d'informations sur la <a href=\"http://wordpress.org/"
443
+ #~ "extend/plugins/wp-youtube-lyte/faq/\" target=\"_blank\">FAQ wordpress.org "
444
+ #~ "de WP YouTube Lyte</a>."
445
+
446
+ #~ msgid ""
447
+ #~ "You can modify WP-YouTube-Lyte's behaviour by changing the following "
448
+ #~ "settings:"
449
+ #~ msgstr ""
450
+ #~ "Vous pouvez modifier le comportement de WP-YouTube-Lyte en changeant les "
451
+ #~ "paramètres suivants :"
languages/wp-youtube-lyte-fr_FR.mo CHANGED
Binary file
languages/wp-youtube-lyte-fr_FR.po CHANGED
@@ -3,16 +3,16 @@
3
  msgid ""
4
  msgstr ""
5
  "Project-Id-Version: WP YouTube Lyte 1.4.2\n"
6
- "Report-Msgid-Bugs-To: http://wordpress.org/tag/wp-youtube-lyte\n"
7
- "POT-Creation-Date: 2014-12-07 12:21:25+00:00\n"
 
 
 
 
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
11
- "PO-Revision-Date: 2014-12-08 15:10+0100\n"
12
- "Last-Translator: frank goossens (futtta) <futtta@gmail.com>\n"
13
- "Language-Team: Serge Bibauw <sbibauw@gmail.com>\n"
14
  "Plural-Forms: nplurals=2; plural=(n > 1);\n"
15
- "Language: fr\n"
16
  "X-Generator: Poedit 1.5.4\n"
17
 
18
  #: options.php:21
@@ -24,85 +24,84 @@ msgid "There was a problem, the WP YouTube Lyte cache could not be cleared."
24
  msgstr ""
25
  "Il y a eu un problème : le cache de WP YouTube Lyte n'a pas pu être effacé."
26
 
27
- #: options.php:71
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
28
  msgid "WP YouTube Lyte Settings"
29
  msgstr "Paramètres de WP YouTube Lyte"
30
 
31
- #: options.php:73
32
- msgid ""
33
- "WP YouTube Lyte inserts \"Lite YouTube Embeds\" in your blog. These look and "
34
- "feel like normal embedded YouTube, but don't use Flash unless clicked on, "
35
- "thereby <a href=\"http://blog.futtta.be/2012/04/03/speed-matters-re-"
36
- "evaluating-wp-youtube-lytes-performance/\" target=\"_blank\">reducing "
37
- "download size & rendering time substantially</a>. When a video is played, WP-"
38
- "YouTube-Lyte can either activate <a href=\"http://apiblog.youtube."
39
- "com/2010/07/new-way-to-embed-youtube-videos.html\" target=\"_blank"
40
- "\">YouTube's embedded html5-player</a> or the older Flash-version, depending "
41
- "on the settings below."
42
- msgstr ""
43
- "WP YouTube Lyte insère des \"Incrustations Lite YouTube© dans votre blog. "
44
- "Ceux-ci ont l'apparence d'incrustrations (<em>embed</em>) YouTube normales, "
45
- "mais ne lancent Flash qu'une fois cliquées, ce qui permet de <a href="
46
- "\"http://blog.futtta.be/2012/04/03/speed-matters-re-evaluating-wp-youtube-"
47
- "lytes-performance/\" target=\"_blank\">réduire le volume de téléchargement "
48
- "et le temps de chargement de manière importante</a>. Quand une vidéo est "
49
- "jouée, WP-YouTube-Lyte peut soit activer le <a href=\"http://apiblog.youtube."
50
- "com/2010/07/new-way-to-embed-youtube-videos.html\" target=\"_blank\">lecteur "
51
- "intégré HTML5 de YouTube</a> ou l'ancienne version Flash, en fonction des "
52
- "paramètres ci-dessous."
53
-
54
- #: options.php:74
55
- msgid ""
56
- "You can place video and audio in your posts and pages by adding one or more "
57
- "http<strong>v</strong> or http<strong>a</strong> YouTube-links to your post. "
58
- "These will automatically be replaced by WP YouTube Lyte with the correct "
59
- "(flash-less) code. To add a video for example, you type a URL like "
60
- "<em>http<strong>v</strong>://www.youtube.com/watch?v=QQPSMRQnNlU</em> or "
61
- "<em>http<strong>v</strong>://www.youtube.com/playlist?"
62
- "list=PLA486E741B25F8E00</em> for a playlist. If you want an audio-only "
63
- "player, you enter <em>http<strong>a</strong>://www.youtube.com/watch?"
64
- "v=BIQIGR-kWtc</em>. There's more info on the <a href=\"http://wordpress.org/"
65
- "extend/plugins/wp-youtube-lyte/faq/\" target=\"_blank\">wordpress.org WP "
66
- "YouTube Lyte FAQ page</a>."
67
- msgstr ""
68
- "Vous pouvez placer de la vidéo et de l'audio dans vos messages et pages en "
69
- "ajoutant un ou plusieurs liens YouTube http<strong>v</strong> ou "
70
- "http<strong>a</strong> à votre texte. Ils seront automatiquement remplacés "
71
- "par WP YouTube Lyte avec le code correct (sans Flash). Pour ajouter une "
72
- "vidéo par exemple, écrivez une URL comme <em>http<strong>v</strong>://www."
73
- "youtube.com/watch?v=QQPSMRQnNlU</em> ou <em>http<strong>v</strong>://www."
74
- "youtube.com/playlist?list=PLA486E741B25F8E00</em> pour une liste de lecture. "
75
- "Si vous voulez un lecteur audio uniquement, écrivez <em>http<strong>a</"
76
- "strong>://www.youtube.com/watch?v=BIQIGR-kWtc</em>. Vous trouverez plus "
77
- "d'informations sur la <a href=\"http://wordpress.org/extend/plugins/wp-"
78
- "youtube-lyte/faq/\" target=\"_blank\">FAQ wordpress.org de WP YouTube Lyte</"
79
- "a>."
80
-
81
- #: options.php:75
82
  msgid ""
83
- "You can modify WP-YouTube-Lyte's behaviour by changing the following "
84
- "settings:"
 
 
 
85
  msgstr ""
86
- "Vous pouvez modifier le comportement de WP-YouTube-Lyte en changeant les "
87
- "paramètres suivants :"
 
 
 
88
 
89
- #: options.php:84
 
 
 
 
90
  msgid "Player size"
91
  msgstr "Taille du lecteur"
92
 
93
- #: options.php:103
94
  msgid "Add links below the embedded videos?"
95
  msgstr "Ajouter des liens sous les vidéos incrustées ?"
96
 
97
- #: options.php:106
98
  msgid "Show links?"
99
  msgstr "Afficher des liens ?"
100
 
101
- #: options.php:107
 
 
 
 
102
  msgid " Add YouTube-link."
103
  msgstr " Ajouter un lien YouTube."
104
 
105
- #: options.php:108
 
 
 
 
106
  msgid ""
107
  " Add both a YouTube and an <a href=\"http://icant.co.uk/easy-youtube/docs/"
108
  "index.html\" target=\"_blank\">Easy YouTube</a>-link."
@@ -110,95 +109,183 @@ msgstr ""
110
  " Ajouter un lien YouTube et un lien <a href=\"http://icant.co.uk/easy-"
111
  "youtube/docs/index.html\" target=\"_blank\">Easy YouTube</a>."
112
 
113
- #: options.php:109
 
 
 
 
114
  msgid " Don't add any links."
115
  msgstr "N'ajouter aucun lien."
116
 
117
- #: options.php:114
118
  msgid "Player position:"
119
  msgstr "Position du lecteur :"
120
 
121
- #: options.php:117
122
  msgid "Left, center or right?"
123
  msgstr "Gauche, centré ou droite ?"
124
 
125
- #: options.php:118
126
  msgid "Left"
127
  msgstr "Gauche"
128
 
129
- #: options.php:119
130
  msgid "Center"
131
  msgstr "Centré"
132
 
133
- #: options.php:124
134
  msgid "Try to force HD (experimental)?"
135
  msgstr "Essayer de forcer la HD (expérimental) ?"
136
 
137
- #: options.php:127
138
  msgid "HD or not?"
139
  msgstr "HD ou pas ?"
140
 
141
- #: options.php:128
 
 
 
 
142
  msgid "Enable HD"
143
  msgstr "Activer la HD"
144
 
145
- #: options.php:129
 
 
 
 
146
  msgid "No HD (default)"
147
  msgstr "Pas de HD (par défaut)"
148
 
149
- #: options.php:134
150
  msgid "Add microdata?"
151
  msgstr "Ajouter des micro-ondes ?"
152
 
153
- #: options.php:137
154
  msgid "Add video microdata to the HTML?"
155
  msgstr "Ajouter des micro-données au code HTML ? "
156
 
157
- #: options.php:138 options.php:148
 
 
 
 
158
  msgid "Yes (default)"
159
  msgstr "Oui (par défaut)"
160
 
161
- #: options.php:139
 
 
 
 
162
  msgid "No microdata, thanks."
163
  msgstr "Non, pas de micro-données."
164
 
165
- #: options.php:144 options.php:147
166
  msgid "Also act on normal YouTube links?"
167
  msgstr "Agir aussi sur les liens YouTube normaux ?"
168
 
169
- #: options.php:149
 
 
 
 
 
 
 
 
170
  msgid "No thanks."
171
  msgstr "Non merci."
172
 
173
- #: options.php:154
174
  msgid "Empty WP YouTube Lyte's cache"
175
  msgstr "Vider le cache de WP YouTube Lyte"
176
 
177
- #: options.php:165
178
  msgid "Save Changes"
179
  msgstr "Enregistrer les modifications"
180
 
181
- #: options.php:173
182
  msgid "futtta about"
183
  msgstr "À propos de futtta"
184
 
 
185
  #. Plugin Name of the plugin/theme
186
- #: options.php:175
187
  msgid "WP YouTube Lyte"
188
  msgstr "WP YouTube Lyte"
189
 
190
- #: options.php:176
191
  msgid "WordPress"
192
  msgstr "WordPress"
193
 
194
- #: options.php:177
195
  msgid "Web Technology"
196
  msgstr "Technologie Web"
197
 
198
- #: options.php:181
199
  msgid "Do not donate for this plugin!"
200
  msgstr "Ne pas donner pour ce plugin !"
201
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
202
  #: player_sizes.inc.php:11
203
  msgid "Mini 16:9 player"
204
  msgstr "Mini lecteur 16:9"
@@ -264,30 +351,34 @@ msgstr "URL YouTube :"
264
  msgid "Text:"
265
  msgstr "Texte :"
266
 
267
- #: wp-youtube-lyte.php:181
268
  msgid "Watch this playlist on YouTube"
269
  msgstr "Lire cette liste de lecture sur YouTube"
270
 
271
- #: wp-youtube-lyte.php:187
272
  msgid "Watch this playlist"
273
  msgstr "Lire cette liste de lecture"
274
 
275
- #: wp-youtube-lyte.php:187 wp-youtube-lyte.php:199 wp-youtube-lyte.php:203
276
  msgid "on YouTube"
277
  msgstr "sur YouTube"
278
 
279
- #: wp-youtube-lyte.php:194
280
  msgid "Watch this video on YouTube"
281
  msgstr "Lire cette vidéo sur YouTube"
282
 
283
- #: wp-youtube-lyte.php:199 wp-youtube-lyte.php:203
284
  msgid "Watch this video"
285
  msgstr "Lire cette vidéo"
286
 
287
- #: wp-youtube-lyte.php:199
288
  msgid "or on"
289
  msgstr "ou sur"
290
 
 
 
 
 
291
  #. Plugin URI of the plugin/theme
292
  msgid "http://blog.futtta.be/wp-youtube-lyte/"
293
  msgstr "http://blog.futtta.be/wp-youtube-lyte/"
@@ -303,3 +394,58 @@ msgstr "Frank Goossens (futtta)"
303
  #. Author URI of the plugin/theme
304
  msgid "http://blog.futtta.be/"
305
  msgstr "http://blog.futtta.be/"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  msgid ""
4
  msgstr ""
5
  "Project-Id-Version: WP YouTube Lyte 1.4.2\n"
6
+ "Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/wp-youtube-lyte\n"
7
+ "POT-Creation-Date: 2015-03-06 17:49:26+00:00\n"
8
+ "PO-Revision-Date: 2015-03-27 16:49+0100\n"
9
+ "Last-Translator: frank goossens (futtta) <futtta@gmail.com>\n"
10
+ "Language-Team: Serge Bibauw <sbibauw@gmail.com>\n"
11
+ "Language: fr\n"
12
  "MIME-Version: 1.0\n"
13
  "Content-Type: text/plain; charset=UTF-8\n"
14
  "Content-Transfer-Encoding: 8bit\n"
 
 
 
15
  "Plural-Forms: nplurals=2; plural=(n > 1);\n"
 
16
  "X-Generator: Poedit 1.5.4\n"
17
 
18
  #: options.php:21
24
  msgstr ""
25
  "Il y a eu un problème : le cache de WP YouTube Lyte n'a pas pu être effacé."
26
 
27
+ #: options.php:61
28
+ msgid ""
29
+ "For WP YouTube Lyte to function optimally, you should enter an YouTube API "
30
+ "key "
31
+ msgstr ""
32
+ "Pour que WP YouTube Lyte fonctionne, vous devez entrer une YouTube API key"
33
+
34
+ #: options.php:63
35
+ msgid "in the settings screen."
36
+ msgstr "dans l'écran de configuration."
37
+
38
+ #: options.php:76
39
+ msgid "WP YouTube Lyte got the following error back from the YouTube API: "
40
+ msgstr "WP YouTube Lyte a reçu cette erreur du API YouTube:"
41
+
42
+ #: options.php:91
43
  msgid "WP YouTube Lyte Settings"
44
  msgstr "Paramètres de WP YouTube Lyte"
45
 
46
+ #: options.php:98
47
+ msgid "Your YouTube API key."
48
+ msgstr "Votre YouTube API key."
49
+
50
+ #: options.php:104
51
+ msgid "Please enter your YouTube API key."
52
+ msgstr "Veuillez entrer votre YouTube API key."
53
+
54
+ #: options.php:105
55
+ msgid "API key"
56
+ msgstr "API key"
57
+
58
+ #: options.php:105
59
+ msgid "Test Key"
60
+ msgstr "Testez l'API key."
61
+
62
+ #: options.php:107
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
63
  msgid ""
64
+ "WP YouTube Lyte uses YouTube's API to fetch information on each video. For "
65
+ "your site to use that API, you will have to <a href=\"https://console."
66
+ "developers.google.com/project/\" target=\"_blank\">register your site as a "
67
+ "new application</a>, enable the YouTube API for it and get a server key and "
68
+ "fill it out here."
69
  msgstr ""
70
+ "WP YouTube Lyte utilise l'API YouTube pour chercher de l'information sur "
71
+ "chaque vidéo. Pour que votre site puisse utiliser ce API, vous devez <a "
72
+ "href=\"https://console.developers.google.com/project/\" target=\"_blank"
73
+ "\">enregistrer votre site comme nouvelle application</a>, activer l'API "
74
+ "YouTube pour, générer une API key et remplir celle-la ici."
75
 
76
+ #: options.php:110
77
+ msgid "Great, your YouTube API key has been taken care of!"
78
+ msgstr "Superbe, votre API key YouTube est déjà OK."
79
+
80
+ #: options.php:115 options.php:117
81
  msgid "Player size"
82
  msgstr "Taille du lecteur"
83
 
84
+ #: options.php:136
85
  msgid "Add links below the embedded videos?"
86
  msgstr "Ajouter des liens sous les vidéos incrustées ?"
87
 
88
+ #: options.php:139
89
  msgid "Show links?"
90
  msgstr "Afficher des liens ?"
91
 
92
+ #: options.php:140
93
+ msgid "Show YouTube-link"
94
+ msgstr " Ajouter un lien YouTube."
95
+
96
+ #: options.php:140
97
  msgid " Add YouTube-link."
98
  msgstr " Ajouter un lien YouTube."
99
 
100
+ #: options.php:141
101
+ msgid "Show YouTube and Ease YouTube link"
102
+ msgstr "Montrez les liens YouTube et Easy YouTube"
103
+
104
+ #: options.php:141
105
  msgid ""
106
  " Add both a YouTube and an <a href=\"http://icant.co.uk/easy-youtube/docs/"
107
  "index.html\" target=\"_blank\">Easy YouTube</a>-link."
109
  " Ajouter un lien YouTube et un lien <a href=\"http://icant.co.uk/easy-"
110
  "youtube/docs/index.html\" target=\"_blank\">Easy YouTube</a>."
111
 
112
+ #: options.php:142
113
+ msgid "Don't include links."
114
+ msgstr "N'ajouter aucun lien."
115
+
116
+ #: options.php:142
117
  msgid " Don't add any links."
118
  msgstr "N'ajouter aucun lien."
119
 
120
+ #: options.php:147
121
  msgid "Player position:"
122
  msgstr "Position du lecteur :"
123
 
124
+ #: options.php:150
125
  msgid "Left, center or right?"
126
  msgstr "Gauche, centré ou droite ?"
127
 
128
+ #: options.php:151
129
  msgid "Left"
130
  msgstr "Gauche"
131
 
132
+ #: options.php:152
133
  msgid "Center"
134
  msgstr "Centré"
135
 
136
+ #: options.php:157
137
  msgid "Try to force HD (experimental)?"
138
  msgstr "Essayer de forcer la HD (expérimental) ?"
139
 
140
+ #: options.php:160
141
  msgid "HD or not?"
142
  msgstr "HD ou pas ?"
143
 
144
+ #: options.php:161
145
+ msgid "Enable HD?"
146
+ msgstr "Activer la HD"
147
+
148
+ #: options.php:161
149
  msgid "Enable HD"
150
  msgstr "Activer la HD"
151
 
152
+ #: options.php:162
153
+ msgid "Don't enable HD playback"
154
+ msgstr "Ne pas activer les vidéos HD."
155
+
156
+ #: options.php:162
157
  msgid "No HD (default)"
158
  msgstr "Pas de HD (par défaut)"
159
 
160
+ #: options.php:167
161
  msgid "Add microdata?"
162
  msgstr "Ajouter des micro-ondes ?"
163
 
164
+ #: options.php:170
165
  msgid "Add video microdata to the HTML?"
166
  msgstr "Ajouter des micro-données au code HTML ? "
167
 
168
+ #: options.php:171
169
+ msgid "Sure, add microdata!"
170
+ msgstr "Ajouter des micro-ondes ?"
171
+
172
+ #: options.php:171 options.php:181
173
  msgid "Yes (default)"
174
  msgstr "Oui (par défaut)"
175
 
176
+ #: options.php:172
177
+ msgid "No microdata in my HTML please."
178
+ msgstr "Non, pas de micro-données."
179
+
180
+ #: options.php:172
181
  msgid "No microdata, thanks."
182
  msgstr "Non, pas de micro-données."
183
 
184
+ #: options.php:177 options.php:180
185
  msgid "Also act on normal YouTube links?"
186
  msgstr "Agir aussi sur les liens YouTube normaux ?"
187
 
188
+ #: options.php:181
189
+ msgid "That would be great!"
190
+ msgstr "Ce serait magnifique!"
191
+
192
+ #: options.php:182
193
+ msgid "No, I'll stick to httpv or shortcodes."
194
+ msgstr "Non, je préfère les liens httpv ou les \"shortcodes\""
195
+
196
+ #: options.php:182
197
  msgid "No thanks."
198
  msgstr "Non merci."
199
 
200
+ #: options.php:187
201
  msgid "Empty WP YouTube Lyte's cache"
202
  msgstr "Vider le cache de WP YouTube Lyte"
203
 
204
+ #: options.php:198
205
  msgid "Save Changes"
206
  msgstr "Enregistrer les modifications"
207
 
208
+ #: options.php:206
209
  msgid "futtta about"
210
  msgstr "À propos de futtta"
211
 
212
+ #. #-#-#-#-# plugin.pot (WP YouTube Lyte 1.5.0) #-#-#-#-#
213
  #. Plugin Name of the plugin/theme
214
+ #: options.php:208
215
  msgid "WP YouTube Lyte"
216
  msgstr "WP YouTube Lyte"
217
 
218
+ #: options.php:209
219
  msgid "WordPress"
220
  msgstr "WordPress"
221
 
222
+ #: options.php:210
223
  msgid "Web Technology"
224
  msgstr "Technologie Web"
225
 
226
+ #: options.php:214
227
  msgid "Do not donate for this plugin!"
228
  msgstr "Ne pas donner pour ce plugin !"
229
 
230
+ #: options.php:228
231
+ msgid "Checking your key ..."
232
+ msgstr "En train de vérifier votre API key."
233
+
234
+ #: options.php:242
235
+ msgid "That does not seem to be a correct API key!"
236
+ msgstr "Cela ne semble pas être une API key correcte!"
237
+
238
+ #: options.php:283
239
+ msgid "API seems OK, you can Save Changes below now."
240
+ msgstr "API key semble être OK, vous pouvez sauvegarder en bas du page."
241
+
242
+ #: options.php:285
243
+ msgid "API key not OK, your key seems to "
244
+ msgstr "API key n'est pas OK, mais semble"
245
+
246
+ #: options.php:288
247
+ msgid "be invalid."
248
+ msgstr "être invalide."
249
+
250
+ #: options.php:291
251
+ msgid "be valid, but restricted to an IP-address which is not your server's."
252
+ msgstr "être valide, mais n'est pas activé pour l'adresse IP de votre serveur."
253
+
254
+ #: options.php:292
255
+ msgid "Try changing the allowed IP for your API key to include this one: "
256
+ msgstr "Essaie de changer l'adresse IP pour votre API key."
257
+
258
+ #: options.php:296
259
+ msgid "have expired, please check in the Google Developer Console."
260
+ msgstr "être plus valide, veuillez vérifier dans le Google Developer Console."
261
+
262
+ #: options.php:302
263
+ msgid ""
264
+ "be correct, but seems to have exceeded the number of requests that can be "
265
+ "made with it."
266
+ msgstr ""
267
+ "être correcte, mais as surpassé la limite de nombre de requêtes permis."
268
+
269
+ #: options.php:305
270
+ msgid "probably work, but as the video with id "
271
+ msgstr "fonctionnera probablement, mais la vidéo avec ID "
272
+
273
+ #: options.php:307
274
+ msgid " was not found we cannot be sure, please try again."
275
+ msgstr "n'a pas été retrouvé, veuillez essayer de nouveau."
276
+
277
+ #: options.php:310
278
+ msgid "be faulty, with YouTube API returning reason: "
279
+ msgstr "être invalide, avec ce réponse du API YouTube:"
280
+
281
+ #: options.php:315
282
+ msgid ""
283
+ "Something went wrong, WP YouTube Lyte might not have been able to retrieve "
284
+ "information from the YouTube API, got error: "
285
+ msgstr ""
286
+ "Il y avait une problème, WP YouTube Lyte n'a probablement pas pu retrouver "
287
+ "de l'information de l'API YouTube avec l'erreur suivant:"
288
+
289
  #: player_sizes.inc.php:11
290
  msgid "Mini 16:9 player"
291
  msgstr "Mini lecteur 16:9"
351
  msgid "Text:"
352
  msgstr "Texte :"
353
 
354
+ #: wp-youtube-lyte.php:186
355
  msgid "Watch this playlist on YouTube"
356
  msgstr "Lire cette liste de lecture sur YouTube"
357
 
358
+ #: wp-youtube-lyte.php:192
359
  msgid "Watch this playlist"
360
  msgstr "Lire cette liste de lecture"
361
 
362
+ #: wp-youtube-lyte.php:192 wp-youtube-lyte.php:204 wp-youtube-lyte.php:208
363
  msgid "on YouTube"
364
  msgstr "sur YouTube"
365
 
366
+ #: wp-youtube-lyte.php:199
367
  msgid "Watch this video on YouTube"
368
  msgstr "Lire cette vidéo sur YouTube"
369
 
370
+ #: wp-youtube-lyte.php:204 wp-youtube-lyte.php:208
371
  msgid "Watch this video"
372
  msgstr "Lire cette vidéo"
373
 
374
+ #: wp-youtube-lyte.php:204
375
  msgid "or on"
376
  msgstr "ou sur"
377
 
378
+ #: wp-youtube-lyte.php:586
379
+ msgid "Settings"
380
+ msgstr "Configuration"
381
+
382
  #. Plugin URI of the plugin/theme
383
  msgid "http://blog.futtta.be/wp-youtube-lyte/"
384
  msgstr "http://blog.futtta.be/wp-youtube-lyte/"
394
  #. Author URI of the plugin/theme
395
  msgid "http://blog.futtta.be/"
396
  msgstr "http://blog.futtta.be/"
397
+
398
+ #~ msgid ""
399
+ #~ "WP YouTube Lyte inserts \"Lite YouTube Embeds\" in your blog. These look "
400
+ #~ "and feel like normal embedded YouTube, but don't use Flash unless clicked "
401
+ #~ "on, thereby <a href=\"http://blog.futtta.be/2012/04/03/speed-matters-re-"
402
+ #~ "evaluating-wp-youtube-lytes-performance/\" target=\"_blank\">reducing "
403
+ #~ "download size & rendering time substantially</a>. When a video is played, "
404
+ #~ "WP-YouTube-Lyte can either activate <a href=\"http://apiblog.youtube."
405
+ #~ "com/2010/07/new-way-to-embed-youtube-videos.html\" target=\"_blank"
406
+ #~ "\">YouTube's embedded html5-player</a> or the older Flash-version, "
407
+ #~ "depending on the settings below."
408
+ #~ msgstr ""
409
+ #~ "WP YouTube Lyte insère des \"Incrustations Lite YouTube© dans votre blog. "
410
+ #~ "Ceux-ci ont l'apparence d'incrustrations (<em>embed</em>) YouTube "
411
+ #~ "normales, mais ne lancent Flash qu'une fois cliquées, ce qui permet de <a "
412
+ #~ "href=\"http://blog.futtta.be/2012/04/03/speed-matters-re-evaluating-wp-"
413
+ #~ "youtube-lytes-performance/\" target=\"_blank\">réduire le volume de "
414
+ #~ "téléchargement et le temps de chargement de manière importante</a>. Quand "
415
+ #~ "une vidéo est jouée, WP-YouTube-Lyte peut soit activer le <a href="
416
+ #~ "\"http://apiblog.youtube.com/2010/07/new-way-to-embed-youtube-videos.html"
417
+ #~ "\" target=\"_blank\">lecteur intégré HTML5 de YouTube</a> ou l'ancienne "
418
+ #~ "version Flash, en fonction des paramètres ci-dessous."
419
+
420
+ #~ msgid ""
421
+ #~ "You can place video and audio in your posts and pages by adding one or "
422
+ #~ "more http<strong>v</strong> or http<strong>a</strong> YouTube-links to "
423
+ #~ "your post. These will automatically be replaced by WP YouTube Lyte with "
424
+ #~ "the correct (flash-less) code. To add a video for example, you type a URL "
425
+ #~ "like <em>http<strong>v</strong>://www.youtube.com/watch?v=QQPSMRQnNlU</"
426
+ #~ "em> or <em>http<strong>v</strong>://www.youtube.com/playlist?"
427
+ #~ "list=PLA486E741B25F8E00</em> for a playlist. If you want an audio-only "
428
+ #~ "player, you enter <em>http<strong>a</strong>://www.youtube.com/watch?"
429
+ #~ "v=BIQIGR-kWtc</em>. There's more info on the <a href=\"http://wordpress."
430
+ #~ "org/extend/plugins/wp-youtube-lyte/faq/\" target=\"_blank\">wordpress.org "
431
+ #~ "WP YouTube Lyte FAQ page</a>."
432
+ #~ msgstr ""
433
+ #~ "Vous pouvez placer de la vidéo et de l'audio dans vos messages et pages "
434
+ #~ "en ajoutant un ou plusieurs liens YouTube http<strong>v</strong> ou "
435
+ #~ "http<strong>a</strong> à votre texte. Ils seront automatiquement "
436
+ #~ "remplacés par WP YouTube Lyte avec le code correct (sans Flash). Pour "
437
+ #~ "ajouter une vidéo par exemple, écrivez une URL comme <em>http<strong>v</"
438
+ #~ "strong>://www.youtube.com/watch?v=QQPSMRQnNlU</em> ou <em>http<strong>v</"
439
+ #~ "strong>://www.youtube.com/playlist?list=PLA486E741B25F8E00</em> pour une "
440
+ #~ "liste de lecture. Si vous voulez un lecteur audio uniquement, écrivez "
441
+ #~ "<em>http<strong>a</strong>://www.youtube.com/watch?v=BIQIGR-kWtc</em>. "
442
+ #~ "Vous trouverez plus d'informations sur la <a href=\"http://wordpress.org/"
443
+ #~ "extend/plugins/wp-youtube-lyte/faq/\" target=\"_blank\">FAQ wordpress.org "
444
+ #~ "de WP YouTube Lyte</a>."
445
+
446
+ #~ msgid ""
447
+ #~ "You can modify WP-YouTube-Lyte's behaviour by changing the following "
448
+ #~ "settings:"
449
+ #~ msgstr ""
450
+ #~ "Vous pouvez modifier le comportement de WP-YouTube-Lyte en changeant les "
451
+ #~ "paramètres suivants :"
languages/wp-youtube-lyte-nl_BE.mo CHANGED
Binary file
languages/wp-youtube-lyte-nl_BE.po CHANGED
@@ -1,9 +1,9 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: WP YouTube Lyte\n"
4
- "Report-Msgid-Bugs-To: http://wordpress.org/tag/wp-youtube-lyte\n"
5
- "POT-Creation-Date: 2014-12-07 12:21:25+00:00\n"
6
- "PO-Revision-Date: 2014-12-08 16:31+0100\n"
7
  "Last-Translator: frank goossens (futtta) <futtta@gmail.com>\n"
8
  "Language-Team: frank goossens ('futtta') <futtta@gmail.com>\n"
9
  "Language: nl\n"
@@ -20,77 +20,85 @@ msgstr "De WP YouTube Lyte is leeggemaakt."
20
  msgid "There was a problem, the WP YouTube Lyte cache could not be cleared."
21
  msgstr "Er was een probleem, de cache kon niet worden leeggemaakt."
22
 
23
- #: options.php:71
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
24
  msgid "WP YouTube Lyte Settings"
25
  msgstr "WP YouTube Lyte instellingen"
26
 
27
- #: options.php:73
28
- msgid ""
29
- "WP YouTube Lyte inserts \"Lite YouTube Embeds\" in your blog. These look and "
30
- "feel like normal embedded YouTube, but don't use Flash unless clicked on, "
31
- "thereby <a href=\"http://blog.futtta.be/2012/04/03/speed-matters-re-"
32
- "evaluating-wp-youtube-lytes-performance/\" target=\"_blank\">reducing "
33
- "download size & rendering time substantially</a>. When a video is played, WP-"
34
- "YouTube-Lyte can either activate <a href=\"http://apiblog.youtube."
35
- "com/2010/07/new-way-to-embed-youtube-videos.html\" target=\"_blank"
36
- "\">YouTube's embedded html5-player</a> or the older Flash-version, depending "
37
- "on the settings below."
38
- msgstr ""
39
- "WP YouTube Lyte voegt \"Lite YouTube Embeds\" toe aan je blog. Die zien er "
40
- "uit als normale ingebedde YouTube video's, maar laden geen Flash of HTML5 "
41
- "voordat de bezoeker de video wilt bekijken, waardoor <a href=\"http://blog."
42
- "futtta.be/2010/08/30/the-state-of-wp-youtube-lyte/\" target=\"_blank\">de "
43
- "hoeveelheid te downloaden informatie verminderd en de pagina sneller te zien "
44
- "is</a>."
45
-
46
- #: options.php:74
47
  msgid ""
48
- "You can place video and audio in your posts and pages by adding one or more "
49
- "http<strong>v</strong> or http<strong>a</strong> YouTube-links to your post. "
50
- "These will automatically be replaced by WP YouTube Lyte with the correct "
51
- "(flash-less) code. To add a video for example, you type a URL like "
52
- "<em>http<strong>v</strong>://www.youtube.com/watch?v=QQPSMRQnNlU</em> or "
53
- "<em>http<strong>v</strong>://www.youtube.com/playlist?"
54
- "list=PLA486E741B25F8E00</em> for a playlist. If you want an audio-only "
55
- "player, you enter <em>http<strong>a</strong>://www.youtube.com/watch?"
56
- "v=BIQIGR-kWtc</em>. There's more info on the <a href=\"http://wordpress.org/"
57
- "extend/plugins/wp-youtube-lyte/faq/\" target=\"_blank\">wordpress.org WP "
58
- "YouTube Lyte FAQ page</a>."
59
  msgstr ""
60
- "Je kunt video an audio in je blogposts opnemen door http<strong>v</strong> "
61
- "of http<strong>a</strong>-links in je post te plaatsen. WP YouTube Lyte zal "
62
- "die automatisch vervangen met de correcte (Flash-loze) code. Om bijvoorbeeld "
63
- "een nieuwe video toe te voegen, gebruik je iets als <em>http<strong>v</"
64
- "strong>://www.youtube.com/watch?v=QQPSMRQnNlU</em> of <em>http<strong>v</"
65
- "strong>://www.youtube.com/playlist?list=PLA486E741B25F8E00</em> voor een "
66
- "playlist. Wil je enkel audio, dan vervang je de http\"v\" in http\"a\", bv. "
67
- "<em>http<strong>a</strong>://www.youtube.com/watch?v=BIQIGR-kWtc</em>. Meer "
68
- "info vind je op de <a href=\"http://wordpress.org/extend/plugins/wp-youtube-"
69
- "lyte/faq/\" target=\"_blank\">wordpress.org WP YouTube Lyte FAQ pagina</a>."
70
-
71
- #: options.php:75
72
- msgid ""
73
- "You can modify WP-YouTube-Lyte's behaviour by changing the following "
74
- "settings:"
75
- msgstr "Je kunt WP YouTube Lyte wijzigen met onderstaande instellingen:"
76
 
77
- #: options.php:84
78
  msgid "Player size"
79
  msgstr "Afmetingen van de player"
80
 
81
- #: options.php:103
82
  msgid "Add links below the embedded videos?"
83
  msgstr "Voeg links to onder de video?"
84
 
85
- #: options.php:106
86
  msgid "Show links?"
87
  msgstr "Toon links?"
88
 
89
- #: options.php:107
 
 
 
 
90
  msgid " Add YouTube-link."
91
  msgstr "Voeg YouTube-link toe"
92
 
93
- #: options.php:108
 
 
 
 
94
  msgid ""
95
  " Add both a YouTube and an <a href=\"http://icant.co.uk/easy-youtube/docs/"
96
  "index.html\" target=\"_blank\">Easy YouTube</a>-link."
@@ -98,96 +106,182 @@ msgstr ""
98
  "Voeg zowel een YouTube als een <a href=\"http://icant.co.uk/easy-youtube/"
99
  "docs/index.html\" target=\"_blank\">Easy YouTube</a>-link toe."
100
 
101
- #: options.php:109
 
 
 
 
102
  msgid " Don't add any links."
103
  msgstr "Voeg geen links toe"
104
 
105
- #: options.php:114
106
  msgid "Player position:"
107
  msgstr "Positie van de player:"
108
 
109
- #: options.php:117
110
  msgid "Left, center or right?"
111
  msgstr "Links, gecentreerd of rechts?"
112
 
113
- #: options.php:118
114
  msgid "Left"
115
  msgstr "Links"
116
 
117
- #: options.php:119
118
  msgid "Center"
119
  msgstr "Gecentreerd"
120
 
121
- #: options.php:124
122
  msgid "Try to force HD (experimental)?"
123
  msgstr "Forceer HD video?"
124
 
125
- #: options.php:127
126
  msgid "HD or not?"
127
  msgstr "HD of geen HD?"
128
 
129
- #: options.php:128
 
 
 
 
130
  msgid "Enable HD"
131
  msgstr "Ja, HD graag!"
132
 
133
- #: options.php:129
 
 
 
 
134
  msgid "No HD (default)"
135
  msgstr "Geen HD (standaard)"
136
 
137
- #: options.php:134
138
  msgid "Add microdata?"
139
  msgstr "Microdata toevoegen?"
140
 
141
- #: options.php:137
142
  msgid "Add video microdata to the HTML?"
143
  msgstr "Microdata over de video toevoegen aan de HTML?"
144
 
145
- #: options.php:138 options.php:148
 
 
 
 
146
  msgid "Yes (default)"
147
  msgstr "Ja (standaard)"
148
 
149
- #: options.php:139
 
 
 
 
150
  msgid "No microdata, thanks."
151
  msgstr "Geen microdata voor mij."
152
 
153
- #: options.php:144 options.php:147
154
  msgid "Also act on normal YouTube links?"
155
  msgstr "Ook normale YouTube-links omzetten?"
156
 
157
- #: options.php:149
 
 
 
 
 
 
 
 
158
  msgid "No thanks."
159
  msgstr "Nee, liever niet."
160
 
161
- #: options.php:154
162
  msgid "Empty WP YouTube Lyte's cache"
163
  msgstr "WP YouTube Lyte's cache leegmaken."
164
 
165
- #: options.php:165
166
  msgid "Save Changes"
167
  msgstr "Bewaar"
168
 
169
- #: options.php:173
170
  msgid "futtta about"
171
  msgstr "futtta over"
172
 
173
- #. #-#-#-#-# plugin.pot (WP YouTube Lyte 1.4.2) #-#-#-#-#
174
  #. Plugin Name of the plugin/theme
175
- #: options.php:175
176
  msgid "WP YouTube Lyte"
177
  msgstr "WP YouTube Lyte"
178
 
179
- #: options.php:176
180
  msgid "WordPress"
181
  msgstr "WordPress"
182
 
183
- #: options.php:177
184
  msgid "Web Technology"
185
  msgstr "Web Technologie"
186
 
187
- #: options.php:181
188
  msgid "Do not donate for this plugin!"
189
  msgstr "Draag niet bij aan deze plugin!"
190
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
191
  #: player_sizes.inc.php:11
192
  msgid "Mini 16:9 player"
193
  msgstr "Mini 16:9 player"
@@ -252,30 +346,34 @@ msgstr "Youtube-URL:"
252
  msgid "Text:"
253
  msgstr "Tekst:"
254
 
255
- #: wp-youtube-lyte.php:181
256
  msgid "Watch this playlist on YouTube"
257
  msgstr "Bekijk deze playlist op YouTube"
258
 
259
- #: wp-youtube-lyte.php:187
260
  msgid "Watch this playlist"
261
  msgstr "Bekijk deze playlist"
262
 
263
- #: wp-youtube-lyte.php:187 wp-youtube-lyte.php:199 wp-youtube-lyte.php:203
264
  msgid "on YouTube"
265
  msgstr "op YouTube"
266
 
267
- #: wp-youtube-lyte.php:194
268
  msgid "Watch this video on YouTube"
269
  msgstr "Bekijk deze video op YouTube"
270
 
271
- #: wp-youtube-lyte.php:199 wp-youtube-lyte.php:203
272
  msgid "Watch this video"
273
  msgstr "Bekijk deze video"
274
 
275
- #: wp-youtube-lyte.php:199
276
  msgid "or on"
277
  msgstr "of op"
278
 
 
 
 
 
279
  #. Plugin URI of the plugin/theme
280
  msgid "http://blog.futtta.be/wp-youtube-lyte/"
281
  msgstr "http://blog.futtta.be/wp-youtube-lyte/"
@@ -292,6 +390,54 @@ msgstr "Frank Goossens (futtta)"
292
  msgid "http://blog.futtta.be/"
293
  msgstr "http://blog.futtta.be/"
294
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
295
  #~ msgid "Play video in HD if possible?"
296
  #~ msgstr "Speel indien mogelijk in HD af?"
297
 
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: WP YouTube Lyte\n"
4
+ "Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/wp-youtube-lyte\n"
5
+ "POT-Creation-Date: 2015-03-06 17:49:26+00:00\n"
6
+ "PO-Revision-Date: 2015-03-27 07:17+0100\n"
7
  "Last-Translator: frank goossens (futtta) <futtta@gmail.com>\n"
8
  "Language-Team: frank goossens ('futtta') <futtta@gmail.com>\n"
9
  "Language: nl\n"
20
  msgid "There was a problem, the WP YouTube Lyte cache could not be cleared."
21
  msgstr "Er was een probleem, de cache kon niet worden leeggemaakt."
22
 
23
+ #: options.php:61
24
+ msgid ""
25
+ "For WP YouTube Lyte to function optimally, you should enter an YouTube API "
26
+ "key "
27
+ msgstr ""
28
+ "Om WP YouTube Lyte optimaal te laten functioneren, zou je een YouTube API "
29
+ "key invoeren"
30
+
31
+ #: options.php:63
32
+ msgid "in the settings screen."
33
+ msgstr "in het instellingen-scherm."
34
+
35
+ #: options.php:76
36
+ msgid "WP YouTube Lyte got the following error back from the YouTube API: "
37
+ msgstr "WP YouTube Lyte kreeg deze foutmelding van de YouTube API:"
38
+
39
+ #: options.php:91
40
  msgid "WP YouTube Lyte Settings"
41
  msgstr "WP YouTube Lyte instellingen"
42
 
43
+ #: options.php:98
44
+ msgid "Your YouTube API key."
45
+ msgstr "Uw YouTube API key."
46
+
47
+ #: options.php:104
48
+ msgid "Please enter your YouTube API key."
49
+ msgstr "Vul je YouTube API key in."
50
+
51
+ #: options.php:105
52
+ msgid "API key"
53
+ msgstr "API key"
54
+
55
+ #: options.php:105
56
+ msgid "Test Key"
57
+ msgstr "Test API Key"
58
+
59
+ #: options.php:107
 
 
 
60
  msgid ""
61
+ "WP YouTube Lyte uses YouTube's API to fetch information on each video. For "
62
+ "your site to use that API, you will have to <a href=\"https://console."
63
+ "developers.google.com/project/\" target=\"_blank\">register your site as a "
64
+ "new application</a>, enable the YouTube API for it and get a server key and "
65
+ "fill it out here."
 
 
 
 
 
 
66
  msgstr ""
67
+ "WP YouTube Lyte gebruikt YouTube's API om informatie over iedere video te "
68
+ "verkrijgen. Om uw site die API te laten gebruiken, zul je je <a href="
69
+ "\"https://console.developers.google.com/project/\" target=\"_blank\">site "
70
+ "moeten registreren als een nieuwe applicatie</a>, de YouTube API ervoor "
71
+ "activeren en een server key genereren die je hier moet invoeren."
72
+
73
+ #: options.php:110
74
+ msgid "Great, your YouTube API key has been taken care of!"
75
+ msgstr "Tof, er is voor je YouTube API key gezorgd!"
 
 
 
 
 
 
 
76
 
77
+ #: options.php:115 options.php:117
78
  msgid "Player size"
79
  msgstr "Afmetingen van de player"
80
 
81
+ #: options.php:136
82
  msgid "Add links below the embedded videos?"
83
  msgstr "Voeg links to onder de video?"
84
 
85
+ #: options.php:139
86
  msgid "Show links?"
87
  msgstr "Toon links?"
88
 
89
+ #: options.php:140
90
+ msgid "Show YouTube-link"
91
+ msgstr "Voeg YouTube-link toe"
92
+
93
+ #: options.php:140
94
  msgid " Add YouTube-link."
95
  msgstr "Voeg YouTube-link toe"
96
 
97
+ #: options.php:141
98
+ msgid "Show YouTube and Ease YouTube link"
99
+ msgstr "Toon de Youtube and Easy YouTube link"
100
+
101
+ #: options.php:141
102
  msgid ""
103
  " Add both a YouTube and an <a href=\"http://icant.co.uk/easy-youtube/docs/"
104
  "index.html\" target=\"_blank\">Easy YouTube</a>-link."
106
  "Voeg zowel een YouTube als een <a href=\"http://icant.co.uk/easy-youtube/"
107
  "docs/index.html\" target=\"_blank\">Easy YouTube</a>-link toe."
108
 
109
+ #: options.php:142
110
+ msgid "Don't include links."
111
+ msgstr "Voeg geen links toe"
112
+
113
+ #: options.php:142
114
  msgid " Don't add any links."
115
  msgstr "Voeg geen links toe"
116
 
117
+ #: options.php:147
118
  msgid "Player position:"
119
  msgstr "Positie van de player:"
120
 
121
+ #: options.php:150
122
  msgid "Left, center or right?"
123
  msgstr "Links, gecentreerd of rechts?"
124
 
125
+ #: options.php:151
126
  msgid "Left"
127
  msgstr "Links"
128
 
129
+ #: options.php:152
130
  msgid "Center"
131
  msgstr "Gecentreerd"
132
 
133
+ #: options.php:157
134
  msgid "Try to force HD (experimental)?"
135
  msgstr "Forceer HD video?"
136
 
137
+ #: options.php:160
138
  msgid "HD or not?"
139
  msgstr "HD of geen HD?"
140
 
141
+ #: options.php:161
142
+ msgid "Enable HD?"
143
+ msgstr "Ja, HD graag!"
144
+
145
+ #: options.php:161
146
  msgid "Enable HD"
147
  msgstr "Ja, HD graag!"
148
 
149
+ #: options.php:162
150
+ msgid "Don't enable HD playback"
151
+ msgstr "Geen HD video"
152
+
153
+ #: options.php:162
154
  msgid "No HD (default)"
155
  msgstr "Geen HD (standaard)"
156
 
157
+ #: options.php:167
158
  msgid "Add microdata?"
159
  msgstr "Microdata toevoegen?"
160
 
161
+ #: options.php:170
162
  msgid "Add video microdata to the HTML?"
163
  msgstr "Microdata over de video toevoegen aan de HTML?"
164
 
165
+ #: options.php:171
166
+ msgid "Sure, add microdata!"
167
+ msgstr "Microdata toevoegen?"
168
+
169
+ #: options.php:171 options.php:181
170
  msgid "Yes (default)"
171
  msgstr "Ja (standaard)"
172
 
173
+ #: options.php:172
174
+ msgid "No microdata in my HTML please."
175
+ msgstr "Geen microdata voor mij."
176
+
177
+ #: options.php:172
178
  msgid "No microdata, thanks."
179
  msgstr "Geen microdata voor mij."
180
 
181
+ #: options.php:177 options.php:180
182
  msgid "Also act on normal YouTube links?"
183
  msgstr "Ook normale YouTube-links omzetten?"
184
 
185
+ #: options.php:181
186
+ msgid "That would be great!"
187
+ msgstr "Dat zou tof zijn."
188
+
189
+ #: options.php:182
190
+ msgid "No, I'll stick to httpv or shortcodes."
191
+ msgstr "Nee, ik hou het bij httpv-links of shortcodes"
192
+
193
+ #: options.php:182
194
  msgid "No thanks."
195
  msgstr "Nee, liever niet."
196
 
197
+ #: options.php:187
198
  msgid "Empty WP YouTube Lyte's cache"
199
  msgstr "WP YouTube Lyte's cache leegmaken."
200
 
201
+ #: options.php:198
202
  msgid "Save Changes"
203
  msgstr "Bewaar"
204
 
205
+ #: options.php:206
206
  msgid "futtta about"
207
  msgstr "futtta over"
208
 
209
+ #. #-#-#-#-# plugin.pot (WP YouTube Lyte 1.5.0) #-#-#-#-#
210
  #. Plugin Name of the plugin/theme
211
+ #: options.php:208
212
  msgid "WP YouTube Lyte"
213
  msgstr "WP YouTube Lyte"
214
 
215
+ #: options.php:209
216
  msgid "WordPress"
217
  msgstr "WordPress"
218
 
219
+ #: options.php:210
220
  msgid "Web Technology"
221
  msgstr "Web Technologie"
222
 
223
+ #: options.php:214
224
  msgid "Do not donate for this plugin!"
225
  msgstr "Draag niet bij aan deze plugin!"
226
 
227
+ #: options.php:228
228
+ msgid "Checking your key ..."
229
+ msgstr "Je API key aan het controleren ..."
230
+
231
+ #: options.php:242
232
+ msgid "That does not seem to be a correct API key!"
233
+ msgstr "Dat lijkt geen correcte API key!"
234
+
235
+ #: options.php:283
236
+ msgid "API seems OK, you can Save Changes below now."
237
+ msgstr "API key lijkt OK, je kunt onderaan op \"Bewaar\" klikken."
238
+
239
+ #: options.php:285
240
+ msgid "API key not OK, your key seems to "
241
+ msgstr "API key is niet OK, want lijkt"
242
+
243
+ #: options.php:288
244
+ msgid "be invalid."
245
+ msgstr "ongeldig."
246
+
247
+ #: options.php:291
248
+ msgid "be valid, but restricted to an IP-address which is not your server's."
249
+ msgstr "geldig, maar beperkt tot een IP-adres dat niet dat van je server is."
250
+
251
+ #: options.php:292
252
+ msgid "Try changing the allowed IP for your API key to include this one: "
253
+ msgstr "Probeer het toegestane IP voor je API key te wijzigen naar:"
254
+
255
+ #: options.php:296
256
+ msgid "have expired, please check in the Google Developer Console."
257
+ msgstr "vervallen, controleer in de Google Developer Console"
258
+
259
+ #: options.php:302
260
+ msgid ""
261
+ "be correct, but seems to have exceeded the number of requests that can be "
262
+ "made with it."
263
+ msgstr "juist te zijn, maar het maximaal aantal requests lijkt overschreden."
264
+
265
+ #: options.php:305
266
+ msgid "probably work, but as the video with id "
267
+ msgstr "te werken, maar aangezien video met ID"
268
+
269
+ #: options.php:307
270
+ msgid " was not found we cannot be sure, please try again."
271
+ msgstr "niet gevonden is, kunnen we niet zeker zijn, probeer dus opnieuw."
272
+
273
+ #: options.php:310
274
+ msgid "be faulty, with YouTube API returning reason: "
275
+ msgstr "verkeerd te zijn, met volgende reden volgens de YouTube API:"
276
+
277
+ #: options.php:315
278
+ msgid ""
279
+ "Something went wrong, WP YouTube Lyte might not have been able to retrieve "
280
+ "information from the YouTube API, got error: "
281
+ msgstr ""
282
+ "Er ging iets verkeerd, WP YouTube Lyte kon vermoedelijk geen informatie van "
283
+ "de YouTube API krijgen, foutmelding:"
284
+
285
  #: player_sizes.inc.php:11
286
  msgid "Mini 16:9 player"
287
  msgstr "Mini 16:9 player"
346
  msgid "Text:"
347
  msgstr "Tekst:"
348
 
349
+ #: wp-youtube-lyte.php:186
350
  msgid "Watch this playlist on YouTube"
351
  msgstr "Bekijk deze playlist op YouTube"
352
 
353
+ #: wp-youtube-lyte.php:192
354
  msgid "Watch this playlist"
355
  msgstr "Bekijk deze playlist"
356
 
357
+ #: wp-youtube-lyte.php:192 wp-youtube-lyte.php:204 wp-youtube-lyte.php:208
358
  msgid "on YouTube"
359
  msgstr "op YouTube"
360
 
361
+ #: wp-youtube-lyte.php:199
362
  msgid "Watch this video on YouTube"
363
  msgstr "Bekijk deze video op YouTube"
364
 
365
+ #: wp-youtube-lyte.php:204 wp-youtube-lyte.php:208
366
  msgid "Watch this video"
367
  msgstr "Bekijk deze video"
368
 
369
+ #: wp-youtube-lyte.php:204
370
  msgid "or on"
371
  msgstr "of op"
372
 
373
+ #: wp-youtube-lyte.php:586
374
+ msgid "Settings"
375
+ msgstr "Instellingen"
376
+
377
  #. Plugin URI of the plugin/theme
378
  msgid "http://blog.futtta.be/wp-youtube-lyte/"
379
  msgstr "http://blog.futtta.be/wp-youtube-lyte/"
390
  msgid "http://blog.futtta.be/"
391
  msgstr "http://blog.futtta.be/"
392
 
393
+ #~ msgid ""
394
+ #~ "WP YouTube Lyte inserts \"Lite YouTube Embeds\" in your blog. These look "
395
+ #~ "and feel like normal embedded YouTube, but don't use Flash unless clicked "
396
+ #~ "on, thereby <a href=\"http://blog.futtta.be/2012/04/03/speed-matters-re-"
397
+ #~ "evaluating-wp-youtube-lytes-performance/\" target=\"_blank\">reducing "
398
+ #~ "download size & rendering time substantially</a>. When a video is played, "
399
+ #~ "WP-YouTube-Lyte can either activate <a href=\"http://apiblog.youtube."
400
+ #~ "com/2010/07/new-way-to-embed-youtube-videos.html\" target=\"_blank"
401
+ #~ "\">YouTube's embedded html5-player</a> or the older Flash-version, "
402
+ #~ "depending on the settings below."
403
+ #~ msgstr ""
404
+ #~ "WP YouTube Lyte voegt \"Lite YouTube Embeds\" toe aan je blog. Die zien "
405
+ #~ "er uit als normale ingebedde YouTube video's, maar laden geen Flash of "
406
+ #~ "HTML5 voordat de bezoeker de video wilt bekijken, waardoor <a href="
407
+ #~ "\"http://blog.futtta.be/2010/08/30/the-state-of-wp-youtube-lyte/\" target="
408
+ #~ "\"_blank\">de hoeveelheid te downloaden informatie verminderd en de "
409
+ #~ "pagina sneller te zien is</a>."
410
+
411
+ #~ msgid ""
412
+ #~ "You can place video and audio in your posts and pages by adding one or "
413
+ #~ "more http<strong>v</strong> or http<strong>a</strong> YouTube-links to "
414
+ #~ "your post. These will automatically be replaced by WP YouTube Lyte with "
415
+ #~ "the correct (flash-less) code. To add a video for example, you type a URL "
416
+ #~ "like <em>http<strong>v</strong>://www.youtube.com/watch?v=QQPSMRQnNlU</"
417
+ #~ "em> or <em>http<strong>v</strong>://www.youtube.com/playlist?"
418
+ #~ "list=PLA486E741B25F8E00</em> for a playlist. If you want an audio-only "
419
+ #~ "player, you enter <em>http<strong>a</strong>://www.youtube.com/watch?"
420
+ #~ "v=BIQIGR-kWtc</em>. There's more info on the <a href=\"http://wordpress."
421
+ #~ "org/extend/plugins/wp-youtube-lyte/faq/\" target=\"_blank\">wordpress.org "
422
+ #~ "WP YouTube Lyte FAQ page</a>."
423
+ #~ msgstr ""
424
+ #~ "Je kunt video an audio in je blogposts opnemen door http<strong>v</"
425
+ #~ "strong> of http<strong>a</strong>-links in je post te plaatsen. WP "
426
+ #~ "YouTube Lyte zal die automatisch vervangen met de correcte (Flash-loze) "
427
+ #~ "code. Om bijvoorbeeld een nieuwe video toe te voegen, gebruik je iets als "
428
+ #~ "<em>http<strong>v</strong>://www.youtube.com/watch?v=QQPSMRQnNlU</em> of "
429
+ #~ "<em>http<strong>v</strong>://www.youtube.com/playlist?"
430
+ #~ "list=PLA486E741B25F8E00</em> voor een playlist. Wil je enkel audio, dan "
431
+ #~ "vervang je de http\"v\" in http\"a\", bv. <em>http<strong>a</strong>://"
432
+ #~ "www.youtube.com/watch?v=BIQIGR-kWtc</em>. Meer info vind je op de <a href="
433
+ #~ "\"http://wordpress.org/extend/plugins/wp-youtube-lyte/faq/\" target="
434
+ #~ "\"_blank\">wordpress.org WP YouTube Lyte FAQ pagina</a>."
435
+
436
+ #~ msgid ""
437
+ #~ "You can modify WP-YouTube-Lyte's behaviour by changing the following "
438
+ #~ "settings:"
439
+ #~ msgstr "Je kunt WP YouTube Lyte wijzigen met onderstaande instellingen:"
440
+
441
  #~ msgid "Play video in HD if possible?"
442
  #~ msgstr "Speel indien mogelijk in HD af?"
443
 
languages/wp-youtube-lyte-nl_NL.mo CHANGED
Binary file
languages/wp-youtube-lyte-nl_NL.po CHANGED
@@ -1,9 +1,9 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: WP YouTube Lyte\n"
4
- "Report-Msgid-Bugs-To: http://wordpress.org/tag/wp-youtube-lyte\n"
5
- "POT-Creation-Date: 2014-12-07 12:21:25+00:00\n"
6
- "PO-Revision-Date: 2014-12-08 16:31+0100\n"
7
  "Last-Translator: frank goossens (futtta) <futtta@gmail.com>\n"
8
  "Language-Team: frank goossens ('futtta') <futtta@gmail.com>\n"
9
  "Language: nl\n"
@@ -20,77 +20,85 @@ msgstr "De WP YouTube Lyte is leeggemaakt."
20
  msgid "There was a problem, the WP YouTube Lyte cache could not be cleared."
21
  msgstr "Er was een probleem, de cache kon niet worden leeggemaakt."
22
 
23
- #: options.php:71
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
24
  msgid "WP YouTube Lyte Settings"
25
  msgstr "WP YouTube Lyte instellingen"
26
 
27
- #: options.php:73
28
- msgid ""
29
- "WP YouTube Lyte inserts \"Lite YouTube Embeds\" in your blog. These look and "
30
- "feel like normal embedded YouTube, but don't use Flash unless clicked on, "
31
- "thereby <a href=\"http://blog.futtta.be/2012/04/03/speed-matters-re-"
32
- "evaluating-wp-youtube-lytes-performance/\" target=\"_blank\">reducing "
33
- "download size & rendering time substantially</a>. When a video is played, WP-"
34
- "YouTube-Lyte can either activate <a href=\"http://apiblog.youtube."
35
- "com/2010/07/new-way-to-embed-youtube-videos.html\" target=\"_blank"
36
- "\">YouTube's embedded html5-player</a> or the older Flash-version, depending "
37
- "on the settings below."
38
- msgstr ""
39
- "WP YouTube Lyte voegt \"Lite YouTube Embeds\" toe aan je blog. Die zien er "
40
- "uit als normale ingebedde YouTube video's, maar laden geen Flash of HTML5 "
41
- "voordat de bezoeker de video wilt bekijken, waardoor <a href=\"http://blog."
42
- "futtta.be/2010/08/30/the-state-of-wp-youtube-lyte/\" target=\"_blank\">de "
43
- "hoeveelheid te downloaden informatie verminderd en de pagina sneller te zien "
44
- "is</a>."
45
-
46
- #: options.php:74
47
  msgid ""
48
- "You can place video and audio in your posts and pages by adding one or more "
49
- "http<strong>v</strong> or http<strong>a</strong> YouTube-links to your post. "
50
- "These will automatically be replaced by WP YouTube Lyte with the correct "
51
- "(flash-less) code. To add a video for example, you type a URL like "
52
- "<em>http<strong>v</strong>://www.youtube.com/watch?v=QQPSMRQnNlU</em> or "
53
- "<em>http<strong>v</strong>://www.youtube.com/playlist?"
54
- "list=PLA486E741B25F8E00</em> for a playlist. If you want an audio-only "
55
- "player, you enter <em>http<strong>a</strong>://www.youtube.com/watch?"
56
- "v=BIQIGR-kWtc</em>. There's more info on the <a href=\"http://wordpress.org/"
57
- "extend/plugins/wp-youtube-lyte/faq/\" target=\"_blank\">wordpress.org WP "
58
- "YouTube Lyte FAQ page</a>."
59
  msgstr ""
60
- "Je kunt video an audio in je blogposts opnemen door http<strong>v</strong> "
61
- "of http<strong>a</strong>-links in je post te plaatsen. WP YouTube Lyte zal "
62
- "die automatisch vervangen met de correcte (Flash-loze) code. Om bijvoorbeeld "
63
- "een nieuwe video toe te voegen, gebruik je iets als <em>http<strong>v</"
64
- "strong>://www.youtube.com/watch?v=QQPSMRQnNlU</em> of <em>http<strong>v</"
65
- "strong>://www.youtube.com/playlist?list=PLA486E741B25F8E00</em> voor een "
66
- "playlist. Wil je enkel audio, dan vervang je de http\"v\" in http\"a\", bv. "
67
- "<em>http<strong>a</strong>://www.youtube.com/watch?v=BIQIGR-kWtc</em>. Meer "
68
- "info vind je op de <a href=\"http://wordpress.org/extend/plugins/wp-youtube-"
69
- "lyte/faq/\" target=\"_blank\">wordpress.org WP YouTube Lyte FAQ pagina</a>."
70
-
71
- #: options.php:75
72
- msgid ""
73
- "You can modify WP-YouTube-Lyte's behaviour by changing the following "
74
- "settings:"
75
- msgstr "Je kunt WP YouTube Lyte wijzigen met onderstaande instellingen:"
76
 
77
- #: options.php:84
78
  msgid "Player size"
79
  msgstr "Afmetingen van de player"
80
 
81
- #: options.php:103
82
  msgid "Add links below the embedded videos?"
83
  msgstr "Voeg links to onder de video?"
84
 
85
- #: options.php:106
86
  msgid "Show links?"
87
  msgstr "Toon links?"
88
 
89
- #: options.php:107
 
 
 
 
90
  msgid " Add YouTube-link."
91
  msgstr "Voeg YouTube-link toe"
92
 
93
- #: options.php:108
 
 
 
 
94
  msgid ""
95
  " Add both a YouTube and an <a href=\"http://icant.co.uk/easy-youtube/docs/"
96
  "index.html\" target=\"_blank\">Easy YouTube</a>-link."
@@ -98,96 +106,182 @@ msgstr ""
98
  "Voeg zowel een YouTube als een <a href=\"http://icant.co.uk/easy-youtube/"
99
  "docs/index.html\" target=\"_blank\">Easy YouTube</a>-link toe."
100
 
101
- #: options.php:109
 
 
 
 
102
  msgid " Don't add any links."
103
  msgstr "Voeg geen links toe"
104
 
105
- #: options.php:114
106
  msgid "Player position:"
107
  msgstr "Positie van de player:"
108
 
109
- #: options.php:117
110
  msgid "Left, center or right?"
111
  msgstr "Links, gecentreerd of rechts?"
112
 
113
- #: options.php:118
114
  msgid "Left"
115
  msgstr "Links"
116
 
117
- #: options.php:119
118
  msgid "Center"
119
  msgstr "Gecentreerd"
120
 
121
- #: options.php:124
122
  msgid "Try to force HD (experimental)?"
123
  msgstr "Forceer HD video?"
124
 
125
- #: options.php:127
126
  msgid "HD or not?"
127
  msgstr "HD of geen HD?"
128
 
129
- #: options.php:128
 
 
 
 
130
  msgid "Enable HD"
131
  msgstr "Ja, HD graag!"
132
 
133
- #: options.php:129
 
 
 
 
134
  msgid "No HD (default)"
135
  msgstr "Geen HD (standaard)"
136
 
137
- #: options.php:134
138
  msgid "Add microdata?"
139
  msgstr "Microdata toevoegen?"
140
 
141
- #: options.php:137
142
  msgid "Add video microdata to the HTML?"
143
  msgstr "Microdata over de video toevoegen aan de HTML?"
144
 
145
- #: options.php:138 options.php:148
 
 
 
 
146
  msgid "Yes (default)"
147
  msgstr "Ja (standaard)"
148
 
149
- #: options.php:139
 
 
 
 
150
  msgid "No microdata, thanks."
151
  msgstr "Geen microdata voor mij."
152
 
153
- #: options.php:144 options.php:147
154
  msgid "Also act on normal YouTube links?"
155
  msgstr "Ook normale YouTube-links omzetten?"
156
 
157
- #: options.php:149
 
 
 
 
 
 
 
 
158
  msgid "No thanks."
159
  msgstr "Nee, liever niet."
160
 
161
- #: options.php:154
162
  msgid "Empty WP YouTube Lyte's cache"
163
  msgstr "WP YouTube Lyte's cache leegmaken."
164
 
165
- #: options.php:165
166
  msgid "Save Changes"
167
  msgstr "Bewaar"
168
 
169
- #: options.php:173
170
  msgid "futtta about"
171
  msgstr "futtta over"
172
 
173
- #. #-#-#-#-# plugin.pot (WP YouTube Lyte 1.4.2) #-#-#-#-#
174
  #. Plugin Name of the plugin/theme
175
- #: options.php:175
176
  msgid "WP YouTube Lyte"
177
  msgstr "WP YouTube Lyte"
178
 
179
- #: options.php:176
180
  msgid "WordPress"
181
  msgstr "WordPress"
182
 
183
- #: options.php:177
184
  msgid "Web Technology"
185
  msgstr "Web Technologie"
186
 
187
- #: options.php:181
188
  msgid "Do not donate for this plugin!"
189
  msgstr "Draag niet bij aan deze plugin!"
190
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
191
  #: player_sizes.inc.php:11
192
  msgid "Mini 16:9 player"
193
  msgstr "Mini 16:9 player"
@@ -252,30 +346,34 @@ msgstr "Youtube-URL:"
252
  msgid "Text:"
253
  msgstr "Tekst:"
254
 
255
- #: wp-youtube-lyte.php:181
256
  msgid "Watch this playlist on YouTube"
257
  msgstr "Bekijk deze playlist op YouTube"
258
 
259
- #: wp-youtube-lyte.php:187
260
  msgid "Watch this playlist"
261
  msgstr "Bekijk deze playlist"
262
 
263
- #: wp-youtube-lyte.php:187 wp-youtube-lyte.php:199 wp-youtube-lyte.php:203
264
  msgid "on YouTube"
265
  msgstr "op YouTube"
266
 
267
- #: wp-youtube-lyte.php:194
268
  msgid "Watch this video on YouTube"
269
  msgstr "Bekijk deze video op YouTube"
270
 
271
- #: wp-youtube-lyte.php:199 wp-youtube-lyte.php:203
272
  msgid "Watch this video"
273
  msgstr "Bekijk deze video"
274
 
275
- #: wp-youtube-lyte.php:199
276
  msgid "or on"
277
  msgstr "of op"
278
 
 
 
 
 
279
  #. Plugin URI of the plugin/theme
280
  msgid "http://blog.futtta.be/wp-youtube-lyte/"
281
  msgstr "http://blog.futtta.be/wp-youtube-lyte/"
@@ -292,6 +390,54 @@ msgstr "Frank Goossens (futtta)"
292
  msgid "http://blog.futtta.be/"
293
  msgstr "http://blog.futtta.be/"
294
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
295
  #~ msgid "Play video in HD if possible?"
296
  #~ msgstr "Speel indien mogelijk in HD af?"
297
 
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: WP YouTube Lyte\n"
4
+ "Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/wp-youtube-lyte\n"
5
+ "POT-Creation-Date: 2015-03-06 17:49:26+00:00\n"
6
+ "PO-Revision-Date: 2015-03-27 07:18+0100\n"
7
  "Last-Translator: frank goossens (futtta) <futtta@gmail.com>\n"
8
  "Language-Team: frank goossens ('futtta') <futtta@gmail.com>\n"
9
  "Language: nl\n"
20
  msgid "There was a problem, the WP YouTube Lyte cache could not be cleared."
21
  msgstr "Er was een probleem, de cache kon niet worden leeggemaakt."
22
 
23
+ #: options.php:61
24
+ msgid ""
25
+ "For WP YouTube Lyte to function optimally, you should enter an YouTube API "
26
+ "key "
27
+ msgstr ""
28
+ "Om WP YouTube Lyte optimaal te laten functioneren, zou je een YouTube API "
29
+ "key invoeren"
30
+
31
+ #: options.php:63
32
+ msgid "in the settings screen."
33
+ msgstr "in het instellingen-scherm."
34
+
35
+ #: options.php:76
36
+ msgid "WP YouTube Lyte got the following error back from the YouTube API: "
37
+ msgstr "WP YouTube Lyte kreeg deze foutmelding van de YouTube API:"
38
+
39
+ #: options.php:91
40
  msgid "WP YouTube Lyte Settings"
41
  msgstr "WP YouTube Lyte instellingen"
42
 
43
+ #: options.php:98
44
+ msgid "Your YouTube API key."
45
+ msgstr "Uw YouTube API key."
46
+
47
+ #: options.php:104
48
+ msgid "Please enter your YouTube API key."
49
+ msgstr "Vul je YouTube API key in."
50
+
51
+ #: options.php:105
52
+ msgid "API key"
53
+ msgstr "API key"
54
+
55
+ #: options.php:105
56
+ msgid "Test Key"
57
+ msgstr "Test API Key"
58
+
59
+ #: options.php:107
 
 
 
60
  msgid ""
61
+ "WP YouTube Lyte uses YouTube's API to fetch information on each video. For "
62
+ "your site to use that API, you will have to <a href=\"https://console."
63
+ "developers.google.com/project/\" target=\"_blank\">register your site as a "
64
+ "new application</a>, enable the YouTube API for it and get a server key and "
65
+ "fill it out here."
 
 
 
 
 
 
66
  msgstr ""
67
+ "WP YouTube Lyte gebruikt YouTube's API om informatie over iedere video te "
68
+ "verkrijgen. Om uw site die API te laten gebruiken, zul je je <a href="
69
+ "\"https://console.developers.google.com/project/\" target=\"_blank\">site "
70
+ "moeten registreren als een nieuwe applicatie</a>, de YouTube API ervoor "
71
+ "activeren en een server key genereren die je hier moet invoeren."
72
+
73
+ #: options.php:110
74
+ msgid "Great, your YouTube API key has been taken care of!"
75
+ msgstr "Tof, er is voor je YouTube API key gezorgd!"
 
 
 
 
 
 
 
76
 
77
+ #: options.php:115 options.php:117
78
  msgid "Player size"
79
  msgstr "Afmetingen van de player"
80
 
81
+ #: options.php:136
82
  msgid "Add links below the embedded videos?"
83
  msgstr "Voeg links to onder de video?"
84
 
85
+ #: options.php:139
86
  msgid "Show links?"
87
  msgstr "Toon links?"
88
 
89
+ #: options.php:140
90
+ msgid "Show YouTube-link"
91
+ msgstr "Voeg YouTube-link toe"
92
+
93
+ #: options.php:140
94
  msgid " Add YouTube-link."
95
  msgstr "Voeg YouTube-link toe"
96
 
97
+ #: options.php:141
98
+ msgid "Show YouTube and Ease YouTube link"
99
+ msgstr "Toon de Youtube and Easy YouTube link"
100
+
101
+ #: options.php:141
102
  msgid ""
103
  " Add both a YouTube and an <a href=\"http://icant.co.uk/easy-youtube/docs/"
104
  "index.html\" target=\"_blank\">Easy YouTube</a>-link."
106
  "Voeg zowel een YouTube als een <a href=\"http://icant.co.uk/easy-youtube/"
107
  "docs/index.html\" target=\"_blank\">Easy YouTube</a>-link toe."
108
 
109
+ #: options.php:142
110
+ msgid "Don't include links."
111
+ msgstr "Voeg geen links toe"
112
+
113
+ #: options.php:142
114
  msgid " Don't add any links."
115
  msgstr "Voeg geen links toe"
116
 
117
+ #: options.php:147
118
  msgid "Player position:"
119
  msgstr "Positie van de player:"
120
 
121
+ #: options.php:150
122
  msgid "Left, center or right?"
123
  msgstr "Links, gecentreerd of rechts?"
124
 
125
+ #: options.php:151
126
  msgid "Left"
127
  msgstr "Links"
128
 
129
+ #: options.php:152
130
  msgid "Center"
131
  msgstr "Gecentreerd"
132
 
133
+ #: options.php:157
134
  msgid "Try to force HD (experimental)?"
135
  msgstr "Forceer HD video?"
136
 
137
+ #: options.php:160
138
  msgid "HD or not?"
139
  msgstr "HD of geen HD?"
140
 
141
+ #: options.php:161
142
+ msgid "Enable HD?"
143
+ msgstr "Ja, HD graag!"
144
+
145
+ #: options.php:161
146
  msgid "Enable HD"
147
  msgstr "Ja, HD graag!"
148
 
149
+ #: options.php:162
150
+ msgid "Don't enable HD playback"
151
+ msgstr "Geen HD video"
152
+
153
+ #: options.php:162
154
  msgid "No HD (default)"
155
  msgstr "Geen HD (standaard)"
156
 
157
+ #: options.php:167
158
  msgid "Add microdata?"
159
  msgstr "Microdata toevoegen?"
160
 
161
+ #: options.php:170
162
  msgid "Add video microdata to the HTML?"
163
  msgstr "Microdata over de video toevoegen aan de HTML?"
164
 
165
+ #: options.php:171
166
+ msgid "Sure, add microdata!"
167
+ msgstr "Microdata toevoegen?"
168
+
169
+ #: options.php:171 options.php:181
170
  msgid "Yes (default)"
171
  msgstr "Ja (standaard)"
172
 
173
+ #: options.php:172
174
+ msgid "No microdata in my HTML please."
175
+ msgstr "Geen microdata voor mij."
176
+
177
+ #: options.php:172
178
  msgid "No microdata, thanks."
179
  msgstr "Geen microdata voor mij."
180
 
181
+ #: options.php:177 options.php:180
182
  msgid "Also act on normal YouTube links?"
183
  msgstr "Ook normale YouTube-links omzetten?"
184
 
185
+ #: options.php:181
186
+ msgid "That would be great!"
187
+ msgstr "Dat zou tof zijn."
188
+
189
+ #: options.php:182
190
+ msgid "No, I'll stick to httpv or shortcodes."
191
+ msgstr "Nee, ik hou het bij httpv-links of shortcodes"
192
+
193
+ #: options.php:182
194
  msgid "No thanks."
195
  msgstr "Nee, liever niet."
196
 
197
+ #: options.php:187
198
  msgid "Empty WP YouTube Lyte's cache"
199
  msgstr "WP YouTube Lyte's cache leegmaken."
200
 
201
+ #: options.php:198
202
  msgid "Save Changes"
203
  msgstr "Bewaar"
204
 
205
+ #: options.php:206
206
  msgid "futtta about"
207
  msgstr "futtta over"
208
 
209
+ #. #-#-#-#-# plugin.pot (WP YouTube Lyte 1.5.0) #-#-#-#-#
210
  #. Plugin Name of the plugin/theme
211
+ #: options.php:208
212
  msgid "WP YouTube Lyte"
213
  msgstr "WP YouTube Lyte"
214
 
215
+ #: options.php:209
216
  msgid "WordPress"
217
  msgstr "WordPress"
218
 
219
+ #: options.php:210
220
  msgid "Web Technology"
221
  msgstr "Web Technologie"
222
 
223
+ #: options.php:214
224
  msgid "Do not donate for this plugin!"
225
  msgstr "Draag niet bij aan deze plugin!"
226
 
227
+ #: options.php:228
228
+ msgid "Checking your key ..."
229
+ msgstr "Je API key aan het controleren ..."
230
+
231
+ #: options.php:242
232
+ msgid "That does not seem to be a correct API key!"
233
+ msgstr "Dat lijkt geen correcte API key!"
234
+
235
+ #: options.php:283
236
+ msgid "API seems OK, you can Save Changes below now."
237
+ msgstr "API key lijkt OK, je kunt onderaan op \"Bewaar\" klikken."
238
+
239
+ #: options.php:285
240
+ msgid "API key not OK, your key seems to "
241
+ msgstr "API key is niet OK, want lijkt"
242
+
243
+ #: options.php:288
244
+ msgid "be invalid."
245
+ msgstr "ongeldig."
246
+
247
+ #: options.php:291
248
+ msgid "be valid, but restricted to an IP-address which is not your server's."
249
+ msgstr "geldig, maar beperkt tot een IP-adres dat niet dat van je server is."
250
+
251
+ #: options.php:292
252
+ msgid "Try changing the allowed IP for your API key to include this one: "
253
+ msgstr "Probeer het toegestane IP voor je API key te wijzigen naar:"
254
+
255
+ #: options.php:296
256
+ msgid "have expired, please check in the Google Developer Console."
257
+ msgstr "vervallen, controleer in de Google Developer Console"
258
+
259
+ #: options.php:302
260
+ msgid ""
261
+ "be correct, but seems to have exceeded the number of requests that can be "
262
+ "made with it."
263
+ msgstr "juist te zijn, maar het maximaal aantal requests lijkt overschreden."
264
+
265
+ #: options.php:305
266
+ msgid "probably work, but as the video with id "
267
+ msgstr "te werken, maar aangezien video met ID"
268
+
269
+ #: options.php:307
270
+ msgid " was not found we cannot be sure, please try again."
271
+ msgstr "niet gevonden is, kunnen we niet zeker zijn, probeer dus opnieuw."
272
+
273
+ #: options.php:310
274
+ msgid "be faulty, with YouTube API returning reason: "
275
+ msgstr "verkeerd te zijn, met volgende reden volgens de YouTube API:"
276
+
277
+ #: options.php:315
278
+ msgid ""
279
+ "Something went wrong, WP YouTube Lyte might not have been able to retrieve "
280
+ "information from the YouTube API, got error: "
281
+ msgstr ""
282
+ "Er ging iets verkeerd, WP YouTube Lyte kon vermoedelijk geen informatie van "
283
+ "de YouTube API krijgen, foutmelding:"
284
+
285
  #: player_sizes.inc.php:11
286
  msgid "Mini 16:9 player"
287
  msgstr "Mini 16:9 player"
346
  msgid "Text:"
347
  msgstr "Tekst:"
348
 
349
+ #: wp-youtube-lyte.php:186
350
  msgid "Watch this playlist on YouTube"
351
  msgstr "Bekijk deze playlist op YouTube"
352
 
353
+ #: wp-youtube-lyte.php:192
354
  msgid "Watch this playlist"
355
  msgstr "Bekijk deze playlist"
356
 
357
+ #: wp-youtube-lyte.php:192 wp-youtube-lyte.php:204 wp-youtube-lyte.php:208
358
  msgid "on YouTube"
359
  msgstr "op YouTube"
360
 
361
+ #: wp-youtube-lyte.php:199
362
  msgid "Watch this video on YouTube"
363
  msgstr "Bekijk deze video op YouTube"
364
 
365
+ #: wp-youtube-lyte.php:204 wp-youtube-lyte.php:208
366
  msgid "Watch this video"
367
  msgstr "Bekijk deze video"
368
 
369
+ #: wp-youtube-lyte.php:204
370
  msgid "or on"
371
  msgstr "of op"
372
 
373
+ #: wp-youtube-lyte.php:586
374
+ msgid "Settings"
375
+ msgstr "Instellingen"
376
+
377
  #. Plugin URI of the plugin/theme
378
  msgid "http://blog.futtta.be/wp-youtube-lyte/"
379
  msgstr "http://blog.futtta.be/wp-youtube-lyte/"
390
  msgid "http://blog.futtta.be/"
391
  msgstr "http://blog.futtta.be/"
392
 
393
+ #~ msgid ""
394
+ #~ "WP YouTube Lyte inserts \"Lite YouTube Embeds\" in your blog. These look "
395
+ #~ "and feel like normal embedded YouTube, but don't use Flash unless clicked "
396
+ #~ "on, thereby <a href=\"http://blog.futtta.be/2012/04/03/speed-matters-re-"
397
+ #~ "evaluating-wp-youtube-lytes-performance/\" target=\"_blank\">reducing "
398
+ #~ "download size & rendering time substantially</a>. When a video is played, "
399
+ #~ "WP-YouTube-Lyte can either activate <a href=\"http://apiblog.youtube."
400
+ #~ "com/2010/07/new-way-to-embed-youtube-videos.html\" target=\"_blank"
401
+ #~ "\">YouTube's embedded html5-player</a> or the older Flash-version, "
402
+ #~ "depending on the settings below."
403
+ #~ msgstr ""
404
+ #~ "WP YouTube Lyte voegt \"Lite YouTube Embeds\" toe aan je blog. Die zien "
405
+ #~ "er uit als normale ingebedde YouTube video's, maar laden geen Flash of "
406
+ #~ "HTML5 voordat de bezoeker de video wilt bekijken, waardoor <a href="
407
+ #~ "\"http://blog.futtta.be/2010/08/30/the-state-of-wp-youtube-lyte/\" target="
408
+ #~ "\"_blank\">de hoeveelheid te downloaden informatie verminderd en de "
409
+ #~ "pagina sneller te zien is</a>."
410
+
411
+ #~ msgid ""
412
+ #~ "You can place video and audio in your posts and pages by adding one or "
413
+ #~ "more http<strong>v</strong> or http<strong>a</strong> YouTube-links to "
414
+ #~ "your post. These will automatically be replaced by WP YouTube Lyte with "
415
+ #~ "the correct (flash-less) code. To add a video for example, you type a URL "
416
+ #~ "like <em>http<strong>v</strong>://www.youtube.com/watch?v=QQPSMRQnNlU</"
417
+ #~ "em> or <em>http<strong>v</strong>://www.youtube.com/playlist?"
418
+ #~ "list=PLA486E741B25F8E00</em> for a playlist. If you want an audio-only "
419
+ #~ "player, you enter <em>http<strong>a</strong>://www.youtube.com/watch?"
420
+ #~ "v=BIQIGR-kWtc</em>. There's more info on the <a href=\"http://wordpress."
421
+ #~ "org/extend/plugins/wp-youtube-lyte/faq/\" target=\"_blank\">wordpress.org "
422
+ #~ "WP YouTube Lyte FAQ page</a>."
423
+ #~ msgstr ""
424
+ #~ "Je kunt video an audio in je blogposts opnemen door http<strong>v</"
425
+ #~ "strong> of http<strong>a</strong>-links in je post te plaatsen. WP "
426
+ #~ "YouTube Lyte zal die automatisch vervangen met de correcte (Flash-loze) "
427
+ #~ "code. Om bijvoorbeeld een nieuwe video toe te voegen, gebruik je iets als "
428
+ #~ "<em>http<strong>v</strong>://www.youtube.com/watch?v=QQPSMRQnNlU</em> of "
429
+ #~ "<em>http<strong>v</strong>://www.youtube.com/playlist?"
430
+ #~ "list=PLA486E741B25F8E00</em> voor een playlist. Wil je enkel audio, dan "
431
+ #~ "vervang je de http\"v\" in http\"a\", bv. <em>http<strong>a</strong>://"
432
+ #~ "www.youtube.com/watch?v=BIQIGR-kWtc</em>. Meer info vind je op de <a href="
433
+ #~ "\"http://wordpress.org/extend/plugins/wp-youtube-lyte/faq/\" target="
434
+ #~ "\"_blank\">wordpress.org WP YouTube Lyte FAQ pagina</a>."
435
+
436
+ #~ msgid ""
437
+ #~ "You can modify WP-YouTube-Lyte's behaviour by changing the following "
438
+ #~ "settings:"
439
+ #~ msgstr "Je kunt WP YouTube Lyte wijzigen met onderstaande instellingen:"
440
+
441
  #~ msgid "Play video in HD if possible?"
442
  #~ msgstr "Speel indien mogelijk in HD af?"
443
 
languages/wp-youtube-lyte-sl_SI.mo CHANGED
Binary file
languages/wp-youtube-lyte-sl_SI.po CHANGED
@@ -1,204 +1,485 @@
1
- # Copyright (C) 2010 WP YouTube Lyte
2
- # This file is distributed under the same license as the WP YouTube Lyte package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: WP YouTube Lyte 0.8.0\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/wp-youtube-lyte\n"
7
  "POT-Creation-Date: 2011-10-12 13:51:40+00:00\n"
 
 
 
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
11
- "PO-Revision-Date: 2011-10-17 12:46+0100\n"
12
- "Last-Translator: frank goossens <futtta@gmail.com>\n"
13
- "Language-Team: ARNES\n"
14
-
15
- #: widget.php:74
 
 
 
 
 
 
 
 
16
  msgid "Title:"
17
  msgstr "Naslov:"
18
 
19
- #: widget.php:75
 
20
  msgid "Size:"
21
  msgstr "Velikost:"
22
 
23
- #: widget.php:91
 
24
  msgid "Type:"
25
  msgstr "Tip:"
26
 
27
- #: widget.php:99
 
28
  msgid "audio"
29
  msgstr "zvok"
30
 
31
- #: widget.php:100
 
32
  msgid "video"
33
  msgstr "video"
34
 
35
- #: widget.php:104
 
36
  msgid "Youtube-URL:"
37
  msgstr "YouTube URL:"
38
 
39
- #: widget.php:105
 
40
  msgid "Text:"
41
  msgstr "Besedilo:"
42
 
43
- #: player_sizes.inc.php:11
 
44
  msgid "Smaller 4:3 player"
45
  msgstr "Manjši predvajalnik: razmerje 4:3"
46
 
47
- #: player_sizes.inc.php:16
 
48
  msgid "Smaller 16:9 player"
49
  msgstr "Manjši predvajalnik: razmerje 16:9"
50
 
51
- #: player_sizes.inc.php:21
 
52
  msgid "Standard value, YouTube default for 4:3-ratio video"
53
  msgstr "Standardna velikost: YouTubova privzeta velikost za video v razmerju 4:3"
54
 
55
- #: player_sizes.inc.php:26
 
56
  msgid "YouTube default for 16:9-ratio video"
57
  msgstr "YouTubova privzeta velikost za video v razmerju 16:9"
58
 
59
- #: player_sizes.inc.php:31
 
60
  msgid "Larger 4:3 player"
61
  msgstr "Večji predvajalnik: razmerje 4:3"
62
 
63
- #: player_sizes.inc.php:36
 
64
  msgid "Larger 16:9 player"
65
  msgstr "Večji predvajalnik: razmerje 16:9"
66
 
67
- #: player_sizes.inc.php:41
 
68
  msgid "Maxi 4:3 player"
69
  msgstr "Maksi predvajalnik: razmerje 4:3"
70
 
71
- #: player_sizes.inc.php:46
 
72
  msgid "Maxi 16:9 player"
73
  msgstr "Maksi predvajalnik: razmerje 16:9"
74
 
75
- #: wp-youtube-lyte.php:60
76
- #: wp-youtube-lyte.php:64
77
  msgid "Watch this playlist on YouTube"
78
  msgstr "Oglej si seznam predvajanja na YouTube"
79
 
80
- #: wp-youtube-lyte.php:65
 
81
  msgid "Watch this playlist"
82
  msgstr "Oglej si seznam predvajanja"
83
 
84
- #: wp-youtube-lyte.php:65
85
- #: wp-youtube-lyte.php:78
86
- #: wp-youtube-lyte.php:82
 
87
  msgid "on YouTube"
88
  msgstr "na Youtube"
89
 
90
- #: wp-youtube-lyte.php:73
 
91
  msgid "Watch this video on YouTube"
92
  msgstr "Oglej si posnetek na YouTube"
93
 
94
- #: wp-youtube-lyte.php:78
95
- #: wp-youtube-lyte.php:82
 
96
  msgid "Watch this video"
97
  msgstr "Oglej si posnetek"
98
 
99
- #: wp-youtube-lyte.php:78
 
100
  msgid "or on"
101
  msgstr "ali na"
102
 
103
- #: options.php:37
 
104
  msgid "WP YouTube Lyte Settings"
105
  msgstr "Nastavitve za WP YouTube Lyte"
106
 
107
- #: options.php:39
108
- msgid "WP YouTube Lyte inserts \"Lite YouTube Embeds\" in your blog. These look and feel like normal embedded YouTube, but don't use Flash unless clicked on, thereby <a href=\"http://blog.futtta.be/2010/08/30/the-state-of-wp-youtube-lyte/\" target=\"_blank\">reducing download size & rendering time substantially</a>. When a video is played, WP-YouTube-Lyte can either activate <a href=\"http://apiblog.youtube.com/2010/07/new-way-to-embed-youtube-videos.html\" target=\"_blank\">YouTube's embedded html5-player</a> or the older Flash-version, depending on the settings below."
109
- msgstr "WP YouTube Lyte v vaš blog doda vstavke \"Lite YouTube\". Ti so na izgled enaki klasičnim YouTube vstavkom, a ne uporabljajo tehnologije Flash, če uporabnik nanje ne klikne. S tem se čas, potreben za njihovo nalaganje in prikaz, <a href=\"http://blog.futtta.be/2010/08/30/the-state-of-wp-youtube-lyte/\" target=\"_blank\">izjemno zmanjša</a>. Odvisno od spodnjih nastavitev, lahko WP-YouTube-Lyte za predvajanje videa uporabi <a href=\"http://apiblog.youtube.com/2010/07/new-way-to-embed-youtube-videos.html\" target=\"_blank\">YouTubov HTML5 predvajalnik</a> ali pa starejši Flash predvajalnik."
110
-
111
- #: options.php:40
112
- msgid "You can place video and audio in your posts and pages by adding one or more http<strong>v</strong> or http<strong>a</strong> YouTube-links to your post. These will automatically be replaced by WP YouTube Lyte with the correct (flash-less) code. To add a video for example, you type a URL like <em>http<strong>v</strong>://www.youtube.com/watch?v=QQPSMRQnNlU</em> or <em>http<strong>v</strong>://www.youtube.com/playlist?list=PLA486E741B25F8E00</em> for a playlist. If you want an audio-only player, you enter <em>http<strong>a</strong>://www.youtube.com/watch?v=BIQIGR-kWtc</em>. There's more info on the <a href=\"http://wordpress.org/extend/plugins/wp-youtube-lyte/faq/\" target=\"_blank\">wordpress.org WP YouTube Lyte FAQ page</a>."
113
- msgstr "Prispevkom in stranem lahko dodate video in zvok tako, da dodate eno ali več http<strong>v</strong> ali http<strong>a</strong> YouTube povezav. WP YouTube Lyte jih bo samodejno zamenjal s pravilno povezavo brez Flash-a. Če želite dodati naprimer video, vpišite URL <em>http<strong>v</strong>://www.youtube.com/watch?v=QQPSMRQnNlU</em> ali <em>http<strong>v</strong>://www.youtube.com/playlist?list=PLA486E741B25F8E00</em> za seznam predvajanja. Če želite predvajati le zvok, vpišite <em>http<strong>a</strong>://www.youtube.com/watch?v=BIQIGR-kWtc</em>. Za več informacij si preberite več na <a href=\"http://wordpress.org/extend/plugins/wp-youtube-lyte/faq/\" target=\"_blank\">WordPressovi strani za WP YouTube Lyte</a>."
114
-
115
- #: options.php:41
116
- msgid "You can modify WP-YouTube-Lyte's behaviour by changing the following settings:"
117
- msgstr "Delovanje vtičnika WP YouTube Lyte lahko spremenite z naslednjimi nastavitvami:"
118
-
119
- #: options.php:48
120
- msgid "Player size:"
121
- msgstr "Velikost predvajalnika:"
122
-
123
- #: options.php:65
124
  msgid "Add links below the embedded videos?"
125
- msgstr "Dodaj povezave pod vdelan video:"
126
 
127
- #: options.php:67
 
128
  msgid "Show links?"
129
  msgstr "Prikaži povezave?"
130
 
131
- #: options.php:68
 
132
  msgid " Add YouTube-link."
133
- msgstr " Dodaj povezavo na YouTube."
134
 
135
- #: options.php:69
 
136
  msgid " Add both a YouTube and an <a href=\"http://icant.co.uk/easy-youtube/docs/index.html\" target=\"_blank\">Easy YouTube</a>-link."
137
- msgstr " Dodaj povezavo na YouTube in na <a href=\"http://icant.co.uk/easy-youtube/docs/index.html\" target=\"_blank\">Easy YouTube</a>."
138
 
139
- #: options.php:70
 
140
  msgid " Don't add any links."
141
- msgstr " Ne dodaj povezav."
142
 
143
- #: options.php:75
144
- msgid "Play video in HD if possible?"
145
- msgstr "Kjer je možno, predvajaj video v visoki ločljivosti (HD):"
146
-
147
- #: options.php:79
148
  msgid "Enable HD"
149
  msgstr "Omogoči HD (širokopasovna povezava)"
150
 
151
- #: options.php:80
152
- msgid "No HD, we're smallband!"
153
- msgstr "Brez HD"
154
-
155
- #: options.php:85
156
- msgid "Bonus feature: "
157
- msgstr "Dodatna možnost: "
158
-
159
- #: options.php:89
160
- msgid "Disable 3rd party tracking."
161
- msgstr "Onemogoči sledenje s strani tretje osebe."
162
-
163
- #: options.php:90
164
- msgid "I don't mind 3rd party tracking (default)"
165
- msgstr "Omgoči sledenje s strani tretje osebe (privzeto)."
166
-
167
- #: options.php:97
168
  msgid "Save Changes"
169
  msgstr "Shrani spremembe"
170
 
171
- #: options.php:105
 
172
  msgid "futtta about"
173
  msgstr "futtta o"
174
 
175
- #. #-#-#-#-# plugin.pot (WP YouTube Lyte 0.8.0) #-#-#-#-#
176
- #. Plugin Name of the plugin/theme
177
- #: options.php:107
 
178
  msgid "WP YouTube Lyte"
179
  msgstr "WP Youtube Lyte"
180
 
181
- #: options.php:108
 
182
  msgid "WordPress"
183
  msgstr "WordPress"
184
 
185
- #: options.php:109
 
186
  msgid "Web Technology"
187
  msgstr "spletnih tehnologijah"
188
 
189
- #. Plugin URI of the plugin/theme
190
- msgid "http://blog.futtta.be/tag/lyte"
191
- msgstr "http://blog.futtta.be/tag/lyte"
192
-
193
- #. Description of the plugin/theme
194
  msgid "Lite and accessible YouTube audio and video embedding."
195
- msgstr "Preprosto vstavljanje YouTube posnetkov."
196
 
197
- #. Author of the plugin/theme
 
 
198
  msgid "Frank Goossens (futtta)"
199
  msgstr "Frank Goossens (futtta)"
200
 
201
- #. Author URI of the plugin/theme
 
 
202
  msgid "http://blog.futtta.be/"
203
  msgstr "http://blog.futta.be/"
204
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  msgid ""
2
  msgstr ""
3
+ "Project-Id-Version: WP YouTube Lyte v1.5.0\n"
4
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/wp-youtube-lyte\n"
5
  "POT-Creation-Date: 2011-10-12 13:51:40+00:00\n"
6
+ "PO-Revision-Date: 2015-03-30 11:17:25+0200\n"
7
+ "Last-Translator: Mitja Mihelic <mitja@arnes.si>\n"
8
+ "Language-Team: ARNES\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
+ "Plural-Forms: nplurals=4; plural=n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3;\n"
13
+ "X-Generator: CSL v1.x\n"
14
+ "X-Poedit-Language: \n"
15
+ "X-Poedit-Country: \n"
16
+ "X-Poedit-SourceCharset: utf-8\n"
17
+ "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;\n"
18
+ "X-Poedit-Basepath: \n"
19
+ "X-Poedit-Bookmarks: \n"
20
+ "X-Poedit-SearchPath-0: .\n"
21
+ "X-Textdomain-Support: yes"
22
+
23
+ #: widget.php:130
24
+ #@ wp-youtube-lyte
25
  msgid "Title:"
26
  msgstr "Naslov:"
27
 
28
+ #: widget.php:131
29
+ #@ wp-youtube-lyte
30
  msgid "Size:"
31
  msgstr "Velikost:"
32
 
33
+ #: widget.php:150
34
+ #@ wp-youtube-lyte
35
  msgid "Type:"
36
  msgstr "Tip:"
37
 
38
+ #: widget.php:158
39
+ #@ wp-youtube-lyte
40
  msgid "audio"
41
  msgstr "zvok"
42
 
43
+ #: widget.php:159
44
+ #@ wp-youtube-lyte
45
  msgid "video"
46
  msgstr "video"
47
 
48
+ #: widget.php:163
49
+ #@ wp-youtube-lyte
50
  msgid "Youtube-URL:"
51
  msgstr "YouTube URL:"
52
 
53
+ #: widget.php:164
54
+ #@ wp-youtube-lyte
55
  msgid "Text:"
56
  msgstr "Besedilo:"
57
 
58
+ #: player_sizes.inc.php:17
59
+ #@ wp-youtube-lyte
60
  msgid "Smaller 4:3 player"
61
  msgstr "Manjši predvajalnik: razmerje 4:3"
62
 
63
+ #: player_sizes.inc.php:23
64
+ #@ wp-youtube-lyte
65
  msgid "Smaller 16:9 player"
66
  msgstr "Manjši predvajalnik: razmerje 16:9"
67
 
68
+ #: player_sizes.inc.php:29
69
+ #@ wp-youtube-lyte
70
  msgid "Standard value, YouTube default for 4:3-ratio video"
71
  msgstr "Standardna velikost: YouTubova privzeta velikost za video v razmerju 4:3"
72
 
73
+ #: player_sizes.inc.php:35
74
+ #@ wp-youtube-lyte
75
  msgid "YouTube default for 16:9-ratio video"
76
  msgstr "YouTubova privzeta velikost za video v razmerju 16:9"
77
 
78
+ #: player_sizes.inc.php:41
79
+ #@ wp-youtube-lyte
80
  msgid "Larger 4:3 player"
81
  msgstr "Večji predvajalnik: razmerje 4:3"
82
 
83
+ #: player_sizes.inc.php:47
84
+ #@ wp-youtube-lyte
85
  msgid "Larger 16:9 player"
86
  msgstr "Večji predvajalnik: razmerje 16:9"
87
 
88
+ #: player_sizes.inc.php:53
89
+ #@ wp-youtube-lyte
90
  msgid "Maxi 4:3 player"
91
  msgstr "Maksi predvajalnik: razmerje 4:3"
92
 
93
+ #: player_sizes.inc.php:59
94
+ #@ wp-youtube-lyte
95
  msgid "Maxi 16:9 player"
96
  msgstr "Maksi predvajalnik: razmerje 16:9"
97
 
98
+ #: wp-youtube-lyte.php:186
99
+ #@ wp-youtube-lyte
100
  msgid "Watch this playlist on YouTube"
101
  msgstr "Oglej si seznam predvajanja na YouTube"
102
 
103
+ #: wp-youtube-lyte.php:192
104
+ #@ wp-youtube-lyte
105
  msgid "Watch this playlist"
106
  msgstr "Oglej si seznam predvajanja"
107
 
108
+ #: wp-youtube-lyte.php:192
109
+ #: wp-youtube-lyte.php:204
110
+ #: wp-youtube-lyte.php:208
111
+ #@ wp-youtube-lyte
112
  msgid "on YouTube"
113
  msgstr "na Youtube"
114
 
115
+ #: wp-youtube-lyte.php:199
116
+ #@ wp-youtube-lyte
117
  msgid "Watch this video on YouTube"
118
  msgstr "Oglej si posnetek na YouTube"
119
 
120
+ #: wp-youtube-lyte.php:204
121
+ #: wp-youtube-lyte.php:208
122
+ #@ wp-youtube-lyte
123
  msgid "Watch this video"
124
  msgstr "Oglej si posnetek"
125
 
126
+ #: wp-youtube-lyte.php:204
127
+ #@ wp-youtube-lyte
128
  msgid "or on"
129
  msgstr "ali na"
130
 
131
+ #: options.php:91
132
+ #@ wp-youtube-lyte
133
  msgid "WP YouTube Lyte Settings"
134
  msgstr "Nastavitve za WP YouTube Lyte"
135
 
136
+ #: options.php:136
137
+ #@ wp-youtube-lyte
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
138
  msgid "Add links below the embedded videos?"
139
+ msgstr "Dodaj povezave pod vdelan video"
140
 
141
+ #: options.php:139
142
+ #@ wp-youtube-lyte
143
  msgid "Show links?"
144
  msgstr "Prikaži povezave?"
145
 
146
+ #: options.php:140
147
+ #@ wp-youtube-lyte
148
  msgid " Add YouTube-link."
149
+ msgstr " Dodaj povezavo na YouTube"
150
 
151
+ #: options.php:141
152
+ #@ wp-youtube-lyte
153
  msgid " Add both a YouTube and an <a href=\"http://icant.co.uk/easy-youtube/docs/index.html\" target=\"_blank\">Easy YouTube</a>-link."
154
+ msgstr " Dodaj povezavo na YouTube in na <a href=\"http://icant.co.uk/easy-youtube/docs/index.html\" target=\"_blank\">Easy YouTube</a>"
155
 
156
+ #: options.php:142
157
+ #@ wp-youtube-lyte
158
  msgid " Don't add any links."
159
+ msgstr " Ne dodaj povezav"
160
 
161
+ #: options.php:161
162
+ #@ wp-youtube-lyte
 
 
 
163
  msgid "Enable HD"
164
  msgstr "Omogoči HD (širokopasovna povezava)"
165
 
166
+ #: options.php:198
167
+ #@ wp-youtube-lyte
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
168
  msgid "Save Changes"
169
  msgstr "Shrani spremembe"
170
 
171
+ #: options.php:207
172
+ #@ wp-youtube-lyte
173
  msgid "futtta about"
174
  msgstr "futtta o"
175
 
176
+ #. translators: plugin header field 'Name'
177
+ #: options.php:209
178
+ #: wp-youtube-lyte.php:0
179
+ #@ wp-youtube-lyte
180
  msgid "WP YouTube Lyte"
181
  msgstr "WP Youtube Lyte"
182
 
183
+ #: options.php:210
184
+ #@ wp-youtube-lyte
185
  msgid "WordPress"
186
  msgstr "WordPress"
187
 
188
+ #: options.php:211
189
+ #@ wp-youtube-lyte
190
  msgid "Web Technology"
191
  msgstr "spletnih tehnologijah"
192
 
193
+ #. translators: plugin header field 'Description'
194
+ #: wp-youtube-lyte.php:0
195
+ #@ wp-youtube-lyte
 
 
196
  msgid "Lite and accessible YouTube audio and video embedding."
197
+ msgstr "Preprosto vstavljanje posnetkov YouTube."
198
 
199
+ #. translators: plugin header field 'Author'
200
+ #: wp-youtube-lyte.php:0
201
+ #@ wp-youtube-lyte
202
  msgid "Frank Goossens (futtta)"
203
  msgstr "Frank Goossens (futtta)"
204
 
205
+ #. translators: plugin header field 'AuthorURI'
206
+ #: wp-youtube-lyte.php:0
207
+ #@ wp-youtube-lyte
208
  msgid "http://blog.futtta.be/"
209
  msgstr "http://blog.futta.be/"
210
 
211
+ #: options.php:21
212
+ #@ wp-youtube-lyte
213
+ msgid "Your WP YouTube Lyte cache has been succesfully cleared."
214
+ msgstr "Predpomnilnik YouTube Lyte je bil uspešno izpraznjen."
215
+
216
+ #: options.php:27
217
+ #@ wp-youtube-lyte
218
+ msgid "There was a problem, the WP YouTube Lyte cache could not be cleared."
219
+ msgstr "Napaka, predpomnilnika YouTube Lyte ni bilo mogoče izprazniti."
220
+
221
+ #: options.php:115
222
+ #: options.php:117
223
+ #@ wp-youtube-lyte
224
+ msgid "Player size"
225
+ msgstr "Velikost predvajalnika"
226
+
227
+ #: options.php:147
228
+ #@ wp-youtube-lyte
229
+ msgid "Player position:"
230
+ msgstr "Položaj predvajalnika"
231
+
232
+ #: options.php:151
233
+ #@ wp-youtube-lyte
234
+ msgid "Left"
235
+ msgstr "Levo"
236
+
237
+ #: options.php:152
238
+ #@ wp-youtube-lyte
239
+ msgid "Center"
240
+ msgstr "Sredinsko"
241
+
242
+ #: options.php:157
243
+ #@ wp-youtube-lyte
244
+ msgid "Try to force HD (experimental)?"
245
+ msgstr "Skušaj vsiliti HD (poskusno)"
246
+
247
+ #: options.php:162
248
+ #@ wp-youtube-lyte
249
+ msgid "No HD (default)"
250
+ msgstr "Brez HD (privzeto)"
251
+
252
+ #: options.php:167
253
+ #@ wp-youtube-lyte
254
+ msgid "Add microdata?"
255
+ msgstr "Dodaj mikropodatke"
256
+
257
+ #: options.php:171
258
+ #: options.php:181
259
+ #@ wp-youtube-lyte
260
+ msgid "Yes (default)"
261
+ msgstr "Da (privzeto)"
262
+
263
+ #: options.php:172
264
+ #@ wp-youtube-lyte
265
+ msgid "No microdata, thanks."
266
+ msgstr "Brez mikropodatkov"
267
+
268
+ #: options.php:187
269
+ #@ wp-youtube-lyte
270
+ msgid "Empty WP YouTube Lyte's cache"
271
+ msgstr "Izprazni predpomnilnik YouTube Lyte"
272
+
273
+ #: options.php:215
274
+ #@ wp-youtube-lyte
275
+ msgid "Do not donate for this plugin!"
276
+ msgstr "Brez donacij, prosim!"
277
+
278
+ #: player_sizes.inc.php:11
279
+ #@ wp-youtube-lyte
280
+ msgid "Mini 16:9 player"
281
+ msgstr "Mini predvajalnik: razmerje 16:9"
282
+
283
+ #. translators: plugin header field 'PluginURI'
284
+ #: wp-youtube-lyte.php:0
285
+ #@ wp-youtube-lyte
286
+ msgid "http://blog.futtta.be/wp-youtube-lyte/"
287
+ msgstr "http://blog.futtta.be/wp-youtube-lyte/"
288
+
289
+ #: options.php:150
290
+ #@ wp-youtube-lyte
291
+ msgid "Left, center or right?"
292
+ msgstr "Levo, sredinsko ali desno?"
293
+
294
+ #: options.php:160
295
+ #@ wp-youtube-lyte
296
+ msgid "HD or not?"
297
+ msgstr "HD ali ne?"
298
+
299
+ #: options.php:170
300
+ #@ wp-youtube-lyte
301
+ msgid "Add video microdata to the HTML?"
302
+ msgstr "Dodaj mikropodatke v HTML?"
303
+
304
+ #: options.php:177
305
+ #: options.php:180
306
+ #@ wp-youtube-lyte
307
+ msgid "Also act on normal YouTube links?"
308
+ msgstr "Deluj tudi za običajne YouTube povezave"
309
+
310
+ #: options.php:182
311
+ #@ wp-youtube-lyte
312
+ msgid "No thanks."
313
+ msgstr "Ne"
314
+
315
+ #. translators: plugin header field 'Version'
316
+ #: wp-youtube-lyte.php:0
317
+ #@ wp-youtube-lyte
318
+ msgid "1.5.0"
319
+ msgstr ""
320
+
321
+ #: options.php:140
322
+ #@ wp-youtube-lyte
323
+ msgid "Show YouTube-link"
324
+ msgstr "Prikaži YouTube povezavo"
325
+
326
+ #: options.php:142
327
+ #@ wp-youtube-lyte
328
+ msgid "Don't include links."
329
+ msgstr "Ne prikaži YouTube povezave"
330
+
331
+ #: options.php:161
332
+ #@ wp-youtube-lyte
333
+ msgid "Enable HD?"
334
+ msgstr "Omogoči predvajanje v HD"
335
+
336
+ #: options.php:162
337
+ #@ wp-youtube-lyte
338
+ msgid "Don't enable HD playback"
339
+ msgstr "Onemogoči predvajanje v HD"
340
+
341
+ #: options.php:171
342
+ #@ wp-youtube-lyte
343
+ msgid "Sure, add microdata!"
344
+ msgstr "Da, dodaj mikropodatke"
345
+
346
+ #: options.php:172
347
+ #@ wp-youtube-lyte
348
+ msgid "No microdata in my HTML please."
349
+ msgstr "Na spletišču ne želim mikropodatkov"
350
+
351
+ #: options.php:181
352
+ #@ wp-youtube-lyte
353
+ msgid "That would be great!"
354
+ msgstr "Da, deluj tudi za običajne YouTube povezave"
355
+
356
+ #: options.php:61
357
+ #@ wp-youtube-lyte
358
+ msgid "For WP YouTube Lyte to function optimally, you should enter an YouTube API key "
359
+ msgstr "Za najboljše delovanje vtičnika je priročljivo, da vpišete ključ za YoutTube API. "
360
+
361
+ #: options.php:63
362
+ #@ wp-youtube-lyte
363
+ msgid "in the settings screen."
364
+ msgstr " v nastavitvah."
365
+
366
+ #: options.php:76
367
+ #@ wp-youtube-lyte
368
+ msgid "WP YouTube Lyte got the following error back from the YouTube API: "
369
+ msgstr "YouTube API je vrnil naslednjo napako: "
370
+
371
+ #: options.php:104
372
+ #@ wp-youtube-lyte
373
+ msgid "Please enter your YouTube API key."
374
+ msgstr "Vpišete vaš ključ za YouTube API."
375
+
376
+ #: options.php:105
377
+ #@ wp-youtube-lyte
378
+ msgid "API key"
379
+ msgstr "API ključ"
380
+
381
+ #: options.php:105
382
+ #@ wp-youtube-lyte
383
+ msgid "Test Key"
384
+ msgstr "Preveri ključ"
385
+
386
+ #: options.php:107
387
+ #@ wp-youtube-lyte
388
+ msgid "WP YouTube Lyte uses YouTube's API to fetch information on each video. For your site to use that API, you will have to <a href=\"https://console.developers.google.com/project/\" target=\"_blank\">register your site as a new application</a>, enable the YouTube API for it and get a server key and fill it out here."
389
+ msgstr "Vtičnik prek YouTube APIja pridobi informacijo za vsak posnetek. Da bi na vašem spletišču lahko uporabili YouTube API, <a href=\"https://console.developers.google.com/project/\" target=\"_blank\">registrirajte vaš spletišče kot novo aplikacijo</a>, zanjo omogočite YouTube API, pridobite ključ in ga vpišite v zgornje polje."
390
+
391
+ #: options.php:110
392
+ #@ wp-youtube-lyte
393
+ msgid "Great, your YouTube API key has been taken care of!"
394
+ msgstr "Odlično! Vaš ključ za YouTube API je bil uspešno vpisan."
395
+
396
+ #: options.php:182
397
+ #@ wp-youtube-lyte
398
+ msgid "No, I'll stick to httpv or shortcodes."
399
+ msgstr "Ne, deluj le za httpv, httpa in kratke kode."
400
+
401
+ #: options.php:204
402
+ #@ wp-youtube-lyte
403
+ msgid "Happy with WP YouTube Lyte? Try my other plugins!"
404
+ msgstr "Vam je vtičnik WP YouTube Lyte všeč? Preizkusite še ostale moje vtičnike."
405
+
406
+ #: options.php:229
407
+ #@ wp-youtube-lyte
408
+ msgid "Checking your key ..."
409
+ msgstr "Preverjanje ključa ..."
410
+
411
+ #: options.php:243
412
+ #@ wp-youtube-lyte
413
+ msgid "That does not seem to be a correct API key!"
414
+ msgstr "Vnesli ste napačen API ključ!"
415
+
416
+ #: options.php:284
417
+ #@ wp-youtube-lyte
418
+ msgid "API seems OK, you can Save Changes below now."
419
+ msgstr "API ključ je veljaven. Zdaj lahko shranite nastavitve."
420
+
421
+ #: options.php:286
422
+ #@ wp-youtube-lyte
423
+ msgid "API key not OK, your key seems to "
424
+ msgstr "Napaka pri API ključu. "
425
+
426
+ #: options.php:289
427
+ #@ wp-youtube-lyte
428
+ msgid "be invalid."
429
+ msgstr "Vpisani ključ ni veljaven."
430
+
431
+ #: options.php:292
432
+ #@ wp-youtube-lyte
433
+ msgid "be valid, but restricted to an IP-address which is not your server's."
434
+ msgstr "Ključ je veljaven, a je omejen na naslov IP, ki pa ni vaš strežnik."
435
+
436
+ #: options.php:293
437
+ #@ wp-youtube-lyte
438
+ msgid "Try changing the allowed IP for your API key to include this one: "
439
+ msgstr "Poskusite spremeniti dovoljene naslove IP na naslednjega: "
440
+
441
+ #: options.php:297
442
+ #@ wp-youtube-lyte
443
+ msgid "have expired, please check in the Google Developer Console."
444
+ msgstr "Ključ je potekel. Preverite ga na Google Developer Console."
445
+
446
+ #: options.php:303
447
+ #@ wp-youtube-lyte
448
+ msgid "be correct, but seems to have exceeded the number of requests that can be made with it."
449
+ msgstr "Ključ je pravilen, a videti je, da je število zahtevkov, ki jih sme opraviti, preseženo."
450
+
451
+ #: options.php:306
452
+ #@ wp-youtube-lyte
453
+ msgid "probably work, but as the video with id "
454
+ msgstr "Ključ verjetno deluje. Žal posnetek z IDjem "
455
+
456
+ #: options.php:308
457
+ #@ wp-youtube-lyte
458
+ msgid " was not found we cannot be sure, please try again."
459
+ msgstr "ni bil najden, zato ga ni bilo mogoče preveriti. Poskusite ponovno."
460
+
461
+ #: options.php:311
462
+ #@ wp-youtube-lyte
463
+ msgid "be faulty, with YouTube API returning reason: "
464
+ msgstr "Ključ je napačen. YouTube API je vrnil napako: "
465
+
466
+ #: options.php:316
467
+ #@ wp-youtube-lyte
468
+ msgid "Something went wrong, WP YouTube Lyte might not have been able to retrieve information from the YouTube API, got error: "
469
+ msgstr "Prišlo je do napake. Vtičnik ni mogel pridobiti podatkov prek YouTube APIja. "
470
+
471
+ #: wp-youtube-lyte.php:586
472
+ #@ wp-youtube-lyte
473
+ msgid "Settings"
474
+ msgstr "Nastavitve"
475
+
476
+ #: options.php:98
477
+ #@ wp-youtube-lyte
478
+ msgid "Your YouTube API key:"
479
+ msgstr "Vaš ključ za YouTube API:"
480
+
481
+ #: options.php:141
482
+ #@ wp-youtube-lyte
483
+ msgid "Show YouTube and Easy YouTube link"
484
+ msgstr "Dodaj povezavo na YouTube in na Easy YouTube"
485
+
languages/wp-youtube-lyte.pot CHANGED
@@ -1,14 +1,14 @@
1
- # Copyright (C) 2014 WP YouTube Lyte
2
  # This file is distributed under the same license as the WP YouTube Lyte package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: WP YouTube Lyte 1.4.2\n"
6
- "Report-Msgid-Bugs-To: http://wordpress.org/tag/wp-youtube-lyte\n"
7
- "POT-Creation-Date: 2014-12-07 12:21:25+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
11
- "PO-Revision-Date: 2014-MO-DA HO:MI+ZONE\n"
12
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13
  "Language-Team: LANGUAGE <LL@li.org>\n"
14
 
@@ -20,156 +20,257 @@ msgstr ""
20
  msgid "There was a problem, the WP YouTube Lyte cache could not be cleared."
21
  msgstr ""
22
 
23
- #: options.php:71
 
 
 
 
 
 
 
 
 
 
 
 
 
 
24
  msgid "WP YouTube Lyte Settings"
25
  msgstr ""
26
 
27
- #: options.php:73
28
- msgid ""
29
- "WP YouTube Lyte inserts \"Lite YouTube Embeds\" in your blog. These look and "
30
- "feel like normal embedded YouTube, but don't use Flash unless clicked on, "
31
- "thereby <a href=\"http://blog.futtta.be/2012/04/03/speed-matters-re-"
32
- "evaluating-wp-youtube-lytes-performance/\" target=\"_blank\">reducing "
33
- "download size & rendering time substantially</a>. When a video is played, WP-"
34
- "YouTube-Lyte can either activate <a href=\"http://apiblog.youtube."
35
- "com/2010/07/new-way-to-embed-youtube-videos.html\" target=\"_blank"
36
- "\">YouTube's embedded html5-player</a> or the older Flash-version, depending "
37
- "on the settings below."
38
- msgstr ""
39
-
40
- #: options.php:74
41
- msgid ""
42
- "You can place video and audio in your posts and pages by adding one or more "
43
- "http<strong>v</strong> or http<strong>a</strong> YouTube-links to your post. "
44
- "These will automatically be replaced by WP YouTube Lyte with the correct "
45
- "(flash-less) code. To add a video for example, you type a URL like "
46
- "<em>http<strong>v</strong>://www.youtube.com/watch?v=QQPSMRQnNlU</em> or "
47
- "<em>http<strong>v</strong>://www.youtube.com/playlist?"
48
- "list=PLA486E741B25F8E00</em> for a playlist. If you want an audio-only "
49
- "player, you enter <em>http<strong>a</strong>://www.youtube.com/watch?"
50
- "v=BIQIGR-kWtc</em>. There's more info on the <a href=\"http://wordpress.org/"
51
- "extend/plugins/wp-youtube-lyte/faq/\" target=\"_blank\">wordpress.org WP "
52
- "YouTube Lyte FAQ page</a>."
53
- msgstr ""
54
-
55
- #: options.php:75
56
  msgid ""
57
- "You can modify WP-YouTube-Lyte's behaviour by changing the following "
58
- "settings:"
 
 
 
 
 
 
 
59
  msgstr ""
60
 
61
- #: options.php:84
62
  msgid "Player size"
63
  msgstr ""
64
 
65
- #: options.php:103
66
  msgid "Add links below the embedded videos?"
67
  msgstr ""
68
 
69
- #: options.php:106
70
  msgid "Show links?"
71
  msgstr ""
72
 
73
- #: options.php:107
 
 
 
 
74
  msgid " Add YouTube-link."
75
  msgstr ""
76
 
77
- #: options.php:108
 
 
 
 
78
  msgid ""
79
  " Add both a YouTube and an <a href=\"http://icant.co.uk/easy-youtube/docs/"
80
  "index.html\" target=\"_blank\">Easy YouTube</a>-link."
81
  msgstr ""
82
 
83
- #: options.php:109
 
 
 
 
84
  msgid " Don't add any links."
85
  msgstr ""
86
 
87
- #: options.php:114
88
  msgid "Player position:"
89
  msgstr ""
90
 
91
- #: options.php:117
92
  msgid "Left, center or right?"
93
  msgstr ""
94
 
95
- #: options.php:118
96
  msgid "Left"
97
  msgstr ""
98
 
99
- #: options.php:119
100
  msgid "Center"
101
  msgstr ""
102
 
103
- #: options.php:124
104
  msgid "Try to force HD (experimental)?"
105
  msgstr ""
106
 
107
- #: options.php:127
108
  msgid "HD or not?"
109
  msgstr ""
110
 
111
- #: options.php:128
 
 
 
 
112
  msgid "Enable HD"
113
  msgstr ""
114
 
115
- #: options.php:129
 
 
 
 
116
  msgid "No HD (default)"
117
  msgstr ""
118
 
119
- #: options.php:134
120
  msgid "Add microdata?"
121
  msgstr ""
122
 
123
- #: options.php:137
124
  msgid "Add video microdata to the HTML?"
125
  msgstr ""
126
 
127
- #: options.php:138 options.php:148
 
 
 
 
128
  msgid "Yes (default)"
129
  msgstr ""
130
 
131
- #: options.php:139
 
 
 
 
132
  msgid "No microdata, thanks."
133
  msgstr ""
134
 
135
- #: options.php:144 options.php:147
136
  msgid "Also act on normal YouTube links?"
137
  msgstr ""
138
 
139
- #: options.php:149
 
 
 
 
 
 
 
 
140
  msgid "No thanks."
141
  msgstr ""
142
 
143
- #: options.php:154
144
  msgid "Empty WP YouTube Lyte's cache"
145
  msgstr ""
146
 
147
- #: options.php:165
148
  msgid "Save Changes"
149
  msgstr ""
150
 
151
- #: options.php:173
152
  msgid "futtta about"
153
  msgstr ""
154
 
155
- #. #-#-#-#-# plugin.pot (WP YouTube Lyte 1.4.2) #-#-#-#-#
156
  #. Plugin Name of the plugin/theme
157
- #: options.php:175
158
  msgid "WP YouTube Lyte"
159
  msgstr ""
160
 
161
- #: options.php:176
162
  msgid "WordPress"
163
  msgstr ""
164
 
165
- #: options.php:177
166
  msgid "Web Technology"
167
  msgstr ""
168
 
169
- #: options.php:181
170
  msgid "Do not donate for this plugin!"
171
  msgstr ""
172
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
173
  #: player_sizes.inc.php:11
174
  msgid "Mini 16:9 player"
175
  msgstr ""
@@ -234,30 +335,34 @@ msgstr ""
234
  msgid "Text:"
235
  msgstr ""
236
 
237
- #: wp-youtube-lyte.php:181
238
  msgid "Watch this playlist on YouTube"
239
  msgstr ""
240
 
241
- #: wp-youtube-lyte.php:187
242
  msgid "Watch this playlist"
243
  msgstr ""
244
 
245
- #: wp-youtube-lyte.php:187 wp-youtube-lyte.php:199 wp-youtube-lyte.php:203
246
  msgid "on YouTube"
247
  msgstr ""
248
 
249
- #: wp-youtube-lyte.php:194
250
  msgid "Watch this video on YouTube"
251
  msgstr ""
252
 
253
- #: wp-youtube-lyte.php:199 wp-youtube-lyte.php:203
254
  msgid "Watch this video"
255
  msgstr ""
256
 
257
- #: wp-youtube-lyte.php:199
258
  msgid "or on"
259
  msgstr ""
260
 
 
 
 
 
261
  #. Plugin URI of the plugin/theme
262
  msgid "http://blog.futtta.be/wp-youtube-lyte/"
263
  msgstr ""
1
+ # Copyright (C) 2015 WP YouTube Lyte
2
  # This file is distributed under the same license as the WP YouTube Lyte package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: WP YouTube Lyte 1.5.0\n"
6
+ "Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/wp-youtube-lyte\n"
7
+ "POT-Creation-Date: 2015-03-06 17:49:26+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
11
+ "PO-Revision-Date: 2015-MO-DA HO:MI+ZONE\n"
12
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13
  "Language-Team: LANGUAGE <LL@li.org>\n"
14
 
20
  msgid "There was a problem, the WP YouTube Lyte cache could not be cleared."
21
  msgstr ""
22
 
23
+ #: options.php:61
24
+ msgid ""
25
+ "For WP YouTube Lyte to function optimally, you should enter an YouTube API "
26
+ "key "
27
+ msgstr ""
28
+
29
+ #: options.php:63
30
+ msgid "in the settings screen."
31
+ msgstr ""
32
+
33
+ #: options.php:76
34
+ msgid "WP YouTube Lyte got the following error back from the YouTube API: "
35
+ msgstr ""
36
+
37
+ #: options.php:91
38
  msgid "WP YouTube Lyte Settings"
39
  msgstr ""
40
 
41
+ #: options.php:98
42
+ msgid "Your YouTube API key."
43
+ msgstr ""
44
+
45
+ #: options.php:104
46
+ msgid "Please enter your YouTube API key."
47
+ msgstr ""
48
+
49
+ #: options.php:105
50
+ msgid "API key"
51
+ msgstr ""
52
+
53
+ #: options.php:105
54
+ msgid "Test Key"
55
+ msgstr ""
56
+
57
+ #: options.php:107
 
 
 
 
 
 
 
 
 
 
 
 
58
  msgid ""
59
+ "WP YouTube Lyte uses YouTube's API to fetch information on each video. For "
60
+ "your site to use that API, you will have to <a href=\"https://console."
61
+ "developers.google.com/project/\" target=\"_blank\">register your site as a "
62
+ "new application</a>, enable the YouTube API for it and get a server key and "
63
+ "fill it out here."
64
+ msgstr ""
65
+
66
+ #: options.php:110
67
+ msgid "Great, your YouTube API key has been taken care of!"
68
  msgstr ""
69
 
70
+ #: options.php:115 options.php:117
71
  msgid "Player size"
72
  msgstr ""
73
 
74
+ #: options.php:136
75
  msgid "Add links below the embedded videos?"
76
  msgstr ""
77
 
78
+ #: options.php:139
79
  msgid "Show links?"
80
  msgstr ""
81
 
82
+ #: options.php:140
83
+ msgid "Show YouTube-link"
84
+ msgstr ""
85
+
86
+ #: options.php:140
87
  msgid " Add YouTube-link."
88
  msgstr ""
89
 
90
+ #: options.php:141
91
+ msgid "Show YouTube and Ease YouTube link"
92
+ msgstr ""
93
+
94
+ #: options.php:141
95
  msgid ""
96
  " Add both a YouTube and an <a href=\"http://icant.co.uk/easy-youtube/docs/"
97
  "index.html\" target=\"_blank\">Easy YouTube</a>-link."
98
  msgstr ""
99
 
100
+ #: options.php:142
101
+ msgid "Don't include links."
102
+ msgstr ""
103
+
104
+ #: options.php:142
105
  msgid " Don't add any links."
106
  msgstr ""
107
 
108
+ #: options.php:147
109
  msgid "Player position:"
110
  msgstr ""
111
 
112
+ #: options.php:150
113
  msgid "Left, center or right?"
114
  msgstr ""
115
 
116
+ #: options.php:151
117
  msgid "Left"
118
  msgstr ""
119
 
120
+ #: options.php:152
121
  msgid "Center"
122
  msgstr ""
123
 
124
+ #: options.php:157
125
  msgid "Try to force HD (experimental)?"
126
  msgstr ""
127
 
128
+ #: options.php:160
129
  msgid "HD or not?"
130
  msgstr ""
131
 
132
+ #: options.php:161
133
+ msgid "Enable HD?"
134
+ msgstr ""
135
+
136
+ #: options.php:161
137
  msgid "Enable HD"
138
  msgstr ""
139
 
140
+ #: options.php:162
141
+ msgid "Don't enable HD playback"
142
+ msgstr ""
143
+
144
+ #: options.php:162
145
  msgid "No HD (default)"
146
  msgstr ""
147
 
148
+ #: options.php:167
149
  msgid "Add microdata?"
150
  msgstr ""
151
 
152
+ #: options.php:170
153
  msgid "Add video microdata to the HTML?"
154
  msgstr ""
155
 
156
+ #: options.php:171
157
+ msgid "Sure, add microdata!"
158
+ msgstr ""
159
+
160
+ #: options.php:171 options.php:181
161
  msgid "Yes (default)"
162
  msgstr ""
163
 
164
+ #: options.php:172
165
+ msgid "No microdata in my HTML please."
166
+ msgstr ""
167
+
168
+ #: options.php:172
169
  msgid "No microdata, thanks."
170
  msgstr ""
171
 
172
+ #: options.php:177 options.php:180
173
  msgid "Also act on normal YouTube links?"
174
  msgstr ""
175
 
176
+ #: options.php:181
177
+ msgid "That would be great!"
178
+ msgstr ""
179
+
180
+ #: options.php:182
181
+ msgid "No, I'll stick to httpv or shortcodes."
182
+ msgstr ""
183
+
184
+ #: options.php:182
185
  msgid "No thanks."
186
  msgstr ""
187
 
188
+ #: options.php:187
189
  msgid "Empty WP YouTube Lyte's cache"
190
  msgstr ""
191
 
192
+ #: options.php:198
193
  msgid "Save Changes"
194
  msgstr ""
195
 
196
+ #: options.php:206
197
  msgid "futtta about"
198
  msgstr ""
199
 
200
+ #. #-#-#-#-# plugin.pot (WP YouTube Lyte 1.5.0) #-#-#-#-#
201
  #. Plugin Name of the plugin/theme
202
+ #: options.php:208
203
  msgid "WP YouTube Lyte"
204
  msgstr ""
205
 
206
+ #: options.php:209
207
  msgid "WordPress"
208
  msgstr ""
209
 
210
+ #: options.php:210
211
  msgid "Web Technology"
212
  msgstr ""
213
 
214
+ #: options.php:214
215
  msgid "Do not donate for this plugin!"
216
  msgstr ""
217
 
218
+ #: options.php:228
219
+ msgid "Checking your key ..."
220
+ msgstr ""
221
+
222
+ #: options.php:242
223
+ msgid "That does not seem to be a correct API key!"
224
+ msgstr ""
225
+
226
+ #: options.php:283
227
+ msgid "API seems OK, you can Save Changes below now."
228
+ msgstr ""
229
+
230
+ #: options.php:285
231
+ msgid "API key not OK, your key seems to "
232
+ msgstr ""
233
+
234
+ #: options.php:288
235
+ msgid "be invalid."
236
+ msgstr ""
237
+
238
+ #: options.php:291
239
+ msgid "be valid, but restricted to an IP-address which is not your server's."
240
+ msgstr ""
241
+
242
+ #: options.php:292
243
+ msgid "Try changing the allowed IP for your API key to include this one: "
244
+ msgstr ""
245
+
246
+ #: options.php:296
247
+ msgid "have expired, please check in the Google Developer Console."
248
+ msgstr ""
249
+
250
+ #: options.php:302
251
+ msgid ""
252
+ "be correct, but seems to have exceeded the number of requests that can be "
253
+ "made with it."
254
+ msgstr ""
255
+
256
+ #: options.php:305
257
+ msgid "probably work, but as the video with id "
258
+ msgstr ""
259
+
260
+ #: options.php:307
261
+ msgid " was not found we cannot be sure, please try again."
262
+ msgstr ""
263
+
264
+ #: options.php:310
265
+ msgid "be faulty, with YouTube API returning reason: "
266
+ msgstr ""
267
+
268
+ #: options.php:315
269
+ msgid ""
270
+ "Something went wrong, WP YouTube Lyte might not have been able to retrieve "
271
+ "information from the YouTube API, got error: "
272
+ msgstr ""
273
+
274
  #: player_sizes.inc.php:11
275
  msgid "Mini 16:9 player"
276
  msgstr ""
335
  msgid "Text:"
336
  msgstr ""
337
 
338
+ #: wp-youtube-lyte.php:186
339
  msgid "Watch this playlist on YouTube"
340
  msgstr ""
341
 
342
+ #: wp-youtube-lyte.php:192
343
  msgid "Watch this playlist"
344
  msgstr ""
345
 
346
+ #: wp-youtube-lyte.php:192 wp-youtube-lyte.php:204 wp-youtube-lyte.php:208
347
  msgid "on YouTube"
348
  msgstr ""
349
 
350
+ #: wp-youtube-lyte.php:199
351
  msgid "Watch this video on YouTube"
352
  msgstr ""
353
 
354
+ #: wp-youtube-lyte.php:204 wp-youtube-lyte.php:208
355
  msgid "Watch this video"
356
  msgstr ""
357
 
358
+ #: wp-youtube-lyte.php:204
359
  msgid "or on"
360
  msgstr ""
361
 
362
+ #: wp-youtube-lyte.php:586
363
+ msgid "Settings"
364
+ msgstr ""
365
+
366
  #. Plugin URI of the plugin/theme
367
  msgid "http://blog.futtta.be/wp-youtube-lyte/"
368
  msgstr ""
lyte/lytesprite.png CHANGED
Binary file
lyte/lytesprite_old.png ADDED
Binary file
options.php CHANGED
@@ -44,6 +44,7 @@ function register_lyte_settings() {
44
  register_setting( 'lyte-settings-group', 'lyte_microdata' );
45
  register_setting( 'lyte-settings-group', 'lyte_emptycache' );
46
  register_setting( 'lyte-settings-group', 'lyte_greedy' );
 
47
  }
48
 
49
  function lyte_admin_scripts() {
@@ -52,16 +53,35 @@ function lyte_admin_scripts() {
52
  }
53
 
54
  function lyte_admin_styles() {
55
- wp_enqueue_style('zrssfeed', plugins_url('/external/jquery.zrssfeed.css', __FILE__));
56
  }
57
 
58
- function lyte_admin_notice(){
59
- echo '<div class="updated"><p>Hello WP YouTube Lyte user!<br />Just to let you know that <strong>the bonus feature, DoNotTrack, was removed</strong> from WP YouTube Lyte. If you would like to keep blocking third party tracking on your blog, you might want to <strong>install <a href="http://wordpress.org/extend/plugins/wp-donottrack/" title="WP DoNotTrack">WP DoNotTrack</a></strong>, which is a more powerful and flexible solution.</p><p>Have a great day!<br /><a href="http://blog.futtta.be/">frank</a>.</div>';
60
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
61
 
62
- if (get_option('lyte_notification','0')!=="2") {
63
- add_action('admin_notices', 'lyte_admin_notice');
64
- update_option('lyte_notification','2');
65
  }
66
 
67
  function lyte_settings_page() {
@@ -70,16 +90,29 @@ function lyte_settings_page() {
70
  <div class="wrap">
71
  <h2><?php _e("WP YouTube Lyte Settings","wp-youtube-lyte") ?></h2>
72
  <div style="float:left;width:70%;">
73
- <p><?php _e("WP YouTube Lyte inserts \"Lite YouTube Embeds\" in your blog. These look and feel like normal embedded YouTube, but don't use Flash unless clicked on, thereby <a href=\"http://blog.futtta.be/2012/04/03/speed-matters-re-evaluating-wp-youtube-lytes-performance/\" target=\"_blank\">reducing download size & rendering time substantially</a>. When a video is played, WP-YouTube-Lyte can either activate <a href=\"http://apiblog.youtube.com/2010/07/new-way-to-embed-youtube-videos.html\" target=\"_blank\">YouTube's embedded html5-player</a> or the older Flash-version, depending on the settings below.","wp-youtube-lyte") ?></p>
74
- <p><?php _e("You can place video and audio in your posts and pages by adding one or more http<strong>v</strong> or http<strong>a</strong> YouTube-links to your post. These will automatically be replaced by WP YouTube Lyte with the correct (flash-less) code. To add a video for example, you type a URL like <em>http<strong>v</strong>://www.youtube.com/watch?v=QQPSMRQnNlU</em> or <em>http<strong>v</strong>://www.youtube.com/playlist?list=PLA486E741B25F8E00</em> for a playlist. If you want an audio-only player, you enter <em>http<strong>a</strong>://www.youtube.com/watch?v=BIQIGR-kWtc</em>. There's more info on the <a href=\"http://wordpress.org/extend/plugins/wp-youtube-lyte/faq/\" target=\"_blank\">wordpress.org WP YouTube Lyte FAQ page</a>.","wp-youtube-lyte") ?></p>
75
- <p><?php _e("You can modify WP-YouTube-Lyte's behaviour by changing the following settings:","wp-youtube-lyte") ?></p>
76
  <form method="post" action="options.php">
77
  <?php settings_fields( 'lyte-settings-group' ); ?>
78
  <table class="form-table">
79
  <input type="hidden" name="lyte_notification" value="<?php echo get_option('lyte_notification','0'); ?>" />
80
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
81
  <tr valign="top">
82
- <th scope="row">Player size:</th>
83
  <td>
84
  <fieldset><legend class="screen-reader-text"><span><?php _e("Player size","wp-youtube-lyte") ?></span></legend>
85
  <?php
@@ -104,9 +137,9 @@ function lyte_settings_page() {
104
  <td>
105
  <fieldset>
106
  <legend class="screen-reader-text"><span><?php _e("Show links?","wp-youtube-lyte") ?></span></legend>
107
- <label title="Show YouTube-link"><input type="radio" name="lyte_show_links" value="1" <?php if (get_option('lyte_show_links')==="1") echo "checked" ?> /><?php _e(" Add YouTube-link.","wp-youtube-lyte") ?></label><br />
108
- <label title="Show YouTube and Ease YouTube link"><input type="radio" name="lyte_show_links" value="2" <?php if (get_option('lyte_show_links')==="2") echo "checked" ?> /><?php _e(" Add both a YouTube and an <a href=\"http://icant.co.uk/easy-youtube/docs/index.html\" target=\"_blank\">Easy YouTube</a>-link.","wp-youtube-lyte") ?></label><br />
109
- <label title="Don't include links."><input type="radio" name="lyte_show_links" value="0" <?php if ((get_option('lyte_show_links')!=="1") && (get_option('lyte_show_links')!=="2")) echo "checked" ?> /><?php _e(" Don't add any links.","wp-youtube-lyte") ?></label>
110
  </fieldset>
111
  </td>
112
  </tr>
@@ -115,8 +148,8 @@ function lyte_settings_page() {
115
  <td>
116
  <fieldset>
117
  <legend class="screen-reader-text"><span><?php _e("Left, center or right?","wp-youtube-lyte"); ?></span></legend>
118
- <label title="Left"><input type="radio" name="lyte_position" value="0" <?php if (get_option('lyte_position','0')==="0") echo "checked" ?> /><?php _e("Left","wp-youtube-lyte") ?></label><br />
119
- <label title="Center"><input type="radio" name="lyte_position" value="1" <?php if (get_option('lyte_position','0')==="1") echo "checked" ?> /><?php _e("Center","wp-youtube-lyte") ?></label>
120
  </fieldset>
121
  </td>
122
  </tr>
@@ -125,8 +158,8 @@ function lyte_settings_page() {
125
  <td>
126
  <fieldset>
127
  <legend class="screen-reader-text"><span><?php _e("HD or not?","wp-youtube-lyte"); ?></span></legend>
128
- <label title="Enable HD?"><input type="radio" name="lyte_hidef" value="1" <?php if (get_option('lyte_hidef','0')==="1") echo "checked" ?> /><?php _e("Enable HD","wp-youtube-lyte") ?></label><br />
129
- <label title="Don't enable HD playback"><input type="radio" name="lyte_hidef" value="0" <?php if (get_option('lyte_hidef','0')!=="1") echo "checked" ?> /><?php _e("No HD (default)","wp-youtube-lyte") ?></label>
130
  </fieldset>
131
  </td>
132
  </tr>
@@ -135,8 +168,8 @@ function lyte_settings_page() {
135
  <td>
136
  <fieldset>
137
  <legend class="screen-reader-text"><span><?php _e("Add video microdata to the HTML?","wp-youtube-lyte"); ?></span></legend>
138
- <label title="Sure, add microdata!"><input type="radio" name="lyte_microdata" value="1" <?php if (get_option('lyte_microdata','1')==="1") echo "checked" ?> /><?php _e("Yes (default)","wp-youtube-lyte") ?></label><br />
139
- <label title="No microdata in my HTML please."><input type="radio" name="lyte_microdata" value="0" <?php if (get_option('lyte_microdata','1')!=="1") echo "checked" ?> /><?php _e("No microdata, thanks.","wp-youtube-lyte") ?></label>
140
  </fieldset>
141
  </td>
142
  </tr>
@@ -145,8 +178,8 @@ function lyte_settings_page() {
145
  <td>
146
  <fieldset>
147
  <legend class="screen-reader-text"><span><?php _e("Also act on normal YouTube links?","wp-youtube-lyte") ?></span></legend>
148
- <label title="That would be great!"><input type="radio" name="lyte_greedy" value="1" <?php if (get_option('lyte_greedy','1')==="1") echo "checked" ?> /><?php _e("Yes (default)","wp-youtube-lyte") ?></label><br />
149
- <label title="No, I'll stick to httpv or shortcocdes."><input type="radio" name="lyte_greedy" value="0" <?php if (get_option('lyte_greedy','1')!=="1") echo "checked" ?> /><?php _e("No thanks.","wp-youtube-lyte") ?></label>
150
  </fieldset>
151
  </td>
152
  </tr>
@@ -168,6 +201,7 @@ function lyte_settings_page() {
168
  </form>
169
  </div>
170
  <div style="float:right;width:30%" id="lyte_admin_feed">
 
171
  <div style="margin-left:10px;margin-top:-5px;">
172
  <h3>
173
  <?php _e("futtta about","wp-youtube-lyte") ?>
@@ -190,6 +224,26 @@ function lyte_settings_page() {
190
  cookiename="wp-youtube-lyte_feed";
191
 
192
  jQuery(document).ready(function() {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
193
  jQuery("#feed_dropdown").change(function() { show_feed(jQuery("#feed_dropdown").val()) });
194
 
195
  feedid=jQuery.cookie(cookiename);
@@ -211,4 +265,57 @@ function lyte_settings_page() {
211
  </script>
212
 
213
  </div>
214
- <?php } ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
44
  register_setting( 'lyte-settings-group', 'lyte_microdata' );
45
  register_setting( 'lyte-settings-group', 'lyte_emptycache' );
46
  register_setting( 'lyte-settings-group', 'lyte_greedy' );
47
+ register_setting( 'lyte-settings-group', 'lyte_yt_api_key' );
48
  }
49
 
50
  function lyte_admin_scripts() {
53
  }
54
 
55
  function lyte_admin_styles() {
56
+ wp_enqueue_style('zrssfeed', plugins_url('/external/jquery.zrssfeed.css', __FILE__));
57
  }
58
 
59
+ function lyte_admin_nag_apikey() {
60
+ echo "<div class=\"update-nag\">";
61
+ _e('For WP YouTube Lyte to function optimally, you should enter an YouTube API key ');
62
+ echo "<a href=\"options-general.php?page=lyte_settings_page\">";
63
+ _e('in the settings screen.');
64
+ echo "</a>.</div>";
65
+ }
66
+
67
+ $lyte_yt_api_key=get_option('lyte_yt_api_key','');
68
+ $lyte_yt_api_key=apply_filters('lyte_filter_yt_api_key', $lyte_yt_api_key);
69
+ if (empty($lyte_yt_api_key)) {
70
+ add_action('admin_notices', 'lyte_admin_nag_apikey');
71
+ }
72
+
73
+ function lyte_admin_api_error(){
74
+ $yt_error=json_decode(get_option('lyte_api_error'),1);
75
+ echo '<div class="error"><p>';
76
+ _e('WP YouTube Lyte got the following error back from the YouTube API: ');
77
+ echo "<strong>".$yt_error["reason"]."</strong>";
78
+ echo " (".date("r",$yt_error["timestamp"]).").";
79
+ echo '</a>.</p></div>';
80
+ update_option('lyte_api_error','');
81
+ }
82
 
83
+ if (get_option('lyte_api_error','')!=='') {
84
+ add_action('admin_notices', 'lyte_admin_api_error');
 
85
  }
86
 
87
  function lyte_settings_page() {
90
  <div class="wrap">
91
  <h2><?php _e("WP YouTube Lyte Settings","wp-youtube-lyte") ?></h2>
92
  <div style="float:left;width:70%;">
 
 
 
93
  <form method="post" action="options.php">
94
  <?php settings_fields( 'lyte-settings-group' ); ?>
95
  <table class="form-table">
96
  <input type="hidden" name="lyte_notification" value="<?php echo get_option('lyte_notification','0'); ?>" />
97
+ <tr valign="top">
98
+ <th scope="row"><?php _e("Your YouTube API key.","wp-youtube-lyte") ?></th>
99
+ <td>
100
+ <?php // only show api key input field if there's no result from filter
101
+ $filter_key=apply_filters('lyte_filter_yt_api_key','');
102
+ if (empty($filter_key)) { ?>
103
+ <fieldset>
104
+ <legend class="screen-reader-text"><span><?php _e("Please enter your YouTube API key.","wp-youtube-lyte") ?></span></legend>
105
+ <label title="<?php _e('API key','wp-youtube-lyte'); ?>"><input type="text" size="28" name="lyte_yt_api_key" id="lyte_yt_api_key" value="<?php echo get_option('lyte_yt_api_key',''); ?>"><span id="check_api_key" class="submit button-secondary" style="margin:0px 5px;"><?php _e("Test Key"); ?></span></label><br />
106
+ <div id="lyte_key_check_output" style="display:none;margin-bottom:5px;background-color:white;border-left:solid;border-width:4px;border-color:#2ea2cc;padding:5px 5px 5px 15px;"></div>
107
+ <?php _e("WP YouTube Lyte uses YouTube's API to fetch information on each video. For your site to use that API, you will have to <a href=\"https://console.developers.google.com/project/\" target=\"_blank\">register your site as a new application</a>, enable the YouTube API for it and get a server key and fill it out here.","wp-youtube-lyte"); ?>
108
+ </fieldset>
109
+ <?php } else { ?>
110
+ <?php _e("Great, your YouTube API key has been taken care of!","wp-youtube-lyte"); ?>
111
+ <?php } ?>
112
+ </td>
113
+ </tr>
114
  <tr valign="top">
115
+ <th scope="row"><?php _e("Player size","wp-youtube-lyte") ?>:</th>
116
  <td>
117
  <fieldset><legend class="screen-reader-text"><span><?php _e("Player size","wp-youtube-lyte") ?></span></legend>
118
  <?php
137
  <td>
138
  <fieldset>
139
  <legend class="screen-reader-text"><span><?php _e("Show links?","wp-youtube-lyte") ?></span></legend>
140
+ <label title="<?php _e('Show YouTube-link','wp-youtube-lyte');?>"><input type="radio" name="lyte_show_links" value="1" <?php if (get_option('lyte_show_links')==="1") echo "checked" ?> /><?php _e(" Add YouTube-link.","wp-youtube-lyte") ?></label><br />
141
+ <label title="<?php _e('Show YouTube and Ease YouTube link','wp-youtube-lyte');?>"><input type="radio" name="lyte_show_links" value="2" <?php if (get_option('lyte_show_links')==="2") echo "checked" ?> /><?php _e(" Add both a YouTube and an <a href=\"http://icant.co.uk/easy-youtube/docs/index.html\" target=\"_blank\">Easy YouTube</a>-link.","wp-youtube-lyte") ?></label><br />
142
+ <label title="<?php _e('Don\'t include links.','wp-youtube-lyte');?>"><input type="radio" name="lyte_show_links" value="0" <?php if ((get_option('lyte_show_links')!=="1") && (get_option('lyte_show_links')!=="2")) echo "checked" ?> /><?php _e(" Don't add any links.","wp-youtube-lyte") ?></label>
143
  </fieldset>
144
  </td>
145
  </tr>
148
  <td>
149
  <fieldset>
150
  <legend class="screen-reader-text"><span><?php _e("Left, center or right?","wp-youtube-lyte"); ?></span></legend>
151
+ <label title="<?php _e('Left','wp-youtube-lyte');?>"><input type="radio" name="lyte_position" value="0" <?php if (get_option('lyte_position','0')==="0") echo "checked" ?> /><?php _e("Left","wp-youtube-lyte") ?></label><br />
152
+ <label title="<?php _e('Center','wp-youtube-lyte');?>"><input type="radio" name="lyte_position" value="1" <?php if (get_option('lyte_position','0')==="1") echo "checked" ?> /><?php _e("Center","wp-youtube-lyte") ?></label>
153
  </fieldset>
154
  </td>
155
  </tr>
158
  <td>
159
  <fieldset>
160
  <legend class="screen-reader-text"><span><?php _e("HD or not?","wp-youtube-lyte"); ?></span></legend>
161
+ <label title="<?php _e('Enable HD?','wp-youtube-lyte');?>"><input type="radio" name="lyte_hidef" value="1" <?php if (get_option('lyte_hidef','0')==="1") echo "checked" ?> /><?php _e("Enable HD","wp-youtube-lyte") ?></label><br />
162
+ <label title="<?php _e('Don\'t enable HD playback','wp-youtube-lyte');?>"><input type="radio" name="lyte_hidef" value="0" <?php if (get_option('lyte_hidef','0')!=="1") echo "checked" ?> /><?php _e("No HD (default)","wp-youtube-lyte") ?></label>
163
  </fieldset>
164
  </td>
165
  </tr>
168
  <td>
169
  <fieldset>
170
  <legend class="screen-reader-text"><span><?php _e("Add video microdata to the HTML?","wp-youtube-lyte"); ?></span></legend>
171
+ <label title="<?php _e('Sure, add microdata!','wp-youtube-lyte');?>"><input type="radio" name="lyte_microdata" value="1" <?php if (get_option('lyte_microdata','1')==="1") echo "checked" ?> /><?php _e("Yes (default)","wp-youtube-lyte") ?></label><br />
172
+ <label title="<?php _e('No microdata in my HTML please.','wp-youtube-lyte');?>"><input type="radio" name="lyte_microdata" value="0" <?php if (get_option('lyte_microdata','1')!=="1") echo "checked" ?> /><?php _e("No microdata, thanks.","wp-youtube-lyte") ?></label>
173
  </fieldset>
174
  </td>
175
  </tr>
178
  <td>
179
  <fieldset>
180
  <legend class="screen-reader-text"><span><?php _e("Also act on normal YouTube links?","wp-youtube-lyte") ?></span></legend>
181
+ <label title="<?php _e('That would be great!','wp-youtube-lyte');?>"><input type="radio" name="lyte_greedy" value="1" <?php if (get_option('lyte_greedy','1')==="1") echo "checked" ?> /><?php _e("Yes (default)","wp-youtube-lyte") ?></label><br />
182
+ <label title="<?php _e('No, I\'ll stick to httpv or shortcodes.','wp-youtube-lyte');?>"><input type="radio" name="lyte_greedy" value="0" <?php if (get_option('lyte_greedy','1')!=="1") echo "checked" ?> /><?php _e("No thanks.","wp-youtube-lyte") ?></label>
183
  </fieldset>
184
  </td>
185
  </tr>
201
  </form>
202
  </div>
203
  <div style="float:right;width:30%" id="lyte_admin_feed">
204
+ <div style="margin:0px 15px 15px 15px;font-size:larger;"><a href="<?php echo network_admin_url(); ?>plugin-install.php?tab=search&type=author&s=futtta"><?php _e("Happy with WP YouTube Lyte? Try my other plugins!"); ?></a></div>
205
  <div style="margin-left:10px;margin-top:-5px;">
206
  <h3>
207
  <?php _e("futtta about","wp-youtube-lyte") ?>
224
  cookiename="wp-youtube-lyte_feed";
225
 
226
  jQuery(document).ready(function() {
227
+ jQuery( "#check_api_key" ).click(function() {
228
+ jQuery("#lyte_key_check_output").show();
229
+ jQuery("#lyte_key_check_output").append('<p><?php _e("Checking your key ..."); ?></p>');
230
+
231
+ lyte_yt_api_key=jQuery("input#lyte_yt_api_key").val();
232
+ if ((lyte_yt_api_key.length>9) &&(lyte_yt_api_key.length<99)) {
233
+ var data = {
234
+ 'action': 'lyte_check_yt_api_key',
235
+ 'lyte_nonce': '<?php echo wp_create_nonce( "lyte_check_api_key" );?>',
236
+ 'lyte_yt_api_key': jQuery("input#lyte_yt_api_key").val()
237
+ };
238
+
239
+ jQuery.post(ajaxurl, data, function(response) {
240
+ jQuery("#lyte_key_check_output").append('<p>'+response+'</p>');
241
+ });
242
+ } else {
243
+ jQuery("#lyte_key_check_output").append('<p><?php _e("That does not seem to be a correct API key!"); ?></p>');
244
+ }
245
+ })
246
+
247
  jQuery("#feed_dropdown").change(function() { show_feed(jQuery("#feed_dropdown").val()) });
248
 
249
  feedid=jQuery.cookie(cookiename);
265
  </script>
266
 
267
  </div>
268
+ <?php }
269
+
270
+ // ajax receiver for YT API key check
271
+ add_action( 'wp_ajax_lyte_check_yt_api_key', 'lyte_check_yt_api_key_callback' );
272
+ function lyte_check_yt_api_key_callback() {
273
+ check_ajax_referer( "lyte_check_api_key", 'lyte_nonce' );
274
+ $api_key = strip_tags($_POST['lyte_yt_api_key']);
275
+
276
+ // use random video to make sure a cache is not spoiling things
277
+ $vidToCheck=array("jLOnUWJTCG0","ZmnZHudtzXg","2_7oQcAkyl8","nOvv80wkSgI","pBCt5nfsZ30","KHw7gdJ14uQ","qJ_PMvjmC6M","DVwHCGAr_OE","LtOGa5M8AuU","VHO9uZX9FNU");
278
+ $randVidIndex=array_rand($vidToCheck);
279
+
280
+ $api_response = lyte_get_YT_resp($vidToCheck[$randVidIndex],false,"",$api_key);
281
+
282
+ if (is_array($api_response)) {
283
+ if (!empty($api_response["title"])) {
284
+ _e("API seems OK, you can Save Changes below now.");
285
+ } else if (!empty($api_response["reason"])) {
286
+ _e("API key not OK, your key seems to ");
287
+ switch ($api_response["reason"]) {
288
+ case "keyInvalid":
289
+ _e("be invalid.");
290
+ break;
291
+ case "ipRefererBlocked":
292
+ _e("be valid, but restricted to an IP-address which is not your server's.");
293
+ _e("Try changing the allowed IP for your API key to include this one: ");
294
+ echo $_SERVER["SERVER_ADDR"];
295
+ break;
296
+ case "keyExpired":
297
+ _e("have expired, please check in the Google Developer Console.");
298
+ break;
299
+ case "limitExceeded":
300
+ case "quotaExceeded":
301
+ case "rateLimitExceeded":
302
+ case "userRateLimitExceeded":
303
+ _e("be correct, but seems to have exceeded the number of requests that can be made with it.");
304
+ break;
305
+ case "videoNotFound":
306
+ _e("probably work, but as the video with id ");
307
+ echo $vidToCheck[$randVidIndex];
308
+ _e(" was not found we cannot be sure, please try again.");
309
+ break;
310
+ default:
311
+ _e("be faulty, with YouTube API returning reason: ");
312
+ echo $api_response["reason"];
313
+ }
314
+ }
315
+ } else {
316
+ _e("Something went wrong, WP YouTube Lyte might not have been able to retrieve information from the YouTube API, got error: ");
317
+ print_r($api_response);
318
+ }
319
+ wp_die();
320
+ }
321
+ ?>
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: youtube, video, lyte, lite youtube embeds, html5 video, widget, youtube au
4
  Donate link: http://blog.futtta.be/2013/10/21/do-not-donate-to-me/
5
  Requires at least: 2.9
6
  Tested up to: 4.1
7
- Stable tag: 1.5.0
8
 
9
  High performance YouTube video, playlist and audio-only embeds which don't slow down your blog and offer optimal accessibility.
10
 
@@ -42,17 +42,47 @@ Just install form your Wordpress "Plugins|Add New" screen and all will be well.
42
 
43
  == Frequently Asked Questions ==
44
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
45
  = What does "html5 video support" mean? =
46
  When playing, HTML5 video will not be visible for everyone (see requirements). Indeed some visitors will see the fallback Flash video instead.
47
 
48
  = What are the requirements to see embedded YouTube HTML5 video? =
49
- * It only works in browsers that support the h264 (Safari, Chrome, IE9) or WebM (currently Chrome, Opera and Firefox) video codecs
50
- * Your visitor has to be enrolled in the [YouTube html5 beta](http://www.youtube.com/html5) except if no Flash in present, in which case YouTube will attempt to fall-back to HTML5 as well
 
51
 
52
  = Does WP YouTube Lyte protect my visitor's privacy? =
53
- As opposed to some of the [most important](http://blog.futtta.be/2010/12/15/wordpress-com-stats-trojan-horse-for-quantcast-tracking/) [plugins](http://blog.futtta.be/2010/01/22/add-to-any-removed-from-here/) there is no 3rd party tracking code in WP YouTube Lyte, but YouTube off course does see visitor requests coming in (see also the youtube-nocookie.com remark in Bugs/Issues below).
54
-
55
- If you want to stop YouTube from setting cookies, add the "&showinfo=0" parameter to your httpv-url. This will prevent the call to the Youtube API, which is used to fetch the title of the video, and stop YouTube-cookies from being set when the LYTE-player is loaded. This however does not work for playlists (the API-call is needed to be able to present something meaningful). You should also take into account that any user actually playing the video, will always receive YouTube-cookies ([as is the case with youtube-nocokie embeds as well](http://support.google.com/youtube/bin/answer.py?hl=en&answer=171780&expand=PrivacyEnhancedMode#privacy)).
56
 
57
  = Can I use WP YouTube Lyte for a custom field? =
58
  Just pass the httpv url of such a field to lyte_preparse like this:
@@ -89,7 +119,7 @@ A whole lot; there are filters to pre-parse the_content, to change settings, to
89
  Copy it to /wp-content/plugins/lyte_helper.php and activate it in WordPress' plugin page. After that you can simple remove the one of the comment-sequences (double-slash) to activate one (or more) of the functions in there.
90
 
91
  = Problem with All In One Seo Pack =
92
- All in One SEO Pack be default generates a description which still has httpv-links in it. To remove those, you'll have to use lyte_helper.php (see above) and add lyte_filter_aioseop_description to the aioseop-filter in there.
93
 
94
  = When I click on a LYTE video, a link to YouTube opens, what's up with that? =
95
  You probably added a link (<a href>)around the httpv-url. No link is needed, just the httpv-url.
@@ -97,7 +127,6 @@ You probably added a link (<a href>)around the httpv-url. No link is needed, jus
97
  = Any bugs/ issues should I know about? =
98
  * Although the widget is available in (very) small sizes, these do not display that great and might, in the near future, be disabled by YouTube as their Terms of Service state that the smallest available embedded player is 200X200 pixels. Use the deprecated smaller sizes at your own risk.
99
  * Having the same YouTube-video on one page can cause WP YouTube Lyte to malfunction (as the YouTube id is used as the div's id in the DOM, and DOM id's are supposed to be unique)
100
- * As youtube-nocookie.com does not serve the HTML5-player, WP YouTube Lyte uses the youtube.com domain (which provides less privacy), but as soon as youtube-nocookie.com serves HTML5-video, this will become the default domain for WP YouTube Lyte again.
101
  * When using the Firefox plugin Karma Blocker, the [video isn't visible when clicking "play", with a warning message being shown instead](http://blog.futtta.be/?p=7584). This is expected behavior and should be solved by tweaking Karma Blocker's configuration.
102
  * The translations have not been updated entirely for version 1.2.0 and later. Help with translations is high on my wish-list, [contact me if you are interested to help](http://blog.futtta.be/contact)!
103
 
@@ -111,6 +140,13 @@ Just tell me, I like the feedback! Use the [Contact-page on my blog](http://blog
111
 
112
  == Changelog ==
113
 
 
 
 
 
 
 
 
114
  = 1.5.0 =
115
  * New: WP YouTube Lyte can now also act on normal YouTube URL's. This behavior is by default active on new installations and is by default off for upgrades (from 1.4.x) to avoid unexpected behavior.
116
  * Improvement (API): apply lyte_settings filter after after_setup_theme actoin as [proposed by Yun](http://blog.futtta.be/wp-youtube-lyte/#comment-61923)
4
  Donate link: http://blog.futtta.be/2013/10/21/do-not-donate-to-me/
5
  Requires at least: 2.9
6
  Tested up to: 4.1
7
+ Stable tag: 1.6.0
8
 
9
  High performance YouTube video, playlist and audio-only embeds which don't slow down your blog and offer optimal accessibility.
10
 
42
 
43
  == Frequently Asked Questions ==
44
 
45
+ = Why does WP YouTube Lyte need to access the YouTube API? What is an API anyway? =
46
+ An API is a way to have two pieces of software talk to each other to exchange information. In this case WP YouTube Lyte contacts YouTube to ask it for the thumbnail, the title and the description of the video you added. The thumbnail and title are visible on the webpage (in the Lyte player) while the description is in the HTML as microdata for search engines optimization reasons (see below).
47
+
48
+ = What is an API key and why does WP YouTube Lyte need one all of a sudden? =
49
+ Up until WP YouTube Lyte 1.5.0 the v2 YouTube API was used, but [in September 2014 Google announced it was going to decommission that version, forcing the switch to v3](http://youtube-eng.blogspot.be/2014/09/have-you-migrated-to-data-api-v3-yet.html?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed:+YouTubeEngDevBlog+%28YouTube+Engineering+and+Developers+Blog%29). A big difference between v2 and v3 is that, whereas v2 allowed "anonymous" requests, this is not the case for v3 any more. This means any request to the YouTube API v3 has to be identified with a key (a string with seamingly random letters & numbers). You can get such a key from Google for free (see below) and you have to enter that in WP YouTube Lyte's settings page.
50
+
51
+ = OK, now how can get that API key? =
52
+
53
+ 1. Go to "Google Developer Console](https://console.developers.google.com/project/) and log in with your Google account.
54
+ 2. Click on 'Create Project' and:
55
+ * Fill in a Project Name
56
+ * Fill in a Project ID
57
+ * Click on 'Create'
58
+
59
+ 3. On the next page (or when there is no next page, click on your Project's name):
60
+ * Click on 'Enable an API'
61
+ * Scroll down to YouTube Data API v3 and click on it
62
+ * Click on 'OFF' at the top to enable the API
63
+ * Optionally disable other API's
64
+
65
+ 4. In the sidebar on the left:
66
+ * Click on 'Credentials'
67
+ * Click on 'Create new Key'
68
+ * Click on 'Server Key'
69
+ * Click on 'Create'
70
+
71
+ 5. Copy your API key to WP YouTube Lyte settings page.
72
+
73
+ = Will WP YouTube Lyte work if I don't provide an API key? =
74
+ Yes, with some exceptions. For as long as Google keeps the v2 API accessible (at least until April 20, 2015), everything will work just fine as WP YouTube Lyte will fall back to that version if no API key was provided. When Google does close access to the v2 API, WP YouTube Lyte will continue to work, rendering Lyte players, but without the title and microdata (description, time, ...) and without thumbnails for playlists.
75
+
76
  = What does "html5 video support" mean? =
77
  When playing, HTML5 video will not be visible for everyone (see requirements). Indeed some visitors will see the fallback Flash video instead.
78
 
79
  = What are the requirements to see embedded YouTube HTML5 video? =
80
+ * Beginning 2015 YouTube announced it would switch to HTML5 video by default.
81
+ * This will work in browsers that support the h264 or WebM video codecs, most modern browser should work.
82
+ * Browsers that don't support those codecs will, upon playing, fall back to Flash.
83
 
84
  = Does WP YouTube Lyte protect my visitor's privacy? =
85
+ As opposed to some of the [most important](http://blog.futtta.be/2010/12/15/wordpress-com-stats-trojan-horse-for-quantcast-tracking/) [plugins](http://blog.futtta.be/2010/01/22/add-to-any-removed-from-here/) there is no 3rd party tracking code in WP YouTube Lyte, but YouTube off course does see visitor requests coming in (see also the youtube-nocookie.com remark in Bugs/Issues below) for the thumbnails.
 
 
86
 
87
  = Can I use WP YouTube Lyte for a custom field? =
88
  Just pass the httpv url of such a field to lyte_preparse like this:
119
  Copy it to /wp-content/plugins/lyte_helper.php and activate it in WordPress' plugin page. After that you can simple remove the one of the comment-sequences (double-slash) to activate one (or more) of the functions in there.
120
 
121
  = Problem with All In One Seo Pack =
122
+ All in One SEO Pack be default generates a description which still has httpv-links in it. To remove those, you'll have to use (example code in) lyte_helper.php (see above) and add lyte_filter_aioseop_description to the aioseop-filter in there.
123
 
124
  = When I click on a LYTE video, a link to YouTube opens, what's up with that? =
125
  You probably added a link (<a href>)around the httpv-url. No link is needed, just the httpv-url.
127
  = Any bugs/ issues should I know about? =
128
  * Although the widget is available in (very) small sizes, these do not display that great and might, in the near future, be disabled by YouTube as their Terms of Service state that the smallest available embedded player is 200X200 pixels. Use the deprecated smaller sizes at your own risk.
129
  * Having the same YouTube-video on one page can cause WP YouTube Lyte to malfunction (as the YouTube id is used as the div's id in the DOM, and DOM id's are supposed to be unique)
 
130
  * When using the Firefox plugin Karma Blocker, the [video isn't visible when clicking "play", with a warning message being shown instead](http://blog.futtta.be/?p=7584). This is expected behavior and should be solved by tweaking Karma Blocker's configuration.
131
  * The translations have not been updated entirely for version 1.2.0 and later. Help with translations is high on my wish-list, [contact me if you are interested to help](http://blog.futtta.be/contact)!
132
 
140
 
141
  == Changelog ==
142
 
143
+ = 1.6.0 =
144
+ * New: support for YouTube API v3, requiring a server API key to be provided (due to [YouTube closing down the anonymous v2 API](http://blog.futtta.be/2015/01/27/wp-youtube-lyte-and-youtube-api-v2-end-of-life/))
145
+ * New: updated player UI by Draikin, great job!
146
+ * Improvement: better support for renamed wp-content directories (kudos to [Wendihihihi](https://wordpress.org/support/topic/plugin-doesnt-work-in-custom-plugins-dir))
147
+ * Added Slovenian translation by [Mitja Mihelič or arnes.si](http://arnes.si)
148
+ * Updated Dutch & French translations, [others are more then welcome](http://blog.futtta.be/contact/)
149
+
150
  = 1.5.0 =
151
  * New: WP YouTube Lyte can now also act on normal YouTube URL's. This behavior is by default active on new installations and is by default off for upgrades (from 1.4.x) to avoid unexpected behavior.
152
  * Improvement (API): apply lyte_settings filter after after_setup_theme actoin as [proposed by Yun](http://blog.futtta.be/wp-youtube-lyte/#comment-61923)
wp-youtube-lyte.php CHANGED
@@ -4,7 +4,7 @@ Plugin Name: WP YouTube Lyte
4
  Plugin URI: http://blog.futtta.be/wp-youtube-lyte/
5
  Description: Lite and accessible YouTube audio and video embedding.
6
  Author: Frank Goossens (futtta)
7
- Version: 1.5.0
8
  Author URI: http://blog.futtta.be/
9
  Text Domain: wp-youtube-lyte
10
  Domain Path: /languages
@@ -13,15 +13,19 @@ Domain Path: /languages
13
  if ( ! defined( 'ABSPATH' ) ) exit;
14
 
15
  $debug=false;
16
- $lyte_version="1.5.0";
17
  $lyte_db_version=get_option('lyte_version','none');
18
 
19
  /** have we updated? */
20
  if ($lyte_db_version !== $lyte_version) {
21
  switch($lyte_db_version) {
 
 
 
22
  case "1.4.2":
23
  case "1.4.1":
24
  case "1.4.0":
 
25
  lyte_not_greedy();
26
  break;
27
  }
@@ -42,7 +46,6 @@ if (!$debug) {
42
  /** get paths, language and includes */
43
  $plugin_dir = basename(dirname(__FILE__)).'/languages';
44
  load_plugin_textdomain( 'wp-youtube-lyte', null, $plugin_dir );
45
- $wp_lyte_plugin_url = trailingslashit(get_bloginfo('wpurl')) . PLUGINDIR . '/' . dirname(plugin_basename(__FILE__)) . '/';
46
  require_once(dirname(__FILE__).'/player_sizes.inc.php');
47
  require_once(dirname(__FILE__).'/widget.php');
48
 
@@ -62,7 +65,6 @@ foreach ($pSizeOrder[$pSizeFormat] as $sizeId) {
62
  /** get other options and push in array*/
63
  $lyteSettings['sizeArray']=$sArray;
64
  $lyteSettings['selSize']=$selSize;
65
- $lyteSettings['path']=$wp_lyte_plugin_url.'lyte/';
66
  $lyteSettings['links']=get_option('lyte_show_links');
67
  $lyteSettings['file']=$wyl_file."?wyl_version=".$wyl_version;
68
  $lyteSettings['ratioClass']= ( $pSizeFormat==="43" ) ? " fourthree" : "";
@@ -78,10 +80,10 @@ function lyte_settings_enforcer() {
78
  }
79
  add_action('after_setup_theme','lyte_settings_enforcer');
80
 
81
- /** main function to parse the content, searching and replacing httpv-links */
82
  function lyte_parse($the_content,$doExcerpt=false) {
83
- global $lyteSettings;
84
-
 
85
  $urlArr=parse_url($lyteSettings['path']);
86
  $origin=$urlArr['scheme']."://".$urlArr['host']."/";
87
 
@@ -118,12 +120,12 @@ function lyte_parse($the_content,$doExcerpt=false) {
118
  preg_match("/hqThumb\=([0-1]{1})/",$match[12],$hqThumb);
119
  preg_match("/noMicroData\=([0-1]{1})/",$match[12],$microData);
120
 
121
- $thumb="0.jpg";
122
- if (!empty($hqThumb)) {
123
- if ($hqThumb[0]==="hqThumb=1") {
124
- $thumb="maxresdefault.jpg";
125
- }
126
- }
127
 
128
  $noMicroData="0";
129
  if (!empty($microData)) {
@@ -166,7 +168,7 @@ function lyte_parse($the_content,$doExcerpt=false) {
166
 
167
  if ($match[1]!=="a") {
168
  $divHeight=$lyteSettings[3];
169
- $audioClass="";
170
  $audio=false;
171
  } else {
172
  $audio=true;
@@ -176,22 +178,22 @@ function lyte_parse($the_content,$doExcerpt=false) {
176
 
177
  $NSimgHeight=$divHeight-20;
178
 
179
- if ($match[11]!="") {
180
- $plClass=" playlist";
181
- $vid=$match[11];
182
  switch ($lyteSettings['links']) {
183
- case "0":
184
- $noscript_post="<br />".__("Watch this playlist on YouTube","wp-youtube-lyte");
185
  $noscript="<noscript><a href=\"".$lyteSettings['scheme']."://youtube.com/playlist?list=".$vid."\">".$noscript_post."</a></noscript>";
186
  $lytelinks_txt="";
187
- break;
188
- default:
189
  $noscript="";
190
  $lytelinks_txt="<div class=\"lL\" style=\"width:".$lyteSettings[2]."px;".$lyteSettings['pos']."\">".__("Watch this playlist","wp-youtube-lyte")." <a href=\"".$lyteSettings['scheme']."://www.youtube.com/playlist?list=".$vid."\">".__("on YouTube","wp-youtube-lyte")."</a></div>";
191
  }
192
  } else if ($match[9]!="") {
193
  $plClass="";
194
- $vid=$match[9];
195
  switch ($lyteSettings['links']) {
196
  case "0":
197
  $noscript_post="<br />".__("Watch this video on YouTube","wp-youtube-lyte");
@@ -209,123 +211,76 @@ function lyte_parse($the_content,$doExcerpt=false) {
209
  $noscript="<noscript><a href=\"".$lyteSettings['scheme']."://youtu.be/".$vid."\"><img src=\"".$lyteSettings['scheme']."://i.ytimg.com/vi/".$vid."/0.jpg\" alt=\"\" width=\"".$lyteSettings[2]."\" height=\"".$NSimgHeight."\" />".$noscript_post."</a></noscript>";
210
  }
211
 
212
- /** logic to get video info from cache or get it from YouTube and set it */
213
- if ( $postID ) {
214
- $cachekey = '_lyte_' . $vid;
215
- $yt_resp = get_post_meta( $postID, $cachekey, true );
216
- if (!empty($yt_resp)) {
217
- $yt_resp = gzuncompress(base64_decode($yt_resp));
218
- }
219
- } else {
220
- $yt_resp = "";
221
- }
222
-
223
- if ( empty( $yt_resp ) ) {
224
- // get info from youtube
225
- $yt_api_base = "http://gdata.youtube.com/feeds/api/";
226
-
227
- if ($plClass===" playlist") {
228
- $yt_api_target = "playlists/".$vid."?v=2&alt=json&fields=id,title,author,updated,media:group(media:thumbnail)";
229
- } else {
230
- $yt_api_target = "videos/".$vid."?v=2&alt=json&fields=id,title,published,content,media:group(media:description,yt:duration,yt:aspectRatio),author(name)";
231
- }
232
-
233
- $yt_api_url = $yt_api_base.$yt_api_target;
234
- $yt_resp = wp_remote_get($yt_api_url);
235
-
236
- // check if we got through
237
- if (is_wp_error($yt_resp)) {
238
- $yt_resp="";
239
- } else {
240
- $yt_resp = wp_remote_retrieve_body($yt_resp);
241
-
242
- if ( $postID ) {
243
- // we can cache the result
244
- $yt_resp_array=json_decode($yt_resp,true);
245
-
246
- if(is_array($yt_resp_array)) {
247
- //entry is new
248
- $yt_resp_array['lyte_date_added']=time();
249
-
250
- $yt_resp_precache=json_encode($yt_resp_array);
251
-
252
- // then gzip + base64 (to limit amount of data + solve problems with wordpress removing slashes)
253
- $yt_resp_precache=base64_encode(gzcompress($yt_resp_precache));
254
-
255
- // and do the actual caching
256
- $toCache = ( $yt_resp_precache ) ? $yt_resp_precache : '{{unknown}}';
257
- update_post_meta( $postID, $cachekey, $toCache );
258
-
259
- // and finally add new cache-entry to toCache_index which will be added to lyte_cache_index pref
260
- $toCache_index[]=$cachekey;
261
- }
262
- }
263
- }
264
  }
 
 
265
 
266
- // If there was a result from youtube or from cache, use it
267
- if ( $yt_resp ) {
268
- $yt_resp_array=json_decode($yt_resp,true);
269
-
270
  if (is_array($yt_resp_array)) {
271
- if ($plClass===" playlist") {
272
- $yt_title="Playlist: ".esc_attr(sanitize_text_field(@$yt_resp_array['feed']['title']['$t']));
273
- $thumbUrl=esc_url(@$yt_resp_array['feed']['media$group']['media$thumbnail'][2]['url']);
274
- $dateField=sanitize_text_field(@$yt_resp_array['feed']['updated']['$t']);
275
- $duration="";
276
- $description=$yt_title;
277
- } else {
278
- $yt_title=esc_attr(sanitize_text_field(@$yt_resp_array['entry']['title']['$t']));
279
- $thumbUrl=esc_url($lyteSettings['scheme']."://i.ytimg.com/vi/".$vid."/".$thumb);
280
- $dateField=sanitize_text_field(@$yt_resp_array['entry']['published']['$t']);
281
- $duration="T".sanitize_text_field(@$yt_resp_array['entry']['media$group']['yt$duration']['seconds'])."S";
282
- $description=esc_attr(sanitize_text_field(@$yt_resp_array['entry']['media$group']['media$description']['$t']));
283
-
284
- // captions, thanks to Benetech
285
- $captionsMeta="";
286
- $doCaptions=true;
287
-
288
- /** API: filter hook to disable captions */
289
- $doCaptions = apply_filters( 'lyte_docaptions', $doCaptions );
290
-
291
- if(($lyteSettings['microdata'] === "1")&&($noMicroData !== "1" )&&($doCaptions === true)) {
292
- if (array_key_exists('captions_data',$yt_resp_array)) {
293
- if ($yt_resp_array["captions_data"]) {
294
- $captionsMeta="<meta itemprop=\"accessibilityFeature\" content=\"captions\" />";
295
- $forceCaptionsUpdate=false;
296
  } else {
297
  $forceCaptionsUpdate=true;
 
298
  }
299
- } else {
300
- $forceCaptionsUpdate=true;
301
- $yt_resp_array["captions_data"]=false;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
302
  }
303
-
304
- if ($forceCaptionsUpdate===true) {
305
- $captionsMeta="";
306
- $threshold = 30;
307
- if (array_key_exists('captions_timestamp',$yt_resp_array)) {
308
- $cache_timestamp = $yt_resp_array["captions_timestamp"];
309
- $interval = (strtotime("now") - $cache_timestamp)/60/60/24;
310
- } else {
311
- $cache_timestamp = false;
312
- $interval = $threshold+1;
313
- }
314
-
315
- if(!is_int($cache_timestamp) || ($interval > $threshold && !is_null($yt_resp_array["captions_data"]))) {
316
- $yt_resp_array['captions_timestamp'] = strtotime("now");
317
- wp_schedule_single_event(strtotime("now") + 60*60, 'schedule_captions_lookup', array($postID, $cachekey, $vid));
318
- $yt_resp_precache=json_encode($yt_resp_array);
319
- $toCache=base64_encode(gzcompress($yt_resp_precache));
320
- update_post_meta($postID, $cachekey, $toCache);
321
- }
322
- }
323
  }
324
- /** API: filter hook to override thumbnail URL */
325
- $thumbUrl = apply_filters( 'lyte_match_thumburl', $thumbUrl );
326
- }
327
- }
 
 
 
 
 
 
 
 
 
 
 
328
  }
 
329
 
330
  if ($audio===true) {
331
  $wrapper="<div class=\"lyte-wrapper-audio\" style=\"width:".$lyteSettings[2]."px;max-width:100%;overflow:hidden;height:38px;".$lyteSettings['pos']."\">";
@@ -342,16 +297,15 @@ function lyte_parse($the_content,$doExcerpt=false) {
342
  $lytetemplate = "<a href=\"".$postURL."\"><img src=\"".$thumbUrl."\" alt=\"YouTube Video\"></a>".$textLink;
343
  $templateType="feed";
344
  } elseif (($audio !== true) && ( $plClass !== " playlist") && (($lyteSettings['microdata'] === "1")&&($noMicroData !== "1" ))) {
345
- $lytetemplate = $wrapper."<div class=\"lyMe".$audioClass.$hidefClass.$plClass.$qsaClass."\" id=\"WYL_".$vid."\" itemprop=\"video\" itemscope itemtype=\"http://schema.org/VideoObject\"><meta itemprop=\"thumbnailUrl\" content=\"".$thumbUrl."\" /><meta itemprop=\"embedURL\" content=\"http://www.youtube.com/embed/".$vid."\" /><meta itemprop=\"uploadDate\" content=\"".$dateField."\" />".$captionsMeta."<div id=\"lyte_".$vid."\" data-src=\"".$thumbUrl."\" class=\"pL\"><div class=\"tC".$titleClass."\"><div class=\"tT\" itemprop=\"name\">".$yt_title."</div></div><div class=\"play\"></div><div class=\"ctrl\"><div class=\"Lctrl\"></div><div class=\"Rctrl\"></div></div></div>".$noscript."<meta itemprop=\"description\" content=\"".$description."\"></div></div>".$lytelinks_txt;
346
  $templateType="postMicrodata";
347
  } else {
348
- $lytetemplate = $wrapper."<div class=\"lyMe".$audioClass.$hidefClass.$plClass.$qsaClass."\" id=\"WYL_".$vid."\"><div id=\"lyte_".$vid."\" data-src=\"".$thumbUrl."\" class=\"pL\"><div class=\"tC".$titleClass."\"><div class=\"tT\">".$yt_title."</div></div><div class=\"play\"></div><div class=\"ctrl\"><div class=\"Lctrl\"></div><div class=\"Rctrl\"></div></div></div>".$noscript."</div></div>".$lytelinks_txt;
349
  $templateType="post";
350
  }
351
 
352
  /** API: filter hook to parse template before being applied */
353
  $lytetemplate = apply_filters( 'lyte_match_postparse_template',$lytetemplate,$templateType );
354
-
355
  $the_content = preg_replace($lytes_regexp, $lytetemplate, $the_content, 1);
356
  }
357
 
@@ -373,8 +327,8 @@ function lyte_parse($the_content,$doExcerpt=false) {
373
  return $the_content;
374
  }
375
 
376
- // captions lookup at YouTube via a11ymetadata.org
377
  function captions_lookup($postID, $cachekey, $vid) {
 
378
  $response = wp_remote_request("http://api.a11ymetadata.org/captions/youtubeid=".$vid."/youtube");
379
 
380
  if(!is_wp_error($response)) {
@@ -403,6 +357,141 @@ function captions_lookup($postID, $cachekey, $vid) {
403
  }
404
  }
405
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
406
  /* only add js/css once and only if needed */
407
  function lyte_initer() {
408
  global $lynited;
@@ -415,7 +504,7 @@ function lyte_initer() {
415
  /* actual initialization */
416
  function lyte_init() {
417
  global $lyteSettings;
418
- $lyte_css = ".lyte-wrapper-audio div, .lyte-wrapper div {margin:0px !important; overflow:hidden;} .lyte,.lyMe{position:relative;padding-bottom:56.25%;height:0;overflow:hidden;background-color:#777;} .fourthree .lyMe, .fourthree .lyte {padding-bottom:75%;} .lidget{margin-bottom:5px;} .lidget .lyte, .widget .lyMe {padding-bottom:0!important;height:100%!important;} .lyte-wrapper-audio .lyte{height:38px!important;overflow:hidden;padding:0!important} .lyMe iframe, .lyte iframe,.lyte .pL{position:absolute;top:0;left:0;width:100%;height:100%!important;background:no-repeat scroll center #000;background-size:cover;cursor:pointer} .tC{background-color:rgba(0,0,0,0.5);left:0;position:absolute;top:0;width:100%} .tT{color:#FFF;font-family:sans-serif;font-size:12px;height:auto;text-align:left;padding:5px 10px} .tT:hover{text-decoration:underline} .play{background:no-repeat scroll 0 0 transparent;width:90px;height:62px;position:absolute;left:43%;left:calc(50% - 45px);left:-webkit-calc(50% - 45px);top:38%;top:calc(50% - 31px);top:-webkit-calc(50% - 31px);opacity:0.9;} .widget .play {top:30%;top:calc(45% - 31px);top:-webkit-calc(45% - 31px);transform:scale(0.6);-webkit-transform:scale(0.6);-ms-transform:scale(0.6);} .lyte:hover .play{background-position:0 -65px; opacity:1;} .lyte-audio .pL{max-height:38px!important} .lyte-audio iframe{height:438px!important} .ctrl{background:repeat scroll 0 -215px transparent;width:100%;height:40px;bottom:0;left:0;position:absolute} .Lctrl{background:no-repeat scroll 0 -132px transparent;width:158px;height:40px;bottom:0;left:0;position:absolute} .Rctrl{background:no-repeat scroll -42px -174px transparent;width:117px;height:40px;bottom:0;right:0;position:absolute} .lyte-audio .play{display:none} .hidden{display:none}";
419
 
420
  /** API: filter hook to change css */
421
  $lyte_css = apply_filters( 'lyte_css', $lyte_css);
@@ -493,9 +582,15 @@ function lyte_preparse($videoId) {
493
  return lyte_parse('httpv://www.youtube.com/watch?v='.$videoId);
494
  }
495
 
 
 
 
 
 
496
  /** hooking it all up to wordpress */
497
  if ( is_admin() ) {
498
- require_once(dirname(__FILE__).'/options.php');
 
499
  } else {
500
  add_filter('the_content', 'lyte_parse', 4);
501
  add_shortcode("lyte", "shortcode_lyte");
4
  Plugin URI: http://blog.futtta.be/wp-youtube-lyte/
5
  Description: Lite and accessible YouTube audio and video embedding.
6
  Author: Frank Goossens (futtta)
7
+ Version: 1.6.0
8
  Author URI: http://blog.futtta.be/
9
  Text Domain: wp-youtube-lyte
10
  Domain Path: /languages
13
  if ( ! defined( 'ABSPATH' ) ) exit;
14
 
15
  $debug=false;
16
+ $lyte_version="1.6.0";
17
  $lyte_db_version=get_option('lyte_version','none');
18
 
19
  /** have we updated? */
20
  if ($lyte_db_version !== $lyte_version) {
21
  switch($lyte_db_version) {
22
+ case "1.5.0":
23
+ lyte_rm_cache();
24
+ break;
25
  case "1.4.2":
26
  case "1.4.1":
27
  case "1.4.0":
28
+ lyte_rm_cache();
29
  lyte_not_greedy();
30
  break;
31
  }
46
  /** get paths, language and includes */
47
  $plugin_dir = basename(dirname(__FILE__)).'/languages';
48
  load_plugin_textdomain( 'wp-youtube-lyte', null, $plugin_dir );
 
49
  require_once(dirname(__FILE__).'/player_sizes.inc.php');
50
  require_once(dirname(__FILE__).'/widget.php');
51
 
65
  /** get other options and push in array*/
66
  $lyteSettings['sizeArray']=$sArray;
67
  $lyteSettings['selSize']=$selSize;
 
68
  $lyteSettings['links']=get_option('lyte_show_links');
69
  $lyteSettings['file']=$wyl_file."?wyl_version=".$wyl_version;
70
  $lyteSettings['ratioClass']= ( $pSizeFormat==="43" ) ? " fourthree" : "";
80
  }
81
  add_action('after_setup_theme','lyte_settings_enforcer');
82
 
 
83
  function lyte_parse($the_content,$doExcerpt=false) {
84
+ /** main function to parse the content, searching and replacing httpv-links */
85
+ global $lyteSettings, $toCache_index, $postID, $cachekey;
86
+ $lyteSettings['path']=plugins_url() . "/" . dirname(plugin_basename(__FILE__)) . '/lyte/';
87
  $urlArr=parse_url($lyteSettings['path']);
88
  $origin=$urlArr['scheme']."://".$urlArr['host']."/";
89
 
120
  preg_match("/hqThumb\=([0-1]{1})/",$match[12],$hqThumb);
121
  preg_match("/noMicroData\=([0-1]{1})/",$match[12],$microData);
122
 
123
+ $thumb="normal";
124
+ if (!empty($hqThumb)) {
125
+ if ($hqThumb[0]==="hqThumb=1") {
126
+ $thumb="highres";
127
+ }
128
+ }
129
 
130
  $noMicroData="0";
131
  if (!empty($microData)) {
168
 
169
  if ($match[1]!=="a") {
170
  $divHeight=$lyteSettings[3];
171
+ $audioClass="";
172
  $audio=false;
173
  } else {
174
  $audio=true;
178
 
179
  $NSimgHeight=$divHeight-20;
180
 
181
+ if ($match[11]!="") {
182
+ $plClass=" playlist";
183
+ $vid=$match[11];
184
  switch ($lyteSettings['links']) {
185
+ case "0":
186
+ $noscript_post="<br />".__("Watch this playlist on YouTube","wp-youtube-lyte");
187
  $noscript="<noscript><a href=\"".$lyteSettings['scheme']."://youtube.com/playlist?list=".$vid."\">".$noscript_post."</a></noscript>";
188
  $lytelinks_txt="";
189
+ break;
190
+ default:
191
  $noscript="";
192
  $lytelinks_txt="<div class=\"lL\" style=\"width:".$lyteSettings[2]."px;".$lyteSettings['pos']."\">".__("Watch this playlist","wp-youtube-lyte")." <a href=\"".$lyteSettings['scheme']."://www.youtube.com/playlist?list=".$vid."\">".__("on YouTube","wp-youtube-lyte")."</a></div>";
193
  }
194
  } else if ($match[9]!="") {
195
  $plClass="";
196
+ $vid=$match[9];
197
  switch ($lyteSettings['links']) {
198
  case "0":
199
  $noscript_post="<br />".__("Watch this video on YouTube","wp-youtube-lyte");
211
  $noscript="<noscript><a href=\"".$lyteSettings['scheme']."://youtu.be/".$vid."\"><img src=\"".$lyteSettings['scheme']."://i.ytimg.com/vi/".$vid."/0.jpg\" alt=\"\" width=\"".$lyteSettings[2]."\" height=\"".$NSimgHeight."\" />".$noscript_post."</a></noscript>";
212
  }
213
 
214
+ // fetch data from YT api (v2 or v3)
215
+ $isPlaylist=false;
216
+ if ($plClass===" playlist") {
217
+ $isPlaylist=true;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
218
  }
219
+ $cachekey = '_lyte_' . $vid;
220
+ $yt_resp_array=lyte_get_YT_resp($vid,$isPlaylist,$cachekey);
221
 
222
+ // If there was a result from youtube or from cache, use it
223
+ if ( $yt_resp_array ) {
 
 
224
  if (is_array($yt_resp_array)) {
225
+ if ($isPlaylist!==true) {
226
+ // captions, thanks to Benetech
227
+ $captionsMeta="";
228
+ $doCaptions=true;
229
+
230
+ /** API: filter hook to disable captions */
231
+ $doCaptions = apply_filters( 'lyte_docaptions', $doCaptions );
232
+
233
+ if(($lyteSettings['microdata'] === "1")&&($noMicroData !== "1" )&&($doCaptions === true)) {
234
+ if (array_key_exists('captions_data',$yt_resp_array)) {
235
+ if ($yt_resp_array["captions_data"]=="true") {
236
+ $captionsMeta="<meta itemprop=\"accessibilityFeature\" content=\"captions\" />";
237
+ $forceCaptionsUpdate=false;
238
+ } else {
239
+ $forceCaptionsUpdate=true;
240
+ }
 
 
 
 
 
 
 
 
 
241
  } else {
242
  $forceCaptionsUpdate=true;
243
+ $yt_resp_array["captions_data"]=false;
244
  }
245
+
246
+ if ($forceCaptionsUpdate===true) {
247
+ $captionsMeta="";
248
+ $threshold = 30;
249
+ if (array_key_exists('captions_timestamp',$yt_resp_array)) {
250
+ $cache_timestamp = $yt_resp_array["captions_timestamp"];
251
+ $interval = (strtotime("now") - $cache_timestamp)/60/60/24;
252
+ } else {
253
+ $cache_timestamp = false;
254
+ $interval = $threshold+1;
255
+ }
256
+
257
+ if(!is_int($cache_timestamp) || ($interval > $threshold && !is_null( $yt_resp_array["captions_data"]))) {
258
+ $yt_resp_array['captions_timestamp'] = strtotime("now");
259
+ wp_schedule_single_event(strtotime("now") + 60*60, 'schedule_captions_lookup', array($postID, $cachekey, $vid));
260
+ $yt_resp_precache=json_encode($yt_resp_array);
261
+ $toCache=base64_encode(gzcompress($yt_resp_precache));
262
+ update_post_meta($postID, $cachekey, $toCache);
263
+ }
264
+ }
265
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
266
  }
267
+ $thumbUrl="";
268
+ if (($thumb==="highres") && (!empty($yt_resp_array["HQthumbUrl"]))){
269
+ $thumbUrl=$yt_resp_array["HQthumbUrl"];
270
+ } else {
271
+ if (!empty($yt_resp_array["thumbUrl"])) {
272
+ $thumbUrl=$yt_resp_array["thumbUrl"];
273
+ } else {
274
+ $thumbUrl="//i.ytimg.com/vi/".$vid."/hqdefault.jpg";
275
+ }
276
+ }
277
+ /** API: filter hook to override thumbnail URL */
278
+ $thumbUrl = apply_filters( 'lyte_match_thumburl', $thumbUrl );
279
+ } else {
280
+ // no useable result from youtube, fallback on video thumbnail (doesn't work on playlist)
281
+ $thumbUrl = "//i.ytimg.com/vi/".$vid."/hqdefault.jpg";
282
  }
283
+ }
284
 
285
  if ($audio===true) {
286
  $wrapper="<div class=\"lyte-wrapper-audio\" style=\"width:".$lyteSettings[2]."px;max-width:100%;overflow:hidden;height:38px;".$lyteSettings['pos']."\">";
297
  $lytetemplate = "<a href=\"".$postURL."\"><img src=\"".$thumbUrl."\" alt=\"YouTube Video\"></a>".$textLink;
298
  $templateType="feed";
299
  } elseif (($audio !== true) && ( $plClass !== " playlist") && (($lyteSettings['microdata'] === "1")&&($noMicroData !== "1" ))) {
300
+ $lytetemplate = $wrapper."<div class=\"lyMe".$audioClass.$hidefClass.$plClass.$qsaClass."\" id=\"WYL_".$vid."\" itemprop=\"video\" itemscope itemtype=\"http://schema.org/VideoObject\"><meta itemprop=\"thumbnailUrl\" content=\"".$thumbUrl."\" /><meta itemprop=\"embedURL\" content=\"http://www.youtube.com/embed/".$vid."\" /><meta itemprop=\"uploadDate\" content=\"".$yt_resp_array["dateField"]."\" />".$captionsMeta."<div id=\"lyte_".$vid."\" data-src=\"".$thumbUrl."\" class=\"pL\"><div class=\"tC".$titleClass."\"><div class=\"tT\" itemprop=\"name\">".$yt_resp_array["title"]."</div></div><div class=\"play\"></div><div class=\"ctrl\"><div class=\"Lctrl\"></div><div class=\"Rctrl\"></div></div></div>".$noscript."<meta itemprop=\"description\" content=\"".$yt_resp_array["description"]."\"></div></div>".$lytelinks_txt;
301
  $templateType="postMicrodata";
302
  } else {
303
+ $lytetemplate = $wrapper."<div class=\"lyMe".$audioClass.$hidefClass.$plClass.$qsaClass."\" id=\"WYL_".$vid."\"><div id=\"lyte_".$vid."\" data-src=\"".$thumbUrl."\" class=\"pL\"><div class=\"tC".$titleClass."\"><div class=\"tT\">".$yt_resp_array["title"]."</div></div><div class=\"play\"></div><div class=\"ctrl\"><div class=\"Lctrl\"></div><div class=\"Rctrl\"></div></div></div>".$noscript."</div></div>".$lytelinks_txt;
304
  $templateType="post";
305
  }
306
 
307
  /** API: filter hook to parse template before being applied */
308
  $lytetemplate = apply_filters( 'lyte_match_postparse_template',$lytetemplate,$templateType );
 
309
  $the_content = preg_replace($lytes_regexp, $lytetemplate, $the_content, 1);
310
  }
311
 
327
  return $the_content;
328
  }
329
 
 
330
  function captions_lookup($postID, $cachekey, $vid) {
331
+ // captions lookup at YouTube via a11ymetadata.org
332
  $response = wp_remote_request("http://api.a11ymetadata.org/captions/youtubeid=".$vid."/youtube");
333
 
334
  if(!is_wp_error($response)) {
357
  }
358
  }
359
 
360
+ function lyte_get_YT_resp($vid,$playlist=false,$cachekey,$apiTestKey="") {
361
+ /** logic to get video info from cache or get it from YouTube and set it */
362
+ global $postID, $cachekey, $toCache_index;
363
+ if ( $postID && empty($apiTestKey)) {
364
+ $cache_resp = get_post_meta( $postID, $cachekey, true );
365
+ if (!empty($cache_resp)) {
366
+ $_thisLyte = json_decode(gzuncompress(base64_decode($cache_resp)),1);
367
+ // make sure there are not old APIv2 full responses in cache
368
+ if (array_key_exists('entry', $_thisLyte)) {
369
+ if ($_thisLyte['entry']['xmlns$yt']==="http://gdata.youtube.com/schemas/2007") {
370
+ $_thisLyte = "";
371
+ }
372
+ }
373
+ }
374
+ } else {
375
+ $_thisLyte = "";
376
+ }
377
+
378
+ if ( empty( $_thisLyte ) ) {
379
+ // get info from youtube
380
+ // first get yt api key
381
+ $lyte_yt_api_key = get_option('lyte_yt_api_key','');
382
+ $lyte_yt_api_key = apply_filters('lyte_filter_yt_api_key', $lyte_yt_api_key);
383
+ if (!empty($apiTestKey)) {
384
+ $lyte_yt_api_key=$apiTestKey;
385
+ }
386
+
387
+ if (empty($lyte_yt_api_key)) {
388
+ // v2 (if no API key)
389
+ $yt_api_base = "http://gdata.youtube.com/feeds/api/";
390
+
391
+ if ($playlist) {
392
+ $yt_api_target = "playlists/".$vid."?v=2&alt=json&fields=id,title,author,updated,media:group(media:thumbnail)";
393
+ } else {
394
+ $yt_api_target = "videos/".$vid."?v=2&alt=json&fields=id,title,published,content,media:group(media:description,yt:duration,yt:aspectRatio),author(name)";
395
+ }
396
+ } else {
397
+ // v3
398
+ $yt_api_base = "https://www.googleapis.com/youtube/v3/";
399
+
400
+ if ($playlist) {
401
+ $yt_api_target = "playlists?part=snippet%2C+id&id=".$vid."&key=".$lyte_yt_api_key;
402
+ } else {
403
+ $yt_api_target = "videos?part=id%2C+snippet%2C+contentDetails&id=".$vid."&key=".$lyte_yt_api_key;
404
+ }
405
+ }
406
+
407
+ $yt_api_url = $yt_api_base.$yt_api_target;
408
+ $yt_resp = wp_remote_get($yt_api_url);
409
+
410
+ // check if we got through
411
+ if (is_wp_error($yt_resp)) {
412
+ $_thisLyte = "";
413
+ } else {
414
+ $yt_resp_array=json_decode(wp_remote_retrieve_body($yt_resp),true);
415
+
416
+ if(is_array($yt_resp_array)) {
417
+ // extract relevant data
418
+ if (empty($lyte_yt_api_key)) {
419
+ // v2
420
+ if ($playlist) {
421
+ $_thisLyte['title']="Playlist: ".esc_attr(sanitize_text_field(@$yt_resp_array['feed']['title']['$t']));
422
+ $_thisLyte['thumbUrl']=esc_url(@$yt_resp_array['feed']['media$group']['media$thumbnail'][2]['url']);
423
+ $_thisLyte['HQthumbUrl']="";
424
+ $_thisLyte['dateField']=sanitize_text_field(@$yt_resp_array['feed']['updated']['$t']);
425
+ $_thisLyte['duration']="";
426
+ $_thisLyte['description']=$yt_title;
427
+ $_thisLyte['captions_data']="false";
428
+ $_thisLyte['captions_timestamp'] = "";
429
+ } else {
430
+ $_thisLyte['title']=esc_attr(sanitize_text_field(@$yt_resp_array['entry']['title']['$t']));
431
+ $_thisLyte['thumbUrl']="//i.ytimg.com/vi/".$vid."/hqdefault.jpg";
432
+ $_thisLyte['HQthumbUrl']="//i.ytimg.com/vi/".$vid."/maxresdefault.jpg";
433
+ $_thisLyte['dateField']=sanitize_text_field(@$yt_resp_array['entry']['published']['$t']);
434
+ $_thisLyte['duration']="T".sanitize_text_field(@$yt_resp_array['entry']['media$group']['yt$duration']['seconds'])."S";
435
+ $_thisLyte['description']=esc_attr(sanitize_text_field(@$yt_resp_array['entry']['media$group']['media$description']['$t']));
436
+ $_thisLyte['captions_data']="false";
437
+ $_thisLyte['captions_timestamp'] = "";
438
+ }
439
+ } else {
440
+ // v3
441
+ if (in_array(wp_remote_retrieve_response_code($yt_resp),array(400,403,404))) {
442
+ $yt_error['code']=wp_remote_retrieve_response_code($yt_resp);
443
+ $yt_error['reason']=$yt_resp_array['error']['errors'][0]['reason'];
444
+ $yt_error['timestamp']=strtotime("now");
445
+ if (empty($apiTestKey)) {
446
+ update_option("lyte_api_error",json_encode($yt_error));
447
+ } else {
448
+ return $yt_error;
449
+ }
450
+ $_thisLyte = "";
451
+ } else {
452
+ if ($playlist) {
453
+ $_thisLyte['title']="Playlist: ".esc_attr(sanitize_text_field(@$yt_resp_array['items'][0]['snippet']['title']));
454
+ $_thisLyte['thumbUrl']=esc_url(@$yt_resp_array['items'][0]['snippet']['thumbnails']['high']['url']);
455
+ $_thisLyte['HQthumbUrl']=esc_url(@$yt_resp_array['items'][0]['snippet']['thumbnails']['maxres']['url']);
456
+ $_thisLyte['dateField']=sanitize_text_field(@$yt_resp_array['items'][0]['snippet']['publishedAt']);
457
+ $_thisLyte['duration']="";
458
+ $_thisLyte['description']=esc_attr(sanitize_text_field(@$yt_resp_array['items'][0]['snippet']['description']));
459
+ $_thisLyte['captions_data']="false";
460
+ $_thisLyte['captions_timestamp'] = "";
461
+ } else {
462
+ $_thisLyte['title']=esc_attr(sanitize_text_field(@$yt_resp_array['items'][0]['snippet']['title']));
463
+ $_thisLyte['thumbUrl']=esc_url(@$yt_resp_array['items'][0]['snippet']['thumbnails']['high']['url']);
464
+ $_thisLyte['HQthumbUrl']=esc_url(@$yt_resp_array['items'][0]['snippet']['thumbnails']['maxres']['url']);
465
+ $_thisLyte['dateField']=sanitize_text_field(@$yt_resp_array['items'][0]['snippet']['publishedAt']);
466
+ $_thisLyte['duration']=sanitize_text_field(@$yt_resp_array['items'][0]['contentDetails']['duration']);
467
+ $_thisLyte['description']=esc_attr(sanitize_text_field(@$yt_resp_array['items'][0]['snippet']['description']));
468
+ $_thisLyte['captions_data']=sanitize_text_field(@$yt_resp_array['items'][0]['contentDetails']['caption']);
469
+ $_thisLyte['captions_timestamp'] = strtotime("now");
470
+ }
471
+ }
472
+ }
473
+
474
+ // try to cache the result
475
+ if ( ($postID) && (!empty($_thisLyte)) && (empty($apiTestKey)) ) {
476
+ $_thisLyte['lyte_date_added']=time();
477
+ $yt_resp_precache=json_encode($_thisLyte);
478
+
479
+ // then gzip + base64 (to limit amount of data + solve problems with wordpress removing slashes)
480
+ $yt_resp_precache=base64_encode(gzcompress($yt_resp_precache));
481
+
482
+ // and do the actual caching
483
+ $toCache = ( $yt_resp_precache ) ? $yt_resp_precache : '{{unknown}}';
484
+ update_post_meta( $postID, $cachekey, $toCache );
485
+
486
+ // and finally add new cache-entry to toCache_index which will be added to lyte_cache_index pref
487
+ $toCache_index[]=$cachekey;
488
+ }
489
+ }
490
+ }
491
+ }
492
+ return $_thisLyte;
493
+ }
494
+
495
  /* only add js/css once and only if needed */
496
  function lyte_initer() {
497
  global $lynited;
504
  /* actual initialization */
505
  function lyte_init() {
506
  global $lyteSettings;
507
+ $lyte_css = ".lyte-wrapper-audio div, .lyte-wrapper div {margin:0px !important; overflow:hidden;} .lyte,.lyMe{position:relative;padding-bottom:56.25%;height:0;overflow:hidden;background-color:#777;} .fourthree .lyMe, .fourthree .lyte {padding-bottom:75%;} .lidget{margin-bottom:5px;} .lidget .lyte, .widget .lyMe {padding-bottom:0!important;height:100%!important;} .lyte-wrapper-audio .lyte{height:38px!important;overflow:hidden;padding:0!important} .lyMe iframe, .lyte iframe,.lyte .pL{position:absolute;top:0;left:0;width:100%;height:100%!important;background:no-repeat scroll center #000;background-size:cover;cursor:pointer} .tC{background-color:rgba(0,0,0,0.8);left:0;position:absolute;top:0;width:100%} .tT{color:#CCC;font-family:sans-serif;font-size:12px;height:auto;text-align:left;padding:5px 10px} .tT:hover{color:#FFF;text-decoration:underline} .play{background:no-repeat scroll 0 0 transparent;width:88px;height:63px;position:absolute;left:43%;left:calc(50% - 44px);left:-webkit-calc(50% - 44px);top:38%;top:calc(50% - 31px);top:-webkit-calc(50% - 31px);} .widget .play {top:30%;top:calc(45% - 31px);top:-webkit-calc(45% - 31px);transform:scale(0.6);-webkit-transform:scale(0.6);-ms-transform:scale(0.6);} .lyte:hover .play{background-position:0 -65px;} .lyte-audio .pL{max-height:38px!important} .lyte-audio iframe{height:438px!important} .ctrl{background:repeat scroll 0 -215px transparent;width:100%;height:40px;bottom:0;left:0;position:absolute} .Lctrl{background:no-repeat scroll 0 -132px transparent;width:158px;height:40px;bottom:0;left:0;position:absolute} .Rctrl{background:no-repeat scroll -42px -174px transparent;width:117px;height:40px;bottom:0;right:0;position:absolute} .lyte-audio .play{display:none} .hidden{display:none}";
508
 
509
  /** API: filter hook to change css */
510
  $lyte_css = apply_filters( 'lyte_css', $lyte_css);
582
  return lyte_parse('httpv://www.youtube.com/watch?v='.$videoId);
583
  }
584
 
585
+ function lyte_add_action_link($links) {
586
+ $links[]='<a href="' . admin_url( 'options-general.php?page=lyte_settings_page' ) . '">' . _e('Settings') . '</a>';
587
+ return $links;
588
+ }
589
+
590
  /** hooking it all up to wordpress */
591
  if ( is_admin() ) {
592
+ require_once(dirname(__FILE__).'/options.php');
593
+ add_filter( 'plugin_action_links_' . plugin_basename(__FILE__), 'lyte_add_action_link' );
594
  } else {
595
  add_filter('the_content', 'lyte_parse', 4);
596
  add_shortcode("lyte", "shortcode_lyte");