YouTube - Version 14.1.4.1

Version Description

Download this release

Release Info

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

Code changes from version 14.1.4 to 14.1.4.1

Files changed (3) hide show
  1. readme.txt +7 -4
  2. scripts/ytprefs.min.js +1 -1
  3. youtube.php +5 -5
readme.txt CHANGED
@@ -1,10 +1,10 @@
1
- === Embed Plus Plugin for YouTube, with YouTube Gallery, Channel, Playlist, Live Stream, Facade ===
2
  Contributors: embedplus
3
- Plugin Name: Embed Plus Plugin for YouTube, with YouTube Gallery, Channel, Playlist, Live Stream, Facade
4
- Tags: youtube gallery, youtube wordpress plugin, channel gallery, playlist gallery, defer css javascript, youtube channel, youtube live, lazy load, facade
5
  Requires at least: 4.5
6
  Tested up to: 6.1
7
- Stable tag: 14.1.4
8
  License: GPLv3 or later
9
 
10
  YouTube Embed WordPress Plugin. Embed a responsive video, YouTube channel gallery, playlist gallery, YouTube livestream. Defer JavaScript
@@ -189,6 +189,9 @@ Assuming you already have the EmbedPlus plugin active, you can embed a YouTube s
189
 
190
  == Changelog ==
191
 
 
 
 
192
  = Embed Plus for YouTube WordPress Plugin 14.1.4 =
193
  * Fixes issues from 14.1.3
194
  * Higher quality facade images
1
+ === Embed Plus YouTube WordPress Plugin With YouTube Gallery, Channel, Playlist, Live Stream ===
2
  Contributors: embedplus
3
+ Plugin Name: Embed Plus YouTube WordPress Plugin With YouTube Gallery, Channel, Playlist, Live Stream
4
+ Tags: youtube gallery, youtube wordpress plugin, channel gallery, playlist gallery, defer css javascript, youtube channel, youtube live stream, lazy load, facade
5
  Requires at least: 4.5
6
  Tested up to: 6.1
7
+ Stable tag: 14.1.4.1
8
  License: GPLv3 or later
9
 
10
  YouTube Embed WordPress Plugin. Embed a responsive video, YouTube channel gallery, playlist gallery, YouTube livestream. Defer JavaScript
189
 
190
  == Changelog ==
191
 
192
+ = Embed Plus for YouTube WordPress Plugin 14.1.4.1 =
193
+ * Better compatibility with older browsers
194
+
195
  = Embed Plus for YouTube WordPress Plugin 14.1.4 =
196
  * Fixes issues from 14.1.3
197
  * Higher quality facade images
