Version Description
Download this release
Release Info
Developer | embedplus |
Plugin | YouTube |
Version | 13.1.2.1 |
Comparing to | |
See all releases |
Code changes from version 13.1.2 to 13.1.2.1
- readme.txt +4 -1
- youtube.php +5 -4
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.2
|
7 |
-
Stable tag: 13.1.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,9 @@ 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.1.2 =
|
151 |
* More descriptive plugin name
|
152 |
* Gallery column size and YouTube API message fixes
|
4 |
Tags: youtube gallery, video gallery, youtube channel, youtube live, live stream
|
5 |
Requires at least: 4.0
|
6 |
Tested up to: 5.2
|
7 |
+
Stable tag: 13.1.2.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.1.2.1 =
|
151 |
+
* Compatibility with legacy versions of PHP
|
152 |
+
|
153 |
= Embed Plus for YouTube WordPress Plugin 13.1.2 =
|
154 |
* More descriptive plugin name
|
155 |
* Gallery column size and YouTube API message fixes
|
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.1.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.1.2';
|
38 |
public static $opt_version = 'version';
|
39 |
public static $optembedwidth = null;
|
40 |
public static $optembedheight = null;
|
@@ -456,7 +456,8 @@ class YouTubePrefs
|
|
456 |
|
457 |
public static function is_ajax()
|
458 |
{
|
459 |
-
$
|
|
|
460 |
if ($is_ajax)
|
461 |
{
|
462 |
header('HTTP/1.1 200 OK');
|
@@ -2910,7 +2911,7 @@ class YouTubePrefs
|
|
2910 |
$new_pointer_content = '<h3>' . __('New Update') . '</h3>'; // ooopointer
|
2911 |
|
2912 |
$new_pointer_content .= '<p>'; // ooopointer
|
2913 |
-
$new_pointer_content .= "This version
|
2914 |
//$new_pointer_content .= "This version brings back the ability to hide related/suggested videos that show up at the end of YouTube embeds. It also allows monetized sites that are embedding video intelligence (vi) ads to select multiple IAB categories to get more content variety. "
|
2915 |
//. (self::vi_logged_in() ? "<a href=\"" . admin_url('admin.php?page=youtube-ep-vi') . "\">Login here to see »</a>" : "<a rel=\"#jumpmonetize\" class=\"epyt-jumptab\" href=\"" . admin_url('admin.php?page=youtube-my-preferences#jumpmonetize') . "\">Login here to see »</a>");
|
2916 |
|
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.1.2.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.1.2.1';
|
38 |
public static $opt_version = 'version';
|
39 |
public static $optembedwidth = null;
|
40 |
public static $optembedheight = null;
|
456 |
|
457 |
public static function is_ajax()
|
458 |
{
|
459 |
+
$requested_with = filter_input(INPUT_SERVER, 'HTTP_X_REQUESTED_WITH');
|
460 |
+
$is_ajax = (function_exists('wp_doing_ajax') && wp_doing_ajax() || (!empty($requested_with) && strtolower($requested_with) == 'xmlhttprequest'));
|
461 |
if ($is_ajax)
|
462 |
{
|
463 |
header('HTTP/1.1 200 OK');
|
2911 |
$new_pointer_content = '<h3>' . __('New Update') . '</h3>'; // ooopointer
|
2912 |
|
2913 |
$new_pointer_content .= '<p>'; // ooopointer
|
2914 |
+
$new_pointer_content .= "This version adds support for legacy versions of PHP for both the Free and <a target=_blank href=" . self::$epbase . '/dashboard/pro-easy-video-analytics.aspx?ref=frompointer' . ">Pro versions »</a>";
|
2915 |
//$new_pointer_content .= "This version brings back the ability to hide related/suggested videos that show up at the end of YouTube embeds. It also allows monetized sites that are embedding video intelligence (vi) ads to select multiple IAB categories to get more content variety. "
|
2916 |
//. (self::vi_logged_in() ? "<a href=\"" . admin_url('admin.php?page=youtube-ep-vi') . "\">Login here to see »</a>" : "<a rel=\"#jumpmonetize\" class=\"epyt-jumptab\" href=\"" . admin_url('admin.php?page=youtube-my-preferences#jumpmonetize') . "\">Login here to see »</a>");
|
2917 |
|