YouTube Embed - Version 5.0.4

Version Description

  • Maintenance: Updated this README for better presentation in the new plugin directory. Funky.
  • Maintenance: The minimum requirements for this plugin is now WordPress 4.6 so language files could be got rid of and various other bits of change. Smooth.
  • Maintenance: Links to artiss.blog have been fixed. Smashing.
Download this release

Release Info

Developer dartiss
Plugin Icon 128x128 YouTube Embed
Version 5.0.4
Comparing to
See all releases

Code changes from version 5.0.3 to 5.0.4

images/cross.png CHANGED
File without changes
images/flash.png CHANGED
File without changes
images/html5.png CHANGED
File without changes
images/tick.png CHANGED
File without changes
includes/add-scripts.php CHANGED
@@ -4,7 +4,7 @@
4
  *
5
  * Add JS and CSS to the main theme and to admin
6
  *
7
- * @package YouTube-Embed
8
  */
9
 
10
  /**
@@ -39,29 +39,6 @@ if ( $version != youtube_embed_version ) {
39
  update_option( 'youtube_embed_version', youtube_embed_version );
40
  }
41
 
42
- /**
43
- * Plugin initialisation
44
- *
45
- * Load the plugin's translated strings
46
- *
47
- * @since 2.5.5
48
- */
49
-
50
- function ye_plugin_init() {
51
-
52
- global $wp_version;
53
-
54
- if ( 4.6 >= ( float ) $wp_version ) {
55
-
56
- $language_dir = plugin_basename( dirname( __FILE__ ) ) . '/languages/';
57
-
58
- load_plugin_textdomain( 'youtube-embed', false, $language_dir );
59
-
60
- }
61
- }
62
-
63
- add_action( 'init', 'ye_plugin_init' );
64
-
65
  /**
66
  * Admin initialisation
67
  *
@@ -277,4 +254,4 @@ function youtube_embed_shortcode_checks( $source ) {
277
 
278
  update_option( 'youtube_embed_shortcode_' . $source, $shortcode );
279
  }
280
- ?>
4
  *
5
  * Add JS and CSS to the main theme and to admin
6
  *
7
+ * @package youtube-embed
8
  */
9
 
10
  /**
39
  update_option( 'youtube_embed_version', youtube_embed_version );
40
  }
41
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
42
  /**
43
  * Admin initialisation
44
  *
254
 
255
  update_option( 'youtube_embed_shortcode_' . $source, $shortcode );
256
  }
257
+ ?>
includes/admin-config.php CHANGED
@@ -4,7 +4,7 @@
4
  *
5
  * Various functions relating to the various administration screens
6
  *
7
- * @package YouTube-Embed
8
  */
9
 
10
  /**
@@ -49,12 +49,7 @@ add_filter( 'plugin_action_links', 'ye_add_settings_link', 10, 2 );
49
 
50
  function ye_set_plugin_meta( $links, $file ) {
51
 
52
- if ( strpos( $file, 'youtube-embed.php' ) !== false ) {
53
-
54
- $links = array_merge( $links, array( '<a href="https://wordpress.org/support/plugin/youtube-embed">' . __( 'Support', 'youtube-embed' ) . '</a>' ) );
55
- $links = array_merge( $links, array( '<a href="http://www.artiss.co.uk/donate">' . __( 'Donate', 'youtube-embed' ) . '</a>' ) );
56
-
57
- }
58
 
59
  return $links;
60
  }
4
  *
5
  * Various functions relating to the various administration screens
6
  *
7
+ * @package youtube-embed
8
  */
9
 
10
  /**
49
 
50
  function ye_set_plugin_meta( $links, $file ) {
51
 
52
+ if ( strpos( $file, 'youtube-embed.php' ) !== false ) { $links = array_merge( $links, array( '<a href="https://wordpress.org/support/plugin/youtube-embed">' . __( 'Support', 'youtube-embed' ) . '</a>' ) ); }
 
 
 
 
 
53
 
54
  return $links;
55
  }
includes/api-access.php CHANGED
@@ -4,7 +4,7 @@
4
  *
5
  * Function to access YouTube API for video data
6
  *
7
- * @package YouTube-Embed
8
  *
9
  * @since 5.0
10
  *
4
  *
5
  * Function to access YouTube API for video data
6
  *
7
+ * @package youtube-embed
8
  *
9
  * @since 5.0
10
  *
includes/caching.php CHANGED
@@ -4,7 +4,7 @@
4
  *
5
  * Functions to save cache data and housekeep it
6
  *
7
- * @package YouTube-Embed
8
  */
9
 
10
  /**
4
  *
5
  * Functions to save cache data and housekeep it
6
  *
7
+ * @package youtube-embed
8
  */
9
 
10
  /**
includes/generate-embed-code.php CHANGED
@@ -4,7 +4,7 @@
4
  *
5
  * Functions calls to generate the required YouTube code
6
  *
7
- * @package YouTube-Embed
8
  */
9
 
10
  /**
4
  *
5
  * Functions calls to generate the required YouTube code
6
  *
7
+ * @package youtube-embed
8
  */
9
 
10
  /**
includes/generate-other-code.php CHANGED
@@ -4,7 +4,7 @@
4
  *
5
  * Create code to allow a YouTube video to be downloaded
6
  *
7
- * @package YouTube-Embed
8
  * @since 2.0
9
  *
10
  * @param string $id YouTube video ID
4
  *
5
  * Create code to allow a YouTube video to be downloaded
6
  *
7
+ * @package youtube-embed
8
  * @since 2.0
9
  *
10
  * @param string $id YouTube video ID
includes/generate-widgets.php CHANGED
@@ -4,7 +4,7 @@
4
  *
5
  * Create and display widgets
6
  *
7
- * @package YouTube-Embed
8
  */
9
 