scripts/ytprefs.min.js CHANGED
@@ -11,7 +11,7 @@ document.getElementById(a);if(!d.epytsetupdone)return b._EPADashboard_.log("Sett
11
  d.moveToElementText(a);d.select()}else if(b.getSelection){var e=b.getSelection();d=document.createRange();d.selectNode(a);e.removeAllRanges();e.addRange(d)}},setVidSrc:function(a,d){a.is(".epyt-facade")?(a.attr("data-facadesrc",b._EPADashboard_.cleanSrc(d)),a.trigger("click")):(a.attr("src",b._EPADashboard_.cleanSrc(d)),a.get(0).epytsetupdone=!1,b._EPADashboard_.setupevents(a.attr("id")))},cleanSrc:function(a){return a.replace("enablejsapi=1?enablejsapi=1","enablejsapi=1")},loadYTAPI:function(){if("undefined"===
12
  typeof b.YT){if("never"!==b._EPYT_.ytapi_load&&("always"===b._EPYT_.ytapi_load||c('iframe[src*="youtube.com/embed/"], iframe[data-src*="youtube.com/embed/"], .__youtube_prefs__').length)){var a=document.createElement("script");a.src="https://www.youtube.com/iframe_api";a.type="text/javascript";document.getElementsByTagName("head")[0].appendChild(a)}}else if(b.YT.loaded)if(b._EPYT_.pageLoaded)b._EPADashboard_.apiInit(),b._EPADashboard_.log("YT API available");else c(b).on("load._EPYT_",function(){b._EPADashboard_.apiInit();
13
  b._EPADashboard_.log("YT API available 2")})},resolveFacadeQuality:function(a,d){a.epytFacadeCount="undefined"===typeof a.epytFacadeCount?0:a.epytFacadeCount+1;if(d||200>a.naturalHeight)if(d=c(a).attr("src"))c(a).attr("src",d.replace("maxresdefault","hqdefault")),c(a).off("load.epyt");2<a.epytFacadeCount&&c(a).off("load.epyt")},pageReady:function(){b._EPYT_.not_live_on_channel&&"never"!==b._EPYT_.ytapi_load&&c(".epyt-live-channel").each(function(){var a=c(this);a.data("eypt-fallback")||(a.data("eypt-fallback",
14
- !0),a.css("opacity",0),setTimeout(function(){a.css("opacity",1)},4E3))});c(".epyt-gallery").each(function(){var a=c(this);if(!a.data("epytevents")||!c("body").hasClass("block-editor-page")){a.data("epytevents","1");var d=c(this).find("iframe, div.__youtube_prefs_gdpr__, div.epyt-facade").first(),e=d.data("src")||d.data("facadesrc")||d.attr("src");e||=d.data("ep-src");var g=c(this).find(".epyt-gallery-list .epyt-gallery-thumb").first().data("videoid");"undefined"!==typeof e?(e=e.replace(g,"GALLERYVIDEOID"),
15
  a.data("ep-gallerysrc",e)):d.hasClass("__youtube_prefs_gdpr__")&&a.data("ep-gallerysrc","");a.on("click touchend",".epyt-gallery-list .epyt-gallery-thumb",function(f){d=a.find("iframe, div.__youtube_prefs_gdpr__, div.epyt-facade").first();if(!b._EPYT_.touchmoved&&!c(this).hasClass("epyt-current-video")){a.find(".epyt-gallery-list .epyt-gallery-thumb").removeClass("epyt-current-video");c(this).addClass("epyt-current-video");f=c(this).data("videoid");a.data("currvid",f);var h=a.data("ep-gallerysrc").replace("GALLERYVIDEOID",
16
  f);f=a.find(".epyt-pagebutton").first().data("thumbplay");"0"!==f&&0!==f&&(h=0<h.indexOf("autoplay")?h.replace("autoplay=0","autoplay=1"):h+"&autoplay=1",d.addClass("epyt-thumbplay"));f=Math.max(c("body").scrollTop(),c("html").scrollTop());var k=d.offset().top-parseInt(_EPYT_.gallery_scrolloffset);f>k?c("html, body").animate({scrollTop:k},500,function(){b._EPADashboard_.setVidSrc(d,h)}):b._EPADashboard_.setVidSrc(d,h)}}).on("touchmove",function(f){b._EPYT_.touchmoved=!0}).on("touchstart",function(){b._EPYT_.touchmoved=
17
  !1}).on("keydown",".epyt-gallery-list .epyt-gallery-thumb, .epyt-pagebutton",function(f){var h=f.which;if(13===h||32===h)f.preventDefault(),c(this).trigger("click")});a.on("mouseenter",".epyt-gallery-list .epyt-gallery-thumb",function(){c(this).addClass("hover")});a.on("mouseleave",".epyt-gallery-list .epyt-gallery-thumb",function(){c(this).removeClass("hover")});a.on("click touchend",".epyt-pagebutton",function(f){if(!b._EPYT_.touchmoved&&!a.find(".epyt-gallery-list").hasClass("epyt-loading")){a.find(".epyt-gallery-list").addClass("epyt-loading");
11
  d.moveToElementText(a);d.select()}else if(b.getSelection){var e=b.getSelection();d=document.createRange();d.selectNode(a);e.removeAllRanges();e.addRange(d)}},setVidSrc:function(a,d){a.is(".epyt-facade")?(a.attr("data-facadesrc",b._EPADashboard_.cleanSrc(d)),a.trigger("click")):(a.attr("src",b._EPADashboard_.cleanSrc(d)),a.get(0).epytsetupdone=!1,b._EPADashboard_.setupevents(a.attr("id")))},cleanSrc:function(a){return a.replace("enablejsapi=1?enablejsapi=1","enablejsapi=1")},loadYTAPI:function(){if("undefined"===
12
  typeof b.YT){if("never"!==b._EPYT_.ytapi_load&&("always"===b._EPYT_.ytapi_load||c('iframe[src*="youtube.com/embed/"], iframe[data-src*="youtube.com/embed/"], .__youtube_prefs__').length)){var a=document.createElement("script");a.src="https://www.youtube.com/iframe_api";a.type="text/javascript";document.getElementsByTagName("head")[0].appendChild(a)}}else if(b.YT.loaded)if(b._EPYT_.pageLoaded)b._EPADashboard_.apiInit(),b._EPADashboard_.log("YT API available");else c(b).on("load._EPYT_",function(){b._EPADashboard_.apiInit();
13
  b._EPADashboard_.log("YT API available 2")})},resolveFacadeQuality:function(a,d){a.epytFacadeCount="undefined"===typeof a.epytFacadeCount?0:a.epytFacadeCount+1;if(d||200>a.naturalHeight)if(d=c(a).attr("src"))c(a).attr("src",d.replace("maxresdefault","hqdefault")),c(a).off("load.epyt");2<a.epytFacadeCount&&c(a).off("load.epyt")},pageReady:function(){b._EPYT_.not_live_on_channel&&"never"!==b._EPYT_.ytapi_load&&c(".epyt-live-channel").each(function(){var a=c(this);a.data("eypt-fallback")||(a.data("eypt-fallback",
14
+ !0),a.css("opacity",0),setTimeout(function(){a.css("opacity",1)},4E3))});c(".epyt-gallery").each(function(){var a=c(this);if(!a.data("epytevents")||!c("body").hasClass("block-editor-page")){a.data("epytevents","1");var d=c(this).find("iframe, div.__youtube_prefs_gdpr__, div.epyt-facade").first(),e=d.data("src")||d.data("facadesrc")||d.attr("src");e||(e=d.data("ep-src"));var g=c(this).find(".epyt-gallery-list .epyt-gallery-thumb").first().data("videoid");"undefined"!==typeof e?(e=e.replace(g,"GALLERYVIDEOID"),
15
  a.data("ep-gallerysrc",e)):d.hasClass("__youtube_prefs_gdpr__")&&a.data("ep-gallerysrc","");a.on("click touchend",".epyt-gallery-list .epyt-gallery-thumb",function(f){d=a.find("iframe, div.__youtube_prefs_gdpr__, div.epyt-facade").first();if(!b._EPYT_.touchmoved&&!c(this).hasClass("epyt-current-video")){a.find(".epyt-gallery-list .epyt-gallery-thumb").removeClass("epyt-current-video");c(this).addClass("epyt-current-video");f=c(this).data("videoid");a.data("currvid",f);var h=a.data("ep-gallerysrc").replace("GALLERYVIDEOID",
16
  f);f=a.find(".epyt-pagebutton").first().data("thumbplay");"0"!==f&&0!==f&&(h=0<h.indexOf("autoplay")?h.replace("autoplay=0","autoplay=1"):h+"&autoplay=1",d.addClass("epyt-thumbplay"));f=Math.max(c("body").scrollTop(),c("html").scrollTop());var k=d.offset().top-parseInt(_EPYT_.gallery_scrolloffset);f>k?c("html, body").animate({scrollTop:k},500,function(){b._EPADashboard_.setVidSrc(d,h)}):b._EPADashboard_.setVidSrc(d,h)}}).on("touchmove",function(f){b._EPYT_.touchmoved=!0}).on("touchstart",function(){b._EPYT_.touchmoved=
17
  !1}).on("keydown",".epyt-gallery-list .epyt-gallery-thumb, .epyt-pagebutton",function(f){var h=f.which;if(13===h||32===h)f.preventDefault(),c(this).trigger("click")});a.on("mouseenter",".epyt-gallery-list .epyt-gallery-thumb",function(){c(this).addClass("hover")});a.on("mouseleave",".epyt-gallery-list .epyt-gallery-thumb",function(){c(this).removeClass("hover")});a.on("click touchend",".epyt-pagebutton",function(f){if(!b._EPYT_.touchmoved&&!a.find(".epyt-gallery-list").hasClass("epyt-loading")){a.find(".epyt-gallery-list").addClass("epyt-loading");
youtube.php CHANGED
@@ -1,10 +1,10 @@
1
  <?php
2
  /*
3
- Plugin Name: Embed Plus Plugin for YouTube
4
  Plugin URI: https://www.embedplus.com/dashboard/pro-easy-video-analytics.aspx?ref=plugin
5
  Description: YouTube Embed Plugin. Embed a YouTube channel gallery, playlist gallery, YouTube live stream. Lite embeds with defer JavaScript and facade options
6
- Version: 14.1.4
7
- Author: Embed Plus for YouTube Team
8
  Author URI: https://www.embedplus.com
9
  Requires at least: 4.5
10
  */
@@ -35,7 +35,7 @@ class YouTubePrefs
35
 
36
  public static $folder_name = 'youtube-embed-plus';
37
  public static $curltimeout = 30;
38
- public static $version = '14.1.4';
39
  public static $opt_version = 'version';
40
  public static $optembedwidth = null;
41
  public static $optembedheight = null;
@@ -3263,7 +3263,7 @@ class YouTubePrefs
3263
  $new_pointer_content = '<h3>' . __('New Update') . '</h3>'; // ooopointer
3264
 
3265
  $new_pointer_content .= '<p>'; // ooopointer
3266
- $new_pointer_content .= "This version adds higher quality facade images, better compatibility with Jetpack and Short Pixel lazy loaded images, and fixes an issue with the Classic/TinyMCE editor in both free and <a target=_blank href=" . self::$epbase . '/dashboard/pro-easy-video-analytics.aspx?ref=frompointer' . ">Pro versions</a>.";
3267
  if (self::vi_logged_in())
3268
  {
3269
  $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.";
1
  <?php
2
  /*
3
+ Plugin Name: Embed Plus YouTube WordPress Plugin
4
  Plugin URI: https://www.embedplus.com/dashboard/pro-easy-video-analytics.aspx?ref=plugin
5
  Description: YouTube Embed Plugin. Embed a YouTube channel gallery, playlist gallery, YouTube live stream. Lite embeds with defer JavaScript and facade options
6
+ Version: 14.1.4.1
7
+ Author: Embed Plus YouTube Plugin Team
8
  Author URI: https://www.embedplus.com
9
  Requires at least: 4.5
10
  */
35
 
36
  public static $folder_name = 'youtube-embed-plus';
37
  public static $curltimeout = 30;
38
+ public static $version = '14.1.4.1';
39
  public static $opt_version = 'version';
40
  public static $optembedwidth = null;
41
  public static $optembedheight = null;
3263
  $new_pointer_content = '<h3>' . __('New Update') . '</h3>'; // ooopointer
3264
 
3265
  $new_pointer_content .= '<p>'; // ooopointer
3266
+ $new_pointer_content .= "This version provides better compatibility with older browsers in both free and <a target=_blank href=" . self::$epbase . '/dashboard/pro-easy-video-analytics.aspx?ref=frompointer' . ">Pro versions</a>.";
3267
  if (self::vi_logged_in())
3268
  {
3269
  $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.";