YouTube - Version 8.7

Version Description

Download this release

Release Info

Developer embedplus
Plugin Icon 128x128 YouTube
Version 8.7
Comparing to
See all releases

Code changes from version 8.6 to 8.7

Files changed (4) hide show
  1. images/iconfb.png +0 -0
  2. images/ssfb.jpg +0 -0
  3. readme.txt +9 -5
  4. youtube.php +78 -12
images/iconfb.png ADDED
Binary file
images/ssfb.jpg ADDED
Binary file
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: embedplus
3
  Plugin Name: YouTube Embed
4
  Tags: at a glance, channel, annotations, music, music video, songs, song, lyrics, responsive, short code, shortcode, youtube shortcode, health, diagnostic, youtube status, seo, video seo, rich snippets, reddit, google+, google plus, comments, search, widget, sidebar, responsive, fluid, iphone, mobile, android, tablet, ipad, youtube playlist, playlists, playlist, wmode, hd, autohd, auto hd, video analytics, analytics, google, google analytics, view count, vlog, vlogging, web videos, youtube analytics, youtube, youtube plugin, youtube shortcode, embed youtube, plugin, video, video shortcode, embed videos, youtube player, shortcode, simple, simple youtube, smart youtube playback, youtube embed, wordpress youtube embed, embedding youtube, youtube embedding, video plugin, https, ssl, secure, no-cookie, cookie, html5, youtube html5
5
  Requires at least: 2.9
6
- Tested up to: 3.9.1
7
- Stable tag: 8.6
8
  License: GPLv3 or later
9
 
10
  YouTube embed plugin with basic features and convenient defaults. Upgrade now to add tracking, instant video SEO tags, and much more!
@@ -13,6 +13,7 @@ YouTube embed plugin with basic features and convenient defaults. Upgrade now to
13
 
14
  **500,000+ downloads! Here are some recently added features:**
15
 
 
16
  * iOS playback preferences
17
  * Embed an entire channel as a playlist
18
  * "At a Glance" direct access to your YouTube posts/pages
@@ -21,7 +22,7 @@ YouTube embed plugin with basic features and convenient defaults. Upgrade now to
21
  * Review the latest web discussions about videos you want to embed before embedding
22
  * Shortcode support for embedding multiple videos on one line
23
  * Playlist support
24
- * Instant HTTPS support. It can even convert past videos non-HTTPS oembeds to HTTPS.
25
  * (PRO) See if your embeds have restrictions that can block your site's mobile visitors from viewing
26
  * (PRO) Automatic tagging for video SEO
27
  * (PRO) Analytics and deleted video alerts work with past YouTube videos that you embedded with many other YouTube plugins
@@ -87,7 +88,7 @@ See more details after installing. Enjoy!
87
  1. Use the WordPress plugin installer to install the plugin. Alternatively, you can just extract the folder in our download package and upload it to your plugin directory.
88
  1. Access the Plugins admin menu to activate the YouTube embed plugin.
89
  1. Make your default settings after clicking the new YouTube menu item that shows up in your admin panel.
