YouTube Embed - Version 3.0.1

Version Description

  • Bug: Fixed menu options shown in admin bar
  • Maintenance: Updated links to point to instructions on Vixy.net website
  • Enhancement: Validate download bar code to ensure it's secure
  • Enhancement: Passing blog language to language bar for i18n
Download this release

Release Info

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

Code changes from version 3.0 to 3.0.1

css/admin-3.1.css CHANGED
@@ -43,5 +43,5 @@
43
  /* TinyMCE button 3.1 */
44
 
45
  .wp_themeSkin span.mce_YouTube {
46
- background:url('../images/youtube_button_colour.png') no-repeat 0 0;
47
  }
43
  /* TinyMCE button 3.1 */
44
 
45
  .wp_themeSkin span.mce_YouTube {
46
+ background:url('../images/youtube_button_color.png') no-repeat 0 0;
47
  }
css/admin-3.1.min.css CHANGED
@@ -1 +1 @@
1
- .ytbox_grey{background-color:#f1f1f1;padding:10px;border:1px solid #ddd;}.yt_heading{font-weight:bold;font-size:1.1em;}#np-notepad ul{list-style:disc;}#np-notepad ul,ol{margin-left:60px;}.ye-container{position:relative;padding-bottom:56.25%;padding-top:30px;height:0;overflow:hidden;}.ye-container iframe,.ye-container object,.ye-container embed{position:absolute;top:0;left:0;width:100%;height:100%;}.wp_themeSkin span.mce_YouTube{background:url('../images/youtube_button_colour.png') no-repeat 0 0;}
1
+ .ytbox_grey{background-color:#f1f1f1;padding:10px;border:1px solid #ddd;}.yt_heading{font-weight:bold;font-size:1.1em;}#np-notepad ul{list-style:disc;}#np-notepad ul,ol{margin-left:60px;}.ye-container{position:relative;padding-bottom:56.25%;padding-top:30px;height:0;overflow:hidden;}.ye-container iframe,.ye-container object,.ye-container embed{position:absolute;top:0;left:0;width:100%;height:100%;}.wp_themeSkin span.mce_YouTube{background:url('../images/youtube_button_color.png') no-repeat 0 0;}
css/admin.css CHANGED
@@ -46,5 +46,5 @@
46
  background:url('../images/youtube_button_b&w.png') no-repeat 0 0;
47
  }
48
  .wp_themeSkin span.mce_YouTube:hover {
49
- background:url('../images/youtube_button_colour.png') no-repeat 0 0;
50
  }
46
  background:url('../images/youtube_button_b&w.png') no-repeat 0 0;
47
  }
48
  .wp_themeSkin span.mce_YouTube:hover {
49
+ background:url('../images/youtube_button_color.png') no-repeat 0 0;
50
  }
