YouTube - Version 13.2.0.1

Version Description

Download this release

Release Info

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

Code changes from version 13.2 to 13.2.0.1

Files changed (2) hide show
  1. readme.txt +5 -1
  2. youtube.php +6 -5
readme.txt CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Embed Plus for YouTube - Gallery, Channel, Playlist, Live Stream
4
  Tags: youtube gallery, video gallery, youtube channel, youtube live, live stream
5
  Requires at least: 4.0
6
  Tested up to: 5.3
7
- Stable tag: 13.2
8
  License: GPLv3 or later
9
 
10
  YouTube Embed WordPress Plugin. Embed a responsive video, YouTube channel gallery, playlist gallery, or YouTube.com live stream (with GDPR options)
@@ -147,6 +147,10 @@ You can also start and end each individual video at particular times. Like the a
147
 
148
  == Changelog ==
149
 
 
 
 
 
150
  = Embed Plus for YouTube WordPress Plugin 13.2 =
151
  * Add ability to embed a live stream from a given channel
152
  * Reduction in live stream YouTube API quota usage
4
  Tags: youtube gallery, video gallery, youtube channel, youtube live, live stream
5
  Requires at least: 4.0
6
  Tested up to: 5.3
7
+ Stable tag: 13.2.0.1
8
  License: GPLv3 or later
9
 
10
  YouTube Embed WordPress Plugin. Embed a responsive video, YouTube channel gallery, playlist gallery, or YouTube.com live stream (with GDPR options)
147
 
148
  == Changelog ==
149
 
150
+ = Embed Plus for YouTube WordPress Plugin 13.2.0.1 =
151
+ * Compatibility with legacy versions of PHP
152
+ * Fix Responsive sizing issue with lazyloading plugins
153
+
154
  = Embed Plus for YouTube WordPress Plugin 13.2 =
155
  * Add ability to embed a live stream from a given channel
156
  * Reduction in live stream YouTube API quota usage
youtube.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Embed Plus for YouTube - Gallery, Channel, Playlist, Live Stream
4
  Plugin URI: https://www.embedplus.com/dashboard/pro-easy-video-analytics.aspx?ref=plugin
5
  Description: YouTube Embed and YouTube Gallery WordPress Plugin. Embed a responsive video, YouTube channel, playlist gallery, or live stream
6
- Version: 13.2
7
  Author: Embed Plus for YouTube Team
8
  Author URI: https://www.embedplus.com
9
  */
@@ -34,7 +34,7 @@ class YouTubePrefs
34
 
35
  public static $folder_name = 'youtube-embed-plus';
36
  public static $curltimeout = 30;
37
- public static $version = '13.2';
38
  public static $opt_version = 'version';
39
  public static $optembedwidth = null;
40
  public static $optembedheight = null;
@@ -1958,7 +1958,8 @@ class YouTubePrefs
1958
  $_gallery_customnext = self::tryget($arroptions, self::$opt_gallery_customnext, $_gallery_customnext);
1959
  $_gallery_customprev = self::tryget($arroptions, self::$opt_gallery_customprev, $_gallery_customprev);
1960
  $_not_live_content = self::tryget($arroptions, self::$opt_not_live_content, $_not_live_content);
1961
- $_not_live_on = self::tryget($arroptions, self::$opt_not_live_on, empty(trim($_not_live_content)) ? 0 : 1);
 
1962
  $_admin_off_scripts = self::tryget($arroptions, self::$opt_admin_off_scripts, $_admin_off_scripts);
1963
  $_ajax_save = self::tryget($arroptions, self::$opt_ajax_save, $_ajax_save);
1964
  $_show_pointer = self::tryget($arroptions, self::$opt_show_pointer, $_show_pointer);
@@ -3075,7 +3076,7 @@ class YouTubePrefs
3075
  $new_pointer_content = '<h3>' . __('New Update') . '</h3>'; // ooopointer
3076
 
3077
  $new_pointer_content .= '<p>'; // ooopointer