90
- 1. To embed videos in your post, start pasting the links with any desired additional codes needed for your YouTube embed (see below section for additional codes). Make sure each link is on its own line. Or, if you need multiple videos on the same line, make sure each URL is wrapped properly with the shortcode. Example: `[embedyt]http://www.youtube.com/watch?v=ABCDEFGHIJK&width=400$height=250[/embedyt]` If you don't know exactly which video you want to embed, use the free built-in search feature to find and insert one.
91
  1. To get video SEO, an analytics dashboard and many other premium features, [sign up for one of the options here >>](https://www.embedplus.com/dashboard/pro-easy-video-analytics.aspx)
92
 
93
  **Additional codes (adding these will override the default settings in the admin):**
@@ -112,7 +113,7 @@ You can also start and end each individual video at particular times. Like the a
112
 
113
  **Always follow these rules when pasting a link:**
114
 
115
- * Make sure the url is really on its own line by itself. Or, if you need multiple videos on the same line, make sure each URL is wrapped properly with the shortcode. Example: `[embedyt]http://www.youtube.com/watch?v=ABCDEFGHIJK&width=400$height=250[/embedyt]`
116
  * Make sure the url is not an active hyperlink (i.e., it should just be plain text). Otherwise, highlight the url and click the "unlink" button in your editor.
117
  * Make sure you did **not** format or align the url in any way. If your url still appears in your actual post instead of a video, highlight it and click the "remove formatting" button (formatting can be invisible sometimes).
118
  * Finally, there's a slight chance your custom theme is the issue, if you have one. To know for sure, we suggest temporarily switching to one of the default WordPress themes (e.g., "Twenty Thirteen") just to see if your video does appear. If it suddenly works, then your custom theme is the issue. You can switch back when done testing.
@@ -127,6 +128,9 @@ You can also start and end each individual video at particular times. Like the a
127
 
128
  == Changelog ==
129
 
 
 
 
130
  = YouTube Embed 8.6 =
131
  HTTPS/SSL embedding is now free.
132
 
3
  Plugin Name: YouTube Embed
4
  Tags: at a glance, channel, annotations, music, music video, songs, song, lyrics, responsive, short code, shortcode, youtube shortcode, health, diagnostic, youtube status, seo, video seo, rich snippets, reddit, google+, google plus, comments, search, widget, sidebar, responsive, fluid, iphone, mobile, android, tablet, ipad, youtube playlist, playlists, playlist, wmode, hd, autohd, auto hd, video analytics, analytics, google, google analytics, view count, vlog, vlogging, web videos, youtube analytics, youtube, youtube plugin, youtube shortcode, embed youtube, plugin, video, video shortcode, embed videos, youtube player, shortcode, simple, simple youtube, smart youtube playback, youtube embed, wordpress youtube embed, embedding youtube, youtube embedding, video plugin, https, ssl, secure, no-cookie, cookie, html5, youtube html5
5
  Requires at least: 2.9
6
+ Tested up to: 3.9.2
7
+ Stable tag: 8.7
8
  License: GPLv3 or later
9
 
10
  YouTube embed plugin with basic features and convenient defaults. Upgrade now to add tracking, instant video SEO tags, and much more!
13
 
14
  **500,000+ downloads! Here are some recently added features:**
15
 
16
+ * Instant HTTPS support. It can even convert past non-HTTPS videos to HTTPS.
17
  * iOS playback preferences
18
  * Embed an entire channel as a playlist
19
  * "At a Glance" direct access to your YouTube posts/pages
22
  * Review the latest web discussions about videos you want to embed before embedding
23
  * Shortcode support for embedding multiple videos on one line
24
  * Playlist support
25
+ * (PRO) Automatic Open Graph tagging for Facebook
26
  * (PRO) See if your embeds have restrictions that can block your site's mobile visitors from viewing
27
  * (PRO) Automatic tagging for video SEO
28
  * (PRO) Analytics and deleted video alerts work with past YouTube videos that you embedded with many other YouTube plugins
88
  1. Use the WordPress plugin installer to install the plugin. Alternatively, you can just extract the folder in our download package and upload it to your plugin directory.
89
  1. Access the Plugins admin menu to activate the YouTube embed plugin.
90
  1. Make your default settings after clicking the new YouTube menu item that shows up in your admin panel.
91
+ 1. To embed videos in your post, start pasting the links with any desired additional codes needed for your YouTube embed (see below section for additional codes). Make sure each link is on its own line. Or, if you need multiple videos on the same line, make sure each URL is wrapped properly with the shortcode. Example: `[embedyt]http://www.youtube.com/watch?v=ABCDEFGHIJK&width=400&height=250[/embedyt]` If you don't know exactly which video you want to embed, use the free built-in search feature to find and insert one.
92
  1. To get video SEO, an analytics dashboard and many other premium features, [sign up for one of the options here >>](https://www.embedplus.com/dashboard/pro-easy-video-analytics.aspx)
93
 
94
  **Additional codes (adding these will override the default settings in the admin):**
113
 
114
  **Always follow these rules when pasting a link:**
115
 
116
+ * Make sure the url is really on its own line by itself. Or, if you need multiple videos on the same line, make sure each URL is wrapped properly with the shortcode. Example: `[embedyt]http://www.youtube.com/watch?v=ABCDEFGHIJK&width=400&height=250[/embedyt]`
117
  * Make sure the url is not an active hyperlink (i.e., it should just be plain text). Otherwise, highlight the url and click the "unlink" button in your editor.
118
  * Make sure you did **not** format or align the url in any way. If your url still appears in your actual post instead of a video, highlight it and click the "remove formatting" button (formatting can be invisible sometimes).
119
  * Finally, there's a slight chance your custom theme is the issue, if you have one. To know for sure, we suggest temporarily switching to one of the default WordPress themes (e.g., "Twenty Thirteen") just to see if your video does appear. If it suddenly works, then your custom theme is the issue. You can switch back when done testing.
128
 
129
  == Changelog ==
130
 
131
+ = YouTube Embed 8.7 =
132
+ (PRO) Extends the plugin’s existing tagging capabilities by also adding Open Graph markup to enhance Facebook sharing/discovery of your pages.
133
+
134
  = YouTube Embed 8.6 =
135
  HTTPS/SSL embedding is now free.
136
 
youtube.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: YouTube
4
  Plugin URI: http://www.embedplus.com/dashboard/pro-easy-video-analytics.aspx
5
  Description: YouTube embed plugin with basic features and convenient defaults. Upgrade now to add tracking, instant video SEO tags, and much more!
6
- Version: 8.6
7
  Author: EmbedPlus Team
8
  Author URI: http://www.embedplus.com
9
  */
@@ -32,7 +32,7 @@
32
  class YouTubePrefs
33
  {
34
 
35
- public static $version = '8.6';
36
  public static $opt_version = 'version';
37
  public static $optembedwidth = null;
38
  public static $optembedheight = null;
@@ -57,6 +57,7 @@ class YouTubePrefs
57
  public static $opt_vq = 'vq';
58
  public static $opt_html5 = 'html5';
59
  public static $opt_ssl = 'ssl';
 
60
  public static $opt_nocookie = 'nocookie';
61
  public static $opt_pro = 'pro';
62
  public static $opt_oldspacing = 'oldspacing';
@@ -150,6 +151,10 @@ class YouTubePrefs
150
  {
151
  add_action('wp_print_scripts', array('YouTubePrefs', 'jsvars'));
152
  add_action('wp_enqueue_scripts', array('YouTubePrefs', 'fitvids'));
 
 
 
 
153
  }
154
  }
155
 
@@ -556,6 +561,7 @@ class YouTubePrefs
556
  $_pro = '';
557
  $_ssl = 0;
558
  $_nocookie = 0;
 
559
  $_controls = 2;
560
  $_oldspacing = 1;
561
  $_responsive = 0;
@@ -589,6 +595,7 @@ class YouTubePrefs
589
  $_pro = self::tryget($arroptions, self::$opt_pro, '');
590
  $_ssl = self::tryget($arroptions, self::$opt_ssl, 0);
591
  $_nocookie = self::tryget($arroptions, self::$opt_nocookie, 0);
 
592
  $_controls = self::tryget($arroptions, self::$opt_controls, 2);
593
  $_autohide = self::tryget($arroptions, self::$opt_autohide, 2);
594
  $_oldspacing = self::tryget($arroptions, self::$opt_oldspacing, 1);
@@ -624,6 +631,7 @@ class YouTubePrefs
624
  self::$opt_pro => $_pro,
625
  self::$opt_ssl => $_ssl,
626
  self::$opt_nocookie => $_nocookie,
 
627
  self::$opt_controls => $_controls,
628
  self::$opt_oldspacing => $_oldspacing,
629
  self::$opt_responsive => $_responsive,
@@ -969,6 +977,44 @@ class YouTubePrefs
969
  return $aspectheight;
970
  }
971
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
972
  public static function ytprefs_plugin_menu()
973
  {
974
  //add_menu_page('YouTube Settings', 'YouTube', 'manage_options', 'youtube-my-preferences', 'YouTubePrefs::ytprefs_show_options', plugins_url('images/youtubeicon16.png', __FILE__), '10.00392854349');
@@ -1178,7 +1224,8 @@ class YouTubePrefs
1178
  $new_pointer_content .= '<p>'; // . __(''); // ooopointer
1179
  if (!(self::$alloptions[self::$opt_pro] && strlen(trim(self::$alloptions[self::$opt_pro])) > 0))
1180
  {
1181
- $new_pointer_content .= __('This YouTube plugin update makes HTTPS embedding available for both FREE and <a class="orange" href="' . self::$epbase . '/dashboard/pro-easy-video-analytics.aspx?ref=frompointer" target="_blank">PRO &raquo;</a> users. Please view this settings page to see the option. It will even automatically go and secure the non-HTTPS embeds you made in the past.');
 
1182
  }
1183
  else
1184
  {
@@ -1249,6 +1296,7 @@ class YouTubePrefs
1249
  $new_options[self::$opt_wmode] = self::postchecked(self::$opt_wmode) ? 'opaque' : 'transparent';
1250
  $new_options[self::$opt_vq] = self::postchecked(self::$opt_vq) ? 'hd720' : '';
1251
  $new_options[self::$opt_nocookie] = self::postchecked(self::$opt_nocookie) ? 1 : 0;
 
1252
  $new_options[self::$opt_ssl] = self::postchecked(self::$opt_ssl) ? 1 : 0;
1253
  $new_options[self::$opt_oldspacing] = self::postchecked(self::$opt_oldspacing) ? 1 : 0;
1254
  $new_options[self::$opt_responsive] = self::postchecked(self::$opt_responsive) ? 1 : 0;
@@ -1342,6 +1390,7 @@ class YouTubePrefs
1342
  text-decoration: none; background-color: #ffffff;}
1343
  .jumper {height: 25px;}
1344
  .ssschema {float: right; width: 350px; height: auto; margin-right: 10px;}
 
1345
  .totop {position: absolute; right: 20px; top: 5px; color: #444444; font-size: 10px;}
1346
  input[type=checkbox] {border: 1px solid #000000;}
1347
  .chktitle {display: inline-block; padding: 1px 3px 1px 3px; border-radius: 3px; background-color: #ffffff; border: 1px solid #dddddd;}
@@ -1540,8 +1589,16 @@ class YouTubePrefs
1540
  <label for="<?php echo self::$opt_schemaorg; ?>">
1541
  <b>(PRO)</b> <b class="chktitle">Video SEO Tags:</b> Automatically add Google, Bing, and Yahoo friendly markup so that your pages with video embeds can be indexed to have a greater chance of showing up in search engine results for those particular videos, even if you aren't the owner. This markup also promotes the chances of your pages showing up with actual video thumbnails within search results (see example on the right).
1542
  </label>
1543
-
1544
  </p>
 
 
 
 
 
 
 
 
 
1545
  <?php
1546
  }
1547
  else
@@ -1557,7 +1614,15 @@ class YouTubePrefs
1557
  <img class="ssschema" src="<?php echo plugins_url('images/ssschemaorg.jpg', __FILE__) ?>" />
1558
  <input disabled type="checkbox" class="checkbox">
1559
  <label>
1560
- <b class="chktitle">Video SEO Tags:</b> <span class="pronon">(NEW: PRO Users)</span> Automatically add Google, Bing, and Yahoo friendly markup so that your pages with video embeds can be indexed to have a greater chance of showing up in search engine results for those particular videos, even if you aren't the owner. This markup also promotes the chances of your pages showing up with actual video thumbnails within search results (see example on the right).
 
 
 
 
 
 
 
 
1561
  </label>
1562
  </p>
1563
 
@@ -1566,6 +1631,7 @@ class YouTubePrefs
1566
  ?>
1567
 
1568
  <p class="submit">
 
1569
  <input type="submit" onclick="return savevalidate();" name="Submit" class="button-primary" value="<?php _e('Save Changes') ?>" />
1570
  </p>
1571
 
@@ -1578,7 +1644,7 @@ class YouTubePrefs
1578
  <?php _e("How To Override Defaults / Other Options") ?> <a href="#top" class="totop">&#9650; top</a>
1579
  </h3>
1580
  <p>Suppose you have a few videos that need to be different from the above defaults. You can add options to the end of a link as displayed below to override the above defaults. Each option should begin with '&'.
1581
- <br><span class="pronon">PRO users: You can use the <span class="button-primary cuz">&#9658; Customize</span> button in the wizard instead of memorizing the following.</span>
1582
  <?php
1583
  _e('<ul>');
1584
  _e("<li><strong>width</strong> - Sets the width of your player. If omitted, the default width will be the width of your theme's content.<em> Example: http://www.youtube.com/watch?v=quwebVjAEJA<strong>&width=500</strong>&height=350</em></li>");
@@ -1666,10 +1732,10 @@ class YouTubePrefs
1666
  User-friendly video analytics dashboard
1667
  </li>
1668
 
1669
- <!-- <li>
1670
- <img src="<?php echo plugins_url('images/lock.png', __FILE__) ?>">
1671
- HTTPS Secure YouTube player (will even work for your old embeds)
1672
- </li>-->
1673
  <li>
1674
  <img src="<?php echo plugins_url('images/iconythealth.png', __FILE__) ?>">
1675
  Instant YouTube embed diagnostic reports
@@ -1683,10 +1749,10 @@ class YouTubePrefs
1683
  <img src="<?php echo plugins_url('images/infinity.png', __FILE__) ?>">
1684
  Unlimited PRO upgrades and downloads
1685
  </li>
1686
- <li>
1687
  <img src="<?php echo plugins_url('images/questionsale.png', __FILE__) ?>">
1688
  What else? You tell us!
1689
- </li>
1690
  </ul>
1691
  </div>
1692
  <div style="clear: both;"></div>
3
  Plugin Name: YouTube
4
  Plugin URI: http://www.embedplus.com/dashboard/pro-easy-video-analytics.aspx
5
  Description: YouTube embed plugin with basic features and convenient defaults. Upgrade now to add tracking, instant video SEO tags, and much more!
6
+ Version: 8.7
7
  Author: EmbedPlus Team
8
  Author URI: http://www.embedplus.com
9
  */
32
  class YouTubePrefs
33
  {
34
 
35
+ public static $version = '8.7';
36
  public static $opt_version = 'version';
37
  public static $optembedwidth = null;
38
  public static $optembedheight = null;
57
  public static $opt_vq = 'vq';
58
  public static $opt_html5 = 'html5';
59
  public static $opt_ssl = 'ssl';
60
+ public static $opt_ogvideo = 'ogvideo';
61
  public static $opt_nocookie = 'nocookie';
62
  public static $opt_pro = 'pro';
63
  public static $opt_oldspacing = 'oldspacing';
151
  {
152
  add_action('wp_print_scripts', array('YouTubePrefs', 'jsvars'));
153
  add_action('wp_enqueue_scripts', array('YouTubePrefs', 'fitvids'));
154
+ if (self::$alloptions[self::$opt_pro] && strlen(trim(self::$alloptions[self::$opt_pro])) > 0 && self::$alloptions[self::$opt_ogvideo] == 1)
155
+ {
156
+ add_action('wp_head', array('YouTubePrefs', 'do_ogvideo'));
157
+ }
158
  }
159
  }
160
 
561
  $_pro = '';
562
  $_ssl = 0;
563
  $_nocookie = 0;
564
+ $_ogvideo = 0;
565
  $_controls = 2;
566
  $_oldspacing = 1;
567
  $_responsive = 0;
595
  $_pro = self::tryget($arroptions, self::$opt_pro, '');
596
  $_ssl = self::tryget($arroptions, self::$opt_ssl, 0);
597
  $_nocookie = self::tryget($arroptions, self::$opt_nocookie, 0);
598
+ $_ogvideo = self::tryget($arroptions, self::$opt_ogvideo, 0);
599
  $_controls = self::tryget($arroptions, self::$opt_controls, 2);
600
  $_autohide = self::tryget($arroptions, self::$opt_autohide, 2);
601
  $_oldspacing = self::tryget($arroptions, self::$opt_oldspacing, 1);
631
  self::$opt_pro => $_pro,
632
  self::$opt_ssl => $_ssl,
633
  self::$opt_nocookie => $_nocookie,
634
+ self::$opt_ogvideo => $_ogvideo,
635
  self::$opt_controls => $_controls,
636
  self::$opt_oldspacing => $_oldspacing,
637
  self::$opt_responsive => $_responsive,
977
  return $aspectheight;
978
  }
979
 
980
+ public static function do_ogvideo()
981
+ {
982
+ global $wp_query;
983
+ $the_content = $wp_query->post->post_content;
984
+ $matches = Array();
985
+ $ismatch = preg_match_all(self::$justurlregex, $the_content, $matches);
986
+
987
+ if ($ismatch)
988
+ {
989
+ $match = $matches[0][0];
990
+
991
+ $link = trim(preg_replace('/&amp;/i', '&', $match));
992
+ $link = preg_replace('/\s/', '', $link);
993
+ $link = trim(str_replace(self::$badentities, self::$goodliterals, $link));
994
+
995
+ $linkparamstemp = explode('?', $link);
996
+
997
+ $linkparams = array();
998
+ if (count($linkparamstemp) > 1)
999
+ {
1000
+ $linkparams = self::keyvalue($linkparamstemp[1], true);
1001
+ }
1002
+ if (strpos($linkparamstemp[0], 'youtu.be') !== false && !isset($linkparams['v']))
1003
+ {
1004
+ $vtemp = explode('/', $linkparamstemp[0]);
1005
+ $linkparams['v'] = array_pop($vtemp);
1006
+ }
1007
+ ?>
1008
+ <meta property="og:type" content="video">
1009
+ <meta property="og:video" content="https://www.youtube.com/v/<?php echo $linkparams['v']; ?>?autohide=1&amp;version=3">
1010
+ <meta property="og:video:type" content="application/x-shockwave-flash">
1011
+ <meta property="og:video:width" content="480">
1012
+ <meta property="og:video:height" content="360">
1013
+ <meta property="og:image" content="https://img.youtube.com/vi/<?php echo $linkparams['v']; ?>/0.jpg">
1014
+ <?php
1015
+ }
1016
+ }
1017
+
1018
  public static function ytprefs_plugin_menu()
1019
  {
1020
  //add_menu_page('YouTube Settings', 'YouTube', 'manage_options', 'youtube-my-preferences', 'YouTubePrefs::ytprefs_show_options', plugins_url('images/youtubeicon16.png', __FILE__), '10.00392854349');
1224
  $new_pointer_content .= '<p>'; // . __(''); // ooopointer
1225
  if (!(self::$alloptions[self::$opt_pro] && strlen(trim(self::$alloptions[self::$opt_pro])) > 0))
1226
  {
1227
+ $new_pointer_content .= __("(PRO) Extends the plugin\'s existing tagging capabilities by also adding Open Graph markup to enhance Facebook sharing/discovery of your pages. Read more in the plugin\'s <a href=\"" . admin_url('admin.php?page=youtube-my-preferences') . "#jumppro\">settings page &raquo;</a>");
1228
+ //$new_pointer_content .= __('This YouTube plugin update makes HTTPS embedding available for both FREE and <a class="orange" href="' . self::$epbase . '/dashboard/pro-easy-video-analytics.aspx?ref=frompointer" target="_blank">PRO &raquo;</a> users. Please view this settings page to see the option. It will even automatically go and secure the non-HTTPS embeds you made in the past.');
1229
  }
1230
  else
1231
  {
1296
  $new_options[self::$opt_wmode] = self::postchecked(self::$opt_wmode) ? 'opaque' : 'transparent';
1297
  $new_options[self::$opt_vq] = self::postchecked(self::$opt_vq) ? 'hd720' : '';
1298
  $new_options[self::$opt_nocookie] = self::postchecked(self::$opt_nocookie) ? 1 : 0;
1299
+ $new_options[self::$opt_ogvideo] = self::postchecked(self::$opt_ogvideo) ? 1 : 0;
1300
  $new_options[self::$opt_ssl] = self::postchecked(self::$opt_ssl) ? 1 : 0;
1301
  $new_options[self::$opt_oldspacing] = self::postchecked(self::$opt_oldspacing) ? 1 : 0;
1302
  $new_options[self::$opt_responsive] = self::postchecked(self::$opt_responsive) ? 1 : 0;
1390
  text-decoration: none; background-color: #ffffff;}
1391
  .jumper {height: 25px;}
1392
  .ssschema {float: right; width: 350px; height: auto; margin-right: 10px;}
1393
+ .ssfb {float: right; height: auto; margin-right: 10px;}
1394
  .totop {position: absolute; right: 20px; top: 5px; color: #444444; font-size: 10px;}
1395
  input[type=checkbox] {border: 1px solid #000000;}
1396
  .chktitle {display: inline-block; padding: 1px 3px 1px 3px; border-radius: 3px; background-color: #ffffff; border: 1px solid #dddddd;}
1589
  <label for="<?php echo self::$opt_schemaorg; ?>">
1590
  <b>(PRO)</b> <b class="chktitle">Video SEO Tags:</b> Automatically add Google, Bing, and Yahoo friendly markup so that your pages with video embeds can be indexed to have a greater chance of showing up in search engine results for those particular videos, even if you aren't the owner. This markup also promotes the chances of your pages showing up with actual video thumbnails within search results (see example on the right).
1591
  </label>
 
1592
  </p>
1593
+ <p>
1594
+ <br>
1595
+ <img class="ssfb" src="<?php echo plugins_url('images/ssfb.jpg', __FILE__) ?>" />
1596
+ <input name="<?php echo self::$opt_ogvideo; ?>" id="<?php echo self::$opt_ogvideo; ?>" <?php checked($all[self::$opt_ogvideo], 1); ?> type="checkbox" class="checkbox">
1597
+ <label for="<?php echo self::$opt_ogvideo; ?>">
1598
+ <b>(PRO)</b> <b class="chktitle">Facebook Open Graph Markup:</b> <span class="pronon">(NEW: PRO Users)</span> Automatically add Open Graph markup on your pages with YouTube embeds to enhance Facebook sharing and discovery of the pages. Your shared pages, for example, will also display embedded video thumbnails on Facebook Timelines.
1599
+ </label>
1600
+ </p>
1601
+
1602
  <?php
1603
  }
1604
  else
1614
  <img class="ssschema" src="<?php echo plugins_url('images/ssschemaorg.jpg', __FILE__) ?>" />
1615
  <input disabled type="checkbox" class="checkbox">
1616
  <label>
1617
+ <b class="chktitle">Video SEO Tags:</b> Automatically add Google, Bing, and Yahoo friendly markup so that your pages with video embeds can be indexed to have a greater chance of showing up in search engine results for those particular videos, even if you aren't the owner. This markup also promotes the chances of your pages showing up with actual video thumbnails within search results (see example on the right).
1618
+ </label>
1619
+ </p>
1620
+ <p>
1621
+ <br>
1622
+ <img class="ssfb" src="<?php echo plugins_url('images/ssfb.jpg', __FILE__) ?>" />
1623
+ <input disabled type="checkbox" class="checkbox">
1624
+ <label>
1625
+ <b class="chktitle">Facebook Open Graph Markup:</b> <span class="pronon">(NEW: PRO Users)</span> Automatically add Open Graph markup on your pages with YouTube embeds to enhance Facebook sharing and discovery of the pages. Your shared pages, for example, will also display embedded video thumbnails on Facebook Timelines.
1626
  </label>
1627
  </p>
1628
 
1631
  ?>
1632
 
1633
  <p class="submit">
1634
+ <br>
1635
  <input type="submit" onclick="return savevalidate();" name="Submit" class="button-primary" value="<?php _e('Save Changes') ?>" />
1636
  </p>
1637
 
1644
  <?php _e("How To Override Defaults / Other Options") ?> <a href="#top" class="totop">&#9650; top</a>
1645
  </h3>
1646
  <p>Suppose you have a few videos that need to be different from the above defaults. You can add options to the end of a link as displayed below to override the above defaults. Each option should begin with '&'.
1647
+ <br><span class="pronon">PRO users: You can use the <span class="button-primary cuz">&#9658; Customize</span> button that you will see inside the wizard, instead of memorizing the following.</span>
1648
  <?php
1649
  _e('<ul>');
1650
  _e("<li><strong>width</strong> - Sets the width of your player. If omitted, the default width will be the width of your theme's content.<em> Example: http://www.youtube.com/watch?v=quwebVjAEJA<strong>&width=500</strong>&height=350</em></li>");
1732
  User-friendly video analytics dashboard
1733
  </li>
1734
 
1735
+ <li id="fbstuff">
1736
+ <img src="<?php echo plugins_url('images/iconfb.png', __FILE__) ?>">
1737
+ Automatic Open Graph tagging for Facebook <sup class="orange bold">NEW</sup>
1738
+ </li>
1739
  <li>
1740
  <img src="<?php echo plugins_url('images/iconythealth.png', __FILE__) ?>">
1741
  Instant YouTube embed diagnostic reports
1749
  <img src="<?php echo plugins_url('images/infinity.png', __FILE__) ?>">
1750
  Unlimited PRO upgrades and downloads
1751
  </li>
1752
+ <!-- <li>
1753
  <img src="<?php echo plugins_url('images/questionsale.png', __FILE__) ?>">
1754
  What else? You tell us!
1755
+ </li> -->
1756
  </ul>
1757
  </div>
1758
  <div style="clear: both;"></div>