css/admin.min.css CHANGED
@@ -1 +1 @@
1
- .ytbox_grey{background-color:#f1f1f1;padding:10px;border:1px solid #ddd;}.yt_heading{font-weight:bold;font-size:1.1em;}#np-notepad ul{list-style:disc;}#np-notepad ul,ol{margin-left:60px;}.ye-container{position:relative;padding-bottom:56.25%;padding-top:30px;height:0;overflow:hidden;}.ye-container iframe,.ye-container object,.ye-container embed{position:absolute;top:0;left:0;width:100%;height:100%;}.wp_themeSkin span.mce_YouTube{background:url('../images/youtube_button_b&w.png') no-repeat 0 0;}.wp_themeSkin span.mce_YouTube:hover{background:url('../images/youtube_button_colour.png') no-repeat 0 0;}
1
+ .ytbox_grey{background-color:#f1f1f1;padding:10px;border:1px solid #ddd;}.yt_heading{font-weight:bold;font-size:1.1em;}#np-notepad ul{list-style:disc;}#np-notepad ul,ol{margin-left:60px;}.ye-container{position:relative;padding-bottom:56.25%;padding-top:30px;height:0;overflow:hidden;}.ye-container iframe,.ye-container object,.ye-container embed{position:absolute;top:0;left:0;width:100%;height:100%;}.wp_themeSkin span.mce_YouTube{background:url('../images/youtube_button_b&w.png') no-repeat 0 0;}.wp_themeSkin span.mce_YouTube:hover{background:url('../images/youtube_button_color.png') no-repeat 0 0;}
images/Thumbs.db CHANGED
Binary file
images/{youtube_button_colour.png → youtube_button_color.png} RENAMED
File without changes
includes/add-to-admin-bar.php CHANGED
@@ -22,10 +22,10 @@
22
  function vye_admin_bar_render_3_1() {
23
 
24
  global $wp_version;
 
 
25
 
26
- if ( current_user_can( 'delete_plugins' ) && ( ( float ) $wp_version >= 3.1 ) && ( ( float ) $wp_version < 3.3 ) ) {
27
-
28
- $options = vye_set_general_defaults();
29
 
30
  if ( $options[ 'admin_bar' ] != '' ) {
31
 
@@ -61,55 +61,38 @@ function vye_admin_bar_render_3_3( $meta = TRUE ) {
61
 
62
  $options = vye_set_general_defaults();
63
 
64
- $profile_access = $options[ 'profile_access' ];
65
- $list_access = $options[ 'list_access' ];
66
-
67
  if ( $options[ 'admin_bar' ] != '' ) {
68
 
69
  global $wp_admin_bar;
70
 
71
  if ( !is_user_logged_in() ) { return; }
72
  if ( !is_admin_bar_showing() ) { return; }
 
73
 
74
  $wp_admin_bar -> add_menu( array(
75
  'id' => 'aye-menu',
76
  'title' => __( 'YouTube Embed', 'youtube-embed' ) ) );
77
 
78
- if ( function_exists( 'wp_readme_parser' ) ) {
79
- $wp_admin_bar -> add_menu( array(
80
- 'parent' => 'aye-menu',
81
- 'id' => 'aye-readme',
82
- 'title' => __( 'Instructions', 'youtube-embed' ),
83
- 'href' => admin_url( 'admin.php?page=support-instructions' ),
84
- 'meta' => array( 'target' => '_blank' ) ) );
85
- }
86
-
87
- if ( current_user_can( 'delete_plugins' ) ) {
88
- $wp_admin_bar -> add_menu( array(
89
- 'parent' => 'aye-menu',
90
- 'id' => 'aye-options',
91
- 'title' => __( 'Options', 'youtube-embed' ),
92
- 'href' => admin_url( 'admin.php?page=general-options' ),
93
- 'meta' => array( 'target' => '_blank' ) ) );
94
- }
95
-
96
- if ( current_user_can( $profile_access ) ) {
97
- $wp_admin_bar -> add_menu( array(
98
- 'parent' => 'aye-menu',
99
- 'id' => 'aye-profile',
100
- 'title' => __( 'Profiles', 'youtube-embed' ),
101
- 'href' => admin_url( 'admin.php?page=profile-options' ),
102
- 'meta' => array( 'target' => '_blank' ) ) );
103
- }
104
-
105
- if ( current_user_can( $list_access ) ) {
106
- $wp_admin_bar -> add_menu( array(
107
- 'parent' => 'aye-menu',
108
- 'id' => 'aye-lists',
109
- 'title' => __( 'Lists', 'youtube-embed' ),
110
- 'href' => admin_url( 'admin.php?page=list-options' ),
111
- 'meta' => array( 'target' => '_blank' ) ) );
112
- }
113
  }
114
  }
115
  }
22
  function vye_admin_bar_render_3_1() {
23
 
24
  global $wp_version;
25
+
26
+ $options = vye_set_general_defaults();
27
 
28
+ if ( ( current_user_can( $options[ 'menu_access' ] ) ) && ( ( float ) $wp_version >= 3.1 ) && ( ( float ) $wp_version < 3.3 ) ) {
 
 
29
 
30
  if ( $options[ 'admin_bar' ] != '' ) {
31
 
61
 
62
  $options = vye_set_general_defaults();
63
 
 
 
 
64
  if ( $options[ 'admin_bar' ] != '' ) {
65
 
66
  global $wp_admin_bar;
67
 
68
  if ( !is_user_logged_in() ) { return; }
69
  if ( !is_admin_bar_showing() ) { return; }
70
+ if ( !current_user_can( $options[ 'menu_access' ] ) ) { return; }
71
 
72
  $wp_admin_bar -> add_menu( array(
73
  'id' => 'aye-menu',
74
  'title' => __( 'YouTube Embed', 'youtube-embed' ) ) );
75
 
76
+ $wp_admin_bar -> add_menu( array(
77
+ 'parent' => 'aye-menu',
78
+ 'id' => 'aye-options',
79
+ 'title' => __( 'Options', 'youtube-embed' ),
80
+ 'href' => admin_url( 'admin.php?page=general-options' ),
81
+ 'meta' => array( 'target' => '_blank' ) ) );
82
+
83
+ $wp_admin_bar -> add_menu( array(
84
+ 'parent' => 'aye-menu',
85
+ 'id' => 'aye-profile',
86
+ 'title' => __( 'Profiles', 'youtube-embed' ),
87
+ 'href' => admin_url( 'admin.php?page=profile-options' ),
88
+ 'meta' => array( 'target' => '_blank' ) ) );
89
+
90
+ $wp_admin_bar -> add_menu( array(
91
+ 'parent' => 'aye-menu',
92
+ 'id' => 'aye-lists',
93
+ 'title' => __( 'Lists', 'youtube-embed' ),
94
+ 'href' => admin_url( 'admin.php?page=list-options' ),
95
+ 'meta' => array( 'target' => '_blank' ) ) );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
96
  }
97
  }
98
  }
includes/admin-config.php CHANGED
@@ -224,7 +224,7 @@ function vye_options_help() {
224
  $help_text = '<p>' . __( '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.', 'youtube-embed' ) . '</p>';
225
  $help_text .= '<p>' . __( 'Remember to click the Save Settings button at the bottom of the screen for new settings to take effect.', 'youtube-embed' ) . '</p>';
226
  $help_text .= '<p><strong>' . __( 'For more information:', 'youtube-embed' ) . '</strong></p>';
227
- $help_text .= '<p><a href="http://wordpress.org/extend/plugins/youtube-embed/">' . __( 'Vixy YouTube Embed Plugin Documentation', 'youtube-embed' ) . '</a></p>';
228
  $help_text .= '<p><a href="http://code.google.com/apis/youtube/player_parameters.html">' . __( 'YouTube Player Documentation', 'youtube-embed' ) . '</a></p>';
229
 
230
  return $help_text;
@@ -265,7 +265,7 @@ function vye_profiles_help() {
265
  $help_text = '<p>' . __( '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.', 'youtube-embed' ) . '</p>';
266
  $help_text .= '<p>' . __( 'Remember to click the Save Settings button at the bottom of the screen for new settings to take effect.', 'youtube-embed' ) . '</p>';
267
  $help_text .= '<p><strong>' . __( 'For more information:' ) . '</strong></p>';
268
- $help_text .= '<p><a href="http://wordpress.org/extend/plugins/youtube-embed/">' . __( 'Vixy YouTube Embed Plugin Documentation', 'youtube-embed' ) . '</a></p>';
269
  $help_text .= '<p><a href="http://code.google.com/apis/youtube/player_parameters.html">' . __( 'YouTube Player Documentation', 'youtube-embed' ) . '</a></p>';
270
  $help_text .= '<p><a href="http://embedplus.com/">' . __( 'EmbedPlus website', 'youtube-embed' ) . '</a></p>';
271
 
@@ -307,7 +307,7 @@ function vye_lists_help() {
307
  $help_text = '<p>' . __( '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.', 'youtube-embed' ) . '</p>';
308
  $help_text .= '<p>' . __( 'Remember to click the Save Settings button at the bottom of the screen for new settings to take effect.', 'youtube-embed' ) . '</p>';
309
  $help_text .= '<p><strong>' . __( 'For more information:', 'youtube-embed' ) . '</strong></p>';
310
- $help_text .= '<p><a href="http://wordpress.org/extend/plugins/youtube-embed/">' . __( 'Vixy YouTube Embed Plugin Documentation', 'youtube-embed' ) . '</a></p>';
311
  $help_text .= '<p><a href="http://code.google.com/apis/youtube/player_parameters.html">' . __( 'YouTube Player Documentation', 'youtube-embed' ) . '</a></p>';
312
 
313
  return $help_text;
224
  $help_text = '<p>' . __( '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.', 'youtube-embed' ) . '</p>';
225
  $help_text .= '<p>' . __( 'Remember to click the Save Settings button at the bottom of the screen for new settings to take effect.', 'youtube-embed' ) . '</p>';
226
  $help_text .= '<p><strong>' . __( 'For more information:', 'youtube-embed' ) . '</strong></p>';
227
+ $help_text .= '<p><a href="http://vixy.net/youtube-embed/documentation.php">' . __( 'Vixy YouTube Embed Plugin Documentation', 'youtube-embed' ) . '</a></p>';
228
  $help_text .= '<p><a href="http://code.google.com/apis/youtube/player_parameters.html">' . __( 'YouTube Player Documentation', 'youtube-embed' ) . '</a></p>';
229
 
230
  return $help_text;
265
  $help_text = '<p>' . __( '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.', 'youtube-embed' ) . '</p>';
266
  $help_text .= '<p>' . __( 'Remember to click the Save Settings button at the bottom of the screen for new settings to take effect.', 'youtube-embed' ) . '</p>';
267
  $help_text .= '<p><strong>' . __( 'For more information:' ) . '</strong></p>';
268
+ $help_text .= '<p><a href="http://vixy.net/youtube-embed/documentation.php">' . __( 'Vixy YouTube Embed Plugin Documentation', 'youtube-embed' ) . '</a></p>';
269
  $help_text .= '<p><a href="http://code.google.com/apis/youtube/player_parameters.html">' . __( 'YouTube Player Documentation', 'youtube-embed' ) . '</a></p>';
270
  $help_text .= '<p><a href="http://embedplus.com/">' . __( 'EmbedPlus website', 'youtube-embed' ) . '</a></p>';
271
 
307
  $help_text = '<p>' . __( '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.', 'youtube-embed' ) . '</p>';
308
  $help_text .= '<p>' . __( 'Remember to click the Save Settings button at the bottom of the screen for new settings to take effect.', 'youtube-embed' ) . '</p>';
309
  $help_text .= '<p><strong>' . __( 'For more information:', 'youtube-embed' ) . '</strong></p>';
310
+ $help_text .= '<p><a href="http://vixy.net/youtube-embed/documentation.php">' . __( 'Vixy YouTube Embed Plugin Documentation', 'youtube-embed' ) . '</a></p>';
311
  $help_text .= '<p><a href="http://code.google.com/apis/youtube/player_parameters.html">' . __( 'YouTube Player Documentation', 'youtube-embed' ) . '</a></p>';
312
 
313
  return $help_text;
includes/generate-download-code.php CHANGED
@@ -46,9 +46,44 @@ function vye_generate_download_code( $id ) {
46
 
47
  // Get the link from Vixy
48
 
49
- $url = 'http://vixy.net/downloadbar?id=' . $id . '&sip=' . $_SERVER['SERVER_ADDR']. '&affiliate_id=' . $affiliate;
50
 
51
  $file = vye_get_file( $url );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
52
 
53
  // Return the resulting code
54
 
46
 
47
  // Get the link from Vixy
48
 
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(),
58
+ 'title' => array(),
59
+ 'class' => array(),
60
+ 'id' => array(),
61
+ 'style' => array()
62
+ ),
63
+ 'br' => array(),
64
+ 'p' => array(
65
+ 'class' => array(),
66
+ 'id' => array(),
67
+ 'style' => array()
68
+ ),
69
+ 'span' => array(
70
+ 'class' => array(),
71
+ 'id' => array(),
72
+ 'style' => array()
73
+ ),
74
+ 'div' => array(
75
+ 'class' => array(),
76
+ 'id' => array(),
77
+ 'style' => array()
78
+ ),
79
+ 'img' => array(
80
+ 'alt' => array(),
81
+ 'src' => array(),
82
+ 'width' => array(),
83
+ 'height' => array()
84
+ ) );
85
+
86
+ $file = wp_kses( $file, $allowed_html );
87
 
88
  // Return the resulting code
89
 
includes/generate-embed-code.php CHANGED
@@ -48,7 +48,7 @@
48
  * @param string $audio Only show controls, for audio playback
49
  * @param string $template Display template
50
  * @param string $hd Use HD, if available
51
- * @param string $color Progress bar colour
52
  * @param string $theme Use dark or light theme
53
  * @param string $https Use HTTPS for links
54
  * @param string $dynamic Show dynamic output
48
  * @param string $audio Only show controls, for audio playback
49
  * @param string $template Display template
50
  * @param string $hd Use HD, if available
51
+ * @param string $color Progress bar color
52
  * @param string $theme Use dark or light theme
53
  * @param string $https Use HTTPS for links
54
  * @param string $dynamic Show dynamic output
includes/options-general.php CHANGED
@@ -107,12 +107,12 @@ $editor_sc = vye_set_editor_sc();
107
  <table class="form-table">
108
  <tr>
109
  <th scope="row"><?php _e( 'Add Metadata', 'youtube-embed' ); ?></th>
110
- <td><input type="checkbox" name="youtube_embed_metadata" value="1"<?php if ( $options[ 'metadata' ] == "1" ) { echo ' checked="checked"'; } ?>/>&nbsp;<span class="description"><?php _e( 'Allow rich metadata to be added to code. <a href="http://wordpress.org/extend/plugins/youtube-embed/other_notes#Metadata">Learn more</a>', 'youtube-embed' ); ?></span></td>
111
  </tr>
112
 
113
  <tr>
114
  <th scope="row"><?php _e( 'Comment Embedding', 'youtube-embed' ); ?></th>
115
- <td><input type="checkbox" name="youtube_embed_comments" value="1"<?php if ( $options[ 'comments' ] == "1" ) { echo ' checked="checked"'; } ?>/>&nbsp;<span class="description"><?php _e( 'Allow YouTube URLs in comments - will display as embedded videos. <a href="http://wordpress.org/extend/plugins/youtube-embed/other_notes#Videos-in-Comments">Learn more</a>', 'youtube-embed' ); ?></span></td>
116
  </tr>
117
 
118
  <tr>
@@ -176,7 +176,7 @@ $editor_sc = vye_set_editor_sc();
176
  </tr>
177
  </table>
178
 
179
- <br/><span class="yt_heading"><?php _e( 'Migration', 'youtube-embed' ); ?></span><br/><br/><?php _e( 'Switch on compatibility with other embedding plugins. For more details please <a href="http://wordpress.org/extend/plugins/youtube-embed/other_notes#Migration">click here</a>.', 'youtube-embed' ); ?>
180
 
181
  <table class="form-table">
182
  <tr>
@@ -321,7 +321,7 @@ echo '<p>' . __( 'You currently have cache for', 'youtube_embed' ) . ' ' . numbe
321
  <br/><span class="yt_heading"><?php _e( 'Affiliates', 'youtube-embed' ); ?></span>
322
  <table class="form-table"><tr>
323
  <th scope="row"><?php _e( 'ShareASale ID', 'youtube-embed' ); ?></th>
324
- <td><input type="text" maxlength="6" size="6" name="youtube_embed_shareasale_id" value="<?php echo $options[ 'shareasale_id' ]; ?>"/>&nbsp;<span class="description"><?php _e( '<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://wordpress.org/extend/plugins/youtube-embed/other_notes#Make-Money-from-Vixy-YouTube-Embed">Read more</a>.', 'youtube-embed' ); ?></span></td>
325
  </tr></table>
326
 
327
  <?php wp_nonce_field( 'youtube-embed-general','youtube_embed_general_nonce', true, true ); ?>
107
  <table class="form-table">
108
  <tr>
109
  <th scope="row"><?php _e( 'Add Metadata', 'youtube-embed' ); ?></th>
110
+ <td><input type="checkbox" name="youtube_embed_metadata" value="1"<?php if ( $options[ 'metadata' ] == "1" ) { echo ' checked="checked"'; } ?>/>&nbsp;<span class="description"><?php _e( 'Allow rich metadata to be added to code. <a href="http://vixy.net/youtube-embed/documentation.php#Metadata">Learn more</a>', 'youtube-embed' ); ?></span></td>
111
  </tr>
112
 
113
  <tr>
114
  <th scope="row"><?php _e( 'Comment Embedding', 'youtube-embed' ); ?></th>
115
+ <td><input type="checkbox" name="youtube_embed_comments" value="1"<?php if ( $options[ 'comments' ] == "1" ) { echo ' checked="checked"'; } ?>/>&nbsp;<span class="description"><?php _e( 'Allow YouTube URLs in comments - will display as embedded videos.', 'youtube-embed' ); ?></span></td>
116
  </tr>
117
 
118
  <tr>
176
  </tr>
177
  </table>
178
 
179
+ <br/><span class="yt_heading"><?php _e( 'Migration', 'youtube-embed' ); ?></span><br/><br/><?php _e( 'Switch on compatibility with other embedding plugins. For more details please <a href="http://vixy.net/youtube-embed/documentation.php#Migrating">click here</a>.', 'youtube-embed' ); ?>
180
 
181
  <table class="form-table">
182
  <tr>
321
  <br/><span class="yt_heading"><?php _e( 'Affiliates', 'youtube-embed' ); ?></span>
322
  <table class="form-table"><tr>
323
  <th scope="row"><?php _e( 'ShareASale ID', 'youtube-embed' ); ?></th>
324
+ <td><input type="text" maxlength="6" size="6" name="youtube_embed_shareasale_id" value="<?php echo $options[ 'shareasale_id' ]; ?>"/>&nbsp;<span class="description"><?php _e( '<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>.', 'youtube-embed' ); ?></span></td>
325
  </tr></table>
326
 
327
  <?php wp_nonce_field( 'youtube-embed-general','youtube_embed_general_nonce', true, true ); ?>
includes/options-profiles.php CHANGED
@@ -137,8 +137,8 @@ echo ' ' . __( 'Use the drop-down on the right hand side to swap between profile
137
  <td><span class="description"><?php _e( 'The type of player to use for videos.', 'youtube-embed' ); ?></span><br/>
138
  <input type="radio" name="youtube_embed_type" value="v"<?php if ( $options[ 'type' ] == "v" ) { echo ' checked="checked"'; } ?>/><?php echo '&nbsp;' . __( 'IFRAME', 'youtube-embed' ); ?><span class="description"><?php echo '&nbsp;' . __( 'Uses AS3 Flash player, if Flash is available. Alternatively, uses HTML5 player. This is the current YouTube default.', 'youtube-embed' ); ?></span><br/>
139
  <input type="radio" name="youtube_embed_type" value="p"<?php if ( $options[ 'type' ] == "p" ) { echo ' checked="checked"'; } ?>/><?php echo '&nbsp;' . __( 'OBJECT', 'youtube-embed' ); ?><span class="description"><?php echo '&nbsp;' . __( 'Use the AS3 Flash player.', 'youtube-embed' ); ?></span><br/>
140
- <input type="radio" name="youtube_embed_type" value="c"<?php if ( $options[ 'type' ] == "c" ) { echo ' checked="checked"'; } ?>/><?php echo '&nbsp;' . __( 'Chromeless', 'youtube-embed' ); ?><span class="description"><?php echo '&nbsp;' . __( 'Use the <a href="http://wordpress.org/extend/plugins/youtube-embed/other_notes#The-Chromeless-Player">Chromeless</a> version of the AS3 Flash Player.', 'youtube-embed' ); ?></span><br/>
141
- <input type="radio" name="youtube_embed_type" value="m"<?php if ( $options[ 'type' ] == "m" ) { echo ' checked="checked"'; } ?>/><?php echo '&nbsp;' . __( 'EmbedPlus', 'youtube-embed' ); ?><span class="description"><?php echo '&nbsp;' . __( 'Use <a href="http://wordpress.org/extend/plugins/youtube-embed/other_notes#EmbedPlus">EmbedPlus</a>, if Flash is available.', 'youtube-embed' ); ?></span>
142
  </td>
143
  </tr>
144
 
@@ -271,11 +271,11 @@ echo ' ' . __( 'Use the drop-down on the right hand side to swap between profile
271
  </tr>
272
 
273
  <tr>
274
- <th scope="row"><?php _e( 'Progress Bar Colour', 'youtube-embed' ); ?></th>
275
  <td><select name="youtube_embed_color">
276
  <option value="red"<?php if ( $options[ 'color' ] == "red" ) { echo " selected='selected'"; } ?>><?php _e( 'Red', 'youtube-embed' ); ?></option>
277
  <option value="white"<?php if ( $options[ 'color' ] == "white" ) { echo " selected='selected'"; } ?>><?php _e( 'White (desaturated)', 'youtube-embed' ); ?></option>
278
- </select>&nbsp;<span class="description"><?php _e( 'The colour that will be used in the player\'s video progress bar to highlight the amount of the video that\'s already been seen', 'youtube-embed' ); ?></span></td>
279
  </tr>
280
 
281
  <tr>
@@ -330,7 +330,7 @@ echo ' ' . __( 'Use the drop-down on the right hand side to swap between profile
330
 
331
  </table>
332
 
333
- <br/><span class="yt_heading"><?php _e( 'Options Only Supported By EmbedPlus', 'youtube-embed' ); ?></span>&nbsp;&nbsp;<span class="description"><?php echo '<a href="http://wordpress.org/extend/plugins/youtube-embed/other_notes#EmbedPlus">' . __( 'Learn more about EmbedPlus', 'youtube-embed' ) . '</a>'; ?></span>
334
 
335
  <table class="form-table">
336
  <tr valign="top">
137
  <td><span class="description"><?php _e( 'The type of player to use for videos.', 'youtube-embed' ); ?></span><br/>
138
  <input type="radio" name="youtube_embed_type" value="v"<?php if ( $options[ 'type' ] == "v" ) { echo ' checked="checked"'; } ?>/><?php echo '&nbsp;' . __( 'IFRAME', 'youtube-embed' ); ?><span class="description"><?php echo '&nbsp;' . __( 'Uses AS3 Flash player, if Flash is available. Alternatively, uses HTML5 player. This is the current YouTube default.', 'youtube-embed' ); ?></span><br/>
139
  <input type="radio" name="youtube_embed_type" value="p"<?php if ( $options[ 'type' ] == "p" ) { echo ' checked="checked"'; } ?>/><?php echo '&nbsp;' . __( 'OBJECT', 'youtube-embed' ); ?><span class="description"><?php echo '&nbsp;' . __( 'Use the AS3 Flash player.', 'youtube-embed' ); ?></span><br/>
140
+ <input type="radio" name="youtube_embed_type" value="c"<?php if ( $options[ 'type' ] == "c" ) { echo ' checked="checked"'; } ?>/><?php echo '&nbsp;' . __( 'Chromeless', 'youtube-embed' ); ?><span class="description"><?php echo '&nbsp;' . __( 'Use the <a href="http://vixy.net/youtube-embed/documentation.php#Chromeless_Player">Chromeless</a> version of the AS3 Flash Player.', 'youtube-embed' ); ?></span><br/>
141
+ <input type="radio" name="youtube_embed_type" value="m"<?php if ( $options[ 'type' ] == "m" ) { echo ' checked="checked"'; } ?>/><?php echo '&nbsp;' . __( 'EmbedPlus', 'youtube-embed' ); ?><span class="description"><?php echo '&nbsp;' . __( 'Use <a href="http://vixy.net/youtube-embed/documentation.php#EmbedPlus">EmbedPlus</a>, if Flash is available.', 'youtube-embed' ); ?></span>
142
  </td>
143
  </tr>
144
 
271
  </tr>
272
 
273
  <tr>
274
+ <th scope="row"><?php _e( 'Progress Bar Color', 'youtube-embed' ); ?></th>
275
  <td><select name="youtube_embed_color">
276
  <option value="red"<?php if ( $options[ 'color' ] == "red" ) { echo " selected='selected'"; } ?>><?php _e( 'Red', 'youtube-embed' ); ?></option>
277
  <option value="white"<?php if ( $options[ 'color' ] == "white" ) { echo " selected='selected'"; } ?>><?php _e( 'White (desaturated)', 'youtube-embed' ); ?></option>
278
+ </select>&nbsp;<span class="description"><?php _e( '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', 'youtube-embed' ); ?></span></td>
279
  </tr>
280
 
281
  <tr>
330
 
331
  </table>
332
 
333
+ <br/><span class="yt_heading"><?php _e( 'Options Only Supported By EmbedPlus', 'youtube-embed' ); ?></span>&nbsp;&nbsp;<span class="description"><?php echo '<a href="http://vixy.net/youtube-embed/documentation.php#EmbedPlus">' . __( 'Learn more about EmbedPlus', 'youtube-embed' ) . '</a>'; ?></span>
334
 
335
  <table class="form-table">
336
  <tr valign="top">
languages/youtube-embed.mo CHANGED
Binary file
languages/youtube-embed.po CHANGED
@@ -2,37 +2,36 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Vixy YouTube Embed\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2013-02-05 13:42-0000\n"
6
- "PO-Revision-Date: 2013-02-05 13:44-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.4\n"
16
  "X-Poedit-SearchPath-0: .\n"
17
 
18
- #: includes/add-to-admin-bar.php:36 includes/add-to-admin-bar.php:76
 
19
  #: includes/generate-widgets.php:24
20
  msgid "YouTube Embed"
21
  msgstr ""
22
 
23
- #: includes/add-to-admin-bar.php:82
24
- msgid "Instructions"
25
- msgstr ""
26
-
27
- #: includes/add-to-admin-bar.php:91 includes/admin-config.php:93
28
  msgid "Options"
29
  msgstr ""
30
 
31
- #: includes/add-to-admin-bar.php:100 includes/admin-config.php:103
 
32
  msgid "Profiles"
33
  msgstr ""
34
 
35
- #: includes/add-to-admin-bar.php:109 includes/admin-config.php:113
 
36
  msgid "Lists"
37
  msgstr ""
38
 
@@ -52,59 +51,56 @@ msgstr ""
52
  msgid "YouTube"
53
  msgstr ""
54
 
55
- #: includes/admin-config.php:93 includes/options-general.php:14
 
56
  msgid "Vixy YouTube Embed Options"
57
  msgstr ""
58
 
59
- #: includes/admin-config.php:103 includes/options-profiles.php:17
60
  msgid "Vixy YouTube Embed Profiles"
61
  msgstr ""
62
 
63
- #: includes/admin-config.php:113 includes/options-lists.php:15
 
64
  msgid "Vixy YouTube Embed Lists"
65
  msgstr ""
66
 
67
- #: includes/admin-config.php:209 includes/admin-config.php:250
 
68
  #: includes/admin-config.php:292
69
  msgid "Help"
70
  msgstr ""
71
 
72
  #: includes/admin-config.php:224
73
- msgid ""
74
- "This screen allows you to select non-specific options for the Vixy YouTube "
75
- "Embed plugin. For the default embedding settings, please select the <a href="
76
- "\"admin.php?page=profile-options\">Profiles</a> administration option."
77
  msgstr ""
78
 
79
- #: includes/admin-config.php:225 includes/admin-config.php:266
 
80
  #: includes/admin-config.php:308
81
- msgid ""
82
- "Remember to click the Save Settings button at the bottom of the screen for "
83
- "new settings to take effect."
84
  msgstr ""
85
 
86
- #: includes/admin-config.php:226 includes/admin-config.php:267
 
87
  #: includes/admin-config.php:309
88
  msgid "For more information:"
89
  msgstr ""
90
 
91
- #: includes/admin-config.php:227 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 includes/admin-config.php:269
 
97
  #: includes/admin-config.php:311
98
  msgid "YouTube Player Documentation"
99
  msgstr ""
100
 
101
  #: includes/admin-config.php:265
102
- msgid ""
103
- "This screen allows you to set the options for the default and additional "
104
- "profiles. If you don't specify a specific parameter when displaying your "
105
- "YouTube video then the default profile option will be used instead. "
106
- "Additional profiles, which you may name, can be used as well and used as "
107
- "required."
108
  msgstr ""
109
 
110
  #: includes/admin-config.php:270
@@ -112,9 +108,7 @@ msgid "EmbedPlus website"
112
  msgstr ""
113
 
114
  #: includes/admin-config.php:307
115
- msgid ""
116
- "This screen allows you to create lists of YouTube videos, which may be "
117
- "named. These lists can then be used in preference to a single video ID."
118
  msgstr ""
119
 
120
  #: includes/admin-config.php:369
@@ -126,26 +120,24 @@ msgid "Thank you for installing this plugin."
126
  msgstr ""
127
 
128
  #: includes/admin-config.php:371
129
- msgid ""
130
- "These new menu options will allow you to configure your videos to just how "
131
- "you want them and provide links for help and support."
132
  msgstr ""
133
 
134
  #: includes/admin-config.php:372
135
- msgid ""
136
- "Even if you do nothing else, please visit the Profiles option to check your "
137
- "default video values."
138
  msgstr ""
139
 
140
  #: includes/deprecated.php:55
141
  msgid "This function does not support playlists"
142
  msgstr ""
143
 
144
- #: includes/function-calls.php:162 includes/function-calls.php:223
145
- #: includes/generate-download-code.php:34 includes/generate-embed-code.php:114
 
 
146
  #: includes/generate-shorturl-code.php:34
147
  #: includes/generate-thumbnail-code.php:39
148
- #: includes/generate-transcript-code.php:38 includes/shortcodes.php:261
149
  #, php-format
150
  msgid "The YouTube ID of %s is invalid."
151
  msgstr ""
@@ -164,9 +156,7 @@ msgid "No video/playlist ID has been supplied"
164
  msgstr ""
165
 
166
  #: includes/generate-embed-code.php:181
167
- msgid ""
168
- "A video list cannot be viewed within this feed - please view the original "
169
- "content"
170
  msgstr ""
171
 
172
  #: includes/generate-embed-code.php:185
@@ -186,7 +176,8 @@ msgstr ""
186
  msgid "Embed YouTube Widget."
187
  msgstr ""
188
 
189
- #: includes/options-general.php:63 includes/options-lists.php:28
 
190
  msgid "Settings Saved."
191
  msgstr ""
192
 
@@ -195,10 +186,7 @@ msgid "Cache cleared."
195
  msgstr ""
196
 
197
  #: includes/options-general.php:101
198
- msgid ""
199
- "These are the general settings for Vixy YouTube Embed. Please select <a href="
200
- "\"admin.php?page=profile-options\">Profiles</a> for default embedding "
201
- "settings."
202
  msgstr ""
203
 
204
  #: includes/options-general.php:105
@@ -210,9 +198,7 @@ msgid "Add Metadata"
210
  msgstr ""
211
 
212
  #: includes/options-general.php:110
213
- msgid ""
214
- "Allow rich metadata to be added to code. <a href=\"http://wordpress.org/"
215
- "extend/plugins/youtube-embed/other_notes#Metadata\">Learn more</a>"
216
  msgstr ""
217
 
218
  #: includes/options-general.php:114
@@ -220,14 +206,13 @@ msgid "Comment Embedding"
220
  msgstr ""
221
 
222
  #: includes/options-general.php:115
223
- msgid ""
224
- "Allow YouTube URLs in comments - will display as embedded videos. <a href="
225
- "\"http://wordpress.org/extend/plugins/youtube-embed/other_notes#Videos-in-"
226
- "Comments\">Learn more</a>"
227
  msgstr ""
228
 
229
- #: includes/options-general.php:119 includes/options-general.php:160
230
- #: includes/options-general.php:172 includes/options-general.php:193
 
 
231
  msgid "Profile to use"
232
  msgstr ""
233
 
@@ -248,16 +233,14 @@ msgid "Thumbnail &amp; Text Link"
248
  msgstr ""
249
 
250
  #: includes/options-general.php:131
251
- msgid ""
252
- "Videos cannot be embedded in feeds. Select how you wish them to be shown "
253
- "instead"
254
  msgstr ""
255
 
256
  #: includes/options-general.php:135
257
  msgid "Thumbnail to use"
258
  msgstr ""
259
 
260
- #: includes/options-general.php:137 includes/shared-functions.php:481
261
  msgid "Default"
262
  msgstr ""
263
 
@@ -286,9 +269,7 @@ msgid "Allow shortcodes in widgets"
286
  msgstr ""
287
 
288
  #: includes/options-general.php:147
289
- msgid ""
290
- "Allow shortcodes to be used in widgets - this will apply to <strong>all</"
291
- "strong> widgets"
292
  msgstr ""
293
 
294
  #: includes/options-general.php:151
@@ -296,10 +277,7 @@ msgid "Alternative Shortcodes"
296
  msgstr ""
297
 
298
  #: includes/options-general.php:151
299
- msgid ""
300
- "Specify up to 2 alternative shortcodes to compliment the standard "
301
- "<code>youtube</code> shortcode. <strong>NB: These should be specified "
302
- "without the surrounding square brackets.</strong>"
303
  msgstr ""
304
 
305
  #: includes/options-general.php:155
@@ -315,10 +293,7 @@ msgid "Migration"
315
  msgstr ""
316
 
317
  #: includes/options-general.php:179
318
- msgid ""
319
- "Switch on compatibility with other embedding plugins. For more details "
320
- "please <a href=\"http://wordpress.org/extend/plugins/youtube-embed/"
321
- "other_notes#Migration\">click here</a>."
322
  msgstr ""
323
 
324
  #: includes/options-general.php:183
@@ -326,8 +301,7 @@ msgid "Bracket Embedding"
326
  msgstr ""
327
 
328
  #: includes/options-general.php:184
329
- msgid ""
330
- "Allow embedding using URLs within brackets. Activating impacts performance"
331
  msgstr ""
332
 
333
  #: includes/options-general.php:188
@@ -431,9 +405,7 @@ msgid "Video Information Cache"
431
  msgstr ""
432
 
433
  #: includes/options-general.php:253
434
- msgid ""
435
- "How many hours to retain video information, including it's validity. 0 to "
436
- "switch off"
437
  msgstr ""
438
 
439
  #: includes/options-general.php:257
@@ -465,9 +437,7 @@ msgid "YouTube API"
465
  msgstr ""
466
 
467
  #: includes/options-general.php:277
468
- msgid ""
469
- "The YouTube API is used to validate video IDs and to determine if it is a "
470
- "video or playlist."
471
  msgstr ""
472
 
473
  #: includes/options-general.php:281
@@ -499,9 +469,7 @@ msgid "Error Reporting"
499
  msgstr ""
500
 
501
  #: includes/options-general.php:294
502
- msgid ""
503
- "Playback errors are within the XHTML source code as comments - parameter "
504
- "errors and other types are displayed on the post output."
505
  msgstr ""
506
 
507
  #: includes/options-general.php:297
@@ -557,15 +525,11 @@ msgid "ShareASale ID"
557
  msgstr ""
558
 
559
  #: includes/options-general.php:324
560
- msgid ""
561
- "<a href=\"http://www.shareasale.com/r.cfm?B=44&U=668714&M=47&urllink=\">Sign "
562
- "up to ShareASale</a> and earn money. <a href=\"http://wordpress.org/extend/"
563
- "plugins/youtube-embed/other_notes#Make-Money-from-Vixy-YouTube-Embed\">Read "
564
- "more</a>."
565
  msgstr ""
566
 
567
- #: includes/options-general.php:329 includes/options-lists.php:121
568
- #: includes/options-profiles.php:361
569
  msgid "Save Settings"
570
  msgstr ""
571
 
@@ -590,9 +554,7 @@ msgid "These are the options for list "
590
  msgstr ""
591
 
592
  #: includes/options-lists.php:103
593
- msgid ""
594
- "Update the name, if required, and specify a list of YouTube video IDs. Use "
595
- "the drop-down on the right hand side to swap between lists."
596
  msgstr ""
597
 
598
  #: includes/options-lists.php:108
@@ -607,7 +569,7 @@ msgstr ""
607
  msgid "Video IDs (one per line)"
608
  msgstr ""
609
 
610
- #: includes/options-lists.php:132 includes/options-widgets.php:19
611
  msgid "Video ID"
612
  msgstr ""
613
 
@@ -680,19 +642,21 @@ msgstr ""
680
  msgid "The type of player to use for videos."
681
  msgstr ""
682
 
683
- #: includes/options-profiles.php:138 includes/options-profiles.php:148
684
- #: includes/options-profiles.php:339 includes/options-widgets.php:89
 
 
685
  msgid "IFRAME"
686
  msgstr ""
687
 
688
  #: includes/options-profiles.php:138
689
- msgid ""
690
- "Uses AS3 Flash player, if Flash is available. Alternatively, uses HTML5 "
691
- "player. This is the current YouTube default."
692
  msgstr ""
693
 
694
- #: includes/options-profiles.php:139 includes/options-profiles.php:149
695
- #: includes/options-profiles.php:340 includes/options-widgets.php:91
 
 
696
  msgid "OBJECT"
697
  msgstr ""
698
 
@@ -700,26 +664,23 @@ msgstr ""
700
  msgid "Use the AS3 Flash player."
701
  msgstr ""
702
 
703
- #: includes/options-profiles.php:140 includes/options-widgets.php:93
 
704
  msgid "Chromeless"
705
  msgstr ""
706
 
707
  #: includes/options-profiles.php:140
708
- msgid ""
709
- "Use the <a href=\"http://wordpress.org/extend/plugins/youtube-embed/"
710
- "other_notes#The-Chromeless-Player\">Chromeless</a> version of the AS3 Flash "
711
- "Player."
712
  msgstr ""
713
 
714
- #: includes/options-profiles.php:141 includes/options-profiles.php:374
 
715
  #: includes/options-widgets.php:95
716
  msgid "EmbedPlus"
717
  msgstr ""
718
 
719
  #: includes/options-profiles.php:141
720
- msgid ""
721
- "Use <a href=\"http://wordpress.org/extend/plugins/youtube-embed/"
722
- "other_notes#EmbedPlus\">EmbedPlus</a>, if Flash is available."
723
  msgstr ""
724
 
725
  #: includes/options-profiles.php:146
@@ -734,17 +695,17 @@ msgstr ""
734
  msgid "Options For All Player Types"
735
  msgstr ""
736
 
737
- #: includes/options-profiles.php:158 includes/options-widgets.php:49
 
738
  msgid "Template"
739
  msgstr ""
740
 
741
  #: includes/options-profiles.php:159
742
- msgid ""
743
- "Wrapper for video output. Must include <code>%video%</code> tag to show "
744
- "video position"
745
  msgstr ""
746
 
747
- #: includes/options-profiles.php:163 includes/options-widgets.php:55
 
748
  msgid "Style"
749
  msgstr ""
750
 
@@ -788,7 +749,8 @@ msgstr ""
788
  msgid "Select one of these default sizes to override the above video sizes"
789
  msgstr ""
790
 
791
- #: includes/options-profiles.php:199 includes/options-widgets.php:73
 
792
  msgid "Dynamically Resize"
793
  msgstr ""
794
 
@@ -812,7 +774,8 @@ msgstr ""
812
  msgid "Only show the toolbar for audio only playback"
813
  msgstr ""
814
 
815
- #: includes/options-profiles.php:217 includes/options-widgets.php:101
 
816
  msgid "Autoplay"
817
  msgstr ""
818
 
@@ -861,25 +824,20 @@ msgid "Controls display &amp; Flash player loads once video starts"
861
  msgstr ""
862
 
863
  #: includes/options-profiles.php:242
864
- msgid ""
865
- "Whether the video player controls will display. For AS3 player it also "
866
- "defines when the Flash player will load"
867
  msgstr ""
868
 
869
  #: includes/options-profiles.php:247
870
- msgid ""
871
- "Use SSL? <a href=\"http://www.google.com/support/youtube/bin/answer.py?"
872
- "answer=171780&expand=UseHTTPS#HTTPS\">Read more</a>"
873
  msgstr ""
874
 
875
- #: includes/options-profiles.php:251 includes/options-widgets.php:147
 
876
  msgid "Loop Video"
877
  msgstr ""
878
 
879
  #: includes/options-profiles.php:252
880
- msgid ""
881
- "Play the initial video again and again. In the case of a playlist, this will "
882
- "play the entire playlist and then start again at the first video"
883
  msgstr ""
884
 
885
  #: includes/options-profiles.php:256
@@ -887,9 +845,7 @@ msgid "Information"
887
  msgstr ""
888
 
889
  #: includes/options-profiles.php:257
890
- msgid ""
891
- "Display the video title and uploader before the video starts. If displaying "
892
- "a playlist this will show video thumbnails"
893
  msgstr ""
894
 
895
  #: includes/options-profiles.php:261
@@ -897,8 +853,7 @@ msgid "Related Videos"
897
  msgstr ""
898
 
899
  #: includes/options-profiles.php:262
900
- msgid ""
901
- "Load related videos once playback starts. Also toggles the search option."
902
  msgstr ""
903
 
904
  #: includes/options-profiles.php:266
@@ -918,7 +873,7 @@ msgid "Display player controls within a dark or light control bar"
918
  msgstr ""
919
 
920
  #: includes/options-profiles.php:274
921
- msgid "Progress Bar Colour"
922
  msgstr ""
923
 
924
  #: includes/options-profiles.php:276
@@ -930,9 +885,7 @@ msgid "White (desaturated)"
930
  msgstr ""
931
 
932
  #: includes/options-profiles.php:278
933
- msgid ""
934
- "The colour that will be used in the player's video progress bar to highlight "
935
- "the amount of the video that's already been seen"
936
  msgstr ""
937
 
938
  #: includes/options-profiles.php:282
@@ -948,9 +901,7 @@ msgid "Options for AS3 Player"
948
  msgstr ""
949
 
950
  #: includes/options-profiles.php:289
951
- msgid ""
952
- "The following options are not supported if using EmbedPlus or if the IFRAME "
953
- "player uses HTML5."
954
  msgstr ""
955
 
956
  #: includes/options-profiles.php:293
@@ -966,9 +917,7 @@ msgid "Closed Captions"
966
  msgstr ""
967
 
968
  #: includes/options-profiles.php:299
969
- msgid ""
970
- "Show closed captions (subtitles) by default, even if the user has turned "
971
- "captions off"
972
  msgstr ""
973
 
974
  #: includes/options-profiles.php:303
@@ -1016,10 +965,7 @@ msgid "Window"
1016
  msgstr ""
1017
 
1018
  #: includes/options-profiles.php:328
1019
- msgid ""
1020
- "Sets the Window Mode property of the Flash movie for transparency, layering, "
1021
- "and positioning in the browser. <a href=\"http://www.communitymx.com/content/"
1022
- "article.cfm?cid=e5141\">Learn more</a>."
1023
  msgstr ""
1024
 
1025
  #: includes/options-profiles.php:333
@@ -1035,9 +981,7 @@ msgid "Fallback Embed Type"
1035
  msgstr ""
1036
 
1037
  #: includes/options-profiles.php:338
1038
- msgid ""
1039
- "The type of player to use if Flash is not available and EmbedPlus cannot be "
1040
- "used."
1041
  msgstr ""
1042
 
1043
  #: includes/options-profiles.php:344
@@ -1069,10 +1013,7 @@ msgid "YouTube Video Sample"
1069
  msgstr ""
1070
 
1071
  #: includes/options-profiles.php:371
1072
- msgid ""
1073
- "The video below uses the above, saved profile settings. Use the drop-down "
1074
- "below to change which parameters the video uses - press the Change Video "
1075
- "button to update it."
1076
  msgstr ""
1077
 
1078
  #: includes/options-profiles.php:373
@@ -1111,7 +1052,8 @@ msgstr ""
1111
  msgid "User"
1112
  msgstr ""
1113
 
1114
- #: includes/options-widgets.php:41 includes/shared-functions.php:488
 
1115
  msgid "Profile"
1116
  msgstr ""
1117
 
@@ -1119,18 +1061,22 @@ msgstr ""
1119
  msgid "Size"
1120
  msgstr ""
1121
 
1122
- #: includes/options-widgets.php:75 includes/options-widgets.php:87
1123
- #: includes/options-widgets.php:103 includes/options-widgets.php:135
 
 
1124
  #: includes/options-widgets.php:149
1125
  msgid "Profile default"
1126
  msgstr ""
1127
 
1128
- #: includes/options-widgets.php:77 includes/options-widgets.php:105
 
1129
  #: includes/options-widgets.php:151
1130
  msgid "No"
1131
  msgstr ""
1132
 
1133
- #: includes/options-widgets.php:79 includes/options-widgets.php:107
 
1134
  #: includes/options-widgets.php:153
1135
  msgid "Yes"
1136
  msgstr ""
@@ -1175,3 +1121,4 @@ msgstr ""
1175
  #, php-format
1176
  msgid "An error occurred accessing the YouTube API for video ID %s - %s"
1177
  msgstr ""
 
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
  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
  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
  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 ""
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
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
 
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
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
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
 
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
 
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
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
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
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
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
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
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
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
 
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
569
  msgid "Video IDs (one per line)"
570
  msgstr ""
571
 
572
+ #: includes/options-lists.php:132
573
  msgid "Video ID"
574
  msgstr ""
575
 
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
 
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
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
 
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
 
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
 
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
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
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
873
  msgstr ""
874
 
875
  #: includes/options-profiles.php:274
876
+ msgid "Progress Bar Color"
877
  msgstr ""
878
 
879
  #: includes/options-profiles.php:276
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
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
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
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
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
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
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
  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 ""
1121
  #, php-format
1122
  msgid "An error occurred accessing the YouTube API for video ID %s - %s"
1123
  msgstr ""
1124
+
readme.txt CHANGED
@@ -3,7 +3,7 @@ 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
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
 
@@ -40,15 +40,12 @@ Options include:
40
  * Compatible with [Video SEO for WordPress](http://yoast.com/wordpress/video-seo/ "Video SEO for WordPress")
41
  * And much, much more!
42
 
43
-
44
  **Earn Money**
45
 
46
  Download links under each video gives you an opportunity to earn generous affiliate commissions from [Jaksta.com]("http://jaksta.com" Jaksta.com), a powerful video download and conversion suite for PC and Mac. (Optional).
47
 
48
  Vixy YouTube Embed has been rated 5/5 by [ThemesPlugins.com](http://www.themesplugins.com/wordpress-Plugin/useful-free-wordpress-plugin-youtube-videos-adjust-hide-link/ "Artiss YouTube Embed").
49
 
50
-
51
-
52
  **Get Started Quickly**
53
 
54
  To add a video to a post or page simply use the shortcode `[youtube]video[/youtube]`, where `video` is the ID or URL of the video. Alternatively, you can add one (or more) widgets to your sidebar.
@@ -61,312 +58,11 @@ Help is always available from the WordPress administration pages - just click on
61
 
62
  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.
63
 
64
-
65
- == Advanced embedding options ==
66
-
67
- A basic shortcode will embed your video using your default profile settings. However, you may wish to override some of these options on a video-by-video basis - this is done via parameters added to the shortcode.
68
-
69
- e.g. `[youtube width=300 height=200]Z_sCoHGIpU0[/youtube]`
70
-
71
- Which options are available depends upon the embedding type you're using - you can specify any of them but, depending on the type, they may be ignored. There are 3 types - OBJECT, IFRAME and EmbedPlus. IFRAME is the current YouTube default and will use HTML 5, if available - this makes it ideal for maximum compatibility. However, HTML5 has a number of features that's not available with the standard Flash player.
72
-
73
- The following parameters work with all embed types:
74
-
75
- * **audio** - yes or no, this will hide the video and display just the toolbar (ideal for audio only playback) if switched on
76
- * **autoplay** - yes or no, should the video automatically start playing?
77
- * **dynamic** - whether to use dynamic sizing or not. When switched on the video will resize when your site does (i.e. responsive). If a video width is supplied this will be the maximum width, otherwise full width will be assumed. Height is ignored and will be worked out automatically.
78
- * **height** - the video height, in pixels
79
- * **list** - if you've specified your own list, use this to select the way the videos should be output. Should be `random` (display videos in a random order), `single` (show just one video, randomly picked from the list) or `order` (show each video in the original order - this is the default)
80
- * **profile** - specify a different default profile (see section on Profiles for further details)
81
- * **ratio** - allows you to define a window ratio - specify just a height or width and the ratio will calculate the missing dimension. Uses the format x:x, e.g. 4:3, 16:9
82
- * **ssl** - Use SSL or not? Basically, if set on the URL will be HTTPS rather than HTTP.
83
- * **start** - a number of seconds from where to start the video playing
84
- * **style** - apply CSS elements directly to the video output
85
- * **template** - specify a template (see section on Templates for further details)
86
- * **type** - which embedding type to use, this can be `embedplus`, `iframe`, `object` or `chromeless`
87
- * **width** - the video width, in pixels
88
-
89
- The following parameters will not work with EmbedPlus:
90
-
91
- * **autohide** - 0, 1 or 2, this parameter indicates whether the video controls will automatically hide after a video begins playing. The default behaviour, a value of 2, is for the video progress bar to fade out while the player controls (play button, volume control, etc.) remain visible. If this parameter is set to 0, the video progress bar and the video player controls will be visible throughout the video. If this parameter is set to 1, then the video progress bar and the player controls will slide out of view a couple of seconds after the video starts playing. They will only reappear if the user moves her mouse over the video player or presses a key on her keyboard.
92
- * **color** - white or red, the colour of the progress bar (see the FAQ about having a white progress bar with the light theme)
93
- * **controls** - 0, 1 or 2, this decides whether the controls should display and when the Flash will load. A value of 0 will not show the controls but 1 or 2 will. A value of 2 will load Flash once the user initiates playback - otherwise it's loaded straight away.
94
- * **https** - yes or no, whether to use HTTPS for the video
95
- * **info** - yes or no, show video information. If displaying a playlist this will show video thumbnails
96
- * **loop** - yes or no, whether to start the video again once it ends
97
- * **related** - yes or no, show related videos
98
- * **theme** - dark or light, display player controls (like a 'play' button or volume control) within a dark or light control bar
99
-
100
- The following parameters will not work with EmbedPlus or if IFRAME uses HTML5:
101
-
102
- * **annotation** - yes or no, this determines if annotations are shown
103
- * **cc** - yes or no, decided whether closed captions (subtitles) are displayed
104
- * **disablekb** - yes or no, disable keyboard controls
105
- * **fullscreen** - yes or no, this will add the fullscreen button to the toolbar. This also works with EmbedPlus.
106
- * **link** - yes or no, link video to YouTube
107
- * **search** - yes or no, create a playlist based on a search word. The search word should be specified instead of a video ID. See "Automatically Generate Playlists" option for more details
108
- * **user** - yes or no, create a playlist based on a user's uploads. The search word should be specified instead of a video ID. See "Automatically Generate Playlists" option for more details
109
-
110
- The following parameters will not work if IFRAME uses HTML5:
111
-
112
- * **stop** - this stops the video at a specific time, given in seconds
113
-
114
- The following parameters are only for use with EmbedPlus:
115
-
116
- * **hd** - play the video in HD quality, if available
117
- * **react** - yes or no, this specified whether you wish to show the Real-time Reactions button
118
- * **sweetspot** - yes or no, this will find sweet spots for the next/prev buttons
119
-
120
- == Alternative Shortcodes ==
121
-
122
- Within administration, selecting `Options` from the `YouTube` menu will provide a list of general options. One section is named `Alternative Shortcodes` and allows you to specify 1 or 2 additional shortcodes - these will work exactly the same as the standard shortcode of `[youtube]`.
123
-
124
- There are 2 reasons why you might want to do this...
125
-
126
- 1. If migrating from another plugin, it may use a different shortcode - more details can be found in the section named "Migration"
127
- 2. If another plugin uses the same shortcode (e.g. Jetpack) this will allow you to specify and use an alternative
128
-
129
- Each of the new shortcodes can also have their own default profile assigned to them (see the Profiles section for more details on this).
130
-
131
- == Function Call ==
132
-
133
- As well as a shortcode you can also use a PHP function call to display a video (e.g. in a sidebar). The function is named `youtube_video_embed` and has 2 parameters - the first is the video ID (or URL) and the second is a list of display parameters. The display parameters are the same as those used in the shortcode but are separated by an ampersand.
134
-
135
- e.g. `youtube_video_embed( 'Z_sCoHGIpU0', 'width=300&height=200' )`
136
-
137
- == Widgets ==
138
-
139
- Sidebar widgets can be easily added. In Administration simply click on the `Widgets` option under the `Appearance` menu. `YouTube Embed` will be one of the listed widgets. Drag it to the appropriate sidebar on the right hand side and then choose your video options - any that aren't specified are taken from your default profile.
140
-
141
- If you wish to display an automatically generated playlist based on user name or search term, simply change the "ID Type" appropriately and then specify the name or search word(s) where the video ID would normally be entered.
142
-
143
- And that's it! You can use unlimited widgets, so you can add different videos to different sidebars.
144
-
145
- == Playlists ==
146
-
147
- YouTube allows users to create their own playlists - collections of videos that can be played in sequence.
148
-
149
- Before version 2 of the plugin, separate shortcodes and function calls had to be used to specify these. However, now you can simply specify their ID or URL with the standard methods.
150
-
151
- e.g. `[youtube]095393D5B42B2266[/youtube]`
152
-
153
- Playlists cannot be used along with the EmbedPlus embedding method.
154
-
155
- A better alternative to playlists is the build-in lists function in Vixy YouTube Embed - see the Lists section for further details.
156
-
157
- == Templates ==
158
-
159
- Both in the profile and as a parameter you can specify a template. This allows you to define any CSS that you wish to "wrap" around the YouTube output.
160
-
161
- The template consists simply of any HTML that you wish but with `%video%` where you wish the video to appear.
162
-
163
- e.g. `<div align="center">%video%</div>`
164
-
165
- Be wary that when adding template via a parameter that any HTML included may cause your video to have `<pre>` tags wrapped around it. The easiest way to check and fix this is to view any post in the HTML editor and remove any PRE tags that have been added.
166
-
167
- == Profiles ==
168
-
169
- You've probably already had a look at the default profile, accessible by selecting `Profiles` from the `YouTube` administration menu option. Here you can specify the default option which will apply to any embedded video.
170
-
171
- However, in the top right hand corner is a drop-down box and a button marked `Change profile`. Simply select an alternative profile and click the button and you can then edit the options for this alternative profile. You can even name it as well.
172
-
173
- To use this profile, simply use the parameter `profile=` followed by the profile name or number. The options for this profile will then be used.
174
-
175
- This could be useful, for instance, for having a separate profile for different parts of your site - posts, sidebar, etc - or for different video types (e.g. widescreen).
176
-
177
- By default you have 5 extra profiles - if you wish to have more (or less) this number can be changed from the `Options` sub-menu.
178
-
179
- == Lists ==
180
-
181
- Although this plugin will play standard YouTube playlists their playback options are limited. Instead you can create your own video lists. Under the `YouTube` administration menu is a sub-menu named `Lists`. Select this and you will be shown a screen where you can type in a list of video IDs (or URLS). You can also provide a name for the list.
182
-
183
- When saving the list each video is validated.
184
-
185
- As with profiles you can select the list from a drop down in the top right-hand corner. You can also change the number of lists from the `Options` sub-menu too.
186
-
187
- To use a list, simply specify the list name or number instead of a video ID.
188
-
189
- e.g. `[youtube]List 1[/youtube]`
190
-
191
- There is also a parameter, named `list`, that lets you modify the playback of the list. You can either play each in turn, play them randomly, or have just one played (but picked randomly).
192
-
193
- == Transcripts ==
194
-
195
- Some YouTube videos include transcripts - this is a text output of the speech from the video with timings added. These are available in XML format and can, via a function call or shortcode, be displayed in your post.
196
-
197
- The shortcode `transcript` will display the transcript in your post along with the start time for each line. Simply supply the video ID as a parameter.
198
-
199
- e.g. `[transcript]MSPsrhCPt-0[/transcript]`
200
-
201
- If no transcript exists, nothing will be output.
202
-
203
- For style purposes, the `SPAN` around the time has a class of `TranscriptTime`, the `SPAN` around the text has a class of `TranscriptText` and the `DIV` around the whole transcript output has a class of `Transcript`.
204
-
205
- If you wish to use a PHP function call to get the transcript, then you would use the format `get_youtube_transcript( ID )`, where ID is the video ID.
206
-
207
- In all of these cases, the original XML format has been changed to a readable output. If, though, you'd like to return the original XML format, then you can use the call `get_youtube_transcript_xml( ID )`.
208
-
209
- == Automatically Generate Playlists ==
210
-
211
- YouTube now includes options to automatically generate playlists based upon a user name or a search name.
212
-
213
- To use, simply use the `user` or `search` parameter to switch the appropriate option on. Then, instead of a video ID or URL, you should specify either the user name or search word(s).
214
-
215
- == Migration ==
216
-
217
- Within administration, selecting `Options` from the `YouTube` menu will provide a list of general options. One section is named `Migration`. There are 2 boxes that can be ticked to activate 2 different types of alternative embedding - these have been provided to allow easy migration from other similar plugins. You can also assign a specific profile to these migrated options.
218
-
219
- The first option, `Bracket Embedding`, allows YouTube IDs to be assigned within brackets - similar to shortcodes but without the actual shortcode name. e.g. `[http://www.youtube.com/watch?v=Z_sCoHGIpU0]`.
220
-
221
- The second option, `Alternative Embedding`, activates a short of other alternative embedding methods.
222
-
223
- In both cases, activating these will impact performance so should only be used if absolutely necessary.
224
-
225
- == Further options ==
226
-
227
- **Thumbnails**
228
-
229
- Vixy YouTube embed also has the ability to return a thumbnail of a video (sorry, this doesn't work with playlists). There are two methods you can use for this - a shortcode or a function call.
230
-
231
- Use the function call `youtube_thumb_embed( 'id', 'paras', '', 'alt', 'nolink' )` to add a thumbnail to any part of your theme.
232
-
233
- Like the video embed equivalent, the `id` is the video ID and `alt` is the alternative text for the thumbnail image (optional). `nolink`, if set to `true`, will output the thumbnail without a link to the YouTube video, allowing you to add your own.
234
-
235
- The parameters are different, however, but, again, are separated by ampersand.
236
-
237
- The parameters are as follows...
238
-
239
- * **rel** - specify a REL override, e.g. rel="nofollow"
240
- * **target** - specify a TARGET override, e.g. target="_blank"
241
- * **width** - this specifies the width of the thumbnail image
242
- * **height** - this specifies the height of the thumbnail image
243
- * **version** - which version of the thumbnail to use. This can be `default`, `hq` (for a high quality version of the default image), `start`, `middle` or `end`. The latter 3 indicate where from the video the thumbnails are taken from
244
-
245
- e.g. `youtube_thumb_embed( 'id', 'rel=nofollow&target=_blank', '', 'Demo Video' )`
246
-
247
- To use the shortcode method, insert `[youtube_thumb]id[/youtube_thumb]` into a post or page to create a thumbnail of the relevant video ID which, once clicked, will open up the appropriate YouTube page.
248
-
249
- Like the function call above, you can specify a number of parameters. They are the same as detailed above but with the addition of one further parameter...
250
-
251
- * **alt** - specify some `ALT` text for the thumbnail image
252
-
253
- e.g. `[youtube_thumb target="_blank" alt="Demo video"]id[/youtube_thumb]`
254
-
255
- This overrides the `TARGET` and `ALT` elements of the thumbnail.
256
-
257
- You can also use `nolink` as a parameter with the shortcode, which works in the same way as with the function call.
258
-
259
- **Video name**
260
-
261
- You can retrieve the name of a video via 1 of 2 methods.
262
-
263
- You can call the PHP function `get_youtube_name`, passing it to the video URL or ID - this will return the name of the video.
264
-
265
- e.g. `echo get_youtube_name( 'Z_sCoHGIpU0' );`
266
-
267
- Alternatively, you can use the shortcode `[youtube_name]`, again passing the video URL or ID. The video name will be displayed.
268
-
269
- e.g. `[youtube_name]Z_sCoHGIpU0[/youtube_name]`
270
-
271
- **Shortened URL**
272
-
273
- You may return a short URL for any YouTube video by way of either a function call or a shortcode.
274
-
275
- For a function call add `youtube_short_url( 'id' )` to your code to return a URL (note that this is not written out, but returned as a value), where `id` is the video ID.
276
-
277
- e.g. `<a href="<?php echo youtube_short_url( 'Z_sCoHGIpU0' ); ?>"Click here for video</a>`
278
-
279
- This will create a link to a video using the short URL standard.
280
-
281
- To use the shortcode method simply insert `[youtube_url id=xx]` anywhere within a post to return a shortened URL. `xx` is the ID of the video.
282
-
283
- **Downloading Videos**
284
-
285
- If you wish your users to be able to download a YouTube video or playlist then you can do this automatically or manually via either a shortcode of PHP function call.
286
-
287
- In the Profiles screen within administration there is an option to automatically show a download link. You can specify some text or HTML to display as well as CSS.
288
-
289
- If you'd prefer to do this manually then the function call is named `get_video_download` and has one parameter - the video ID. It will return the download link URL.
290
-
291
- e.g. `<a href="<?php echo get_video_download( 'Z_sCoHGIpU0' ); ?>">Download the video</a>`
292
-
293
- Alternatively, you can use the shortcode `download_video`. The content to link is specified between the open and close shortcode tags and there are 3 parameters...
294
-
295
- * **id** - The ID of the video or playlist. This is required.
296
- * **target** - The target of the link (e.g. `_blank`). This is optional.
297
- * **nofollow** - yes or no, use this to specify whether a `nofollow` tag should be added to the link. This is optional and by default it will be included.
298
-
299
- e.g. `[download_video id="Z_sCoHGIpU0" target="_blank"]Download the video[/download_video]`
300
-
301
- **Caching**
302
-
303
- Caches are used to improve plugin performance. Under the `YouTube` administration menu is a sub-menu named `Options`. Select this and find the section named `Performance`. From here there are 3 cache options...
304
-
305
- 1. Embed Cache - this is how long to store the resulting cache code. It will update if you change any parameters so, theoretically, shouldn't need to change. It defaults to 24 hours.
306
- 2. Video Information Cache - video IDs are checked with YouTube to ensure that they're valid. This option lets you to specify how often this should be checked. This defaults to 1 hour.
307
- 3. Transcript Cache - how long to store transcripts. Defaults to 24 hours.
308
-
309
- In all cases putting the cache to 0 will switch off caching for that option.
310
-
311
- **Further Embedding Options**
312
-
313
- Under the `YouTube` administration menu is a sub-menu named `Options`. Select this and find the section named `Embedding`. There are 3 options here...
314
-
315
- 1. Add Metadata - by default, RDFa metadata is added to video output. This can be switched on or off as required (see the FAQs for more information about metadata usage).
316
- 2. Comment Embedding - tick this to allow YouTube URLs added to comments to be converted to embedded videos.
317
- 3. Feed - videos will not appear in feeds so use this option to decide whether you want them to be converted to links and/or thumbnails.
318
-
319
- In the case of URL and Comment embedding a profile can be selected.
320
-
321
- == Metadata ==
322
-
323
- Rich metadata is added to the code generated by YouTube Embed. This gives details about the video for the purposes of search engines and other rich content interests.
324
-
325
- To test the results you can use the [Google Rich Snippets Testing Tool](http://www.google.com/webmasters/tools/richsnippets "Structured Data Testing Tool").
326
-
327
- For Google to pick up the metadata you must [apply to be whitelisted](http://www.google.com/support/webmasters/bin/request.py?contact_type=rich_snippets_feedback "Rich snippets not appearing?").
328
-
329
- == Videos in Comments ==
330
-
331
- Select this option to allow people to add YouTube videos to their comments. All they have to do is to add a YouTube URL on a separate line and it will display.
332
-
333
- Under this tick box there is also an option to specify a different default profile.
334
-
335
- == EmbedPlus ==
336
-
337
- EmbedPlus is an alternative embedding method which adds new features to the standard player. The best way to learn about these new features is to [visit the website](http://www.embedplus.com/ "EmbedPlus").
338
-
339
- EmbedPlus does not support non-Flash methods but will, instead, revert to the HTML5 player in circumstances where Flash is not available (e.g. on an iPhone).
340
-
341
- == The Chromeless Player ==
342
-
343
- The Chromeless player uses the Flash AS3 player but removes all controls and styling from the resulting video. It has the same restrictions as the standard AS3 Flash player and some of the profile options may not work as usual � e.g. the option on how to display player controls, due to the fact that there aren't any.
344
-
345
- The Chromeless player can be recreated by switching off controls and all other styling for other video types. However, once a video has been started in the Chromeless player the user cannot stop it � this cannot be created with other player types.
346
-
347
- == Make Money from Vixy YouTube Embed ==
348
-
349
- An optional profile option to display a download link under videos can be easily moniterised.
350
-
351
- Simply [sign up to ShareAShale](http://www.shareasale.com/r.cfm?B=44&U=668714&M=47&urllink= "Get paid for your great content.") and then, in the Options screen, supply your affiliate ID. Ensure the download link is switched on and you will generate revenue from those who click through to Jaksta and purchase a product.
352
-
353
- How much? 30%
354
-
355
- == Licence ==
356
-
357
- This WordPress plugin is licensed under the [GPLv2 (or later)](http://wordpress.org/about/gpl/ "GNU General Public License").
358
-
359
- == Reviews & Mentions ==
360
-
361
- [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.
362
-
363
- [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.
364
-
365
- [Andesch tips on WordPress plugins!](http://andershagstrom.se/andesch-tipsar-om-wordpress-plugins/ "Andesch tipsar om WordPress-plugins!") - Anders.
366
-
367
- [Critical Mass](http://www.bikinginmemphis.com/2011/03/26/critical-mass/ "Critical Mass") - Biking in Memphis.
368
-
369
- [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.
370
 
371
  == Installation ==
372
 
@@ -377,121 +73,7 @@ This WordPress plugin is licensed under the [GPLv2 (or later)](http://wordpress.
377
 
378
  == Frequently Asked Questions ==
379
 
380
- = How do I find the ID of a YouTube video? =
381
-
382
- If you play a YouTube video, look at the URL - it will probably look something like this - `http://www.youtube.com/watch?v=L5Y4qzc_JTg`.
383
-
384
- The video ID is the list of letters and numbers after `v=`, in this case `L5Y4qzc_JTg`.
385
-
386
- = Why can't I change the player color as I used to? =
387
-
388
- Vixy YouTube Embed uses the latest version of the YouTube Player, named AS3. This means that some options are no longer available (however, some new ones are). [See this document](https://docs.google.com/spreadsheet/pub?key=0AqxzQNe7e-NwdF80eUZuNjdtS1J1bWM4VERFVUN6ZHc&single=true&gid=1&output=html "API Compatibility") for a complete list of the supported parameter for each player type.
389
-
390
- = How do I add a border to the video =
391
-
392
- The border option is no longer available with the YouTube player. However, you can use the `style` option to mimic it. Simply add a style of `border: 10px solid #b1b1b1`.
393
-
394
- = When trying to display a video it says "An error occurred accessing the YouTube API" =
395
-
396
- This has been reported by a number of users - for some reason some people are unable to access the YouTube API, which is used by this plugin to determine the video type and whether it's valid or not. If you are one of them then simply go to the `Options` screen within the `YouTube Embed` administration menu and, near the bottom, there is an option to stop reporting API errors.
397
-
398
- If you switch off API errors then the plugin will simply assume all IDs are valid and work out the type from the ID length (which is not set, so if this changes in future it may cause problems!).
399
-
400
- I have requested further information on why these errors may be occurring from the YouTube forum but, as yet, I've had no response. [Click here](http://groups.google.com/group/youtube-api-gdata/browse_thread/thread/764f2f2a3b5863f8?hl=en "YouTube APIs Developer Forum") if you wish to track the request.
401
-
402
- = I've upgraded from an earlier version of the plugin and one of the functions / shortcodes / parameters that I used is no longer documented =
403
-
404
- Code created for previous versions of the plugin should still work - however, the functions will not be documented to deter people from using them in the future.
405
-
406
- = So if I upgrade to this from an earlier version is it compatible? =
407
-
408
- It should be, yes, but with one exception.
409
-
410
- If you have upgraded from version 2.0.1 or before and used the `style` parameter then it may cause some problems. This is because the `style` parameter now affects the CSS of the video. Before, it added a DIV "wrapper" around the video and applied the styles to this.
411
-
412
- Therefore, if you used the `style` parameter to centre a video this probably doesn't now work. However, you can do this now by using the `template` parameter instead - please read the section on that for further help.
413
-
414
- However, with the change to the way the `style` works you can now apply more direct styling to the video - e.g. adding a border.
415
-
416
- = Is the generated code standards compliant? =
417
-
418
- In all cases, yes. However, it depends on which options you choose as to which DOCTYPE it will validate to.
419
-
420
- IFRAME does not work with XHTML so will only validate as XHTML transitional (this includes if you use IFRAME as the fallback to EmbedPlus).
421
-
422
- If you include Metadata then you must use the XHTML Strict + RDFa DOCTYPE - in this case it validates.
423
-
424
- If you don't include Metadata then it will also validate as HTML5 compliant.
425
-
426
- The [W3C Markup Validation Service](http://validator.w3.org/ "W3C Markup Validation Service") was used to test the above.
427
-
428
- [The following spreadsheet](https://docs.google.com/spreadsheet/pub?key=0AqxzQNe7e-NwdF80eUZuNjdtS1J1bWM4VERFVUN6ZHc&single=true&gid=0&output=html "Standards Compliance") shows which embed types were tested and to where they validated (or didn't).
429
-
430
- = Which browsers does the output work on? =
431
-
432
- It uses standard OBJECT and IFRAME coding - this, along with the above standards compliance, means that the output should work on most browsers.
433
-
434
- = The video output is overlapping or stuttering =
435
-
436
- If you go into the Profile screen in Administration there is a "Window Mode" option. This defines how Flash output interacts with any other around it. "Window" is the default and gives good performance but may cause overlapping. If overlapping is causing an issue try "Opaque".
437
-
438
- = No video is showing =
439
-
440
- If you find no video is showing but there's no error either check the source code of the page. Can you find the text "<!--YouTube Error: bad URL entered-->" in the page? If so, you have Jetpack installed and that is displaying the video instead.
441
-
442
- There are two ways around this.
443
-
444
- First, you could disable all the shortcodes in Jetpack - Jetpack allows you to deactivate certain "modules" of the plugin and, if you can live without the other extra shortcodes, deactivating the shortcodes part will restore functionality back to YouTube Embed
445
-
446
- Alternatively, you can use a secondary shortcode - [youtube_video]. Use this instead of [youtube] and YouTube Embed will render the results without a problem
447
-
448
- This second suggestion will work for any plugin that may use the same shortcode.
449
-
450
- = There used to be an option to allow the plugin to work with YouTube URLs. Where did it go? =
451
-
452
- WordPress will, by default, convert YouTube URLs to videos using a very basic default configuration. Earlier versions of this plugin had an option to override this so this plugin would output the results instead (giving you full control of the output). Unfortunately, it stopped working and I do not have enough knowledge on the required WordPress code to work out how to fix it. Rather than leave broken code in place I have removed it.
453
-
454
- If you wish to have full control over your YouTube output I would suggest placing all YouTube URLs within [youtube] shortcodes.
455
-
456
- = My OPTIONS table seems to be full of cache entries for YouTube Embed =
457
-
458
- Due to a housekeeping limitation in WordPress cache entries, which are stored in the OPTIONS table, may get left behind. There are 2 solutions to clearing this.
459
-
460
- First of all, in the Options menu in YouTube Embed administration, there is an option in the performance section named "Clear Cache". Simply tick this box and click on the "Save Settings" button to clear out any cache.
461
-
462
- However, the best option is to install the plugin [Artiss Transient Cleaner](http://wordpress.org/extend/plugins/artiss-transient-cleaner/ "Artiss Transient Cleaner"), which will housekeep the OPTIONS table automatically.
463
-
464
- = Is this plugin compatible with Turn Off The Lights? =
465
-
466
- If you display the video responsively then it doesn't work with [Turn Off The Lights](http://www.stefanvd.net/project/turnoffthelights.htm "Turn Off The Lights"). Switch this option off and it will.
467
-
468
- I've raised this with the developer of Turn Off The Lights and he is going to implement a change in the future to improve compatibility with responsive video.
469
-
470
- = I get the message "Blocked plug-in" in Safari =
471
-
472
- Your version of Flash is out-of-date and needs updating.
473
-
474
- = The "autostart" feature is not working in iOS =
475
-
476
- Unfortunately, this is a restriction that has been put in place by Apple.
477
-
478
- = I cannot get the video to start at a specific point in iOS =
479
-
480
- This is a [known issue](https://code.google.com/p/gdata-issues/issues/detail?id=2937 "start position problem on iOS Mobile Safari") with the YouTube player and is with Google to fix.
481
-
482
- = I can't get the video to play at a specific resolution by default =
483
-
484
- There is no way to specify this - YouTube makes the decision on which version to play depending on a number of factors. The old version of their player had an "HD" option but that too didn't guarantee HD playback.
485
-
486
- = I have another issue or a request =
487
-
488
- Before reporting it please bear in mind that this plugin uses the standard YouTube API. Adding extra functionality to the player itself is not possible and there are [known issues](https://code.google.com/p/gdata-issues/issues/list?q=label:API-YouTube "YouTube API Known Issues") with it. I would also recommend performing a Google search for your issue too first, as this will often resolve a lot of queries.
489
-
490
- = Which version of PHP does this plugin work with? =
491
-
492
- It has been syntax checked as PHP 4. However, this does not guarantee PHP 4 compatibility and the minimum for WordPress is now PHP 5.2.4.
493
-
494
- Although I attempt to keep with PHP 4 compatibility there are no guarantees of this.
495
 
496
  == Screenshots ==
497
 
@@ -504,6 +86,12 @@ Although I attempt to keep with PHP 4 compatibility there are no guarantees of t
504
 
505
  == Changelog ==
506
 
 
 
 
 
 
 
507
  = 3.0 =
508
  * Maintenance: Changed name, updated adverts, removed donation and sponsorship requests
509
  * Maintenance: Renamed function to match new name and also removed prefix from files, which were not required
@@ -655,7 +243,7 @@ Although I attempt to keep with PHP 4 compatibility there are no guarantees of t
655
  * Enhancement: New option to switch API options (where HTTP or HTTPS, display messages or not or even switch off)
656
  * Enhancement: Output video playback errors as XHTML comments. Output to post a generic message which can be changed in the options
657
  * Enhancement: Video information is shown in lists screen when first entering (no need to press Save button to display)
658
- * Enhancement: Added new `color` parameter, which allows you to specify the colour of the progress bar
659
  * Enhancement: Added new `theme` parameter, allowing you to specify if the player is dark or light skinned
660
  * Enhancement: Added new `https` parameter, allowing you to use HTTPS instead of HTTP for the video display
661
  * Enhancement: Added new `version` parameter to thumbnails, allowing different versions (including a high resolution one) to be displayed
@@ -751,9 +339,15 @@ Although I attempt to keep with PHP 4 compatibility there are no guarantees of t
751
  = 1.0 =
752
  * Initial release
753
 
754
- == Upgrade Notice ==
 
 
 
 
 
 
 
755
 
756
- = 3.0 =
757
  * Update for bug fixes and enhancements including a new video download option with affiliate scheme
758
 
759
  = 2.7 =
@@ -805,7 +399,7 @@ Although I attempt to keep with PHP 4 compatibility there are no guarantees of t
805
  * Assorted minor improvements
806
 
807
  = 2.1 =
808
- * New options to change player colours, chose your thumbnails and control API usage
809
 
810
  = 2.0.4 =
811
  * Fixed SSL bug by removing HTTPS access to API
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
 
40
  * Compatible with [Video SEO for WordPress](http://yoast.com/wordpress/video-seo/ "Video SEO for WordPress")
41
  * And much, much more!
42
 
 
43
  **Earn Money**
44
 
45
  Download links under each video gives you an opportunity to earn generous affiliate commissions from [Jaksta.com]("http://jaksta.com" Jaksta.com), a powerful video download and conversion suite for PC and Mac. (Optional).
46
 
47
  Vixy YouTube Embed has been rated 5/5 by [ThemesPlugins.com](http://www.themesplugins.com/wordpress-Plugin/useful-free-wordpress-plugin-youtube-videos-adjust-hide-link/ "Artiss YouTube Embed").
48
 
 
 
49
  **Get Started Quickly**
50
 
51
  To add a video to a post or page simply use the shortcode `[youtube]video[/youtube]`, where `video` is the ID or URL of the video. Alternatively, you can add one (or more) widgets to your sidebar.
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
 
73
 
74
  == Frequently Asked Questions ==
75
 
76
+ A full list of FAQs can be found [on the Vixy.net website](http://vixy.net/youtube-embed/faq.php "FAQ").
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
77
 
78
  == Screenshots ==
79
 
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
92
+ * Enhancement: Validate download bar code to ensure it's secure
93
+ * Enhancement: Passing blog language to language bar for i18n
94
+
95
  = 3.0 =
96
  * Maintenance: Changed name, updated adverts, removed donation and sponsorship requests
97
  * Maintenance: Renamed function to match new name and also removed prefix from files, which were not required
243
  * Enhancement: New option to switch API options (where HTTP or HTTPS, display messages or not or even switch off)
244
  * Enhancement: Output video playback errors as XHTML comments. Output to post a generic message which can be changed in the options
245
  * Enhancement: Video information is shown in lists screen when first entering (no need to press Save button to display)
246
+ * Enhancement: Added new `color` parameter, which allows you to specify the color of the progress bar
247
  * Enhancement: Added new `theme` parameter, allowing you to specify if the player is dark or light skinned
248
  * Enhancement: Added new `https` parameter, allowing you to use HTTPS instead of HTTP for the video display
249
  * Enhancement: Added new `version` parameter to thumbnails, allowing different versions (including a high resolution one) to be displayed
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 =
399
  * Assorted minor improvements
400
 
401
  = 2.1 =
402
+ * New options to change player colors, chose your thumbnails and control API usage
403
 
404
  = 2.0.4 =
405
  * Fixed SSL bug by removing HTTPS access to API
youtube-embed.php CHANGED
@@ -1,11 +1,11 @@
1
  <?php
2
  /*
3
  Plugin Name: Vixy YouTube Embed
4
- Plugin URI: http://wordpress.org/extend/plugins/youtube-embed/
5
  Description: Embed YouTube Videos in WordPress
6
- Version: 3.0
7
- Author: David Artiss
8
- Author URI: http://www.artiss.co.uk
9
  */
10
 
11
  /**
@@ -17,7 +17,7 @@ Author URI: http://www.artiss.co.uk
17
  * @since 2.0
18
  */
19
 
20
- define( 'youtube_embed_version', '3.0' );
21
 
22
  $functions_dir = WP_PLUGIN_DIR . '/youtube-embed/includes/';
23
 
1
  <?php
2
  /*
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
  */
10
 
11
  /**
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