YouTube Embed - Version 3.1

Version Description

  • Enhancement: Allow user to specify video resolution required (experimental)
  • Enhancement: Different languages can be specified for transcripts, other than the English default
  • Enhancement: API enabled on scripts by default, allowing for third-party modification
  • Enhancement: Can now add a link to YouTube under a video
  • Maintenance: Removed adverts from administration screen
  • Maintenance: Changed download bar default to be opt-in and re-worded option text
Download this release

Release Info

Developer Applian
Plugin Icon 128x128 YouTube Embed
Version 3.1
Comparing to
See all releases

Code changes from version 3.0.1 to 3.1

includes/function-calls.php CHANGED
@@ -56,6 +56,7 @@ function youtube_video_embed( $content, $paras = '', $style = '' ) {
56
  $dynamic = vye_get_parameters( $paras, 'dynamic' );
57
  $search = vye_get_parameters( $paras, 'search' );
58
  $user = vye_get_parameters( $paras, 'user' );
 
59
 
60
  // Get Embed type
61
  $type = vye_get_embed_type( $type, $embedplus );
@@ -63,7 +64,7 @@ function youtube_video_embed( $content, $paras = '', $style = '' ) {
63
  // Set up Autohide parameter
64
  $autohide = vye_set_autohide( $autohide );
65
 
66
- echo vye_generate_youtube_code( $content, $type, $width, $height, vye_convert( $fullscreen ), vye_convert( $related ), vye_convert( $autoplay ), vye_convert( $loop ), $start, vye_convert( $info ), vye_convert_3( $annotation ), vye_convert( $cc ), $style, vye_convert( $link ), vye_convert( $react ), $stop, vye_convert( $sweetspot ), vye_convert( $disablekb ), $ratio, $autohide, $controls, $profile, $list, vye_convert( $audio ), $template, vye_convert( $hd ), $color, $theme, vye_convert( $https ), vye_convert( $dynamic ), vye_convert( $search ), vye_convert( $user ) );
67
  return;
68
  }
69
 
@@ -145,10 +146,11 @@ function get_video_download( $id ) {
145
  * @uses vye_validate_id Check the video ID is valid
146
  *
147
  * @param string $id YouTube video ID
 
148
  * @return string Transcript file in XML format
149
  */
150
 
151
- function get_youtube_transcript_xml ( $id ) {
152
 
153
  // Extract the ID if a full URL has been specified
154
  $id = vye_extract_id( $id );
@@ -165,7 +167,7 @@ function get_youtube_transcript_xml ( $id ) {
165
  }
166
 
167
  // Get transcript file
168
- $filename = 'http://video.google.com/timedtext?lang=en&v=' . $id;
169
  $xml = vye_get_file( $filename );
170
 
171
  // Check success and return appropriate output
@@ -187,11 +189,12 @@ function get_youtube_transcript_xml ( $id ) {
187
  * @uses vye_generate_generatE_transcript Generate the transcript output
188
  *
189
  * @param string $id YouTube video ID
 
190
  * @return string Transcript file in XHTML format
191
  */
192
 
193
- function get_youtube_transcript( $id ) {
194
- return vye_generate_transcript( $id );
195
  }
196
 
197
  /**
56
  $dynamic = vye_get_parameters( $paras, 'dynamic' );
57
  $search = vye_get_parameters( $paras, 'search' );
58
  $user = vye_get_parameters( $paras, 'user' );
59
+ $vq = vye_get_parameters( $paras, 'vq' );
60
 
61
  // Get Embed type
62
  $type = vye_get_embed_type( $type, $embedplus );
64
  // Set up Autohide parameter
65
  $autohide = vye_set_autohide( $autohide );
66
 
67
+ echo vye_generate_youtube_code( $content, $type, $width, $height, vye_convert( $fullscreen ), vye_convert( $related ), vye_convert( $autoplay ), vye_convert( $loop ), $start, vye_convert( $info ), vye_convert_3( $annotation ), vye_convert( $cc ), $style, vye_convert( $link ), vye_convert( $react ), $stop, vye_convert( $sweetspot ), vye_convert( $disablekb ), $ratio, $autohide, $controls, $profile, $list, vye_convert( $audio ), $template, vye_convert( $hd ), $color, $theme, vye_convert( $https ), vye_convert( $dynamic ), vye_convert( $search ), vye_convert( $user ), $vq );
68
  return;
69
  }
70
 
146
  * @uses vye_validate_id Check the video ID is valid
147
  *
148
  * @param string $id YouTube video ID
149
+ * @param string $id Language
150
  * @return string Transcript file in XML format
151
  */
152
 
153
+ function get_youtube_transcript_xml ( $id, $language = 'en' ) {
154
 
155
  // Extract the ID if a full URL has been specified
156
  $id = vye_extract_id( $id );
167
  }
168
 
169
  // Get transcript file
170
+ $filename = 'http://video.google.com/timedtext?lang=' . strtolower( $language ) . '&v=' . $id;
171
  $xml = vye_get_file( $filename );
172
 
173
  // Check success and return appropriate output
189
  * @uses vye_generate_generatE_transcript Generate the transcript output
190
  *
191
  * @param string $id YouTube video ID
192
+ * @param string $language Language
193
  * @return string Transcript file in XHTML format
194
  */
195
 
196
+ function get_youtube_transcript( $id, $language = '' ) {
197
+ return vye_generate_transcript( $id, $language );
198
  }
199
 
200
  /**
includes/generate-download-code.php CHANGED
@@ -49,9 +49,9 @@ function vye_generate_download_code( $id ) {
49
  $url = 'http://vixy.net/downloadbar?id=' . $id . '&sip=' . $_SERVER['SERVER_ADDR']. '&lang=' . str_replace( '_', '-', get_bloginfo( 'language' ) ) . '&affiliate_id=' . $affiliate;
50
 
51
  $file = vye_get_file( $url );
52
-
53
  // Now clean the code to ensure nothing nasty lurks within!
54
-
55
  $allowed_html = array (
56
  'a' => array(
57
  'href' => array(),
49
  $url = 'http://vixy.net/downloadbar?id=' . $id . '&sip=' . $_SERVER['SERVER_ADDR']. '&lang=' . str_replace( '_', '-', get_bloginfo( 'language' ) ) . '&affiliate_id=' . $affiliate;
50
 
51
  $file = vye_get_file( $url );
52
+
53
  // Now clean the code to ensure nothing nasty lurks within!
54
+
55
  $allowed_html = array (
56
  'a' => array(
57
  'href' => array(),
includes/generate-embed-code.php CHANGED
@@ -14,6 +14,7 @@
14
  *
15
  * @since 2.0
16
  *
 
17
  * @uses vye_error Display an error
18
  * @uses vye_extract_id Get the video ID
19
  * @uses vye_validate_list Get the requested listr
@@ -54,10 +55,11 @@
54
  * @param string $dynamic Show dynamic output
55
  * @param string $search Perform a search
56
  * @param string $user Look up user videos
 
57
  * @return string Code output
58
  */
59
 
60
- function vye_generate_youtube_code( $id = '', $type = '', $width = '', $height = '', $fullscreen = '', $related = '', $autoplay = '', $loop = '', $start = '', $info = '', $annotation = '', $cc = '', $style = '', $link = '', $react = '', $stop = '', $sweetspot = '', $disablekb = '', $ratio = '', $autohide = '', $controls = '', $profile = '', $list_style = '', $audio = '', $template = '', $hd = '', $color = '', $theme = '', $https = '', $dynamic = '', $search = '', $user = '' ) {
61
 
62
  // Ensure an ID is passed
63
 
@@ -232,6 +234,7 @@ function vye_generate_youtube_code( $id = '', $type = '', $width = '', $height =
232
  if ( $style == '' ) { $style = $options[ 'style' ]; }
233
  if ( $color == '' ) { $color = $options[ 'color' ]; }
234
  if ( $theme == '' ) { $theme = $options[ 'theme' ]; }
 
235
 
236
  $wmode = $options[ 'wmode' ];
237
 
@@ -309,7 +312,7 @@ function vye_generate_youtube_code( $id = '', $type = '', $width = '', $height =
309
 
310
  $tab = '';
311
  $class = 'youtube-player';
312
- $paras = '';
313
 
314
  $embedplus = false;
315
  $swf = false;
@@ -352,6 +355,7 @@ function vye_generate_youtube_code( $id = '', $type = '', $width = '', $height =
352
  if ( $controls != 1 ) { $paras .= '&controls=' . $controls; }
353
  if ( strtolower( $color ) != 'red' ) { $paras .= '&color=' . strtolower( $color ); }
354
  if ( strtolower( $theme ) != 'dark' ) { $paras .= '&theme=' . strtolower( $theme ); }
 
355
 
356
  // If not a playlist, add the playlist parameter
357
 
@@ -476,9 +480,9 @@ function vye_generate_youtube_code( $id = '', $type = '', $width = '', $height =
476
  }
477
  $result = str_replace( '%video%', $result . $end_tag, $template );
478
 
479
- // Add the download link, if requested
480
 
481
- if ( $options[ 'vixy_download' ] == 1 ) { $result .= '<br/><span style="' . $options[ 'download_style' ] . '" class="vye_download">' . vye_generate_download_code( $id ) . "</span>\n"; }
482
 
483
  // Now add a commented header and trailer
484
 
14
  *
15
  * @since 2.0
16
  *
17
+ * @uses vye_add_links Add links under video
18
  * @uses vye_error Display an error
19
  * @uses vye_extract_id Get the video ID
20
  * @uses vye_validate_list Get the requested listr
55
  * @param string $dynamic Show dynamic output
56
  * @param string $search Perform a search
57
  * @param string $user Look up user videos
58
+ * @param string $vq Video quality
59
  * @return string Code output
60
  */
61
 
62
+ function vye_generate_youtube_code( $id = '', $type = '', $width = '', $height = '', $fullscreen = '', $related = '', $autoplay = '', $loop = '', $start = '', $info = '', $annotation = '', $cc = '', $style = '', $link = '', $react = '', $stop = '', $sweetspot = '', $disablekb = '', $ratio = '', $autohide = '', $controls = '', $profile = '', $list_style = '', $audio = '', $template = '', $hd = '', $color = '', $theme = '', $https = '', $dynamic = '', $search = '', $user = '', $vq = '' ) {
63
 
64
  // Ensure an ID is passed
65
 
234
  if ( $style == '' ) { $style = $options[ 'style' ]; }
235
  if ( $color == '' ) { $color = $options[ 'color' ]; }
236
  if ( $theme == '' ) { $theme = $options[ 'theme' ]; }
237
+ if ( $vq == '' ) { $vq = $options[ 'vq' ]; }
238
 
239
  $wmode = $options[ 'wmode' ];
240
 
312
 
313
  $tab = '';
314
  $class = 'youtube-player';
315
+ $paras = '?enablejsapi=1';
316
 
317
  $embedplus = false;
318
  $swf = false;
355
  if ( $controls != 1 ) { $paras .= '&amp;controls=' . $controls; }
356
  if ( strtolower( $color ) != 'red' ) { $paras .= '&amp;color=' . strtolower( $color ); }
357
  if ( strtolower( $theme ) != 'dark' ) { $paras .= '&amp;theme=' . strtolower( $theme ); }
358
+ if ( $vq != '' ) { $paras .= '&amp;vq=' . strtolower( $vq ); }
359
 
360
  // If not a playlist, add the playlist parameter
361
 
480
  }
481
  $result = str_replace( '%video%', $result . $end_tag, $template );
482
 
483
+ // Add the download link, if required
484
 
485
+ $result .= vye_add_links( $options[ 'link_to_youtube' ], $options[ 'vixy_download' ], $options[ 'download_style' ], $id, $embed_type );
486
 
487
  // Now add a commented header and trailer
488
 
includes/generate-transcript-code.php CHANGED
@@ -21,10 +21,11 @@
21
  * @uses vye_validate_id Validate the ID
22
  *
23
  * @param string $id Video ID
 
24
  * @return string $output Transcript output
25
  */
26
 
27
- function vye_generate_transcript( $id ) {
28
 
29
  // Extract the ID if a full URL has been specified
30
  $id = vye_extract_id( $id );
@@ -50,7 +51,7 @@ function vye_generate_transcript( $id ) {
50
  }
51
 
52
  // Get transcript file
53
- $return = vye_get_file( 'http://video.google.com/timedtext?lang=en&v=' . $id );
54
  $xml = $return[ 'file' ];
55
  $output = '';
56
 
21
  * @uses vye_validate_id Validate the ID
22
  *
23
  * @param string $id Video ID
24
+ * @param string $language Language
25
  * @return string $output Transcript output
26
  */
27
 
28
+ function vye_generate_transcript( $id, $language = 'en' ) {
29
 
30
  // Extract the ID if a full URL has been specified
31
  $id = vye_extract_id( $id );
51
  }
52
 
53
  // Get transcript file
54
+ $return = vye_get_file( 'http://video.google.com/timedtext?lang=' . strtolower( $language ) . '&v=' . $id );
55
  $xml = $return[ 'file' ];
56
  $output = '';
57
 
includes/options-general.php CHANGED
@@ -13,8 +13,6 @@
13
  <div class="icon32"><img src="<?php echo plugins_url(); ?>/youtube-embed/images/admin_screen_icon.png" alt="" title="" height="32px" width="32px"/><br /></div>
14
  <h2><?php _e( 'Vixy YouTube Embed Options', 'youtube-embed' ); ?></h2>
15
 
16
- <p><a target="_blank" href="http://www.shareasale.com/r.cfm?b=146096&u=668714&m=10638&urllink=&afftrack="><img src="http://www.shareasale.com/image/RCAT1-728x90.gif" /></a></p>
17
-
18
  <?php
19
 
20
  // If options have been updated on screen, update the database
13
  <div class="icon32"><img src="<?php echo plugins_url(); ?>/youtube-embed/images/admin_screen_icon.png" alt="" title="" height="32px" width="32px"/><br /></div>
14
  <h2><?php _e( 'Vixy YouTube Embed Options', 'youtube-embed' ); ?></h2>
15
 
 
 
16
  <?php
17
 
18
  // If options have been updated on screen, update the database
includes/options-lists.php CHANGED
@@ -14,8 +14,6 @@
14
 
15
  <h2><?php _e( 'Vixy YouTube Embed Lists', 'youtube-embed' ); ?></h2>
16
 
17
- <p><a target="_blank" href="http://www.shareasale.com/r.cfm?b=146096&u=668714&m=10638&urllink=&afftrack="><img src="http://www.shareasale.com/image/RCAT1-728x90.gif" /></a></p>
18
-
19
  <?php
20
  // Set current list number
21
  if ( isset( $_POST[ 'youtube_embed_list_no' ] ) ) { $list_no = $_POST[ 'youtube_embed_list_no' ]; } else { $list_no = 0; }
14
 
15
  <h2><?php _e( 'Vixy YouTube Embed Lists', 'youtube-embed' ); ?></h2>
16
 
 
 
17
  <?php
18
  // Set current list number
19
  if ( isset( $_POST[ 'youtube_embed_list_no' ] ) ) { $list_no = $_POST[ 'youtube_embed_list_no' ]; } else { $list_no = 0; }
includes/options-profiles.php CHANGED
@@ -8,6 +8,9 @@
8
  * @since 2.0
9
  */
10
  ?>
 
 
 
11
  <div class="wrap">
12
 
13
  <div style="width: 1010px;">
@@ -16,8 +19,6 @@
16
 
17
  <h2><?php _e( 'Vixy YouTube Embed Profiles', 'youtube-embed' ); ?></h2>
18
 
19
- <p><a target="_blank" href="http://www.shareasale.com/r.cfm?b=146096&u=668714&m=10638&urllink=&afftrack="><img src="http://www.shareasale.com/image/RCAT1-728x90.gif" /></a></p>
20
-
21
  <?php
22
 
23
  // Set current profile number
@@ -65,6 +66,8 @@ if ( ( !empty( $_POST[ 'Submit' ] ) ) && ( check_admin_referer( 'youtube-embed-p
65
  $options[ 'fixed' ] = $_POST[ 'youtube_embed_fixed' ];
66
  $options[ 'vixy_download' ] = $_POST[ 'youtube_embed_download' ];
67
  $options[ 'download_style' ] = $_POST[ 'youtube_embed_download_style' ];
 
 
68
 
69
  $default_size = $_POST[ 'youtube_embed_size' ];
70
 
@@ -153,29 +156,48 @@ echo ' ' . __( 'Use the drop-down on the right hand side to swap between profile
153
 
154
  <br/><span class="yt_heading"><?php _e( 'Options For All Player Types', 'youtube-embed' ); ?></span>
155
 
156
- <table class="form-table">
157
  <tr>
158
- <th scope="row"><?php _e( 'Template', 'youtube-embed' ); ?></th>
159
- <td><input type="text" size="40" name="youtube_embed_template" value="<?php echo htmlspecialchars( $options[ 'template' ] ); ?>"/>&nbsp;<span class="description"><?php _e( 'Wrapper for video output. Must include <code>%video%</code> tag to show video position', 'youtube-embed' ); ?></span></td>
160
  </tr>
161
 
162
  <tr>
163
- <th scope="row"><?php _e( 'Style', 'youtube-embed' ); ?></th>
164
- <td><input type="text" size="40" name="youtube_embed_style" value="<?php echo htmlspecialchars( $options[ 'style' ] ); ?>"/>&nbsp;<span class="description"><?php _e( 'CSS elements to apply to video', 'youtube-embed' ); ?></span></td>
165
  </tr>
166
- </table>
167
 
168
- <table class="form-table ytbox_grey">
169
  <tr>
170
- <th scope="row"><?php _e( 'Show Download Bar', 'youtube-embed' ); ?></th>
171
- <td><input type="checkbox" name="youtube_embed_download" value="1"<?php if ( $options[ 'vixy_download' ] == "1" ) { echo ' checked="checked"'; } ?>/>&nbsp;<span class="description"><?php echo __( 'Show a download bar under the video', 'youtube-embed' ); ?></span></td>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
172
  </tr>
173
 
174
  <tr>
175
- <th scope="row"><?php _e( 'Bar Style', 'youtube-embed' ); ?></th>
176
- <td><input type="text" size="40" name="youtube_embed_download_style" value="<?php echo htmlspecialchars( $options[ 'download_style' ] ); ?>"/>&nbsp;<span class="description"><?php _e( 'CSS elements to apply to video download bar', 'youtube-embed' ); ?></span></td>
177
  </tr>
178
- </table><br/>
179
 
180
  <table class="form-table ytbox_grey">
181
  <tr>
@@ -204,6 +226,18 @@ echo ' ' . __( 'Use the drop-down on the right hand side to swap between profile
204
  <th scope="row">&nbsp;&nbsp;&nbsp;&nbsp;<?php _e( 'Set Maximum Size', 'youtube-embed' ); ?></th>
205
  <td><input type="checkbox" name="youtube_embed_fixed" value="1"<?php if ( $options[ 'fixed' ] == "1" ) { echo ' checked="checked"'; } ?>/>&nbsp;<span class="description"><?php _e( 'Use above width to define maximum size', 'youtube-embed' ); ?></span></td>
206
  </tr>
 
 
 
 
 
 
 
 
 
 
 
 
207
  </table>
208
 
209
  <table class="form-table">
@@ -379,7 +413,7 @@ echo ' ' . __( 'Use the drop-down on the right hand side to swap between profile
379
  <input type="submit" name="Video" class="button-secondary" value="<?php _e( 'Change video', 'youtube-embed' ); ?>"/></p>
380
 
381
  <p><?php
382
- if ( $video_type == "d" ) { $id = 'Y7ny1YdTShg'; $type = ''; }
383
  if ( $video_type == "p" ) { $id = 'YVvn8dpSAt0'; $type = 'm'; }
384
  if ( $video_type == "3" ) { $id = 'NR5UoBY87GM'; $type = ''; ; }
385
  if ( $video_type == "l" ) { $id = '095393D5B42B2266'; $type = ''; }
8
  * @since 2.0
9
  */
10
  ?>
11
+
12
+ <?php $demo_video = 'Y7ny1YdTShg'; ?>
13
+
14
  <div class="wrap">
15
 
16
  <div style="width: 1010px;">
19
 
20
  <h2><?php _e( 'Vixy YouTube Embed Profiles', 'youtube-embed' ); ?></h2>
21
 
 
 
22
  <?php
23
 
24
  // Set current profile number
66
  $options[ 'fixed' ] = $_POST[ 'youtube_embed_fixed' ];
67
  $options[ 'vixy_download' ] = $_POST[ 'youtube_embed_download' ];
68
  $options[ 'download_style' ] = $_POST[ 'youtube_embed_download_style' ];
69
+ $options[ 'link_to_youtube' ] = $_POST[ 'youtube_embed_add_link' ];
70
+ $options[ 'vq' ] = $_POST[ 'youtube_embed_vq' ];
71
 
72
  $default_size = $_POST[ 'youtube_embed_size' ];
73
 
156
 
157
  <br/><span class="yt_heading"><?php _e( 'Options For All Player Types', 'youtube-embed' ); ?></span>
158
 
159
+ <table class="form-table ytbox_grey">
160
  <tr>
161
+ <th scope="row"><?php _e( 'Show Links to YouTube', 'youtube-embed' ); ?></th>
162
+ <td><input type="checkbox" name="youtube_embed_add_link" value="1"<?php if ( $options[ 'link_to_youtube' ] == "1" ) { echo ' checked="checked"'; } ?>/>&nbsp;<span class="description"><?php echo __( 'Show a link to the original YouTube video (if not a playlist)', 'youtube-embed' ); ?></span></td>
163
  </tr>
164
 
165
  <tr>
166
+ <th scope="row"><?php _e( 'Show Download Links', 'youtube-embed' ); ?></th>
167
+ <td><input type="checkbox" name="youtube_embed_download" value="1"<?php if ( $options[ 'vixy_download' ] == "1" ) { echo ' checked="checked"'; } ?>/>&nbsp;<span class="description"><?php echo __( 'Show <a href="http://www.vixy.net">Vixy.net</a> links under a video, allowing user to download video or MP3', 'youtube-embed' ); ?></span></td>
168
  </tr>
 
169
 
 
170
  <tr>
171
+ <th scope="row"><?php _e( 'Bar Style', 'youtube-embed' ); ?></th>
172
+ <td><input type="text" size="40" name="youtube_embed_download_style" value="<?php echo htmlspecialchars( $options[ 'download_style' ] ); ?>"/>&nbsp;<span class="description"><?php _e( 'CSS elements to apply to links under video', 'youtube-embed' ); ?></span></td>
173
+ </tr>
174
+
175
+ <?php if ( $general[ 'shareasale_id' ] == '' ) : ?>
176
+
177
+ <tr><td colspan="2"><?php _e( 'If a ShareASale affiliate ID is specified in the <a href="admin.php?page=general-options">Options screen</a> then an additional, sponsored link will be added under the video, which could earn you 30% revenue for any sales.', 'youtube-embed' );?></td></tr>
178
+
179
+ <?php endif; ?>
180
+
181
+ <?php if ( ( $options[ 'link_to_youtube' ] == '1' ) or ( $options[ 'vixy_download' ] == '1' ) ) : ?>
182
+
183
+ <tr><td colspan="2"><?php _e( 'Currently, the links will appear like this..', 'youtube-embed' ); ?><br/>
184
+ <?php echo vye_add_links( $options[ 'link_to_youtube' ], $options[ 'vixy_download' ], $options[ 'download_style' ], $demo_video, '' ); ?>
185
+ </td></tr>
186
+
187
+ <?php endif; ?>
188
+ </table><br/>
189
+
190
+ <table class="form-table">
191
+ <tr>
192
+ <th scope="row"><?php _e( 'Template', 'youtube-embed' ); ?></th>
193
+ <td><input type="text" size="40" name="youtube_embed_template" value="<?php echo htmlspecialchars( $options[ 'template' ] ); ?>"/>&nbsp;<span class="description"><?php _e( 'Wrapper for video output. Must include <code>%video%</code> tag to show video position', 'youtube-embed' ); ?></span></td>
194
  </tr>
195
 
196
  <tr>
197
+ <th scope="row"><?php _e( 'Style', 'youtube-embed' ); ?></th>
198
+ <td><input type="text" size="40" name="youtube_embed_style" value="<?php echo htmlspecialchars( $options[ 'style' ] ); ?>"/>&nbsp;<span class="description"><?php _e( 'CSS elements to apply to video', 'youtube-embed' ); ?></span></td>
199
  </tr>
200
+ </table>
201
 
202
  <table class="form-table ytbox_grey">
203
  <tr>
226
  <th scope="row">&nbsp;&nbsp;&nbsp;&nbsp;<?php _e( 'Set Maximum Size', 'youtube-embed' ); ?></th>
227
  <td><input type="checkbox" name="youtube_embed_fixed" value="1"<?php if ( $options[ 'fixed' ] == "1" ) { echo ' checked="checked"'; } ?>/>&nbsp;<span class="description"><?php _e( 'Use above width to define maximum size', 'youtube-embed' ); ?></span></td>
228
  </tr>
229
+
230
+ <tr valign="top">
231
+ <th scope="row"><?php _e( 'Video Quality', 'youtube-embed' ); ?></th>
232
+ <td><select name="youtube_embed_vq">
233
+ <option value=""<?php if ( $options[ 'vq' ] == '' ) { echo " selected='selected'"; } ?>><?php _e( 'Not set', 'youtube-embed' ); ?></option>
234
+ <option value="small"<?php if ( $options[ 'vq' ] == "small" ) { echo " selected='selected'"; } ?>><?php echo '240p (Small)'; ?></option>
235
+ <option value="medium"<?php if ( $options[ 'vq' ] == "medium" ) { echo " selected='selected'"; } ?>><?php echo '360p (Medium)'; ?></option>
236
+ <option value="large"<?php if ( $options[ 'vq' ] == "large" ) { echo " selected='selected'"; } ?>><?php echo '480p (Large)'; ?></option>
237
+ <option value="hd720"<?php if ( $options[ 'vq' ] == "hd720" ) { echo " selected='selected'"; } ?>><?php echo '720p (HD)'; ?></option>
238
+ <option value="hd1080"<?php if ( $options[ 'vq' ] == "hd1080" ) { echo " selected='selected'"; } ?>><?php echo '1080p (HD)'; ?></option>
239
+ </select>&nbsp;<span class="description"><?php _e( 'Specify the required resolution (if available).', 'youtube-embed' ); ?></span></td>
240
+ </tr>
241
  </table>
242
 
243
  <table class="form-table">
413
  <input type="submit" name="Video" class="button-secondary" value="<?php _e( 'Change video', 'youtube-embed' ); ?>"/></p>
414
 
415
  <p><?php
416
+ if ( $video_type == "d" ) { $id = $demo_video; $type = ''; }
417
  if ( $video_type == "p" ) { $id = 'YVvn8dpSAt0'; $type = 'm'; }
418
  if ( $video_type == "3" ) { $id = 'NR5UoBY87GM'; $type = ''; ; }
419
  if ( $video_type == "l" ) { $id = '095393D5B42B2266'; $type = ''; }
includes/set-defaults.php CHANGED
@@ -229,7 +229,6 @@ function vye_set_profile_defaults( $profile ) {
229
  if ( !array_key_exists( 'modest', $options ) ) { $options[ 'modest' ] = 1; $changed = true; }
230
  if ( !array_key_exists( 'dynamic', $options ) ) { $options[ 'dynamic' ] = ''; $changed = true; }
231
  if ( !array_key_exists( 'fixed', $options ) ) { $options[ 'fixed' ] = ''; $changed = true; }
232
- if ( !array_key_exists( 'vixy_download', $options ) ) { $options[ 'vixy_download' ] = 1; $changed = true; }
233
  if ( !array_key_exists( 'download_style', $options ) ) { $options[ 'download_style' ] = ''; $changed = true; }
234
 
235
  // Update the options, if changed, and return the result
229
  if ( !array_key_exists( 'modest', $options ) ) { $options[ 'modest' ] = 1; $changed = true; }
230
  if ( !array_key_exists( 'dynamic', $options ) ) { $options[ 'dynamic' ] = ''; $changed = true; }
231
  if ( !array_key_exists( 'fixed', $options ) ) { $options[ 'fixed' ] = ''; $changed = true; }
 
232
  if ( !array_key_exists( 'download_style', $options ) ) { $options[ 'download_style' ] = ''; $changed = true; }
233
 
234
  // Update the options, if changed, and return the result
includes/shared-functions.php CHANGED
@@ -497,4 +497,49 @@ function vye_generate_profile_list( $current, $total ) {
497
 
498
  return;
499
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
500
  ?>
497
 
498
  return;
499
  }
500
+
501
+ /**
502
+ * Generate video links
503
+ *
504
+ * Generate links for display under the video
505
+ *
506
+ * @since 3.1
507
+ *
508
+ * @uses vye_generate_download_code Generate download code
509
+ *
510
+ * @param string $link_to_youtube YouTube link flag
511
+ * @param string $vixy_download Vixy download flag
512
+ * @param string $download_style CSS for output
513
+ * @param string $id Video ID
514
+ * @param string $embed_type Embed type
515
+ * @return string HTML output
516
+ */
517
+
518
+ function vye_add_links( $link_to_youtube, $vixy_download, $download_style, $id, $embed_type ) {
519
+
520
+ $result = '';
521
+
522
+ if ( ( $link_to_youtube == 1 ) && ( $embed_type != 'p' ) ) { $link = true; } else { $link = false; }
523
+
524
+ if ( ( $link ) or ( $vixy_download == 1 ) ) {
525
+
526
+ $result .= '<br/><span style="' . $download_style . '" class="vye_links">';
527
+
528
+ // Show link to YouTube
529
+
530
+ if ( $link ) {
531
+ $result .= '<a href="https://www.youtube.com/watch?v=' . $id . '">' . __( 'View on YouTube', 'youtube-embed' ) . '</a>';
532
+ if ( $vixy_download == 1 ) { $result .= ' | '; }
533
+ }
534
+
535
+ // Show Vixy.net links
536
+
537
+ if ( $vixy_download == 1 ) { $result .= vye_generate_download_code( $id ); }
538
+
539
+ $result .= "</span>\n";
540
+
541
+ }
542
+
543
+ return $result;
544
+ }
545
  ?>
includes/shortcodes.php CHANGED
@@ -87,7 +87,7 @@ if ( $shortcode[ 2 ] != '' ) { add_shortcode( $shortcode[ 2 ], 'vye_video_shortc
87
 
88
  function vye_video_shortcode( $paras = '', $content = '', $callback = '', $alt_shortcode = '' ) {
89
 
90
- extract( shortcode_atts( array( 'type' => '', 'width' => '', 'height' => '', 'fullscreen' => '', 'related' => '', 'autoplay' => '', 'loop' => '', 'start' => '', 'info' => '', 'annotation' => '', 'cc' => '', 'style' => '', 'link' => '', 'react' => '', 'stop' => '', 'sweetspot' => '', 'disablekb' => '', 'ratio' => '', 'autohide' => '', 'controls' => '', 'profile' => '', 'embedplus' => '', 'audio' => '', 'id' => '', 'url' => '', 'rel' => '', 'fs' => '', 'cc_load_policy' => '', 'iv_load_policy' => '', 'showinfo' => '', 'youtubeurl' => '', 'template' => '', 'list' => '', 'hd' => '', 'color' => '', 'theme' => '', 'ssl' => '', 'height' => '', 'width' => '', 'dynamic' => '', 'h' => '', 'w' => '', 'search' => '', 'user' => '' ), $paras ) );
91
 
92
  // If no profile specified and an alternative shortcode used, get that shortcodes default profile
93
 
@@ -137,7 +137,7 @@ function vye_video_shortcode( $paras = '', $content = '', $callback = '', $alt_s
137
 
138
  // Create YouTube code
139
 
140
- $youtube_code = vye_generate_youtube_code( $content, $type, $width, $height, vye_convert( $fullscreen ), vye_convert( $related ), vye_convert( $autoplay ), vye_convert( $loop ), $start, vye_convert( $info ), vye_convert_3( $annotation ), vye_convert( $cc ), $style, vye_convert( $link ), vye_convert( $react ), $stop, vye_convert( $sweetspot ), vye_convert( $disablekb ), $ratio, $autohide, $controls, $profile, $list, vye_convert( $audio ), $template, vye_convert( $hd ), $color, $theme, vye_convert( $ssl ), vye_convert( $dynamic ), vye_convert( $search ), vye_convert( $user ) );
141
 
142
  return do_shortcode( $youtube_code );
143
  }
@@ -228,7 +228,10 @@ add_shortcode( 'download_video', 'vye_video_download' );
228
  */
229
 
230
  function vye_transcript_sc( $paras = '', $content = '' ) {
231
- return do_shortcode( vye_generate_transcript( $content ) );
 
 
 
232
  }
233
 
234
  add_shortcode( 'transcript', 'vye_transcript_sc' );
87
 
88
  function vye_video_shortcode( $paras = '', $content = '', $callback = '', $alt_shortcode = '' ) {
89
 
90
+ extract( shortcode_atts( array( 'type' => '', 'width' => '', 'height' => '', 'fullscreen' => '', 'related' => '', 'autoplay' => '', 'loop' => '', 'start' => '', 'info' => '', 'annotation' => '', 'cc' => '', 'style' => '', 'link' => '', 'react' => '', 'stop' => '', 'sweetspot' => '', 'disablekb' => '', 'ratio' => '', 'autohide' => '', 'controls' => '', 'profile' => '', 'embedplus' => '', 'audio' => '', 'id' => '', 'url' => '', 'rel' => '', 'fs' => '', 'cc_load_policy' => '', 'iv_load_policy' => '', 'showinfo' => '', 'youtubeurl' => '', 'template' => '', 'list' => '', 'hd' => '', 'color' => '', 'theme' => '', 'ssl' => '', 'height' => '', 'width' => '', 'dynamic' => '', 'h' => '', 'w' => '', 'search' => '', 'user' => '', 'vq' => '' ), $paras ) );
91
 
92
  // If no profile specified and an alternative shortcode used, get that shortcodes default profile
93
 
137
 
138
  // Create YouTube code
139
 
140
+ $youtube_code = vye_generate_youtube_code( $content, $type, $width, $height, vye_convert( $fullscreen ), vye_convert( $related ), vye_convert( $autoplay ), vye_convert( $loop ), $start, vye_convert( $info ), vye_convert_3( $annotation ), vye_convert( $cc ), $style, vye_convert( $link ), vye_convert( $react ), $stop, vye_convert( $sweetspot ), vye_convert( $disablekb ), $ratio, $autohide, $controls, $profile, $list, vye_convert( $audio ), $template, vye_convert( $hd ), $color, $theme, vye_convert( $ssl ), vye_convert( $dynamic ), vye_convert( $search ), vye_convert( $user ), $vq );
141
 
142
  return do_shortcode( $youtube_code );
143
  }
228
  */
229
 
230
  function vye_transcript_sc( $paras = '', $content = '' ) {
231
+
232
+ extract( shortcode_atts( array( 'language' => '' ), $paras ) );
233
+
234
+ return do_shortcode( vye_generate_transcript( $content, $language ) );
235
  }
236
 
237
  add_shortcode( 'transcript', 'vye_transcript_sc' );
languages/youtube-embed.mo CHANGED
Binary file
languages/youtube-embed.po CHANGED
@@ -2,36 +2,33 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Vixy YouTube Embed\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2013-02-12 09:27-0000\n"
6
- "PO-Revision-Date: 2013-02-12 09:27-0000\n"
7
  "Last-Translator: David Artiss <david.artiss@artiss.co.uk>\n"
8
  "Language-Team: \n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
- "X-Poedit-KeywordsList: __;_e;esc_attr__;esc_attr_e;esc_html__;esc_html_e;_x;_ex;esc_attr_x;esc_html_x;_n;_nx;_n_noop;_nx_noop\n"
 
13
  "X-Poedit-Basepath: ../\n"
14
- "X-Generator: Poedit 1.5.4\n"
15
  "X-Poedit-SearchPath-0: .\n"
16
 
17
- #: includes/add-to-admin-bar.php:36
18
- #: includes/add-to-admin-bar.php:74
19
  #: includes/generate-widgets.php:24
20
  msgid "YouTube Embed"
21
  msgstr ""
22
 
23
- #: includes/add-to-admin-bar.php:79
24
- #: includes/admin-config.php:93
25
  msgid "Options"
26
  msgstr ""
27
 
28
- #: includes/add-to-admin-bar.php:86
29
- #: includes/admin-config.php:103
30
  msgid "Profiles"
31
  msgstr ""
32
 
33
- #: includes/add-to-admin-bar.php:93
34
- #: includes/admin-config.php:113
35
  msgid "Lists"
36
  msgstr ""
37
 
@@ -51,56 +48,59 @@ msgstr ""
51
  msgid "YouTube"
52
  msgstr ""
53
 
54
- #: includes/admin-config.php:93
55
- #: includes/options-general.php:14
56
  msgid "Vixy YouTube Embed Options"
57
  msgstr ""
58
 
59
- #: includes/admin-config.php:103
60
  msgid "Vixy YouTube Embed Profiles"
61
  msgstr ""
62
 
63
- #: includes/admin-config.php:113
64
- #: includes/options-lists.php:15
65
  msgid "Vixy YouTube Embed Lists"
66
  msgstr ""
67
 
68
- #: includes/admin-config.php:209
69
- #: includes/admin-config.php:250
70
  #: includes/admin-config.php:292
71
  msgid "Help"
72
  msgstr ""
73
 
74
  #: includes/admin-config.php:224
75
- msgid "This screen allows you to select non-specific options for the Vixy YouTube Embed plugin. For the default embedding settings, please select the <a href=\"admin.php?page=profile-options\">Profiles</a> administration option."
 
 
 
76
  msgstr ""
77
 
78
- #: includes/admin-config.php:225
79
- #: includes/admin-config.php:266
80
  #: includes/admin-config.php:308
81
- msgid "Remember to click the Save Settings button at the bottom of the screen for new settings to take effect."
 
 
82
  msgstr ""
83
 
84
- #: includes/admin-config.php:226
85
- #: includes/admin-config.php:267
86
  #: includes/admin-config.php:309
87
  msgid "For more information:"
88
  msgstr ""
89
 
90
- #: includes/admin-config.php:227
91
- #: includes/admin-config.php:268
92
  #: includes/admin-config.php:310
93
  msgid "Vixy YouTube Embed Plugin Documentation"
94
  msgstr ""
95
 
96
- #: includes/admin-config.php:228
97
- #: includes/admin-config.php:269
98
  #: includes/admin-config.php:311
99
  msgid "YouTube Player Documentation"
100
  msgstr ""
101
 
102
  #: includes/admin-config.php:265
103
- msgid "This screen allows you to set the options for the default and additional profiles. If you don't specify a specific parameter when displaying your YouTube video then the default profile option will be used instead. Additional profiles, which you may name, can be used as well and used as required."
 
 
 
 
 
104
  msgstr ""
105
 
106
  #: includes/admin-config.php:270
@@ -108,7 +108,9 @@ msgid "EmbedPlus website"
108
  msgstr ""
109
 
110
  #: includes/admin-config.php:307
111
- msgid "This screen allows you to create lists of YouTube videos, which may be named. These lists can then be used in preference to a single video ID."
 
 
112
  msgstr ""
113
 
114
  #: includes/admin-config.php:369
@@ -120,29 +122,31 @@ msgid "Thank you for installing this plugin."
120
  msgstr ""
121
 
122
  #: includes/admin-config.php:371
123
- msgid "These new menu options will allow you to configure your videos to just how you want them and provide links for help and support."
 
 
124
  msgstr ""
125
 
126
  #: includes/admin-config.php:372
127
- msgid "Even if you do nothing else, please visit the Profiles option to check your default video values."
 
 
128
  msgstr ""
129
 
130
  #: includes/deprecated.php:55
131
  msgid "This function does not support playlists"
132
  msgstr ""
133
 
134
- #: includes/function-calls.php:162
135
- #: includes/function-calls.php:223
136
- #: includes/generate-download-code.php:34
137
- #: includes/generate-embed-code.php:114
138
  #: includes/generate-shorturl-code.php:34
139
  #: includes/generate-thumbnail-code.php:39
140
- #: includes/generate-transcript-code.php:38
141
  #, php-format
142
  msgid "The YouTube ID of %s is invalid."
143
  msgstr ""
144
 
145
- #: includes/function-calls.php:173
146
  #, php-format
147
  msgid "Could not fetch the transcript file %s."
148
  msgstr ""
@@ -151,15 +155,17 @@ msgstr ""
151
  msgid "No YouTube ID was found."
152
  msgstr ""
153
 
154
- #: includes/generate-embed-code.php:64
155
  msgid "No video/playlist ID has been supplied"
156
  msgstr ""
157
 
158
- #: includes/generate-embed-code.php:181
159
- msgid "A video list cannot be viewed within this feed - please view the original content"
 
 
160
  msgstr ""
161
 
162
- #: includes/generate-embed-code.php:185
163
  msgid "Click here to view the video on YouTube"
164
  msgstr ""
165
 
@@ -176,859 +182,937 @@ msgstr ""
176
  msgid "Embed YouTube Widget."
177
  msgstr ""
178
 
179
- #: includes/options-general.php:63
180
- #: includes/options-lists.php:28
181
  msgid "Settings Saved."
182
  msgstr ""
183
 
184
- #: includes/options-general.php:87
185
  msgid "Cache cleared."
186
  msgstr ""
187
 
188
- #: includes/options-general.php:101
189
- msgid "These are the general settings for Vixy YouTube Embed. Please select <a href=\"admin.php?page=profile-options\">Profiles</a> for default embedding settings."
 
 
 
190
  msgstr ""
191
 
192
- #: includes/options-general.php:105
193
  msgid "Embedding"
194
  msgstr ""
195
 
196
- #: includes/options-general.php:109
197
  msgid "Add Metadata"
198
  msgstr ""
199
 
200
- #: includes/options-general.php:110
201
- msgid "Allow rich metadata to be added to code. <a href=\"http://vixy.net/youtube-embed/documentation.php#Metadata\">Learn more</a>"
 
 
202
  msgstr ""
203
 
204
- #: includes/options-general.php:114
205
  msgid "Comment Embedding"
206
  msgstr ""
207
 
208
- #: includes/options-general.php:115
209
  msgid "Allow YouTube URLs in comments - will display as embedded videos."
210
  msgstr ""
211
 
212
- #: includes/options-general.php:119
213
- #: includes/options-general.php:160
214
- #: includes/options-general.php:172
215
- #: includes/options-general.php:193
216
  msgid "Profile to use"
217
  msgstr ""
218
 
219
- #: includes/options-general.php:126
220
  msgid "Feed"
221
  msgstr ""
222
 
223
- #: includes/options-general.php:128
224
  msgid "Text link"
225
  msgstr ""
226
 
227
- #: includes/options-general.php:129
228
  msgid "Thumbnail"
229
  msgstr ""
230
 
231
- #: includes/options-general.php:130
232
  msgid "Thumbnail &amp; Text Link"
233
  msgstr ""
234
 
235
- #: includes/options-general.php:131
236
- msgid "Videos cannot be embedded in feeds. Select how you wish them to be shown instead"
 
 
237
  msgstr ""
238
 
239
- #: includes/options-general.php:135
240
  msgid "Thumbnail to use"
241
  msgstr ""
242
 
243
- #: includes/options-general.php:137
244
  msgid "Default"
245
  msgstr ""
246
 
247
- #: includes/options-general.php:138
248
  msgid "Default (HQ)"
249
  msgstr ""
250
 
251
- #: includes/options-general.php:139
252
  msgid "Start"
253
  msgstr ""
254
 
255
- #: includes/options-general.php:140
256
  msgid "Middle"
257
  msgstr ""
258
 
259
- #: includes/options-general.php:141
260
  msgid "End"
261
  msgstr ""
262
 
263
- #: includes/options-general.php:142
264
  msgid "Which thumbnail to use"
265
  msgstr ""
266
 
267
- #: includes/options-general.php:146
268
  msgid "Allow shortcodes in widgets"
269
  msgstr ""
270
 
271
- #: includes/options-general.php:147
272
- msgid "Allow shortcodes to be used in widgets - this will apply to <strong>all</strong> widgets"
 
 
273
  msgstr ""
274
 
275
- #: includes/options-general.php:151
276
  msgid "Alternative Shortcodes"
277
  msgstr ""
278
 
279
- #: includes/options-general.php:151
280
- msgid "Specify up to 2 alternative shortcodes to compliment the standard <code>youtube</code> shortcode. <strong>NB: These should be specified without the surrounding square brackets.</strong>"
 
 
 
281
  msgstr ""
282
 
283
- #: includes/options-general.php:155
284
  msgid "Alternative Shortcode 1"
285
  msgstr ""
286
 
287
- #: includes/options-general.php:167
288
  msgid "Alternative Shortcode 2"
289
  msgstr ""
290
 
291
- #: includes/options-general.php:179
292
  msgid "Migration"
293
  msgstr ""
294
 
295
- #: includes/options-general.php:179
296
- msgid "Switch on compatibility with other embedding plugins. For more details please <a href=\"http://vixy.net/youtube-embed/documentation.php#Migrating\">click here</a>."
 
 
 
297
  msgstr ""
298
 
299
- #: includes/options-general.php:183
300
  msgid "Bracket Embedding"
301
  msgstr ""
302
 
303
- #: includes/options-general.php:184
304
- msgid "Allow embedding using URLs within brackets. Activating impacts performance"
 
305
  msgstr ""
306
 
307
- #: includes/options-general.php:188
308
  msgid "Alternative Embedding"
309
  msgstr ""
310
 
311
- #: includes/options-general.php:189
312
  msgid "Allow all other types of embedding. Activating impacts performance"
313
  msgstr ""
314
 
315
- #: includes/options-general.php:196
316
  msgid "For above 2 options"
317
  msgstr ""
318
 
319
- #: includes/options-general.php:200
320
  msgid "Admin Options"
321
  msgstr ""
322
 
323
- #: includes/options-general.php:204
324
  msgid "Show Editor Button"
325
  msgstr ""
326
 
327
- #: includes/options-general.php:205
328
  msgid "Show the YouTube button on the post editor"
329
  msgstr ""
330
 
331
- #: includes/options-general.php:209
332
  msgid "Editor Button Shortcode"
333
  msgstr ""
334
 
335
- #: includes/options-general.php:210
336
  msgid "Shortcode for editor button to use."
337
  msgstr ""
338
 
339
- #: includes/options-general.php:214
340
  msgid "Add to Admin Bar"
341
  msgstr ""
342
 
343
- #: includes/options-general.php:215
344
  msgid "Add link to options screen to Admin Bar"
345
  msgstr ""
346
 
347
- #: includes/options-general.php:219
348
  msgid "Menu Screen Access"
349
  msgstr ""
350
 
351
- #: includes/options-general.php:221
352
  msgid "Administrator"
353
  msgstr ""
354
 
355
- #: includes/options-general.php:222
356
  msgid "Editor"
357
  msgstr ""
358
 
359
- #: includes/options-general.php:223
360
  msgid "Author"
361
  msgstr ""
362
 
363
- #: includes/options-general.php:224
364
  msgid "Contributor"
365
  msgstr ""
366
 
367
- #: includes/options-general.php:225
368
  msgid "Specify the user access required for the menu screens"
369
  msgstr ""
370
 
371
- #: includes/options-general.php:229
372
  msgid "Profile &amp; List Sizes"
373
  msgstr ""
374
 
375
- #: includes/options-general.php:233
376
  msgid "Number of Profiles"
377
  msgstr ""
378
 
379
- #: includes/options-general.php:234
380
  msgid "Maximum number of profiles"
381
  msgstr ""
382
 
383
- #: includes/options-general.php:238
384
  msgid "Number of Lists"
385
  msgstr ""
386
 
387
- #: includes/options-general.php:239
388
  msgid "Maximum number of lists"
389
  msgstr ""
390
 
391
- #: includes/options-general.php:243
392
  msgid "Performance"
393
  msgstr ""
394
 
395
- #: includes/options-general.php:247
396
  msgid "Embed Cache"
397
  msgstr ""
398
 
399
- #: includes/options-general.php:248
400
  msgid "How many hours to retain embed output. 0 to switch off"
401
  msgstr ""
402
 
403
- #: includes/options-general.php:252
404
  msgid "Video Information Cache"
405
  msgstr ""
406
 
407
- #: includes/options-general.php:253
408
- msgid "How many hours to retain video information, including it's validity. 0 to switch off"
 
 
409
  msgstr ""
410
 
411
- #: includes/options-general.php:257
412
  msgid "Transcript Cache"
413
  msgstr ""
414
 
415
- #: includes/options-general.php:258
416
  msgid "How many hours to store transcripts for in cache. 0 to switch off"
417
  msgstr ""
418
 
419
- #: includes/options-general.php:267
420
  msgid "You currently have cache for"
421
  msgstr ""
422
 
423
- #: includes/options-general.php:267
424
  msgid "and"
425
  msgstr ""
426
 
427
- #: includes/options-general.php:271
428
  msgid "Clear Cache"
429
  msgstr ""
430
 
431
- #: includes/options-general.php:272
432
  msgid "Select this option to remove all YouTube Embed cache."
433
  msgstr ""
434
 
435
- #: includes/options-general.php:275
436
  msgid "YouTube API"
437
  msgstr ""
438
 
439
- #: includes/options-general.php:277
440
- msgid "The YouTube API is used to validate video IDs and to determine if it is a video or playlist."
 
 
441
  msgstr ""
442
 
443
- #: includes/options-general.php:281
444
  msgid "API State"
445
  msgstr ""
446
 
447
- #: includes/options-general.php:283
448
  msgid "API should not be used"
449
  msgstr ""
450
 
451
- #: includes/options-general.php:284
452
  msgid "HTTP API used and errors are reported"
453
  msgstr ""
454
 
455
- #: includes/options-general.php:285
456
  msgid "HTTPS API used and errors are reported"
457
  msgstr ""
458
 
459
- #: includes/options-general.php:286
460
  msgid "HTTP API used and no errors are reported"
461
  msgstr ""
462
 
463
- #: includes/options-general.php:287
464
  msgid "HTTPS API used and no errors are reported"
465
  msgstr ""
466
 
467
- #: includes/options-general.php:292
468
  msgid "Error Reporting"
469
  msgstr ""
470
 
471
- #: includes/options-general.php:294
472
- msgid "Playback errors are within the XHTML source code as comments - parameter errors and other types are displayed on the post output."
 
 
473
  msgstr ""
474
 
475
- #: includes/options-general.php:297
476
  msgid "Video Playback Error Message"
477
  msgstr ""
478
 
479
- #: includes/options-general.php:298
480
  msgid "This is the message that will be shown on the post"
481
  msgstr ""
482
 
483
- #: includes/options-general.php:301
484
  msgid "Security"
485
  msgstr ""
486
 
487
- #: includes/options-general.php:306
488
  msgid "Privacy-Enhanced Mode"
489
  msgstr ""
490
 
491
- #: includes/options-general.php:308
492
  msgid "Cookies should always be stored"
493
  msgstr ""
494
 
495
- #: includes/options-general.php:309
496
  msgid "Cookies should never be stored"
497
  msgstr ""
498
 
499
- #: includes/options-general.php:310
500
  msgid "Cookies should be stored based on user's Do Not Track setting"
501
  msgstr ""
502
 
503
- #: includes/options-general.php:311
504
  msgid "Read more about <a href=\"http://donottrack.us/\">Do Not Track</a>"
505
  msgstr ""
506
 
507
- #: includes/options-general.php:314
508
  msgid "Compatibility"
509
  msgstr ""
510
 
511
- #: includes/options-general.php:317
512
  msgid "Allow Frame Border on IFRAME"
513
  msgstr ""
514
 
515
- #: includes/options-general.php:318
516
  msgid "FRAMEBORDER is not HTML5 compliant"
517
  msgstr ""
518
 
519
- #: includes/options-general.php:321
520
  msgid "Affiliates"
521
  msgstr ""
522
 
523
- #: includes/options-general.php:323
524
  msgid "ShareASale ID"
525
  msgstr ""
526
 
527
- #: includes/options-general.php:324
528
- msgid "<a href=\"http://www.shareasale.com/r.cfm?B=44&U=668714&M=47&urllink=\">Sign up to ShareASale</a> and earn money. <a href=\"http://vixy.net/youtube-embed/documentation.php#make_money\">Read more</a>."
 
 
 
529
  msgstr ""
530
 
531
- #: includes/options-general.php:329
532
- #: includes/options-lists.php:121
533
  msgid "Save Settings"
534
  msgstr ""
535
 
536
- #: includes/options-lists.php:33
537
  msgid "All fields must be completed."
538
  msgstr ""
539
 
540
- #: includes/options-lists.php:55
541
  msgid "Errors were found with your video list. See the list below for details."
542
  msgstr ""
543
 
544
- #: includes/options-lists.php:90
545
  msgid "List"
546
  msgstr ""
547
 
548
- #: includes/options-lists.php:100
549
  msgid "Change list"
550
  msgstr ""
551
 
552
- #: includes/options-lists.php:103
553
  msgid "These are the options for list "
554
  msgstr ""
555
 
556
- #: includes/options-lists.php:103
557
- msgid "Update the name, if required, and specify a list of YouTube video IDs. Use the drop-down on the right hand side to swap between lists."
 
 
558
  msgstr ""
559
 
560
- #: includes/options-lists.php:108
561
  msgid "List name"
562
  msgstr ""
563
 
564
- #: includes/options-lists.php:110
565
  msgid "The name you wish to give this list"
566
  msgstr ""
567
 
568
- #: includes/options-lists.php:114
569
  msgid "Video IDs (one per line)"
570
  msgstr ""
571
 
572
- #: includes/options-lists.php:132
573
  msgid "Video ID"
574
  msgstr ""
575
 
576
- #: includes/options-lists.php:132
577
  msgid "Video Title"
578
  msgstr ""
579
 
580
- #: includes/options-lists.php:132
581
  msgid "Status"
582
  msgstr ""
583
 
584
- #: includes/options-lists.php:148
585
  msgid "This is a playlist"
586
  msgstr ""
587
 
588
- #: includes/options-lists.php:152
589
  msgid "Invalid video ID"
590
  msgstr ""
591
 
592
- #: includes/options-lists.php:156
593
  msgid "YouTube API error"
594
  msgstr ""
595
 
596
- #: includes/options-lists.php:159
597
  msgid "Valid video"
598
  msgstr ""
599
 
600
- #: includes/options-lists.php:177
601
  msgid "The video ID is valid"
602
  msgstr ""
603
 
604
- #: includes/options-lists.php:180
605
  msgid "The video ID is invalid"
606
  msgstr ""
607
 
608
- #: includes/options-profiles.php:94
609
  msgid " Profile Saved."
610
  msgstr ""
611
 
612
- #: includes/options-profiles.php:115
613
  msgid "Change profile"
614
  msgstr ""
615
 
616
- #: includes/options-profiles.php:120
617
  msgid "These are the options for the default profile."
618
  msgstr ""
619
 
620
- #: includes/options-profiles.php:122
621
  #, php-format
622
  msgid "These are the options for profile %s."
623
  msgstr ""
624
 
625
- #: includes/options-profiles.php:124
626
  msgid "Use the drop-down on the right hand side to swap between profiles."
627
  msgstr ""
628
 
629
- #: includes/options-profiles.php:130
630
  msgid "Profile name"
631
  msgstr ""
632
 
633
- #: includes/options-profiles.php:132
634
  msgid "The name you wish to give this profile"
635
  msgstr ""
636
 
637
- #: includes/options-profiles.php:136
638
  msgid "Video Embed Type"
639
  msgstr ""
640
 
641
- #: includes/options-profiles.php:137
642
  msgid "The type of player to use for videos."
643
  msgstr ""
644
 
645
- #: includes/options-profiles.php:138
646
- #: includes/options-profiles.php:148
647
- #: includes/options-profiles.php:339
648
- #: includes/options-widgets.php:89
649
  msgid "IFRAME"
650
  msgstr ""
651
 
652
- #: includes/options-profiles.php:138
653
- msgid "Uses AS3 Flash player, if Flash is available. Alternatively, uses HTML5 player. This is the current YouTube default."
 
 
654
  msgstr ""
655
 
656
- #: includes/options-profiles.php:139
657
- #: includes/options-profiles.php:149
658
- #: includes/options-profiles.php:340
659
- #: includes/options-widgets.php:91
660
  msgid "OBJECT"
661
  msgstr ""
662
 
663
- #: includes/options-profiles.php:139
664
  msgid "Use the AS3 Flash player."
665
  msgstr ""
666
 
667
- #: includes/options-profiles.php:140
668
- #: includes/options-widgets.php:93
669
  msgid "Chromeless"
670
  msgstr ""
671
 
672
- #: includes/options-profiles.php:140
673
- msgid "Use the <a href=\"http://vixy.net/youtube-embed/documentation.php#Chromeless_Player\">Chromeless</a> version of the AS3 Flash Player."
 
 
674
  msgstr ""
675
 
676
- #: includes/options-profiles.php:141
677
- #: includes/options-profiles.php:374
678
  #: includes/options-widgets.php:95
679
  msgid "EmbedPlus"
680
  msgstr ""
681
 
682
- #: includes/options-profiles.php:141
683
- msgid "Use <a href=\"http://vixy.net/youtube-embed/documentation.php#EmbedPlus\">EmbedPlus</a>, if Flash is available."
 
 
684
  msgstr ""
685
 
686
- #: includes/options-profiles.php:146
687
  msgid "Playlist Embed Type"
688
  msgstr ""
689
 
690
- #: includes/options-profiles.php:147
691
  msgid "The type of player to use when showing playlists."
692
  msgstr ""
693
 
694
- #: includes/options-profiles.php:154
695
  msgid "Options For All Player Types"
696
  msgstr ""
697
 
698
- #: includes/options-profiles.php:158
699
- #: includes/options-widgets.php:49
700
- msgid "Template"
701
  msgstr ""
702
 
703
- #: includes/options-profiles.php:159
704
- msgid "Wrapper for video output. Must include <code>%video%</code> tag to show video position"
705
  msgstr ""
706
 
707
- #: includes/options-profiles.php:163
708
- #: includes/options-widgets.php:55
709
- msgid "Style"
710
  msgstr ""
711
 
712
- #: includes/options-profiles.php:164
713
- msgid "CSS elements to apply to video"
 
 
714
  msgstr ""
715
 
716
- #: includes/options-profiles.php:170
717
- msgid "Show Download Bar"
718
  msgstr ""
719
 
720
- #: includes/options-profiles.php:171
721
- msgid "Show a download bar under the video"
722
  msgstr ""
723
 
724
- #: includes/options-profiles.php:175
725
- msgid "Bar Style"
 
 
 
 
 
 
 
 
726
  msgstr ""
727
 
728
- #: includes/options-profiles.php:176
729
- msgid "CSS elements to apply to video download bar"
730
  msgstr ""
731
 
732
- #: includes/options-profiles.php:182
 
 
 
 
 
 
 
 
 
 
 
 
 
 
733
  msgid "Video size"
734
  msgstr ""
735
 
736
- #: includes/options-profiles.php:183
737
  msgid "The width x height of the video, in pixels"
738
  msgstr ""
739
 
740
- #: includes/options-profiles.php:187
741
  msgid "Default Sizes"
742
  msgstr ""
743
 
744
- #: includes/options-profiles.php:189
745
  msgid "Use above sizes"
746
  msgstr ""
747
 
748
- #: includes/options-profiles.php:195
749
  msgid "Select one of these default sizes to override the above video sizes"
750
  msgstr ""
751
 
752
- #: includes/options-profiles.php:199
753
- #: includes/options-widgets.php:73
754
  msgid "Dynamically Resize"
755
  msgstr ""
756
 
757
- #: includes/options-profiles.php:200
758
  msgid "Show full width and resize with the browser"
759
  msgstr ""
760
 
761
- #: includes/options-profiles.php:204
762
  msgid "Set Maximum Size"
763
  msgstr ""
764
 
765
- #: includes/options-profiles.php:205
766
  msgid "Use above width to define maximum size"
767
  msgstr ""
768
 
769
- #: includes/options-profiles.php:212
 
 
 
 
 
 
 
 
 
 
 
 
770
  msgid "Audio Only"
771
  msgstr ""
772
 
773
- #: includes/options-profiles.php:213
774
  msgid "Only show the toolbar for audio only playback"
775
  msgstr ""
776
 
777
- #: includes/options-profiles.php:217
778
- #: includes/options-widgets.php:101
779
  msgid "Autoplay"
780
  msgstr ""
781
 
782
- #: includes/options-profiles.php:218
783
  msgid "The video will start playing when the player loads"
784
  msgstr ""
785
 
786
- #: includes/options-profiles.php:223
787
  msgid "Options Not Supported by EmbedPlus"
788
  msgstr ""
789
 
790
- #: includes/options-profiles.php:228
791
  msgid "Auto hide"
792
  msgstr ""
793
 
794
- #: includes/options-profiles.php:230
795
  msgid "Controls &amp; progress bar remain visible"
796
  msgstr ""
797
 
798
- #: includes/options-profiles.php:231
799
  msgid "Controls &amp; progress bar fade out"
800
  msgstr ""
801
 
802
- #: includes/options-profiles.php:232
803
  msgid "Progress bar fades"
804
  msgstr ""
805
 
806
- #: includes/options-profiles.php:233
807
  msgid "Video controls will automatically hide after a video begins playing"
808
  msgstr ""
809
 
810
- #: includes/options-profiles.php:237
811
  msgid "Controls"
812
  msgstr ""
813
 
814
- #: includes/options-profiles.php:239
815
  msgid "Controls do not display &amp; Flash player loads immediately"
816
  msgstr ""
817
 
818
- #: includes/options-profiles.php:240
819
  msgid "Controls display &amp; Flash player loads immediately"
820
  msgstr ""
821
 
822
- #: includes/options-profiles.php:241
823
  msgid "Controls display &amp; Flash player loads once video starts"
824
  msgstr ""
825
 
826
- #: includes/options-profiles.php:242
827
- msgid "Whether the video player controls will display. For AS3 player it also defines when the Flash player will load"
 
 
828
  msgstr ""
829
 
830
- #: includes/options-profiles.php:247
831
- msgid "Use SSL? <a href=\"http://www.google.com/support/youtube/bin/answer.py?answer=171780&expand=UseHTTPS#HTTPS\">Read more</a>"
 
 
832
  msgstr ""
833
 
834
- #: includes/options-profiles.php:251
835
- #: includes/options-widgets.php:147
836
  msgid "Loop Video"
837
  msgstr ""
838
 
839
- #: includes/options-profiles.php:252
840
- msgid "Play the initial video again and again. In the case of a playlist, this will play the entire playlist and then start again at the first video"
 
 
841
  msgstr ""
842
 
843
- #: includes/options-profiles.php:256
844
  msgid "Information"
845
  msgstr ""
846
 
847
- #: includes/options-profiles.php:257
848
- msgid "Display the video title and uploader before the video starts. If displaying a playlist this will show video thumbnails"
 
 
849
  msgstr ""
850
 
851
- #: includes/options-profiles.php:261
852
  msgid "Related Videos"
853
  msgstr ""
854
 
855
- #: includes/options-profiles.php:262
856
- msgid "Load related videos once playback starts. Also toggles the search option."
 
857
  msgstr ""
858
 
859
- #: includes/options-profiles.php:266
860
  msgid "Theme"
861
  msgstr ""
862
 
863
- #: includes/options-profiles.php:268
864
  msgid "Dark"
865
  msgstr ""
866
 
867
- #: includes/options-profiles.php:269
868
  msgid "Light"
869
  msgstr ""
870
 
871
- #: includes/options-profiles.php:270
872
  msgid "Display player controls within a dark or light control bar"
873
  msgstr ""
874
 
875
- #: includes/options-profiles.php:274
876
  msgid "Progress Bar Color"
877
  msgstr ""
878
 
879
- #: includes/options-profiles.php:276
880
  msgid "Red"
881
  msgstr ""
882
 
883
- #: includes/options-profiles.php:277
884
  msgid "White (desaturated)"
885
  msgstr ""
886
 
887
- #: includes/options-profiles.php:278
888
- msgid "The color that will be used in the player's video progress bar to highlight the amount of the video that's already been seen"
 
 
889
  msgstr ""
890
 
891
- #: includes/options-profiles.php:282
892
  msgid "Modest Branding"
893
  msgstr ""
894
 
895
- #: includes/options-profiles.php:283
896
  msgid "Reduce branding on video."
897
  msgstr ""
898
 
899
- #: includes/options-profiles.php:288
900
  msgid "Options for AS3 Player"
901
  msgstr ""
902
 
903
- #: includes/options-profiles.php:289
904
- msgid "The following options are not supported if using EmbedPlus or if the IFRAME player uses HTML5."
 
 
905
  msgstr ""
906
 
907
- #: includes/options-profiles.php:293
908
  msgid "Annotations"
909
  msgstr ""
910
 
911
- #: includes/options-profiles.php:294
912
  msgid "Video annotations are shown by default"
913
  msgstr ""
914
 
915
- #: includes/options-profiles.php:298
916
  msgid "Closed Captions"
917
  msgstr ""
918
 
919
- #: includes/options-profiles.php:299
920
- msgid "Show closed captions (subtitles) by default, even if the user has turned captions off"
 
 
921
  msgstr ""
922
 
923
- #: includes/options-profiles.php:303
924
  msgid "Disable Keyboard"
925
  msgstr ""
926
 
927
- #: includes/options-profiles.php:304
928
  msgid "Disable the player keyboard controls"
929
  msgstr ""
930
 
931
- #: includes/options-profiles.php:308
932
  msgid "Fullscreen"
933
  msgstr ""
934
 
935
- #: includes/options-profiles.php:309
936
  msgid "A button will allow the viewer to watch the video fullscreen"
937
  msgstr ""
938
 
939
- #: includes/options-profiles.php:313
940
  msgid "Link to YouTube"
941
  msgstr ""
942
 
943
- #: includes/options-profiles.php:314
944
  msgid "Video links back to YouTube when clicked"
945
  msgstr ""
946
 
947
- #: includes/options-profiles.php:319
948
  msgid "Options Not Supported by HTML5 Player"
949
  msgstr ""
950
 
951
- #: includes/options-profiles.php:323
952
  msgid "Window Mode"
953
  msgstr ""
954
 
955
- #: includes/options-profiles.php:325
956
  msgid "Opaque"
957
  msgstr ""
958
 
959
- #: includes/options-profiles.php:326
960
  msgid "Transparent"
961
  msgstr ""
962
 
963
- #: includes/options-profiles.php:327
964
  msgid "Window"
965
  msgstr ""
966
 
967
- #: includes/options-profiles.php:328
968
- msgid "Sets the Window Mode property of the Flash movie for transparency, layering, and positioning in the browser. <a href=\"http://www.communitymx.com/content/article.cfm?cid=e5141\">Learn more</a>."
 
 
 
969
  msgstr ""
970
 
971
- #: includes/options-profiles.php:333
972
  msgid "Options Only Supported By EmbedPlus"
973
  msgstr ""
974
 
975
- #: includes/options-profiles.php:333
976
  msgid "Learn more about EmbedPlus"
977
  msgstr ""
978
 
979
- #: includes/options-profiles.php:337
980
  msgid "Fallback Embed Type"
981
  msgstr ""
982
 
983
- #: includes/options-profiles.php:338
984
- msgid "The type of player to use if Flash is not available and EmbedPlus cannot be used."
 
 
985
  msgstr ""
986
 
987
- #: includes/options-profiles.php:344
988
  msgid "Play HD"
989
  msgstr ""
990
 
991
- #: includes/options-profiles.php:345
992
  msgid "Play the video in HD if possible"
993
  msgstr ""
994
 
995
- #: includes/options-profiles.php:349
996
  msgid "Real-time Reactions"
997
  msgstr ""
998
 
999
- #: includes/options-profiles.php:350
1000
  msgid "Show the Real-time Reactions button"
1001
  msgstr ""
1002
 
1003
- #: includes/options-profiles.php:354
1004
  msgid "Sweet Spots"
1005
  msgstr ""
1006
 
1007
- #: includes/options-profiles.php:355
1008
  msgid "Find sweet spots for the next and previous buttons"
1009
  msgstr ""
1010
 
1011
- #: includes/options-profiles.php:370
1012
  msgid "YouTube Video Sample"
1013
  msgstr ""
1014
 
1015
- #: includes/options-profiles.php:371
1016
- msgid "The video below uses the above, saved profile settings. Use the drop-down below to change which parameters the video uses - press the Change Video button to update it."
 
 
 
1017
  msgstr ""
1018
 
1019
- #: includes/options-profiles.php:373
1020
  msgid "Standard"
1021
  msgstr ""
1022
 
1023
- #: includes/options-profiles.php:375
1024
  msgid "3D"
1025
  msgstr ""
1026
 
1027
- #: includes/options-profiles.php:376
1028
  msgid "Playlist"
1029
  msgstr ""
1030
 
1031
- #: includes/options-profiles.php:379
1032
  msgid "Change video"
1033
  msgstr ""
1034
 
@@ -1052,8 +1136,7 @@ msgstr ""
1052
  msgid "User"
1053
  msgstr ""
1054
 
1055
- #: includes/options-widgets.php:41
1056
- #: includes/shared-functions.php:488
1057
  msgid "Profile"
1058
  msgstr ""
1059
 
@@ -1061,22 +1144,18 @@ msgstr ""
1061
  msgid "Size"
1062
  msgstr ""
1063
 
1064
- #: includes/options-widgets.php:75
1065
- #: includes/options-widgets.php:87
1066
- #: includes/options-widgets.php:103
1067
- #: includes/options-widgets.php:135
1068
  #: includes/options-widgets.php:149
1069
  msgid "Profile default"
1070
  msgstr ""
1071
 
1072
- #: includes/options-widgets.php:77
1073
- #: includes/options-widgets.php:105
1074
  #: includes/options-widgets.php:151
1075
  msgid "No"
1076
  msgstr ""
1077
 
1078
- #: includes/options-widgets.php:79
1079
- #: includes/options-widgets.php:107
1080
  #: includes/options-widgets.php:153
1081
  msgid "Yes"
1082
  msgstr ""
@@ -1122,3 +1201,6 @@ msgstr ""
1122
  msgid "An error occurred accessing the YouTube API for video ID %s - %s"
1123
  msgstr ""
1124
 
 
 
 
2
  msgstr ""
3
  "Project-Id-Version: Vixy YouTube Embed\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2013-02-18 12:05-0000\n"
6
+ "PO-Revision-Date: 2013-02-18 12:06-0000\n"
7
  "Last-Translator: David Artiss <david.artiss@artiss.co.uk>\n"
8
  "Language-Team: \n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Poedit-KeywordsList: __;_e;esc_attr__;esc_attr_e;esc_html__;esc_html_e;_x;"
13
+ "_ex;esc_attr_x;esc_html_x;_n;_nx;_n_noop;_nx_noop\n"
14
  "X-Poedit-Basepath: ../\n"
15
+ "X-Generator: Poedit 1.5.5\n"
16
  "X-Poedit-SearchPath-0: .\n"
17
 
18
+ #: includes/add-to-admin-bar.php:36 includes/add-to-admin-bar.php:74
 
19
  #: includes/generate-widgets.php:24
20
  msgid "YouTube Embed"
21
  msgstr ""
22
 
23
+ #: includes/add-to-admin-bar.php:79 includes/admin-config.php:93
 
24
  msgid "Options"
25
  msgstr ""
26
 
27
+ #: includes/add-to-admin-bar.php:86 includes/admin-config.php:103
 
28
  msgid "Profiles"
29
  msgstr ""
30
 
31
+ #: includes/add-to-admin-bar.php:93 includes/admin-config.php:113
 
32
  msgid "Lists"
33
  msgstr ""
34
 
48
  msgid "YouTube"
49
  msgstr ""
50
 
51
+ #: includes/admin-config.php:93 includes/options-general.php:14
 
52
  msgid "Vixy YouTube Embed Options"
53
  msgstr ""
54
 
55
+ #: includes/admin-config.php:103 includes/options-profiles.php:20
56
  msgid "Vixy YouTube Embed Profiles"
57
  msgstr ""
58
 
59
+ #: includes/admin-config.php:113 includes/options-lists.php:15
 
60
  msgid "Vixy YouTube Embed Lists"
61
  msgstr ""
62
 
63
+ #: includes/admin-config.php:209 includes/admin-config.php:250
 
64
  #: includes/admin-config.php:292
65
  msgid "Help"
66
  msgstr ""
67
 
68
  #: includes/admin-config.php:224
69
+ msgid ""
70
+ "This screen allows you to select non-specific options for the Vixy YouTube "
71
+ "Embed plugin. For the default embedding settings, please select the <a href="
72
+ "\"admin.php?page=profile-options\">Profiles</a> administration option."
73
  msgstr ""
74
 
75
+ #: includes/admin-config.php:225 includes/admin-config.php:266
 
76
  #: includes/admin-config.php:308
77
+ msgid ""
78
+ "Remember to click the Save Settings button at the bottom of the screen for "
79
+ "new settings to take effect."
80
  msgstr ""
81
 
82
+ #: includes/admin-config.php:226 includes/admin-config.php:267
 
83
  #: includes/admin-config.php:309
84
  msgid "For more information:"
85
  msgstr ""
86
 
87
+ #: includes/admin-config.php:227 includes/admin-config.php:268
 
88
  #: includes/admin-config.php:310
89
  msgid "Vixy YouTube Embed Plugin Documentation"
90
  msgstr ""
91
 
92
+ #: includes/admin-config.php:228 includes/admin-config.php:269
 
93
  #: includes/admin-config.php:311
94
  msgid "YouTube Player Documentation"
95
  msgstr ""
96
 
97
  #: includes/admin-config.php:265
98
+ msgid ""
99
+ "This screen allows you to set the options for the default and additional "
100
+ "profiles. If you don't specify a specific parameter when displaying your "
101
+ "YouTube video then the default profile option will be used instead. "
102
+ "Additional profiles, which you may name, can be used as well and used as "
103
+ "required."
104
  msgstr ""
105
 
106
  #: includes/admin-config.php:270
108
  msgstr ""
109
 
110
  #: includes/admin-config.php:307
111
+ msgid ""
112
+ "This screen allows you to create lists of YouTube videos, which may be "
113
+ "named. These lists can then be used in preference to a single video ID."
114
  msgstr ""
115
 
116
  #: includes/admin-config.php:369
122
  msgstr ""
123
 
124
  #: includes/admin-config.php:371
125
+ msgid ""
126
+ "These new menu options will allow you to configure your videos to just how "
127
+ "you want them and provide links for help and support."
128
  msgstr ""
129
 
130
  #: includes/admin-config.php:372
131
+ msgid ""
132
+ "Even if you do nothing else, please visit the Profiles option to check your "
133
+ "default video values."
134
  msgstr ""
135
 
136
  #: includes/deprecated.php:55
137
  msgid "This function does not support playlists"
138
  msgstr ""
139
 
140
+ #: includes/function-calls.php:164 includes/function-calls.php:226
141
+ #: includes/generate-download-code.php:34 includes/generate-embed-code.php:116
 
 
142
  #: includes/generate-shorturl-code.php:34
143
  #: includes/generate-thumbnail-code.php:39
144
+ #: includes/generate-transcript-code.php:39 includes/shortcodes.php:264
145
  #, php-format
146
  msgid "The YouTube ID of %s is invalid."
147
  msgstr ""
148
 
149
+ #: includes/function-calls.php:175
150
  #, php-format
151
  msgid "Could not fetch the transcript file %s."
152
  msgstr ""
155
  msgid "No YouTube ID was found."
156
  msgstr ""
157
 
158
+ #: includes/generate-embed-code.php:66
159
  msgid "No video/playlist ID has been supplied"
160
  msgstr ""
161
 
162
+ #: includes/generate-embed-code.php:183
163
+ msgid ""
164
+ "A video list cannot be viewed within this feed - please view the original "
165
+ "content"
166
  msgstr ""
167
 
168
+ #: includes/generate-embed-code.php:187
169
  msgid "Click here to view the video on YouTube"
170
  msgstr ""
171
 
182
  msgid "Embed YouTube Widget."
183
  msgstr ""
184
 
185
+ #: includes/options-general.php:61 includes/options-lists.php:26
 
186
  msgid "Settings Saved."
187
  msgstr ""
188
 
189
+ #: includes/options-general.php:85
190
  msgid "Cache cleared."
191
  msgstr ""
192
 
193
+ #: includes/options-general.php:99
194
+ msgid ""
195
+ "These are the general settings for Vixy YouTube Embed. Please select <a href="
196
+ "\"admin.php?page=profile-options\">Profiles</a> for default embedding "
197
+ "settings."
198
  msgstr ""
199
 
200
+ #: includes/options-general.php:103
201
  msgid "Embedding"
202
  msgstr ""
203
 
204
+ #: includes/options-general.php:107
205
  msgid "Add Metadata"
206
  msgstr ""
207
 
208
+ #: includes/options-general.php:108
209
+ msgid ""
210
+ "Allow rich metadata to be added to code. <a href=\"http://vixy.net/youtube-"
211
+ "embed/documentation.php#Metadata\">Learn more</a>"
212
  msgstr ""
213
 
214
+ #: includes/options-general.php:112
215
  msgid "Comment Embedding"
216
  msgstr ""
217
 
218
+ #: includes/options-general.php:113
219
  msgid "Allow YouTube URLs in comments - will display as embedded videos."
220
  msgstr ""
221
 
222
+ #: includes/options-general.php:117 includes/options-general.php:158
223
+ #: includes/options-general.php:170 includes/options-general.php:191
 
 
224
  msgid "Profile to use"
225
  msgstr ""
226
 
227
+ #: includes/options-general.php:124
228
  msgid "Feed"
229
  msgstr ""
230
 
231
+ #: includes/options-general.php:126
232
  msgid "Text link"
233
  msgstr ""
234
 
235
+ #: includes/options-general.php:127
236
  msgid "Thumbnail"
237
  msgstr ""
238
 
239
+ #: includes/options-general.php:128
240
  msgid "Thumbnail &amp; Text Link"
241
  msgstr ""
242
 
243
+ #: includes/options-general.php:129
244
+ msgid ""
245
+ "Videos cannot be embedded in feeds. Select how you wish them to be shown "
246
+ "instead"
247
  msgstr ""
248
 
249
+ #: includes/options-general.php:133
250
  msgid "Thumbnail to use"
251
  msgstr ""
252
 
253
+ #: includes/options-general.php:135 includes/shared-functions.php:481
254
  msgid "Default"
255
  msgstr ""
256
 
257
+ #: includes/options-general.php:136
258
  msgid "Default (HQ)"
259
  msgstr ""
260
 
261
+ #: includes/options-general.php:137
262
  msgid "Start"
263
  msgstr ""
264
 
265
+ #: includes/options-general.php:138
266
  msgid "Middle"
267
  msgstr ""
268
 
269
+ #: includes/options-general.php:139
270
  msgid "End"
271
  msgstr ""
272
 
273
+ #: includes/options-general.php:140
274
  msgid "Which thumbnail to use"
275
  msgstr ""
276
 
277
+ #: includes/options-general.php:144
278
  msgid "Allow shortcodes in widgets"
279
  msgstr ""
280
 
281
+ #: includes/options-general.php:145
282
+ msgid ""
283
+ "Allow shortcodes to be used in widgets - this will apply to <strong>all</"
284
+ "strong> widgets"
285
  msgstr ""
286
 
287
+ #: includes/options-general.php:149
288
  msgid "Alternative Shortcodes"
289
  msgstr ""
290
 
291
+ #: includes/options-general.php:149
292
+ msgid ""
293
+ "Specify up to 2 alternative shortcodes to compliment the standard "
294
+ "<code>youtube</code> shortcode. <strong>NB: These should be specified "
295
+ "without the surrounding square brackets.</strong>"
296
  msgstr ""
297
 
298
+ #: includes/options-general.php:153
299
  msgid "Alternative Shortcode 1"
300
  msgstr ""
301
 
302
+ #: includes/options-general.php:165
303
  msgid "Alternative Shortcode 2"
304
  msgstr ""
305
 
306
+ #: includes/options-general.php:177
307
  msgid "Migration"
308
  msgstr ""
309
 
310
+ #: includes/options-general.php:177
311
+ msgid ""
312
+ "Switch on compatibility with other embedding plugins. For more details "
313
+ "please <a href=\"http://vixy.net/youtube-embed/documentation.php#Migrating"
314
+ "\">click here</a>."
315
  msgstr ""
316
 
317
+ #: includes/options-general.php:181
318
  msgid "Bracket Embedding"
319
  msgstr ""
320
 
321
+ #: includes/options-general.php:182
322
+ msgid ""
323
+ "Allow embedding using URLs within brackets. Activating impacts performance"
324
  msgstr ""
325
 
326
+ #: includes/options-general.php:186
327
  msgid "Alternative Embedding"
328
  msgstr ""
329
 
330
+ #: includes/options-general.php:187
331
  msgid "Allow all other types of embedding. Activating impacts performance"
332
  msgstr ""
333
 
334
+ #: includes/options-general.php:194
335
  msgid "For above 2 options"
336
  msgstr ""
337
 
338
+ #: includes/options-general.php:198
339
  msgid "Admin Options"
340
  msgstr ""
341
 
342
+ #: includes/options-general.php:202
343
  msgid "Show Editor Button"
344
  msgstr ""
345
 
346
+ #: includes/options-general.php:203
347
  msgid "Show the YouTube button on the post editor"
348
  msgstr ""
349
 
350
+ #: includes/options-general.php:207
351
  msgid "Editor Button Shortcode"
352
  msgstr ""
353
 
354
+ #: includes/options-general.php:208
355
  msgid "Shortcode for editor button to use."
356
  msgstr ""
357
 
358
+ #: includes/options-general.php:212
359
  msgid "Add to Admin Bar"
360
  msgstr ""
361
 
362
+ #: includes/options-general.php:213
363
  msgid "Add link to options screen to Admin Bar"
364
  msgstr ""
365
 
366
+ #: includes/options-general.php:217
367
  msgid "Menu Screen Access"
368
  msgstr ""
369
 
370
+ #: includes/options-general.php:219
371
  msgid "Administrator"
372
  msgstr ""
373
 
374
+ #: includes/options-general.php:220
375
  msgid "Editor"
376
  msgstr ""
377
 
378
+ #: includes/options-general.php:221
379
  msgid "Author"
380
  msgstr ""
381
 
382
+ #: includes/options-general.php:222
383
  msgid "Contributor"
384
  msgstr ""
385
 
386
+ #: includes/options-general.php:223
387
  msgid "Specify the user access required for the menu screens"
388
  msgstr ""
389
 
390
+ #: includes/options-general.php:227
391
  msgid "Profile &amp; List Sizes"
392
  msgstr ""
393
 
394
+ #: includes/options-general.php:231
395
  msgid "Number of Profiles"
396
  msgstr ""
397
 
398
+ #: includes/options-general.php:232
399
  msgid "Maximum number of profiles"
400
  msgstr ""
401
 
402
+ #: includes/options-general.php:236
403
  msgid "Number of Lists"
404
  msgstr ""
405
 
406
+ #: includes/options-general.php:237
407
  msgid "Maximum number of lists"
408
  msgstr ""
409
 
410
+ #: includes/options-general.php:241
411
  msgid "Performance"
412
  msgstr ""
413
 
414
+ #: includes/options-general.php:245
415
  msgid "Embed Cache"
416
  msgstr ""
417
 
418
+ #: includes/options-general.php:246
419
  msgid "How many hours to retain embed output. 0 to switch off"
420
  msgstr ""
421
 
422
+ #: includes/options-general.php:250
423
  msgid "Video Information Cache"
424
  msgstr ""
425
 
426
+ #: includes/options-general.php:251
427
+ msgid ""
428
+ "How many hours to retain video information, including it's validity. 0 to "
429
+ "switch off"
430
  msgstr ""
431
 
432
+ #: includes/options-general.php:255
433
  msgid "Transcript Cache"
434
  msgstr ""
435
 
436
+ #: includes/options-general.php:256
437
  msgid "How many hours to store transcripts for in cache. 0 to switch off"
438
  msgstr ""
439
 
440
+ #: includes/options-general.php:265
441
  msgid "You currently have cache for"
442
  msgstr ""
443
 
444
+ #: includes/options-general.php:265
445
  msgid "and"
446
  msgstr ""
447
 
448
+ #: includes/options-general.php:269
449
  msgid "Clear Cache"
450
  msgstr ""
451
 
452
+ #: includes/options-general.php:270
453
  msgid "Select this option to remove all YouTube Embed cache."
454
  msgstr ""
455
 
456
+ #: includes/options-general.php:273
457
  msgid "YouTube API"
458
  msgstr ""
459
 
460
+ #: includes/options-general.php:275
461
+ msgid ""
462
+ "The YouTube API is used to validate video IDs and to determine if it is a "
463
+ "video or playlist."
464
  msgstr ""
465
 
466
+ #: includes/options-general.php:279
467
  msgid "API State"
468
  msgstr ""
469
 
470
+ #: includes/options-general.php:281
471
  msgid "API should not be used"
472
  msgstr ""
473
 
474
+ #: includes/options-general.php:282
475
  msgid "HTTP API used and errors are reported"
476
  msgstr ""
477
 
478
+ #: includes/options-general.php:283
479
  msgid "HTTPS API used and errors are reported"
480
  msgstr ""
481
 
482
+ #: includes/options-general.php:284
483
  msgid "HTTP API used and no errors are reported"
484
  msgstr ""
485
 
486
+ #: includes/options-general.php:285
487
  msgid "HTTPS API used and no errors are reported"
488
  msgstr ""
489
 
490
+ #: includes/options-general.php:290
491
  msgid "Error Reporting"
492
  msgstr ""
493
 
494
+ #: includes/options-general.php:292
495
+ msgid ""
496
+ "Playback errors are within the XHTML source code as comments - parameter "
497
+ "errors and other types are displayed on the post output."
498
  msgstr ""
499
 
500
+ #: includes/options-general.php:295
501
  msgid "Video Playback Error Message"
502
  msgstr ""
503
 
504
+ #: includes/options-general.php:296
505
  msgid "This is the message that will be shown on the post"
506
  msgstr ""
507
 
508
+ #: includes/options-general.php:299
509
  msgid "Security"
510
  msgstr ""
511
 
512
+ #: includes/options-general.php:304
513
  msgid "Privacy-Enhanced Mode"
514
  msgstr ""
515
 
516
+ #: includes/options-general.php:306
517
  msgid "Cookies should always be stored"
518
  msgstr ""
519
 
520
+ #: includes/options-general.php:307
521
  msgid "Cookies should never be stored"
522
  msgstr ""
523
 
524
+ #: includes/options-general.php:308
525
  msgid "Cookies should be stored based on user's Do Not Track setting"
526
  msgstr ""
527
 
528
+ #: includes/options-general.php:309
529
  msgid "Read more about <a href=\"http://donottrack.us/\">Do Not Track</a>"
530
  msgstr ""
531
 
532
+ #: includes/options-general.php:312
533
  msgid "Compatibility"
534
  msgstr ""
535
 
536
+ #: includes/options-general.php:315
537
  msgid "Allow Frame Border on IFRAME"
538
  msgstr ""
539
 
540
+ #: includes/options-general.php:316
541
  msgid "FRAMEBORDER is not HTML5 compliant"
542
  msgstr ""
543
 
544
+ #: includes/options-general.php:319
545
  msgid "Affiliates"
546
  msgstr ""
547
 
548
+ #: includes/options-general.php:321
549
  msgid "ShareASale ID"
550
  msgstr ""
551
 
552
+ #: includes/options-general.php:322
553
+ msgid ""
554
+ "<a href=\"http://www.shareasale.com/r.cfm?B=44&U=668714&M=47&urllink=\">Sign "
555
+ "up to ShareASale</a> and earn money. <a href=\"http://vixy.net/youtube-embed/"
556
+ "documentation.php#make_money\">Read more</a>."
557
  msgstr ""
558
 
559
+ #: includes/options-general.php:327 includes/options-lists.php:119
560
+ #: includes/options-profiles.php:395
561
  msgid "Save Settings"
562
  msgstr ""
563
 
564
+ #: includes/options-lists.php:31
565
  msgid "All fields must be completed."
566
  msgstr ""
567
 
568
+ #: includes/options-lists.php:53
569
  msgid "Errors were found with your video list. See the list below for details."
570
  msgstr ""
571
 
572
+ #: includes/options-lists.php:88
573
  msgid "List"
574
  msgstr ""
575
 
576
+ #: includes/options-lists.php:98
577
  msgid "Change list"
578
  msgstr ""
579
 
580
+ #: includes/options-lists.php:101
581
  msgid "These are the options for list "
582
  msgstr ""
583
 
584
+ #: includes/options-lists.php:101
585
+ msgid ""
586
+ "Update the name, if required, and specify a list of YouTube video IDs. Use "
587
+ "the drop-down on the right hand side to swap between lists."
588
  msgstr ""
589
 
590
+ #: includes/options-lists.php:106
591
  msgid "List name"
592
  msgstr ""
593
 
594
+ #: includes/options-lists.php:108
595
  msgid "The name you wish to give this list"
596
  msgstr ""
597
 
598
+ #: includes/options-lists.php:112
599
  msgid "Video IDs (one per line)"
600
  msgstr ""
601
 
602
+ #: includes/options-lists.php:130 includes/options-widgets.php:19
603
  msgid "Video ID"
604
  msgstr ""
605
 
606
+ #: includes/options-lists.php:130
607
  msgid "Video Title"
608
  msgstr ""
609
 
610
+ #: includes/options-lists.php:130
611
  msgid "Status"
612
  msgstr ""
613
 
614
+ #: includes/options-lists.php:146
615
  msgid "This is a playlist"
616
  msgstr ""
617
 
618
+ #: includes/options-lists.php:150
619
  msgid "Invalid video ID"
620
  msgstr ""
621
 
622
+ #: includes/options-lists.php:154
623
  msgid "YouTube API error"
624
  msgstr ""
625
 
626
+ #: includes/options-lists.php:157
627
  msgid "Valid video"
628
  msgstr ""
629
 
630
+ #: includes/options-lists.php:175
631
  msgid "The video ID is valid"
632
  msgstr ""
633
 
634
+ #: includes/options-lists.php:178
635
  msgid "The video ID is invalid"
636
  msgstr ""
637
 
638
+ #: includes/options-profiles.php:97
639
  msgid " Profile Saved."
640
  msgstr ""
641
 
642
+ #: includes/options-profiles.php:118
643
  msgid "Change profile"
644
  msgstr ""
645
 
646
+ #: includes/options-profiles.php:123
647
  msgid "These are the options for the default profile."
648
  msgstr ""
649
 
650
+ #: includes/options-profiles.php:125
651
  #, php-format
652
  msgid "These are the options for profile %s."
653
  msgstr ""
654
 
655
+ #: includes/options-profiles.php:127
656
  msgid "Use the drop-down on the right hand side to swap between profiles."
657
  msgstr ""
658
 
659
+ #: includes/options-profiles.php:133
660
  msgid "Profile name"
661
  msgstr ""
662
 
663
+ #: includes/options-profiles.php:135
664
  msgid "The name you wish to give this profile"
665
  msgstr ""
666
 
667
+ #: includes/options-profiles.php:139
668
  msgid "Video Embed Type"
669
  msgstr ""
670
 
671
+ #: includes/options-profiles.php:140
672
  msgid "The type of player to use for videos."
673
  msgstr ""
674
 
675
+ #: includes/options-profiles.php:141 includes/options-profiles.php:151
676
+ #: includes/options-profiles.php:373 includes/options-widgets.php:89
 
 
677
  msgid "IFRAME"
678
  msgstr ""
679
 
680
+ #: includes/options-profiles.php:141
681
+ msgid ""
682
+ "Uses AS3 Flash player, if Flash is available. Alternatively, uses HTML5 "
683
+ "player. This is the current YouTube default."
684
  msgstr ""
685
 
686
+ #: includes/options-profiles.php:142 includes/options-profiles.php:152
687
+ #: includes/options-profiles.php:374 includes/options-widgets.php:91
 
 
688
  msgid "OBJECT"
689
  msgstr ""
690
 
691
+ #: includes/options-profiles.php:142
692
  msgid "Use the AS3 Flash player."
693
  msgstr ""
694
 
695
+ #: includes/options-profiles.php:143 includes/options-widgets.php:93
 
696
  msgid "Chromeless"
697
  msgstr ""
698
 
699
+ #: includes/options-profiles.php:143
700
+ msgid ""
701
+ "Use the <a href=\"http://vixy.net/youtube-embed/documentation."
702
+ "php#Chromeless_Player\">Chromeless</a> version of the AS3 Flash Player."
703
  msgstr ""
704
 
705
+ #: includes/options-profiles.php:144 includes/options-profiles.php:408
 
706
  #: includes/options-widgets.php:95
707
  msgid "EmbedPlus"
708
  msgstr ""
709
 
710
+ #: includes/options-profiles.php:144
711
+ msgid ""
712
+ "Use <a href=\"http://vixy.net/youtube-embed/documentation.php#EmbedPlus"
713
+ "\">EmbedPlus</a>, if Flash is available."
714
  msgstr ""
715
 
716
+ #: includes/options-profiles.php:149
717
  msgid "Playlist Embed Type"
718
  msgstr ""
719
 
720
+ #: includes/options-profiles.php:150
721
  msgid "The type of player to use when showing playlists."
722
  msgstr ""
723
 
724
+ #: includes/options-profiles.php:157
725
  msgid "Options For All Player Types"
726
  msgstr ""
727
 
728
+ #: includes/options-profiles.php:161
729
+ msgid "Show Links to YouTube"
 
730
  msgstr ""
731
 
732
+ #: includes/options-profiles.php:162
733
+ msgid "Show a link to the original YouTube video (if not a playlist)"
734
  msgstr ""
735
 
736
+ #: includes/options-profiles.php:166
737
+ msgid "Show Download Links"
 
738
  msgstr ""
739
 
740
+ #: includes/options-profiles.php:167
741
+ msgid ""
742
+ "Show <a href=\"http://www.vixy.net\">Vixy.net</a> links under a video, "
743
+ "allowing user to download video or MP3"
744
  msgstr ""
745
 
746
+ #: includes/options-profiles.php:171
747
+ msgid "Bar Style"
748
  msgstr ""
749
 
750
+ #: includes/options-profiles.php:172
751
+ msgid "CSS elements to apply to links under video"
752
  msgstr ""
753
 
754
+ #: includes/options-profiles.php:177
755
+ msgid ""
756
+ "If a ShareASale affiliate ID is specified in the <a href=\"admin.php?"
757
+ "page=general-options\">Options screen</a> then an additional, sponsored link "
758
+ "will be added under the video, which could earn you 30% revenue for any "
759
+ "sales."
760
+ msgstr ""
761
+
762
+ #: includes/options-profiles.php:183
763
+ msgid "Currently, the links will appear like this.."
764
  msgstr ""
765
 
766
+ #: includes/options-profiles.php:192 includes/options-widgets.php:49
767
+ msgid "Template"
768
  msgstr ""
769
 
770
+ #: includes/options-profiles.php:193
771
+ msgid ""
772
+ "Wrapper for video output. Must include <code>%video%</code> tag to show "
773
+ "video position"
774
+ msgstr ""
775
+
776
+ #: includes/options-profiles.php:197 includes/options-widgets.php:55
777
+ msgid "Style"
778
+ msgstr ""
779
+
780
+ #: includes/options-profiles.php:198
781
+ msgid "CSS elements to apply to video"
782
+ msgstr ""
783
+
784
+ #: includes/options-profiles.php:204
785
  msgid "Video size"
786
  msgstr ""
787
 
788
+ #: includes/options-profiles.php:205
789
  msgid "The width x height of the video, in pixels"
790
  msgstr ""
791
 
792
+ #: includes/options-profiles.php:209
793
  msgid "Default Sizes"
794
  msgstr ""
795
 
796
+ #: includes/options-profiles.php:211
797
  msgid "Use above sizes"
798
  msgstr ""
799
 
800
+ #: includes/options-profiles.php:217
801
  msgid "Select one of these default sizes to override the above video sizes"
802
  msgstr ""
803
 
804
+ #: includes/options-profiles.php:221 includes/options-widgets.php:73
 
805
  msgid "Dynamically Resize"
806
  msgstr ""
807
 
808
+ #: includes/options-profiles.php:222
809
  msgid "Show full width and resize with the browser"
810
  msgstr ""
811
 
812
+ #: includes/options-profiles.php:226
813
  msgid "Set Maximum Size"
814
  msgstr ""
815
 
816
+ #: includes/options-profiles.php:227
817
  msgid "Use above width to define maximum size"
818
  msgstr ""
819
 
820
+ #: includes/options-profiles.php:231
821
+ msgid "Video Quality"
822
+ msgstr ""
823
+
824
+ #: includes/options-profiles.php:233
825
+ msgid "Not set"
826
+ msgstr ""
827
+
828
+ #: includes/options-profiles.php:239
829
+ msgid "Specify the required resolution (if available)."
830
+ msgstr ""
831
+
832
+ #: includes/options-profiles.php:246
833
  msgid "Audio Only"
834
  msgstr ""
835
 
836
+ #: includes/options-profiles.php:247
837
  msgid "Only show the toolbar for audio only playback"
838
  msgstr ""
839
 
840
+ #: includes/options-profiles.php:251 includes/options-widgets.php:101
 
841
  msgid "Autoplay"
842
  msgstr ""
843
 
844
+ #: includes/options-profiles.php:252
845
  msgid "The video will start playing when the player loads"
846
  msgstr ""
847
 
848
+ #: includes/options-profiles.php:257
849
  msgid "Options Not Supported by EmbedPlus"
850
  msgstr ""
851
 
852
+ #: includes/options-profiles.php:262
853
  msgid "Auto hide"
854
  msgstr ""
855
 
856
+ #: includes/options-profiles.php:264
857
  msgid "Controls &amp; progress bar remain visible"
858
  msgstr ""
859
 
860
+ #: includes/options-profiles.php:265
861
  msgid "Controls &amp; progress bar fade out"
862
  msgstr ""
863
 
864
+ #: includes/options-profiles.php:266
865
  msgid "Progress bar fades"
866
  msgstr ""
867
 
868
+ #: includes/options-profiles.php:267
869
  msgid "Video controls will automatically hide after a video begins playing"
870
  msgstr ""
871
 
872
+ #: includes/options-profiles.php:271
873
  msgid "Controls"
874
  msgstr ""
875
 
876
+ #: includes/options-profiles.php:273
877
  msgid "Controls do not display &amp; Flash player loads immediately"
878
  msgstr ""
879
 
880
+ #: includes/options-profiles.php:274
881
  msgid "Controls display &amp; Flash player loads immediately"
882
  msgstr ""
883
 
884
+ #: includes/options-profiles.php:275
885
  msgid "Controls display &amp; Flash player loads once video starts"
886
  msgstr ""
887
 
888
+ #: includes/options-profiles.php:276
889
+ msgid ""
890
+ "Whether the video player controls will display. For AS3 player it also "
891
+ "defines when the Flash player will load"
892
  msgstr ""
893
 
894
+ #: includes/options-profiles.php:281
895
+ msgid ""
896
+ "Use SSL? <a href=\"http://www.google.com/support/youtube/bin/answer.py?"
897
+ "answer=171780&expand=UseHTTPS#HTTPS\">Read more</a>"
898
  msgstr ""
899
 
900
+ #: includes/options-profiles.php:285 includes/options-widgets.php:147
 
901
  msgid "Loop Video"
902
  msgstr ""
903
 
904
+ #: includes/options-profiles.php:286
905
+ msgid ""
906
+ "Play the initial video again and again. In the case of a playlist, this will "
907
+ "play the entire playlist and then start again at the first video"
908
  msgstr ""
909
 
910
+ #: includes/options-profiles.php:290
911
  msgid "Information"
912
  msgstr ""
913
 
914
+ #: includes/options-profiles.php:291
915
+ msgid ""
916
+ "Display the video title and uploader before the video starts. If displaying "
917
+ "a playlist this will show video thumbnails"
918
  msgstr ""
919
 
920
+ #: includes/options-profiles.php:295
921
  msgid "Related Videos"
922
  msgstr ""
923
 
924
+ #: includes/options-profiles.php:296
925
+ msgid ""
926
+ "Load related videos once playback starts. Also toggles the search option."
927
  msgstr ""
928
 
929
+ #: includes/options-profiles.php:300
930
  msgid "Theme"
931
  msgstr ""
932
 
933
+ #: includes/options-profiles.php:302
934
  msgid "Dark"
935
  msgstr ""
936
 
937
+ #: includes/options-profiles.php:303
938
  msgid "Light"
939
  msgstr ""
940
 
941
+ #: includes/options-profiles.php:304
942
  msgid "Display player controls within a dark or light control bar"
943
  msgstr ""
944
 
945
+ #: includes/options-profiles.php:308
946
  msgid "Progress Bar Color"
947
  msgstr ""
948
 
949
+ #: includes/options-profiles.php:310
950
  msgid "Red"
951
  msgstr ""
952
 
953
+ #: includes/options-profiles.php:311
954
  msgid "White (desaturated)"
955
  msgstr ""
956
 
957
+ #: includes/options-profiles.php:312
958
+ msgid ""
959
+ "The color that will be used in the player's video progress bar to highlight "
960
+ "the amount of the video that's already been seen"
961
  msgstr ""
962
 
963
+ #: includes/options-profiles.php:316
964
  msgid "Modest Branding"
965
  msgstr ""
966
 
967
+ #: includes/options-profiles.php:317
968
  msgid "Reduce branding on video."
969
  msgstr ""
970
 
971
+ #: includes/options-profiles.php:322
972
  msgid "Options for AS3 Player"
973
  msgstr ""
974
 
975
+ #: includes/options-profiles.php:323
976
+ msgid ""
977
+ "The following options are not supported if using EmbedPlus or if the IFRAME "
978
+ "player uses HTML5."
979
  msgstr ""
980
 
981
+ #: includes/options-profiles.php:327
982
  msgid "Annotations"
983
  msgstr ""
984
 
985
+ #: includes/options-profiles.php:328
986
  msgid "Video annotations are shown by default"
987
  msgstr ""
988
 
989
+ #: includes/options-profiles.php:332
990
  msgid "Closed Captions"
991
  msgstr ""
992
 
993
+ #: includes/options-profiles.php:333
994
+ msgid ""
995
+ "Show closed captions (subtitles) by default, even if the user has turned "
996
+ "captions off"
997
  msgstr ""
998
 
999
+ #: includes/options-profiles.php:337
1000
  msgid "Disable Keyboard"
1001
  msgstr ""
1002
 
1003
+ #: includes/options-profiles.php:338
1004
  msgid "Disable the player keyboard controls"
1005
  msgstr ""
1006
 
1007
+ #: includes/options-profiles.php:342
1008
  msgid "Fullscreen"
1009
  msgstr ""
1010
 
1011
+ #: includes/options-profiles.php:343
1012
  msgid "A button will allow the viewer to watch the video fullscreen"
1013
  msgstr ""
1014
 
1015
+ #: includes/options-profiles.php:347
1016
  msgid "Link to YouTube"
1017
  msgstr ""
1018
 
1019
+ #: includes/options-profiles.php:348
1020
  msgid "Video links back to YouTube when clicked"
1021
  msgstr ""
1022
 
1023
+ #: includes/options-profiles.php:353
1024
  msgid "Options Not Supported by HTML5 Player"
1025
  msgstr ""
1026
 
1027
+ #: includes/options-profiles.php:357
1028
  msgid "Window Mode"
1029
  msgstr ""
1030
 
1031
+ #: includes/options-profiles.php:359
1032
  msgid "Opaque"
1033
  msgstr ""
1034
 
1035
+ #: includes/options-profiles.php:360
1036
  msgid "Transparent"
1037
  msgstr ""
1038
 
1039
+ #: includes/options-profiles.php:361
1040
  msgid "Window"
1041
  msgstr ""
1042
 
1043
+ #: includes/options-profiles.php:362
1044
+ msgid ""
1045
+ "Sets the Window Mode property of the Flash movie for transparency, layering, "
1046
+ "and positioning in the browser. <a href=\"http://www.communitymx.com/content/"
1047
+ "article.cfm?cid=e5141\">Learn more</a>."
1048
  msgstr ""
1049
 
1050
+ #: includes/options-profiles.php:367
1051
  msgid "Options Only Supported By EmbedPlus"
1052
  msgstr ""
1053
 
1054
+ #: includes/options-profiles.php:367
1055
  msgid "Learn more about EmbedPlus"
1056
  msgstr ""
1057
 
1058
+ #: includes/options-profiles.php:371
1059
  msgid "Fallback Embed Type"
1060
  msgstr ""
1061
 
1062
+ #: includes/options-profiles.php:372
1063
+ msgid ""
1064
+ "The type of player to use if Flash is not available and EmbedPlus cannot be "
1065
+ "used."
1066
  msgstr ""
1067
 
1068
+ #: includes/options-profiles.php:378
1069
  msgid "Play HD"
1070
  msgstr ""
1071
 
1072
+ #: includes/options-profiles.php:379
1073
  msgid "Play the video in HD if possible"
1074
  msgstr ""
1075
 
1076
+ #: includes/options-profiles.php:383
1077
  msgid "Real-time Reactions"
1078
  msgstr ""
1079
 
1080
+ #: includes/options-profiles.php:384
1081
  msgid "Show the Real-time Reactions button"
1082
  msgstr ""
1083
 
1084
+ #: includes/options-profiles.php:388
1085
  msgid "Sweet Spots"
1086
  msgstr ""
1087
 
1088
+ #: includes/options-profiles.php:389
1089
  msgid "Find sweet spots for the next and previous buttons"
1090
  msgstr ""
1091
 
1092
+ #: includes/options-profiles.php:404
1093
  msgid "YouTube Video Sample"
1094
  msgstr ""
1095
 
1096
+ #: includes/options-profiles.php:405
1097
+ msgid ""
1098
+ "The video below uses the above, saved profile settings. Use the drop-down "
1099
+ "below to change which parameters the video uses - press the Change Video "
1100
+ "button to update it."
1101
  msgstr ""
1102
 
1103
+ #: includes/options-profiles.php:407
1104
  msgid "Standard"
1105
  msgstr ""
1106
 
1107
+ #: includes/options-profiles.php:409
1108
  msgid "3D"
1109
  msgstr ""
1110
 
1111
+ #: includes/options-profiles.php:410
1112
  msgid "Playlist"
1113
  msgstr ""
1114
 
1115
+ #: includes/options-profiles.php:413
1116
  msgid "Change video"
1117
  msgstr ""
1118
 
1136
  msgid "User"
1137
  msgstr ""
1138
 
1139
+ #: includes/options-widgets.php:41 includes/shared-functions.php:488
 
1140
  msgid "Profile"
1141
  msgstr ""
1142
 
1144
  msgid "Size"
1145
  msgstr ""
1146
 
1147
+ #: includes/options-widgets.php:75 includes/options-widgets.php:87
1148
+ #: includes/options-widgets.php:103 includes/options-widgets.php:135
 
 
1149
  #: includes/options-widgets.php:149
1150
  msgid "Profile default"
1151
  msgstr ""
1152
 
1153
+ #: includes/options-widgets.php:77 includes/options-widgets.php:105
 
1154
  #: includes/options-widgets.php:151
1155
  msgid "No"
1156
  msgstr ""
1157
 
1158
+ #: includes/options-widgets.php:79 includes/options-widgets.php:107
 
1159
  #: includes/options-widgets.php:153
1160
  msgid "Yes"
1161
  msgstr ""
1201
  msgid "An error occurred accessing the YouTube API for video ID %s - %s"
1202
  msgstr ""
1203
 
1204
+ #: includes/shared-functions.php:531
1205
+ msgid "View on YouTube"
1206
+ msgstr ""
readme.txt CHANGED
@@ -1,15 +1,19 @@
1
- === Vixy YouTube Embed ===
2
  Contributors: Applian
3
- Tags: admin, annotations, applian, artiss, automatic, editor, embed, embedding, embedplus, flash, flv, google, hd, height, iframe, manage, media, plugin, page, play, playlist, post, profile, responsive, search, seo, sidebar, simple, smart, url, user, valid, video, vixy, widget, width, xhtml, youtube, youtuber
4
  Requires at least: 2.9
5
  Tested up to: 3.5.1
6
- Stable tag: 3.0.1
7
 
8
- A simple to use method of embedding YouTube videos into your posts and pages but with powerful features for those that need them.
9
 
10
  == Description ==
11
 
12
- Vixy YouTube Embed (formally Artiss YouTube Embed) is an incredibly simple, yet powerful, method of embedding YouTube videos into your WordPress site.
 
 
 
 
13
 
14
  **Easy to Use**
15
 
@@ -17,6 +21,13 @@ Just add a shortcode with the YouTube video ID, and your video appears in the pa
17
 
18
  `[youtube]adVEYkQIxCg[/youtube]`
19
 
 
 
 
 
 
 
 
20
  **Powerful**
21
 
22
  With over 50 embedding options, Vixy YouTube Embed does everything any other WordPress plug-in does, and a lot of things they don't.
@@ -58,18 +69,28 @@ Help is always available from the WordPress administration pages - just click on
58
 
59
  Not yet convinced? [See the feature comparison](https://spreadsheets.google.com/spreadsheet/pub?hl=en_GB&hl=en_GB&key=0AqxzQNe7e-NwdF80eUZuNjdtS1J1bWM4VERFVUN6ZHc&single=true&gid=4&output=html "YouTube Embed : Comparison") between this and the top 10 alternative plugins for embedding YouTube videos.
60
 
61
- "[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.
62
- "[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.
63
- "[Andesch tips on WordPress plugins!](http://andershagstrom.se/andesch-tipsar-om-wordpress-plugins/ "Andesch tipsar om WordPress-plugins!")" - Anders.
64
- "[Critical Mass](http://www.bikinginmemphis.com/2011/03/26/critical-mass/ "Critical Mass")" - Biking in Memphis.
65
- "[Embedding YouTube Videos In Your WordPress Theme](http://frogenyozurt.com/2011/04/embedding-youtube-videos-in-your-wordpress-theme/ "Embedding YouTube Videos In Your WordPress Theme")" - FrogenYozurt.Com.
 
 
 
 
66
 
67
  == Installation ==
68
 
69
- 1. Upload the entire `youtube-embed` folder to your wp-content/plugins/ directory.
70
- 2. Activate the plugin through the 'Plugins' menu in WordPress.
71
- 3. If you're updating from version 2.0.1 or before, please read the FAQ on backwards compatibility.
72
- 4. That's it, you're done - you just need to add the shortcode wherever you need.
 
 
 
 
 
 
73
 
74
  == Frequently Asked Questions ==
75
 
@@ -86,6 +107,14 @@ A full list of FAQs can be found [on the Vixy.net website](http://vixy.net/youtu
86
 
87
  == Changelog ==
88
 
 
 
 
 
 
 
 
 
89
  = 3.0.1 =
90
  * Bug: Fixed menu options shown in admin bar
91
  * Maintenance: Updated links to point to instructions on Vixy.net website
@@ -339,15 +368,20 @@ A full list of FAQs can be found [on the Vixy.net website](http://vixy.net/youtu
339
  = 1.0 =
340
  * Initial release
341
 
342
- == Upgrade Notice ==
 
 
 
 
 
343
 
344
  = 3.0.1 =
345
  * Update to fix admin bar links and add some further security improvements
346
 
347
 
348
 
349
- = 3.0 =
350
-
351
  * Update for bug fixes and enhancements including a new video download option with affiliate scheme
352
 
353
  = 2.7 =
1
+ === Vixy YouTube Embed and Download ===
2
  Contributors: Applian
3
+ Tags: admin, annotations, applian, artiss, automatic, download, editor, embed, embedding, embedplus, flash, flv, google, hd, height, iframe, manage, media, plugin, page, play, playlist, post, profile, responsive, search, seo, sidebar, simple, smart, url, user, valid, video, vixy, widget, width, xhtml, youtube, youtuber
4
  Requires at least: 2.9
5
  Tested up to: 3.5.1
6
+ Stable tag: 3.1
7
 
8
+ A simple method of embedding YouTube videos (with download links) into your pages. Easy to use, but with powerful features for those that need them.
9
 
10
  == Description ==
11
 
12
+ Vixy YouTube Embed and Download is a simple, powerful method of embedding YouTube videos, offering your readers an easy way to download videos.
13
+
14
+ Check out the [Vixy plugin video](http://www.youtube.com/watch?v=dsarVsN7SIE):
15
+
16
+ http://www.youtube.com/watch?v=dsarVsN7SIE&hd=1
17
 
18
  **Easy to Use**
19
 
21
 
22
  `[youtube]adVEYkQIxCg[/youtube]`
23
 
24
+ **Important Setup**
25
+
26
+ WordPress requires you to opt-in to the video download feature.
27
+
28
+ 1. Go to the **Profile** section under the YouTube sidebar option in your WordPress Admin.
29
+ 2. Tick the **Show Download Links** option under **Options for All Player Types**.
30
+
31
  **Powerful**
32
 
33
  With over 50 embedding options, Vixy YouTube Embed does everything any other WordPress plug-in does, and a lot of things they don't.
69
 
70
  Not yet convinced? [See the feature comparison](https://spreadsheets.google.com/spreadsheet/pub?hl=en_GB&hl=en_GB&key=0AqxzQNe7e-NwdF80eUZuNjdtS1J1bWM4VERFVUN6ZHc&single=true&gid=4&output=html "YouTube Embed : Comparison") between this and the top 10 alternative plugins for embedding YouTube videos.
71
 
72
+ [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.
73
+
74
+ [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.
75
+
76
+ [Andesch tips on WordPress plugins!](http://andershagstrom.se/andesch-tipsar-om-wordpress-plugins/ "Andesch tipsar om WordPress-plugins!") - Anders.
77
+
78
+ [Critical Mass](http://www.bikinginmemphis.com/2011/03/26/critical-mass/ "Critical Mass") - Biking in Memphis.
79
+
80
+ [Embedding YouTube Videos In Your WordPress Theme](http://frogenyozurt.com/2011/04/embedding-youtube-videos-in-your-wordpress-theme/ "Embedding YouTube Videos In Your WordPress Theme") - FrogenYozurt.Com.
81
 
82
  == Installation ==
83
 
84
+ Vixy YouTube Embed is easy to install:
85
+
86
+ 1. Download the ZIP file containing the plug-in code.
87
+ 2. Unzip, and upload the entire youtube-embed folder to your wp-content/plugins/ directory.
88
+ 3. Activate the plug-in through the Plugins menu in WordPress.
89
+ 4. Make sure to enable the video download option. Go to the plug-in settings, and check "Enable Download Links".
90
+
91
+ That's it, you're done - you just need to add the shortcode wherever you need.
92
+
93
+ Note: If you're updating from version 2.0.1 or before, please read the FAQ on backwards compatibility.
94
 
95
  == Frequently Asked Questions ==
96
 
107
 
108
  == Changelog ==
109
 
110
+ = 3.1 =
111
+ * Enhancement: Allow user to specify video resolution required (experimental)
112
+ * Enhancement: Different languages can be specified for transcripts, other than the English default
113
+ * Enhancement: API enabled on scripts by default, allowing for third-party modification
114
+ * Enhancement: Can now add a link to YouTube under a video
115
+ * Maintenance: Removed adverts from administration screen
116
+ * Maintenance: Changed download bar default to be opt-in and re-worded option text
117
+
118
  = 3.0.1 =
119
  * Bug: Fixed menu options shown in admin bar
120
  * Maintenance: Updated links to point to instructions on Vixy.net website
368
  = 1.0 =
369
  * Initial release
370
 
371
+ == Upgrade Notice ==
372
+
373
+
374
+
375
+ = 3.1 =
376
+ * Update to add new features including video quality option
377
 
378
  = 3.0.1 =
379
  * Update to fix admin bar links and add some further security improvements
380
 
381
 
382
 
383
+ = 3.0 =
384
+
385
  * Update for bug fixes and enhancements including a new video download option with affiliate scheme
386
 
387
  = 2.7 =
screenshot-2.png CHANGED
Binary file
screenshot-3.png CHANGED
Binary file
screenshot-4.png CHANGED
Binary file
youtube-embed.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Vixy YouTube Embed
4
  Plugin URI: http://vixy.net/youtube-embed
5
  Description: Embed YouTube Videos in WordPress
6
- Version: 3.0.1
7
  Author: Applian Technologies Inc.
8
  Author URI: http://www.applian.com
9
  */
@@ -17,7 +17,7 @@ Author URI: http://www.applian.com
17
  * @since 2.0
18
  */
19
 
20
- define( 'youtube_embed_version', '3.0.1' );
21
 
22
  $functions_dir = WP_PLUGIN_DIR . '/youtube-embed/includes/';
23
 
3
  Plugin Name: Vixy YouTube Embed
4
  Plugin URI: http://vixy.net/youtube-embed
5
  Description: Embed YouTube Videos in WordPress
6
+ Version: 3.1
7
  Author: Applian Technologies Inc.
8
  Author URI: http://www.applian.com
9
  */
17
  * @since 2.0
18
  */
19
 
20
+ define( 'youtube_embed_version', '3.1' );
21
 
22
  $functions_dir = WP_PLUGIN_DIR . '/youtube-embed/includes/';
23