10
  class YouTubeEmbedWidget extends WP_Widget {
4
  *
5
  * Create and display widgets
6
  *
7
+ * @package youtube-embed
8
  */
9
 
10
  class YouTubeEmbedWidget extends WP_Widget {
includes/options-general.php CHANGED
@@ -4,16 +4,12 @@
4
  *
5
  * Screen for generic options
6
  *
7
- * @package YouTube-Embed
8
  * @since 2.0
9
  */
10
  ?>
11
  <div class="wrap">
12
- <?php
13
- global $wp_version;
14
- if ( ( float ) $wp_version >= 4.3 ) { $heading = '1'; } else { $heading = '2'; }
15
- ?>
16
- <h<?php echo $heading; ?>><?php _e( 'YouTube Embed Settings', 'youtube-embed' ); ?></h<?php echo $heading; ?>>
17
 
18
  <?php
19
 
4
  *
5
  * Screen for generic options
6
  *
7
+ * @package youtube-embed
8
  * @since 2.0
9
  */
10
  ?>
11
  <div class="wrap">
12
+ <h1><?php _e( 'YouTube Embed Settings', 'youtube-embed' ); ?></h1>
 
 
 
 
13
 
14
  <?php
15
 
includes/options-lists.php CHANGED
@@ -4,7 +4,7 @@
4
  *
5
  * Screen for specifying different lists and the video IDs within them
6
  *
7
- * @package YouTube-Embed
8
  * @since 2.0
9
  */
10
 
@@ -94,11 +94,7 @@ while ( $loop <= $general[ 'list_no' ] ) {
94
 
95
  ?>
96
  <div class="wrap">
97
- <?php
98
- global $wp_version;
99
- if ( ( float ) $wp_version >= 4.3 ) { $heading = '1'; } else { $heading = '2'; }
100
- ?>
101
- <h<?php echo $heading; ?>><?php _e( 'YouTube Embed Lists', 'youtube-embed' ); ?><span class="title-count"><?php echo $max_lists; ?></span></h<?php echo $heading; ?>>
102
 
103
  <?php
104
 
4
  *
5
  * Screen for specifying different lists and the video IDs within them
6
  *
7
+ * @package youtube-embed
8
  * @since 2.0
9
  */
10
 
94
 
95
  ?>
96
  <div class="wrap">
97
+ <h1><?php _e( 'YouTube Embed Lists', 'youtube-embed' ); ?><span class="title-count"><?php echo $max_lists; ?></span></h1>
 
 
 
 
98
 
99
  <?php
100
 
includes/options-plugins.php CHANGED
@@ -10,11 +10,7 @@
10
  ?>
11
  <?php add_thickbox(); ?>
12
  <div class="wrap">
13
- <?php
14
- global $wp_version;
15
- if ( ( float ) $wp_version >= 4.3 ) { $heading = '1'; } else { $heading = '2'; }
16
- ?>
17
- <h<?php echo $heading; ?>><?php _e( 'YouTube Embed 3rd Party Plugins', 'youtube-embed' ); ?></h<?php echo $heading; ?>>
18
 
19
  <form method="post">
20
 
10
  ?>
11
  <?php add_thickbox(); ?>
12
  <div class="wrap">
13
+ <h1><?php _e( 'YouTube Embed 3rd Party Plugins', 'youtube-embed' ); ?></h1>
 
 
 
 
14
 
15
  <form method="post">
16
 
includes/options-profiles.php CHANGED
@@ -4,7 +4,7 @@
4
  *
5
  * Screen for specifying different profiles and settings the options for each
6
  *
7
- * @package YouTube-Embed
8
  * @since 2.0
9
  */
10
 
@@ -137,11 +137,7 @@ while ( $loop <= $general[ 'profile_no' ] ) {
137
 
138
  <div class="wrap">
139
 
140
- <?php
141
- global $wp_version;
142
- if ( ( float ) $wp_version >= 4.3 ) { $heading = '1'; } else { $heading = '2'; }
143
- ?>
144
- <h<?php echo $heading; ?>><?php _e( 'YouTube Embed Profiles', 'youtube-embed' ); ?><span class="title-count"><?php echo $max_profiles; ?></span></h<?php echo $heading; ?>>
145
 
146
  <?php
147
 
4
  *
5
  * Screen for specifying different profiles and settings the options for each
6
  *
7
+ * @package youtube-embed
8
  * @since 2.0
9
  */
10
 
137
 
138
  <div class="wrap">
139
 
140
+ <h1><?php _e( 'YouTube Embed Profiles', 'youtube-embed' ); ?><span class="title-count"><?php echo $max_profiles; ?></span></h1>
 
 
 
 
141
 
142
  <?php
143
 
includes/shared-functions.php CHANGED
@@ -4,7 +4,7 @@
4
  *
5
  * Small utilities shared by a number of other functions
6
  *
7
- * @package YouTube-Embed
8
  */
9
 
10
  /**
4
  *
5
  * Small utilities shared by a number of other functions
6
  *
7
+ * @package youtube-embed
8
  */
9
 
10
  /**
includes/shortcodes.php CHANGED
@@ -4,7 +4,7 @@
4
  *
5
  * Define the various shortcodes
6
  *
7
- * @package YouTube-Embed
8
  * @since 2.0
9
  */
10
 
4
  *
5
  * Define the various shortcodes
6
  *
7
+ * @package youtube-embed
8
  * @since 2.0
9
  */
10
 
js/mce4-button.js CHANGED
File without changes
js/mce4-button.min.js CHANGED
File without changes
languages/youtube-embed.mo DELETED
Binary file
languages/youtube-embed.po DELETED
@@ -1,1065 +0,0 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: Vixy YouTube Embed\n"
4
- "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2016-02-04 12:49-0000\n"
6
- "PO-Revision-Date: 2016-02-04 12:49-0000\n"
7
- "Last-Translator: David Artiss <david.artiss@artiss.co.uk>\n"
8
- "Language-Team: \n"
9
- "Language: en_GB\n"
10
- "MIME-Version: 1.0\n"
11
- "Content-Type: text/plain; charset=UTF-8\n"
12
- "Content-Transfer-Encoding: 8bit\n"
13
- "X-Poedit-KeywordsList: __;_e;esc_attr__;esc_attr_e;esc_html__;esc_html_e;_x;"
14
- "_ex;esc_attr_x;esc_html_x;_n;_nx;_n_noop;_nx_noop\n"
15
- "X-Poedit-Basepath: ../\n"
16
- "X-Generator: Poedit 1.7.5\n"
17
- "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
- "X-Poedit-SearchPath-0: .\n"
19
-
20
- #: includes/add-scripts.php:115 includes/admin-config.php:85
21
- #: includes/generate-widgets.php:25
22
- msgid "YouTube Embed"
23
- msgstr ""
24
-
25
- #: includes/add-scripts.php:120
26
- msgid "Options"
27
- msgstr ""
28
-
29
- #: includes/add-scripts.php:127 includes/admin-config.php:91
30
- msgid "Profiles"
31
- msgstr ""
32
-
33
- #: includes/add-scripts.php:134 includes/admin-config.php:99
34
- msgid "Lists"
35
- msgstr ""
36
-
37
- #: includes/admin-config.php:29
38
- msgid "Settings"
39
- msgstr ""
40
-
41
- #: includes/admin-config.php:54
42
- msgid "Support"
43
- msgstr ""
44
-
45
- #: includes/admin-config.php:85
46
- msgid "About YouTube Embed"
47
- msgstr ""
48
-
49
- #: includes/admin-config.php:91 includes/options-profiles.php:116
50
- msgid "YouTube Embed Profiles"
51
- msgstr ""
52
-
53
- #: includes/admin-config.php:99 includes/options-lists.php:103
54
- msgid "YouTube Embed Lists"
55
- msgstr ""
56
-
57
- #: includes/admin-config.php:107
58
- msgid "3rd Party Plugins"
59
- msgstr ""
60
-
61
- #: includes/admin-config.php:115
62
- msgid "Video Overlay Ads"
63
- msgstr ""
64
-
65
- #: includes/admin-config.php:122 includes/options-plugins.php:39
66
- msgid "Video SEO"
67
- msgstr ""
68
-
69
- #: includes/admin-config.php:130
70
- msgid "General Settings"
71
- msgstr ""
72
-
73
- #: includes/admin-config.php:210 includes/admin-config.php:232
74
- #: includes/admin-config.php:254 includes/admin-config.php:276
75
- msgid "Help"
76
- msgstr ""
77
-
78
- #: includes/admin-config.php:212 includes/admin-config.php:234
79
- #: includes/admin-config.php:256
80
- msgid "Links"
81
- msgstr ""
82
-
83
- #: includes/admin-config.php:298
84
- msgid ""
85
- "This screen allows you to select non-specific options for the YouTube Embed "
86
- "plugin. For the default embedding settings, please select the <a href="
87
- "\"admin.php?page=ye-profile-options\">Profiles</a> administration option."
88
- msgstr ""
89
-
90
- #: includes/admin-config.php:303
91
- msgid ""
92
- "This screen allows you to set the options for the default and additional "
93
- "profiles. If you don't specify a specific parameter when displaying your "
94
- "YouTube video then the default profile option will be used instead. "
95
- "Additional profiles, which you may name, can be used as well and used as "
96
- "required."
97
- msgstr ""
98
-
99
- #: includes/admin-config.php:304
100
- msgid ""
101
- "All settings will work whether the Flash or HTML5 player is used, unless one "
102
- "of the following icons is shown, indicating which format the option works "
103
- "with..."
104
- msgstr ""
105
-
106
- #: includes/admin-config.php:305
107
- msgid "Flash player"
108
- msgstr ""
109
-
110
- #: includes/admin-config.php:306
111
- msgid "HTML5 player"
112
- msgstr ""
113
-
114
- #: includes/admin-config.php:311
115
- msgid ""
116
- "This screen allows you to create lists of YouTube videos, which may be "
117
- "named. These lists can then be used in preference to a single video ID."
118
- msgstr ""
119
-
120
- #: includes/admin-config.php:316
121
- msgid ""
122
- "This screen lists plugins which have all been tested for compatibility with "
123
- "YouTube Embed (and in some cases, specific changes have been made by their "
124
- "authors to ensure compatibility. From here you can view their details and "
125
- "even install the plugins (where hosted at WordPress.org)."
126
- msgstr ""
127
-
128
- #: includes/admin-config.php:317
129
- msgid ""
130
- "NB. Inclusion here does not provide any guarantee for third party software, "
131
- "which includes any support."
132
- msgstr ""
133
-
134
- #: includes/admin-config.php:318
135
- msgid ""
136
- "Some of these plugins will also appear under the YouTube Admin "
137
- "administration menu, once activated."
138
- msgstr ""
139
-
140
- #: includes/admin-config.php:322
141
- msgid ""
142
- "Remember to click the Save Changes button at the bottom of the screen for "
143
- "any changes to take effect."
144
- msgstr ""
145
-
146
- #: includes/admin-config.php:327
147
- msgid "For more information:"
148
- msgstr ""
149
-
150
- #: includes/admin-config.php:328
151
- msgid "YouTube Embed Plugin Documentation"
152
- msgstr ""
153
-
154
- #: includes/admin-config.php:331
155
- msgid "YouTube Player Documentation"
156
- msgstr ""
157
-
158
- #: includes/admin-config.php:431
159
- msgid ""
160
- "For some reason the shortcode <strong>[youtube]</strong> is not working on "
161
- "the main site"
162
- msgstr ""
163
-
164
- #: includes/admin-config.php:434
165
- msgid "An alternative plugin is using the <strong>[youtube]</strong> shortcode"
166
- msgstr ""
167
-
168
- #: includes/admin-config.php:441
169
- msgid ""
170
- ", possibly the <a href=\"admin.php?page=jetpack_modules&activated=true"
171
- "\">Shortcode Embeds module</a> in Jetpack"
172
- msgstr ""
173
-
174
- #: includes/generate-embed-code.php:67
175
- msgid "No video/playlist ID has been supplied"
176
- msgstr ""
177
-
178
- #: includes/generate-embed-code.php:122 includes/generate-other-code.php:56
179
- #: includes/generate-other-code.php:101 includes/shortcodes.php:214
180
- #, php-format
181
- msgid "The YouTube ID of %s is invalid."
182
- msgstr ""
183
-
184
- #: includes/generate-embed-code.php:122
185
- msgid "End of YouTube Embed code"
186
- msgstr ""
187
-
188
- #: includes/generate-embed-code.php:172
189
- msgid ""
190
- "A video list cannot be viewed within this feed - please view the original "
191
- "content"
192
- msgstr ""
193
-
194
- #: includes/generate-embed-code.php:176
195
- msgid "Click here to view the video on YouTube"
196
- msgstr ""
197
-
198
- #: includes/generate-embed-code.php:352
199
- msgid ""
200
- "The maximum URL length has been exceeded. Please reduce your parameter and/"
201
- "or playlist."
202
- msgstr ""
203
-
204
- #: includes/generate-other-code.php:44
205
- msgid "No video ID has been supplied"
206
- msgstr ""
207
-
208
- #: includes/generate-other-code.php:113
209
- #, php-format
210
- msgid "YouTube Video %s"
211
- msgstr ""
212
-
213
- #: includes/generate-widgets.php:26
214
- msgid "Embed YouTube Widget."
215
- msgstr ""
216
-
217
- #: includes/generate-widgets.php:145
218
- msgid "Widget Title"
219
- msgstr ""
220
-
221
- #: includes/generate-widgets.php:151 includes/options-lists.php:175
222
- msgid "Video ID"
223
- msgstr ""
224
-
225
- #: includes/generate-widgets.php:159
226
- msgid "ID Type"
227
- msgstr ""
228
-
229
- #: includes/generate-widgets.php:161
230
- msgid "Video or Playlist"
231
- msgstr ""
232
-
233
- #: includes/generate-widgets.php:163
234
- msgid "Search"
235
- msgstr ""
236
-
237
- #: includes/generate-widgets.php:165
238
- msgid "User"
239
- msgstr ""
240
-
241
- #: includes/generate-widgets.php:173
242
- msgid "Profile"
243
- msgstr ""
244
-
245
- #: includes/generate-widgets.php:183
246
- msgid "Start (seconds)"
247
- msgstr ""
248
-
249
- #: includes/generate-widgets.php:189
250
- msgid "Stop (seconds)"
251
- msgstr ""
252
-
253
- #: includes/generate-widgets.php:197
254
- msgid "List Playback"
255
- msgstr ""
256
-
257
- #: includes/generate-widgets.php:199
258
- msgid "Profile default"
259
- msgstr ""
260
-
261
- #: includes/generate-widgets.php:201
262
- msgid "Play each video in order"
263
- msgstr ""
264
-
265
- #: includes/generate-widgets.php:203
266
- msgid "Play videos randomly"
267
- msgstr ""
268
-
269
- #: includes/generate-widgets.php:205
270
- msgid "Play one random video"
271
- msgstr ""
272
-
273
- #: includes/options-general.php:16
274
- msgid "YouTube Embed Settings"
275
- msgstr ""
276
-
277
- #: includes/options-general.php:65 includes/options-lists.php:22
278
- msgid "Settings Saved."
279
- msgstr ""
280
-
281
- #: includes/options-general.php:83
282
- msgid ""
283
- "These are the general settings for YouTube Embed. Please select <a href="
284
- "\"admin.php?page=ye-profile-options\">Profiles</a> for default embedding "
285
- "settings."
286
- msgstr ""
287
-
288
- #: includes/options-general.php:87
289
- msgid "Embedding"
290
- msgstr ""
291
-
292
- #: includes/options-general.php:92
293
- msgid "Add Metadata"
294
- msgstr ""
295
-
296
- #: includes/options-general.php:94
297
- msgid "Allow rich metadata to be added to code"
298
- msgstr ""
299
-
300
- #: includes/options-general.php:100
301
- msgid "Feed"
302
- msgstr ""
303
-
304
- #: includes/options-general.php:102
305
- msgid "Text link"
306
- msgstr ""
307
-
308
- #: includes/options-general.php:103
309
- msgid "Thumbnail"
310
- msgstr ""
311
-
312
- #: includes/options-general.php:104
313
- msgid "Thumbnail &amp; Text Link"
314
- msgstr ""
315
-
316
- #: includes/options-general.php:106
317
- msgid ""
318
- "Videos cannot be embedded in feeds. Select how you wish them to be shown "
319
- "instead."
320
- msgstr ""
321
-
322
- #: includes/options-general.php:112
323
- msgid "Thumbnail to use"
324
- msgstr ""
325
-
326
- #: includes/options-general.php:114
327
- msgid "Default"
328
- msgstr ""
329
-
330
- #: includes/options-general.php:115
331
- msgid "Default (HQ)"
332
- msgstr ""
333
-
334
- #: includes/options-general.php:116
335
- msgid "Start"
336
- msgstr ""
337
-
338
- #: includes/options-general.php:117
339
- msgid "Middle"
340
- msgstr ""
341
-
342
- #: includes/options-general.php:118
343
- msgid "End"
344
- msgstr ""
345
-
346
- #: includes/options-general.php:120
347
- msgid "Choose which thumbnail to use."
348
- msgstr ""
349
-
350
- #: includes/options-general.php:126
351
- msgid "Content Resizing Script"
352
- msgstr ""
353
-
354
- #: includes/options-general.php:128
355
- msgid "None"
356
- msgstr ""
357
-
358
- #: includes/options-general.php:129
359
- msgid "FitVids.js"
360
- msgstr ""
361
-
362
- #: includes/options-general.php:130
363
- msgid "iFrame Resizer"
364
- msgstr ""
365
-
366
- #: includes/options-general.php:132
367
- msgid "Use a third party content resizing script?"
368
- msgstr ""
369
-
370
- #: includes/options-general.php:135
371
- msgid "Shortcodes"
372
- msgstr ""
373
-
374
- #: includes/options-general.php:140
375
- msgid "Allow shortcodes in widgets"
376
- msgstr ""
377
-
378
- #: includes/options-general.php:142
379
- msgid "Allow shortcodes to be used in widgets"
380
- msgstr ""
381
-
382
- #: includes/options-general.php:143
383
- msgid "This will apply to <strong>all</strong> widgets."
384
- msgstr ""
385
-
386
- #: includes/options-general.php:149
387
- msgid "Alternative Shortcode"
388
- msgstr ""
389
-
390
- #: includes/options-general.php:151
391
- msgid "An alternative shortcode to use."
392
- msgstr ""
393
-
394
- #: includes/options-general.php:157
395
- msgid "Profile to use"
396
- msgstr ""
397
-
398
- #: includes/options-general.php:166
399
- msgid "Show Shortcode Re-use Prompt"
400
- msgstr ""
401
-
402
- #: includes/options-general.php:168
403
- msgid "Show a prompt if the main shortcode is being re-used by another plugin"
404
- msgstr ""
405
-
406
- #: includes/options-general.php:171
407
- msgid "Administration Options"
408
- msgstr ""
409
-
410
- #: includes/options-general.php:176 includes/options-general.php:184
411
- msgid "Show Editor Button"
412
- msgstr ""
413
-
414
- #: includes/options-general.php:178
415
- msgid "Show the YouTube button on the post editor"
416
- msgstr ""
417
-
418
- #: includes/options-general.php:186
419
- msgid "Add link to options screen to Admin Bar"
420
- msgstr ""
421
-
422
- #: includes/options-general.php:192
423
- msgid "Menu Screen Access"
424
- msgstr ""
425
-
426
- #: includes/options-general.php:194
427
- msgid "Administrator"
428
- msgstr ""
429
-
430
- #: includes/options-general.php:195
431
- msgid "Editor"
432
- msgstr ""
433
-
434
- #: includes/options-general.php:196
435
- msgid "Author"
436
- msgstr ""
437
-
438
- #: includes/options-general.php:197
439
- msgid "Contributor"
440
- msgstr ""
441
-
442
- #: includes/options-general.php:199
443
- msgid "Specify the user access required for the menu screens."
444
- msgstr ""
445
-
446
- #: includes/options-general.php:202
447
- msgid "Profile &amp; List Sizes"
448
- msgstr ""
449
-
450
- #: includes/options-general.php:207
451
- msgid "Number of Profiles"
452
- msgstr ""
453
-
454
- #: includes/options-general.php:209
455
- msgid "Maximum number of profiles."
456
- msgstr ""
457
-
458
- #: includes/options-general.php:215
459
- msgid "Number of Lists"
460
- msgstr ""
461
-
462
- #: includes/options-general.php:217
463
- msgid "Maximum number of lists."
464
- msgstr ""
465
-
466
- #: includes/options-general.php:220
467
- msgid "Security"
468
- msgstr ""
469
-
470
- #: includes/options-general.php:225
471
- msgid "Privacy-Enhanced Mode"
472
- msgstr ""
473
-
474
- #: includes/options-general.php:227
475
- msgid "Cookies should always be stored"
476
- msgstr ""
477
-
478
- #: includes/options-general.php:228
479
- msgid "Cookies should never be stored"
480
- msgstr ""
481
-
482
- #: includes/options-general.php:229
483
- msgid "Cookies should be stored based on user's Do Not Track setting"
484
- msgstr ""
485
-
486
- #: includes/options-general.php:231
487
- msgid "Read more about <a href=\"http://donottrack.us/\">Do Not Track</a>."
488
- msgstr ""
489
-
490
- #: includes/options-general.php:237
491
- msgid "Show debug output"
492
- msgstr ""
493
-
494
- #: includes/options-general.php:239
495
- msgid "Show debug output as HTML comments"
496
- msgstr ""
497
-
498
- #: includes/options-general.php:242
499
- msgid "Miscellaneous"
500
- msgstr ""
501
-
502
- #: includes/options-general.php:247
503
- msgid "Improve Validation"
504
- msgstr ""
505
-
506
- #: includes/options-general.php:249
507
- msgid "Improve the validity of the generated markup"
508
- msgstr ""
509
-
510
- #: includes/options-general.php:250
511
- msgid ""
512
- "Will extend the length of the URL, limiting the number of videos in a manual "
513
- "playlist. Switch off metadata for even better validation results."
514
- msgstr ""
515
-
516
- #: includes/options-general.php:256
517
- msgid "Interface language"
518
- msgstr ""
519
-
520
- #: includes/options-general.php:257
521
- msgid "The player's interface language"
522
- msgstr ""
523
-
524
- #: includes/options-general.php:258
525
- msgid ""
526
- "The parameter value is an <a href=\"https://www.loc.gov/standards/iso639-2/"
527
- "php/code_list.php\">ISO 639-1 two-letter language code</a> or a fully "
528
- "specified locale. For example, the current locale is "
529
- msgstr ""
530
-
531
- #: includes/options-general.php:264
532
- msgid "Force list specification"
533
- msgstr ""
534
-
535
- #: includes/options-general.php:266
536
- msgid "Force users to specify a list type"
537
- msgstr ""
538
-
539
- #: includes/options-general.php:267
540
- msgid ""
541
- "By switching this on, a list type must be specified for a list to be valid. "
542
- "This improves performance as use of a list doesn't then need to be verified."
543
- msgstr ""
544
-
545
- #: includes/options-general.php:274 includes/options-lists.php:164
546
- #: includes/options-profiles.php:408
547
- msgid "Save Changes"
548
- msgstr ""
549
-
550
- #: includes/options-lists.php:27
551
- msgid "All fields must be completed."
552
- msgstr ""
553
-
554
- #: includes/options-lists.php:55
555
- msgid "Errors were found with your video list. See the list below for details."
556
- msgstr ""
557
-
558
- #: includes/options-lists.php:125
559
- msgid "List"
560
- msgstr ""
561
-
562
- #: includes/options-lists.php:138
563
- msgid "Change list"
564
- msgstr ""
565
-
566
- #: includes/options-lists.php:141
567
- #, php-format
568
- msgid "These are the options for list %s."
569
- msgstr ""
570
-
571
- #: includes/options-lists.php:141
572
- msgid ""
573
- "Update the name, if required, and specify a list of YouTube video IDs. Use "
574
- "the drop-down on the right hand side to swap between lists."
575
- msgstr ""
576
-
577
- #: includes/options-lists.php:148
578
- msgid "List Name"
579
- msgstr ""
580
-
581
- #: includes/options-lists.php:150
582
- msgid "The name you wish to give this list"
583
- msgstr ""
584
-
585
- #: includes/options-lists.php:156
586
- msgid "Video IDs (one per line)"
587
- msgstr ""
588
-
589
- #: includes/options-lists.php:175
590
- msgid "Video Title"
591
- msgstr ""
592
-
593
- #: includes/options-lists.php:175
594
- msgid "Status"
595
- msgstr ""
596
-
597
- #: includes/options-lists.php:190
598
- msgid "This is a playlist"
599
- msgstr ""
600
-
601
- #: includes/options-lists.php:194
602
- msgid "Invalid video ID"
603
- msgstr ""
604
-
605
- #: includes/options-lists.php:198
606
- msgid "YouTube API error"
607
- msgstr ""
608
-
609
- #: includes/options-lists.php:201
610
- msgid "Valid video"
611
- msgstr ""
612
-
613
- #: includes/options-lists.php:219
614
- msgid "The video ID is valid"
615
- msgstr ""
616
-
617
- #: includes/options-lists.php:222
618
- msgid "The video ID is invalid"
619
- msgstr ""
620
-
621
- #: includes/options-plugins.php:17
622
- msgid "YouTube Embed 3rd Party Plugins"
623
- msgstr ""
624
-
625
- #: includes/options-plugins.php:28
626
- msgid "Turn Off The Lights"
627
- msgstr ""
628
-
629
- #: includes/options-plugins.php:29
630
- msgid "Install Turn Out The Lights on your browser"
631
- msgstr ""
632
-
633
- #: includes/options-plugins.php:30
634
- msgid ""
635
- "A browser extension that, with a single click on the lamp button, will fade "
636
- "the page dark, with the exception of the embedded video. By clicking on it "
637
- "again, the page will return to normal."
638
- msgstr ""
639
-
640
- #: includes/options-plugins.php:35
641
- msgid "a3 Lazy Load"
642
- msgstr ""
643
-
644
- #: includes/options-plugins.php:35
645
- msgid ""
646
- "Speed up your site and enhance frontend user's visual experience. Fully "
647
- "updated to support YouTube Embed."
648
- msgstr ""
649
-
650
- #: includes/options-plugins.php:39
651
- msgid ""
652
- "Premium plugin from Yoast to add your video to Google and other search "
653
- "engines."
654
- msgstr ""
655
-
656
- #: includes/options-plugins.php:43
657
- msgid "WordPress Video Overlay Ads"
658
- msgstr ""
659
-
660
- #: includes/options-plugins.php:43
661
- msgid ""
662
- "This plugin creates an lightbox area over Youtube video embeds. You can "
663
- "insert all kinds of html content including banner ads, texts, polls, and add "
664
- "any kind of html and javascript code you like."
665
- msgstr ""
666
-
667
- #: includes/options-plugins.php:47
668
- msgid "YouTube Channel Gallery"
669
- msgstr ""
670
-
671
- #: includes/options-plugins.php:47
672
- msgid ""
673
- "Adds a widget to show a YouTube video and a gallery of thumbnails for a "
674
- "YouTube channel."
675
- msgstr ""
676
-
677
- #: includes/options-plugins.php:51
678
- msgid "YouTube Subscribe Button"
679
- msgstr ""
680
-
681
- #: includes/options-plugins.php:51
682
- msgid ""
683
- "Adds a YouTube subscribe button to your blog so people can subscribe to your "
684
- "YouTube channel without leaving your site."
685
- msgstr ""
686
-
687
- #: includes/options-plugins.php:84
688
- msgid "Install the plugin"
689
- msgstr ""
690
-
691
- #: includes/options-plugins.php:87
692
- msgid "Plugin installed but not active"
693
- msgstr ""
694
-
695
- #: includes/options-plugins.php:89
696
- msgid "Plugin installed and active"
697
- msgstr ""
698
-
699
- #: includes/options-profiles.php:122
700
- msgid " Profile Saved."
701
- msgstr ""
702
-
703
- #: includes/options-profiles.php:136
704
- msgid "Change profile"
705
- msgstr ""
706
-
707
- #: includes/options-profiles.php:144
708
- msgid "These are the options for the default profile."
709
- msgstr ""
710
-
711
- #: includes/options-profiles.php:146
712
- #, php-format
713
- msgid "These are the options for profile %s."
714
- msgstr ""
715
-
716
- #: includes/options-profiles.php:148
717
- msgid "Use the drop-down on the right hand side to swap between profiles."
718
- msgstr ""
719
-
720
- #: includes/options-profiles.php:156
721
- msgid "Profile Name"
722
- msgstr ""
723
-
724
- #: includes/options-profiles.php:158
725
- msgid "The name you wish to give this profile"
726
- msgstr ""
727
-
728
- #: includes/options-profiles.php:164
729
- msgid "Template"
730
- msgstr ""
731
-
732
- #: includes/options-profiles.php:166
733
- msgid ""
734
- "Wrapper for video output. Must include <code>%video%</code> tag to show "
735
- "video position."
736
- msgstr ""
737
-
738
- #: includes/options-profiles.php:172
739
- msgid "Style"
740
- msgstr ""
741
-
742
- #: includes/options-profiles.php:174
743
- msgid "CSS elements to apply to video."
744
- msgstr ""
745
-
746
- #: includes/options-profiles.php:180
747
- msgid "Window Mode"
748
- msgstr ""
749
-
750
- #: includes/options-profiles.php:182
751
- msgid "Opaque"
752
- msgstr ""
753
-
754
- #: includes/options-profiles.php:183
755
- msgid "Transparent"
756
- msgstr ""
757
-
758
- #: includes/options-profiles.php:184
759
- msgid "Window"
760
- msgstr ""
761
-
762
- #: includes/options-profiles.php:186
763
- msgid ""
764
- "Sets the Window Mode property of the Flash movie for transparency, layering, "
765
- "and positioning in the browser. <a href=\"http://www.communitymx.com/content/"
766
- "article.cfm?cid=e5141\">Learn more</a>."
767
- msgstr ""
768
-
769
- #: includes/options-profiles.php:189 includes/options-profiles.php:194
770
- msgid "Video Size"
771
- msgstr ""
772
-
773
- #: includes/options-profiles.php:196
774
- msgid "The width x height of the video, in pixels"
775
- msgstr ""
776
-
777
- #: includes/options-profiles.php:202
778
- msgid "Default Sizes"
779
- msgstr ""
780
-
781
- #: includes/options-profiles.php:204
782
- msgid "Use above sizes"
783
- msgstr ""
784
-
785
- #: includes/options-profiles.php:210
786
- msgid "Select one of these default sizes to override the above video sizes."
787
- msgstr ""
788
-
789
- #: includes/options-profiles.php:216
790
- msgid "Responsive Output"
791
- msgstr ""
792
-
793
- #: includes/options-profiles.php:218
794
- msgid "Show full width and resize with the browser"
795
- msgstr ""
796
-
797
- #: includes/options-profiles.php:224
798
- msgid "Set Maximum Size"
799
- msgstr ""
800
-
801
- #: includes/options-profiles.php:226
802
- msgid "Use above width to define maximum size"
803
- msgstr ""
804
-
805
- #: includes/options-profiles.php:232
806
- msgid "Plays Inline"
807
- msgstr ""
808
-
809
- #: includes/options-profiles.php:235
810
- msgid "Whether videos play inline or fullscreen in an HTML5 player on iOS. "
811
- msgstr ""
812
-
813
- #: includes/options-profiles.php:238
814
- msgid "Playback"
815
- msgstr ""
816
-
817
- #: includes/options-profiles.php:243
818
- msgid "Autoplay"
819
- msgstr ""
820
-
821
- #: includes/options-profiles.php:245
822
- msgid ""
823
- "Choose whether the initial video will automatically start to play when the "
824
- "player loads"
825
- msgstr ""
826
-
827
- #: includes/options-profiles.php:251
828
- msgid "Loop Video"
829
- msgstr ""
830
-
831
- #: includes/options-profiles.php:253
832
- msgid "Play the initial video again and again"
833
- msgstr ""
834
-
835
- #: includes/options-profiles.php:254
836
- msgid ""
837
- "In the case of a playlist, this will play the entire playlist and then start "
838
- "again at the first video."
839
- msgstr ""
840
-
841
- #: includes/options-profiles.php:260
842
- msgid "Annotations"
843
- msgstr ""
844
-
845
- #: includes/options-profiles.php:262
846
- msgid "Video annotations are shown by default"
847
- msgstr ""
848
-
849
- #: includes/options-profiles.php:268
850
- msgid "Closed Captions"
851
- msgstr ""
852
-
853
- #: includes/options-profiles.php:270
854
- msgid "Don't show closed captions"
855
- msgstr ""
856
-
857
- #: includes/options-profiles.php:271
858
- msgid "Show closed captions"
859
- msgstr ""
860
-
861
- #: includes/options-profiles.php:272
862
- msgid "User default"
863
- msgstr ""
864
-
865
- #: includes/options-profiles.php:274
866
- msgid "Show closed captions (subtitles)."
867
- msgstr ""
868
-
869
- #: includes/options-profiles.php:280
870
- msgid "Default to HTML5"
871
- msgstr ""
872
-
873
- #: includes/options-profiles.php:282
874
- msgid "Default to the HTML5 player (if available)"
875
- msgstr ""
876
-
877
- #: includes/options-profiles.php:283
878
- msgid "This is an undocumented feature and may not work."
879
- msgstr ""
880
-
881
- #: includes/options-profiles.php:286 includes/options-profiles.php:291
882
- msgid "Information"
883
- msgstr ""
884
-
885
- #: includes/options-profiles.php:293
886
- msgid "Display the video title and uploader before the video starts"
887
- msgstr ""
888
-
889
- #: includes/options-profiles.php:294
890
- msgid "If displaying a playlist this will show video thumbnails."
891
- msgstr ""
892
-
893
- #: includes/options-profiles.php:300
894
- msgid "Related Videos"
895
- msgstr ""
896
-
897
- #: includes/options-profiles.php:302
898
- msgid "Load related videos once playback starts"
899
- msgstr ""
900
-
901
- #: includes/options-profiles.php:303
902
- msgid "Also toggles the search option."
903
- msgstr ""
904
-
905
- #: includes/options-profiles.php:309
906
- msgid "Modest Branding"
907
- msgstr ""
908
-
909
- #: includes/options-profiles.php:311
910
- msgid "Reduce branding on video"
911
- msgstr ""
912
-
913
- #: includes/options-profiles.php:314 includes/options-profiles.php:331
914
- msgid "Controls"
915
- msgstr ""
916
-
917
- #: includes/options-profiles.php:319
918
- msgid "Auto hide"
919
- msgstr ""
920
-
921
- #: includes/options-profiles.php:321
922
- msgid "Controls &amp; progress bar remain visible"
923
- msgstr ""
924
-
925
- #: includes/options-profiles.php:322
926
- msgid "Controls &amp; progress bar fade out"
927
- msgstr ""
928
-
929
- #: includes/options-profiles.php:323
930
- msgid "Progress bar fades"
931
- msgstr ""
932
-
933
- #: includes/options-profiles.php:325
934
- msgid ""
935
- "Whether the video controls will automatically hide after a video begins "
936
- "playing."
937
- msgstr ""
938
-
939
- #: includes/options-profiles.php:333
940
- msgid "Controls do not display &amp; Flash player loads immediately"
941
- msgstr ""
942
-
943
- #: includes/options-profiles.php:334
944
- msgid "Controls display &amp; Flash player loads immediately"
945
- msgstr ""
946
-
947
- #: includes/options-profiles.php:335
948
- msgid "Controls display &amp; Flash player loads once video starts"
949
- msgstr ""
950
-
951
- #: includes/options-profiles.php:337
952
- msgid ""
953
- "Whether the video player controls are displayed. For Flash it also defines "
954
- "when the controls display in the player as well as when the player will load."
955
- msgstr ""
956
-
957
- #: includes/options-profiles.php:343
958
- msgid "Disable Keyboard"
959
- msgstr ""
960
-
961
- #: includes/options-profiles.php:345
962
- msgid "Disable the player keyboard controls"
963
- msgstr ""
964
-
965
- #: includes/options-profiles.php:351
966
- msgid "Fullscreen"
967
- msgstr ""
968
-
969
- #: includes/options-profiles.php:353
970
- msgid "A button will allow the viewer to watch the video fullscreen"
971
- msgstr ""
972
-
973
- #: includes/options-profiles.php:359
974
- msgid "Theme"
975
- msgstr ""
976
-
977
- #: includes/options-profiles.php:361
978
- msgid "Dark"
979
- msgstr ""
980
-
981
- #: includes/options-profiles.php:362
982
- msgid "Light"
983
- msgstr ""
984
-
985
- #: includes/options-profiles.php:364
986
- msgid "Display player controls within a dark or light control bar."
987
- msgstr ""
988
-
989
- #: includes/options-profiles.php:370
990
- msgid "Progress Bar Color"
991
- msgstr ""
992
-
993
- #: includes/options-profiles.php:372
994
- msgid "Red"
995
- msgstr ""
996
-
997
- #: includes/options-profiles.php:373
998
- msgid "White (desaturated)"
999
- msgstr ""
1000
-
1001
- #: includes/options-profiles.php:375
1002
- msgid ""
1003
- "The color that will be used in the player's video progress bar to highlight "
1004
- "the amount of the video that's already been seen."
1005
- msgstr ""
1006
-
1007
- #: includes/options-profiles.php:378
1008
- msgid "Download Link"
1009
- msgstr ""
1010
-
1011
- #: includes/options-profiles.php:383
1012
- msgid "Show Download Link"
1013
- msgstr ""
1014
-
1015
- #: includes/options-profiles.php:385
1016
- #, php-format
1017
- msgid "Show a link to %s under the video"
1018
- msgstr ""
1019
-
1020
- #: includes/options-profiles.php:391
1021
- msgid "Download Text"
1022
- msgstr ""
1023
-
1024
- #: includes/options-profiles.php:393
1025
- msgid "Text or HTML to display to prompt download."
1026
- msgstr ""
1027
-
1028
- #: includes/options-profiles.php:399
1029
- msgid "Download Style"
1030
- msgstr ""
1031
-
1032
- #: includes/options-profiles.php:401
1033
- msgid "CSS elements to apply to video download link."
1034
- msgstr ""
1035
-
1036
- #: includes/options-profiles.php:415
1037
- msgid "YouTube Video Sample"
1038
- msgstr ""
1039
-
1040
- #: includes/options-profiles.php:416
1041
- msgid ""
1042
- "The video below uses the above, saved profile settings. Use the drop-down "
1043
- "below to change which parameters the video uses - press the Change Video "
1044
- "button to update it."
1045
- msgstr ""
1046
-
1047
- #: includes/options-profiles.php:418
1048
- msgid "Standard"
1049
- msgstr ""
1050
-
1051
- #: includes/options-profiles.php:419
1052
- msgid "3D"
1053
- msgstr ""
1054
-
1055
- #: includes/options-profiles.php:420
1056
- msgid "Playlist"
1057
- msgstr ""
1058
-
1059
- #: includes/options-profiles.php:423
1060
- msgid "Change video"
1061
- msgstr ""
1062
-
1063
- #: includes/shortcodes.php:199
1064
- msgid "No YouTube ID was found."
1065
- msgstr ""
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
readme.txt CHANGED
@@ -1,10 +1,10 @@
1
  === YouTube Embed ===
2
  Contributors: dartiss
3
- Donate link: https://artiss.blog/donate
4
  Tags: embed, insert, video, youtube
5
- Requires at least: 3.9
6
- Tested up to: 4.7.3
7
- Stable tag: 5.0.3
 
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -28,29 +28,22 @@ Key features include...
28
  * Compatible with [Video SEO for WordPress](http://yoast.com/wordpress/video-seo/ "Video SEO for WordPress"), [a3 lazy load](https://wordpress.org/plugins/a3-lazy-load/ "a3 lazy load") and [WordPress Video Overlay Ads](https://wordpress.org/plugins/video-overlay-ads/ "WordPress Video Overlay Ads") and many more. In the case of Video SEO and WordPress Video Overlay Ads, their options will even appear under the YouTube Embed menu for total simplicity!
29
  * Use [Turn Off The Lights](https://www.turnoffthelights.com/ "Turn Off The Lights")? This plugin works with it beautifully.
30
  * [iFrame Resizer](https://github.com/davidjbradshaw/iframe-resizer "iFrame Resizer") and [FitVids.js](https://github.com/davatron5000/FitVids.js "FitVids.js") supported to improve content resizing
31
- * Works "out of the box" with 4K, 60FPS and Chromecast - stream your embedded videos to your TV!
32
  * And much, much more!
33
 
34
  Technical specification...
35
 
36
  * Designed for both single and multi-site installations
37
  * PHP7 compatible
38
- * Fully internationalized, ready for translations! **If you would like to add a translation to his plugin then please head to our [Translating WordPress](https://translate.wordpress.org/projects/wp-plugins/youtube-embed "Translating WordPress") page**
39
 
40
- But, most importantly, there are no premium features and no adverts - this is 100% complete and free! See the "Other Notes" tab for how to get started as well as the more advanced features, including how to specify an API key to unlock the maximum number of features!
41
 
42
- How easy is it to use? The fine people at [Webucator](https://www.webucator.com "Webucator") have put together an excellent video showing you how to get started with it..
43
-
44
- https://www.youtube.com/watch?v=Wc7cvpQS-xQ
45
-
46
- == Reviews & Mentions ==
47
 
48
- * [Your YouTube Plugin is fantastic-it just saved my life on this site. Thank you!](https://twitter.com/AaronWatters/status/237957701605404672?uid=16257815&iid=am-130280753913455685118891763&nid=4+248 "Twitter - Aaron Watters") - Sonic Clamp
49
- * [New Technology Finds The Most Buzzed-About Parts Of Videos](http://www.socialtimes.com/2011/03/new-technology-finds-the-most-buzzed-about-parts-of-videos-interview/ "New Technology Finds The Most Buzzed-About Parts Of Videos") - SocialTimes
50
- * [Andesch tips on WordPress plugins!](http://andershagstrom.se/andesch-tipsar-om-wordpress-plugins/ "Andesch tipsar om WordPress-plugins!") - Anders
51
- * [Critical Mass](http://www.bikinginmemphis.com/2011/03/26/critical-mass/ "Critical Mass") - Biking in Memphis
52
 
53
- == Getting Started ==
54
 
55
  To add a video to a post or page simply use the shortcode `[[youtube]video[/youtube]]`, where `video` is the ID or URL of the YouTube video. Alternatively, you can add one (or more) widgets to your sidebar.
56
 
@@ -75,10 +68,10 @@ e.g. `[[youtube width=300 height=200]Z_sCoHGIpU0[/youtube]]`
75
  Which options are available depends upon the users's set-up (for example, whether they have Flash installed or not). You can specify any of the parameters but they may be ignored. Please see the Profile screen in Administration for further details on any restrictions which may exist.
76
 
77
  * **annotation** - yes or no, this determines if annotations are shown
78
- * **autohide** - 0, 1 or 2, this parameter indicates whether the video controls will automatically hide after a video begins playing. The default behaviour, a value of 2, is for the video progress bar to fade out while the player controls (play button, volume control, etc.) remain visible. If this parameter is set to 0, the video progress bar and the video player controls will be visible throughout the video. If this parameter is set to 1, then the video progress bar and the player controls will slide out of view a couple of seconds after the video starts playing. They will only reappear if the user moves her mouse over the video player or presses a key on her keyboard.
79
  * **autoplay** - yes or no, should the video automatically start playing?
80
  * **cc** - yes or no, decided whether closed captions (subtitles) are displayed. If you don't specify anything then the user's default will be used.
81
- * **color** - white or red, the colour of the progress bar (see the FAQ about having a white progress bar with the light theme)
82
  * **controls** - 0, 1 or 2, this decides whether the controls should display and when the Flash will load. A value of 0 will not show the controls but 1 or 2 will. A value of 2 will load Flash once the user initiates playback - otherwise it's loaded straight away.
83
  * **disablekb** - yes or no, disable keyboard controls
84
  * **fullscreen** - yes or no, this will add the fullscreen button to the toolbar
@@ -254,6 +247,13 @@ In some cases activating these plugins will cause their settings screen to also
254
 
255
  If you'd like your own plugin adding to this list then please [get in touch](https://artiss.blog/contact-me/ "Contact").
256
 
 
 
 
 
 
 
 
257
  == Installation ==
258
 
259
  YouTube Embed can be found and installed via the Plugin menu within WordPress administration (Plugins -> Add New). Alternatively, it can be downloaded from WordPress.org and installed manually...
@@ -330,9 +330,16 @@ Before reporting it please bear in mind that this plugin uses the standard YouTu
330
  6. The default visual editor options with the YouTube Embed button
331
  7. The third party plugins menu
332
 
333
- == Changelog ==
334
-
335
- = 5.0.3 =
 
 
 
 
 
 
 
336
  * Enhancement: Now allow the align parameter in the profile HTML
337
 
338
  = 5.0.2 =
@@ -369,7 +376,7 @@ Before reporting it please bear in mind that this plugin uses the standard YouTu
369
  * Maintenance: Tested for WP 4.6 and PHP 7 compatibility because, you know, it's the future
370
  * Maintenance: Re-wrote this bad boy README
371
  * Bug: Fixed metadata output issues with playlists
372
- * Bug: Fixed bug where lists would not display if the new performance option was switched on
373
  * Bug: Fixed issue with the uninstaller
374
 
375
  = 4.3.4 =
@@ -410,7 +417,7 @@ Before reporting it please bear in mind that this plugin uses the standard YouTu
410
  * Maintenance: Replaced a function with a PHP command but this means that the plugin is no compatible with PHP versions below 5.1
411
  * Maintenance: Tidied up the list screen further
412
  * Maintenance: Replaced the 'dynamic' parameter with 'responsive' which, as a name, is far more accurate. 'dynamic' will still work, though.
413
- * Maintenance: Improved admin screen validation and sanitisation
414
 
415
  = 4.1.1 =
416
  * Bug fix: Corrected settings URL in plugin meta.
@@ -425,7 +432,7 @@ Before reporting it please bear in mind that this plugin uses the standard YouTu
425
  * Enhancement: Improved the layout of the demo video on the profiles page.
426
  * Enhancement: Added a count to the profiles and lists screen to indicate how many are set up. Also showed on drop-down which of the profiles/lists are not defined.
427
  * Enhancement: Changes made to add compatibility with a3 lazy load.
428
- * Enhancement: Removed the caching - it created the output up to 3 times quicker but when that's 0.005 seconds it's not worth the hassle that comes with it. I started making performance improvements to compensate then realised it was such a big change that it would be best spun off as it's own seperate update - version 4.2. Look out for it.
429
  * Enhancement: Removed limitation of only being able to display up to 30 lists or profiles.
430
  * Enhancement: When you can select a profile from another screen (e.g. defining a profile to an alternative shortcode) then only defined profiles will be listed.
431
  * Enhancement: Added general option to specify the YouTube interface language as well as to suppress debug output in the resulting code.
@@ -439,7 +446,7 @@ Before reporting it please bear in mind that this plugin uses the standard YouTu
439
  * Maintenance: Improved the admin screen output code - had made it more WordPress standard in version 4 but got some of the code wrong.
440
 
441
  = 4.0.2 =
442
- * Maintenance: Not really a bug, but in some circumstances I wasn't initialising a variable used when generating the embed code. It worked fine but wasn't best practise so fixed. Sloppy.
443
  * Maintenance: Modified the default parameters so new user videos should appear with the same options as on YouTube itself. Consistent.
444
  * Maintenance: I ABSOLUTELY refuse to call this a bug. But I was calling get_the_excerpt() to build some of the video meta data. For some reason, still unknown to me, other plugins were crashing as a result of it. I've removed it for now but am investigating the cause. Frustrating.
445
  * Enhancement: WMODE is now only added to the embed URL if it's anything other than the default. Shrinkage.
@@ -470,7 +477,7 @@ Before reporting it please bear in mind that this plugin uses the standard YouTu
470
  * Enhancement: Added donation link to plugin meta. Because I'm worth it.
471
 
472
  = 3.3.3 =
473
- * Maintenance: Now working with newer playlist IDs (README instructions chaneged to reflect how to do this)
474
  * Maintenance: Resolved widget issues with version 4.3 of WordPress
475
  * Maintenance: Eliminated XSS problem in admin profile screen
476
 
@@ -526,5 +533,5 @@ Before reporting it please bear in mind that this plugin uses the standard YouTu
526
 
527
  == Upgrade Notice ==
528
 
529
- = 5.0.3 =
530
- * Minor improvement to allowed HTML in the template
1
  === YouTube Embed ===
2
  Contributors: dartiss
 
3
  Tags: embed, insert, video, youtube
4
+ Requires at least: 4.6
5
+ Tested up to: 4.9
6
+ Requires PHP: 5.3
7
+ Stable tag: 5.0.4
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
28
  * Compatible with [Video SEO for WordPress](http://yoast.com/wordpress/video-seo/ "Video SEO for WordPress"), [a3 lazy load](https://wordpress.org/plugins/a3-lazy-load/ "a3 lazy load") and [WordPress Video Overlay Ads](https://wordpress.org/plugins/video-overlay-ads/ "WordPress Video Overlay Ads") and many more. In the case of Video SEO and WordPress Video Overlay Ads, their options will even appear under the YouTube Embed menu for total simplicity!
29
  * Use [Turn Off The Lights](https://www.turnoffthelights.com/ "Turn Off The Lights")? This plugin works with it beautifully.
30
  * [iFrame Resizer](https://github.com/davidjbradshaw/iframe-resizer "iFrame Resizer") and [FitVids.js](https://github.com/davatron5000/FitVids.js "FitVids.js") supported to improve content resizing
31
+ * Works "out of the box" with 4K, 60FPS and Chromecast - stream your embedded videos to your TV!
32
  * And much, much more!
33
 
34
  Technical specification...
35
 
36
  * Designed for both single and multi-site installations
37
  * PHP7 compatible
38
+ * Fully internationalized, ready for translations! **If you would like to add a translation to this plugin then please head to our [Translating WordPress](https://translate.wordpress.org/projects/wp-plugins/youtube-embed "Translating WordPress") page**
39
 
40
+ Please visit the [Github page](https://github.com/dartiss/youtube-embed "Github") for the latest code development, planned enhancements and known issues.
41
 
42
+ == Getting Started ==
 
 
 
 
43
 
44
+ How easy is it to use? The fine people at [Webucator](https://www.webucator.com "Webucator") have put together an excellent video showing you how to get started with it..
 
 
 
45
 
46
+ https://www.youtube.com/watch?v=Wc7cvpQS-xQ
47
 
48
  To add a video to a post or page simply use the shortcode `[[youtube]video[/youtube]]`, where `video` is the ID or URL of the YouTube video. Alternatively, you can add one (or more) widgets to your sidebar.
49
 
68
  Which options are available depends upon the users's set-up (for example, whether they have Flash installed or not). You can specify any of the parameters but they may be ignored. Please see the Profile screen in Administration for further details on any restrictions which may exist.
69
 
70
  * **annotation** - yes or no, this determines if annotations are shown
71
+ * **autohide** - 0, 1 or 2, this parameter indicates whether the video controls will automatically hide after a video begins playing. The default behavior, a value of 2, is for the video progress bar to fade out while the player controls (play button, volume control, etc.) remain visible. If this parameter is set to 0, the video progress bar and the video player controls will be visible throughout the video. If this parameter is set to 1, then the video progress bar and the player controls will slide out of view a couple of seconds after the video starts playing. They will only reappear if the user moves her mouse over the video player or presses a key on her keyboard.
72
  * **autoplay** - yes or no, should the video automatically start playing?
73
  * **cc** - yes or no, decided whether closed captions (subtitles) are displayed. If you don't specify anything then the user's default will be used.
74
+ * **color** - white or red, the color of the progress bar (see the FAQ about having a white progress bar with the light theme)
75
  * **controls** - 0, 1 or 2, this decides whether the controls should display and when the Flash will load. A value of 0 will not show the controls but 1 or 2 will. A value of 2 will load Flash once the user initiates playback - otherwise it's loaded straight away.
76
  * **disablekb** - yes or no, disable keyboard controls
77
  * **fullscreen** - yes or no, this will add the fullscreen button to the toolbar
247
 
248
  If you'd like your own plugin adding to this list then please [get in touch](https://artiss.blog/contact-me/ "Contact").
249
 
250
+ == Reviews & Mentions ==
251
+
252
+ * [Your YouTube Plugin is fantastic-it just saved my life on this site. Thank you!](https://twitter.com/AaronWatters/status/237957701605404672?uid=16257815&iid=am-130280753913455685118891763&nid=4+248 "Twitter - Aaron Watters") - Sonic Clamp
253
+ * [New Technology Finds The Most Buzzed-About Parts Of Videos](http://www.socialtimes.com/2011/03/new-technology-finds-the-most-buzzed-about-parts-of-videos-interview/ "New Technology Finds The Most Buzzed-About Parts Of Videos") - SocialTimes
254
+ * [Andesch tips on WordPress plugins!](http://andershagstrom.se/andesch-tipsar-om-wordpress-plugins/ "Andesch tipsar om WordPress-plugins!") - Anders
255
+ * [Critical Mass](http://www.bikinginmemphis.com/2011/03/26/critical-mass/ "Critical Mass") - Biking in Memphis
256
+
257
  == Installation ==
258
 
259
  YouTube Embed can be found and installed via the Plugin menu within WordPress administration (Plugins -> Add New). Alternatively, it can be downloaded from WordPress.org and installed manually...
330
  6. The default visual editor options with the YouTube Embed button
331
  7. The third party plugins menu
332
 
333
+ == Changelog ==
334
+
335
+ [Learn more about my version numbering methodology](https://artiss.blog/2016/09/wordpress-plugin-versioning/ "WordPress Plugin Versioning")
336
+
337
+ = 5.0.4 =
338
+ * Maintenance: Updated this README for better presentation in the new plugin directory. Funky.
339
+ * Maintenance: The minimum requirements for this plugin is now WordPress 4.6 so language files could be got rid of and various other bits of change. Smooth.
340
+ * Maintenance: Links to artiss.blog have been fixed. Smashing.
341
+
342
+ = 5.0.3 =
343
  * Enhancement: Now allow the align parameter in the profile HTML
344
 
345
  = 5.0.2 =
376
  * Maintenance: Tested for WP 4.6 and PHP 7 compatibility because, you know, it's the future
377
  * Maintenance: Re-wrote this bad boy README
378
  * Bug: Fixed metadata output issues with playlists
379
+ * Bug: Fixed bug where lists would not display if the new performance option was switched on
380
  * Bug: Fixed issue with the uninstaller
381
 
382
  = 4.3.4 =
417
  * Maintenance: Replaced a function with a PHP command but this means that the plugin is no compatible with PHP versions below 5.1
418
  * Maintenance: Tidied up the list screen further
419
  * Maintenance: Replaced the 'dynamic' parameter with 'responsive' which, as a name, is far more accurate. 'dynamic' will still work, though.
420
+ * Maintenance: Improved admin screen validation and sanitization
421
 
422
  = 4.1.1 =
423
  * Bug fix: Corrected settings URL in plugin meta.
432
  * Enhancement: Improved the layout of the demo video on the profiles page.
433
  * Enhancement: Added a count to the profiles and lists screen to indicate how many are set up. Also showed on drop-down which of the profiles/lists are not defined.
434
  * Enhancement: Changes made to add compatibility with a3 lazy load.
435
+ * Enhancement: Removed the caching - it created the output up to 3 times quicker but when that's 0.005 seconds it's not worth the hassle that comes with it. I started making performance improvements to compensate then realized it was such a big change that it would be best spun off as it's own separate update - version 4.2. Look out for it.
436
  * Enhancement: Removed limitation of only being able to display up to 30 lists or profiles.
437
  * Enhancement: When you can select a profile from another screen (e.g. defining a profile to an alternative shortcode) then only defined profiles will be listed.
438
  * Enhancement: Added general option to specify the YouTube interface language as well as to suppress debug output in the resulting code.
446
  * Maintenance: Improved the admin screen output code - had made it more WordPress standard in version 4 but got some of the code wrong.
447
 
448
  = 4.0.2 =
449
+ * Maintenance: Not really a bug, but in some circumstances I wasn't initializing a variable used when generating the embed code. It worked fine but wasn't best practice so fixed. Sloppy.
450
  * Maintenance: Modified the default parameters so new user videos should appear with the same options as on YouTube itself. Consistent.
451
  * Maintenance: I ABSOLUTELY refuse to call this a bug. But I was calling get_the_excerpt() to build some of the video meta data. For some reason, still unknown to me, other plugins were crashing as a result of it. I've removed it for now but am investigating the cause. Frustrating.
452
  * Enhancement: WMODE is now only added to the embed URL if it's anything other than the default. Shrinkage.
477
  * Enhancement: Added donation link to plugin meta. Because I'm worth it.
478
 
479
  = 3.3.3 =
480
+ * Maintenance: Now working with newer playlist IDs (README instructions changed to reflect how to do this)
481
  * Maintenance: Resolved widget issues with version 4.3 of WordPress
482
  * Maintenance: Eliminated XSS problem in admin profile screen
483
 
533
 
534
  == Upgrade Notice ==
535
 
536
+ = 5.0.4 =
537
+ * Maintenance changes
uninstall.php CHANGED
@@ -4,7 +4,7 @@
4
  *
5
  * Uninstall the plugin by removing any options from the database
6
  *
7
- * @package YouTube-Embed
8
  * @since 2.0
9
  */
10
 
4
  *
5
  * Uninstall the plugin by removing any options from the database
6
  *
7
+ * @package youtube-embed
8
  * @since 2.0
9
  */
10
 
youtube-embed.php CHANGED
@@ -2,12 +2,11 @@
2
  /*
3
  Plugin Name: YouTube Embed
4
  Plugin URI: https://wordpress.org/plugins/youtube-embed/
5
- Description: Embed YouTube Videos in WordPress
6
- Version: 5.0.3
7
  Author: dartiss
8
- Author URI: http://www.artiss.co.uk
9
  Text Domain: youtube-embed
10
- Domain Path: /languages
11
  */
12
 
13
  /**
@@ -15,7 +14,7 @@ Domain Path: /languages
15
  *
16
  * Main code - include various functions
17
  *
18
- * @package YouTube-Embed
19
  * @since 2.0
20
  */
21
 
2
  /*
3
  Plugin Name: YouTube Embed
4
  Plugin URI: https://wordpress.org/plugins/youtube-embed/
5
+ Description: An incredibly fast, simple, yet powerful, method of embedding YouTube videos into your WordPress site.
6
+ Version: 5.0.4
7
  Author: dartiss
8
+ Author URI: https://artiss.blog
9
  Text Domain: youtube-embed
 
10
  */
11
 
12
  /**
14
  *
15
  * Main code - include various functions
16
  *
17
+ * @package youtube-embed
18
  * @since 2.0
19
  */
20