3078
- $new_pointer_content .= "This update brings back the automatic &quot;live stream by channel&quot; feature, and includes a few bug fixes for both Free and <a target=_blank href=" . self::$epbase . '/dashboard/pro-easy-video-analytics.aspx?ref=frompointer' . ">Pro versions</a>.";
3079
  if (self::vi_logged_in())
3080
  {
3081
  $new_pointer_content .= "<br><br><strong>Note:</strong> You are currently logged into the vi intelligence feature. vi support is being deprecated in the next version, so we recommend taking the vi ads down from your site. Please contact ext@embedplus.com for questions.";
@@ -5352,7 +5353,7 @@ class YouTubePrefs
5352
  {
5353
  if (self::$alloptions[self::$opt_responsive_all] == 1)
5354
  {
5355
- $responsiveselector = '["iframe[src*=\'youtube.com\']","iframe[src*=\'youtube-nocookie.com\']","iframe[data-ep-src*=\'youtube.com\']","iframe[data-ep-src*=\'youtube-nocookie.com\']","iframe[data-ep-gallerysrc*=\'youtube.com\']"]';
5356
  }
5357
  else
5358
  {
3
  Plugin Name: Embed Plus for YouTube - Gallery, Channel, Playlist, Live Stream
4
  Plugin URI: https://www.embedplus.com/dashboard/pro-easy-video-analytics.aspx?ref=plugin
5
  Description: YouTube Embed and YouTube Gallery WordPress Plugin. Embed a responsive video, YouTube channel, playlist gallery, or live stream
6
+ Version: 13.2.0.1
7
  Author: Embed Plus for YouTube Team
8
  Author URI: https://www.embedplus.com
9
  */
34
 
35
  public static $folder_name = 'youtube-embed-plus';
36
  public static $curltimeout = 30;
37
+ public static $version = '13.2.0.1';
38
  public static $opt_version = 'version';
39
  public static $optembedwidth = null;
40
  public static $optembedheight = null;
1958
  $_gallery_customnext = self::tryget($arroptions, self::$opt_gallery_customnext, $_gallery_customnext);
1959
  $_gallery_customprev = self::tryget($arroptions, self::$opt_gallery_customprev, $_gallery_customprev);
1960
  $_not_live_content = self::tryget($arroptions, self::$opt_not_live_content, $_not_live_content);
1961
+ $_not_live_content = empty($_not_live_content) ? $_not_live_content : trim($_not_live_content);
1962
+ $_not_live_on = self::tryget($arroptions, self::$opt_not_live_on, empty($_not_live_content) ? 0 : 1);
1963
  $_admin_off_scripts = self::tryget($arroptions, self::$opt_admin_off_scripts, $_admin_off_scripts);
1964
  $_ajax_save = self::tryget($arroptions, self::$opt_ajax_save, $_ajax_save);
1965
  $_show_pointer = self::tryget($arroptions, self::$opt_show_pointer, $_show_pointer);
3076
  $new_pointer_content = '<h3>' . __('New Update') . '</h3>'; // ooopointer
3077
 
3078
  $new_pointer_content .= '<p>'; // ooopointer
3079
+ $new_pointer_content .= "This update adds support for legacy versions of PHP and better responsive sizing compatibility for both Free and <a target=_blank href=" . self::$epbase . '/dashboard/pro-easy-video-analytics.aspx?ref=frompointer' . ">Pro versions</a>.";
3080
  if (self::vi_logged_in())
3081
  {
3082
  $new_pointer_content .= "<br><br><strong>Note:</strong> You are currently logged into the vi intelligence feature. vi support is being deprecated in the next version, so we recommend taking the vi ads down from your site. Please contact ext@embedplus.com for questions.";
5353
  {
5354
  if (self::$alloptions[self::$opt_responsive_all] == 1)
5355
  {
5356
+ $responsiveselector = '["iframe.__youtube_prefs__","iframe[src*=\'youtube.com\']","iframe[src*=\'youtube-nocookie.com\']","iframe[data-ep-src*=\'youtube.com\']","iframe[data-ep-src*=\'youtube-nocookie.com\']","iframe[data-ep-gallerysrc*=\'youtube.com\']"]';
5357
  }
5358
  else
5359
  {