Version Description
Download this release
Release Info
Developer | nico23 |
Plugin | ARVE Advanced Responsive Video Embedder (YouTube, Vimeo, HTML5 Video …) |
Version | 9.7.3 |
Comparing to | |
See all releases |
Code changes from version 9.7.1 to 9.7.3
- advanced-responsive-video-embedder.php +2 -2
- changelog.md +4 -0
- php/functions-shortcode-args.php +19 -17
- php/functions-shortcodes.php +1 -1
- readme.txt +5 -1
advanced-responsive-video-embedder.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: ARVE Advanced Responsive Video Embedder
|
4 |
* Plugin URI: https://nextgenthemes.com/plugins/arve-pro/
|
5 |
* Description: Easy responsive video embeds via URL (like WordPress) or Shortcodes. Supports almost anything you can imagine.
|
6 |
-
* Version: 9.7.
|
7 |
* Author: Nicolas Jonas
|
8 |
* Author URI: https://nextgenthemes.com
|
9 |
* License: GPL-3.0
|
@@ -19,7 +19,7 @@
|
|
19 |
|
20 |
namespace Nextgenthemes\ARVE;
|
21 |
|
22 |
-
const VERSION = '9.7.
|
23 |
const PRO_VERSION_REQUIRED = '5.2.0';
|
24 |
const NUM_TRACKS = 3;
|
25 |
const PLUGIN_FILE = __FILE__;
|
3 |
* Plugin Name: ARVE Advanced Responsive Video Embedder
|
4 |
* Plugin URI: https://nextgenthemes.com/plugins/arve-pro/
|
5 |
* Description: Easy responsive video embeds via URL (like WordPress) or Shortcodes. Supports almost anything you can imagine.
|
6 |
+
* Version: 9.7.3
|
7 |
* Author: Nicolas Jonas
|
8 |
* Author URI: https://nextgenthemes.com
|
9 |
* License: GPL-3.0
|
19 |
|
20 |
namespace Nextgenthemes\ARVE;
|
21 |
|
22 |
+
const VERSION = '9.7.3';
|
23 |
const PRO_VERSION_REQUIRED = '5.2.0';
|
24 |
const NUM_TRACKS = 3;
|
25 |
const PLUGIN_FILE = __FILE__;
|
changelog.md
CHANGED
@@ -4,6 +4,10 @@
|
|
4 |
* [ARVE Pro changelog](https://nextgenthemes.com/plugins/arve-pro/#changelog)
|
5 |
* [ARVE Random Videos changelog](https://nextgenthemes.com/plugins/arve-random-video/#changelog)
|
6 |
|
|
|
|
|
|
|
|
|
7 |
### 2021-12-17 9.7.1 ###
|
8 |
|
9 |
* Fix: Elements from the dialog showing up in Elemetor. (Button does not work)
|
4 |
* [ARVE Pro changelog](https://nextgenthemes.com/plugins/arve-pro/#changelog)
|
5 |
* [ARVE Random Videos changelog](https://nextgenthemes.com/plugins/arve-random-video/#changelog)
|
6 |
|
7 |
+
### 2022-01-29 9.7.3 ###
|
8 |
+
|
9 |
+
* Fix (unconfirmed): Some internal errors generated for YouTube embeds.
|
10 |
+
|
11 |
### 2021-12-17 9.7.1 ###
|
12 |
|
13 |
* Fix: Elements from the dialog showing up in Elemetor. (Button does not work)
|
php/functions-shortcode-args.php
CHANGED
@@ -457,34 +457,36 @@ function compare_oembed_src_with_generated_src( $a ) {
|
|
457 |
switch ( $a['provider'] ) {
|
458 |
case 'wistia':
|
459 |
case 'vimeo':
|
460 |
-
$src = Common\remove_url_query( $
|
461 |
-
$src_gen = Common\remove_url_query( $
|
462 |
break;
|
463 |
case 'youtube':
|
464 |
-
$src = remove_query_arg( 'feature', $
|
|
|
|
|
465 |
break;
|
466 |
case 'dailymotion':
|
467 |
-
$src = remove_query_arg( 'pubtool', $
|
468 |
break;
|
469 |
}
|
470 |
|
471 |
if ( $src !== $src_gen ) {
|
472 |
-
$msg = sprintf(
|
473 |
-
'src mismatch<br>url: %s<br>src in: %s<br>src gen: %s',
|
474 |
-
$a['url'],
|
475 |
-
$a['src'],
|
476 |
-
$a['src_gen']
|
477 |
-
);
|
478 |
|
479 |
-
|
480 |
-
|
481 |
-
|
482 |
-
|
483 |
-
|
484 |
-
|
485 |
-
);
|
486 |
}
|
487 |
|
|
|
|
|
|
|
|
|
|
|
|
|
488 |
$a['errors']->add( 'hidden', $msg );
|
489 |
}
|
490 |
}
|
457 |
switch ( $a['provider'] ) {
|
458 |
case 'wistia':
|
459 |
case 'vimeo':
|
460 |
+
$src = Common\remove_url_query( $src );
|
461 |
+
$src_gen = Common\remove_url_query( $src_gen );
|
462 |
break;
|
463 |
case 'youtube':
|
464 |
+
$src = remove_query_arg( 'feature', $src );
|
465 |
+
$src = remove_query_arg( 'origin', $src );
|
466 |
+
$src = remove_query_arg( 'enablejsapi', $src );
|
467 |
break;
|
468 |
case 'dailymotion':
|
469 |
+
$src = remove_query_arg( 'pubtool', $src );
|
470 |
break;
|
471 |
}
|
472 |
|
473 |
if ( $src !== $src_gen ) {
|
|
|
|
|
|
|
|
|
|
|
|
|
474 |
|
475 |
+
$msg = 'src mismatch<br>' . PHP_EOL;
|
476 |
+
$msg .= sprintf( 'provider: %s<br>' . PHP_EOL, esc_html($a['provider']) );
|
477 |
+
$msg .= sprintf( 'url: %s<br>' . PHP_EOL, esc_url($a['url']) );
|
478 |
+
$msg .= sprintf( 'src in org: %s<br>' . PHP_EOL, esc_url($a['src']) );
|
479 |
+
|
480 |
+
if ( $src !== $a['src'] ) {
|
481 |
+
$msg .= sprintf( 'src in mod: %s<br>' . PHP_EOL, esc_url($src) );
|
482 |
}
|
483 |
|
484 |
+
if ( $src_gen !== $a['src_gen'] ) {
|
485 |
+
$msg .= sprintf( 'src gen in mod: %s<br>' . PHP_EOL, esc_url($src_gen) );
|
486 |
+
}
|
487 |
+
|
488 |
+
$msg .= sprintf( 'src gen org: %s<br>' . PHP_EOL, esc_url($a['src_gen']) );
|
489 |
+
|
490 |
$a['errors']->add( 'hidden', $msg );
|
491 |
}
|
492 |
}
|
php/functions-shortcodes.php
CHANGED
@@ -41,7 +41,7 @@ function shortcode( $a ) {
|
|
41 |
function error( $msg, $code = '' ) {
|
42 |
|
43 |
return sprintf(
|
44 |
-
'<span class="arve-error"%s><abbr title="%s">ARVE</abbr> %s<br></span>' . PHP_EOL,
|
45 |
'hidden' === $code ? ' hidden' : '',
|
46 |
__( 'Advanced Responsive Video Embedder', 'advanced-responsive-video-embedder' ),
|
47 |
// translators: Error message
|
41 |
function error( $msg, $code = '' ) {
|
42 |
|
43 |
return sprintf(
|
44 |
+
PHP_EOL . PHP_EOL .'<span class="arve-error"%s><abbr title="%s">ARVE</abbr> %s<br></span>' . PHP_EOL,
|
45 |
'hidden' === $code ? ' hidden' : '',
|
46 |
__( 'Advanced Responsive Video Embedder', 'advanced-responsive-video-embedder' ),
|
47 |
// translators: Error message
|
readme.txt
CHANGED
@@ -5,7 +5,7 @@ Tags: YouTube, Vimeo, lazyload, thumbnail, video, responsive, embeds, video-embe
|
|
5 |
Requires at least: 4.9.16
|
6 |
Tested up to: 5.9.0
|
7 |
Requires PHP: 5.6
|
8 |
-
Stable tag: 9.7.
|
9 |
License: GPL-3.0
|
10 |
License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
11 |
|
@@ -200,6 +200,10 @@ Please read the [official documentation](https://wordpress.org/support/article/m
|
|
200 |
* [ARVE Pro changelog](https://nextgenthemes.com/plugins/arve-pro/#changelog)
|
201 |
* [ARVE Random Videos changelog](https://nextgenthemes.com/plugins/arve-random-video/#changelog)
|
202 |
|
|
|
|
|
|
|
|
|
203 |
### 2021-12-17 9.7.1 ###
|
204 |
|
205 |
* Fix: Elements from the dialog showing up in Elemetor. (Button does not work)
|
5 |
Requires at least: 4.9.16
|
6 |
Tested up to: 5.9.0
|
7 |
Requires PHP: 5.6
|
8 |
+
Stable tag: 9.7.3
|
9 |
License: GPL-3.0
|
10 |
License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
11 |
|
200 |
* [ARVE Pro changelog](https://nextgenthemes.com/plugins/arve-pro/#changelog)
|
201 |
* [ARVE Random Videos changelog](https://nextgenthemes.com/plugins/arve-random-video/#changelog)
|
202 |
|
203 |
+
### 2022-01-29 9.7.3 ###
|
204 |
+
|
205 |
+
* Fix (unconfirmed): Some internal errors generated for YouTube embeds.
|
206 |
+
|
207 |
### 2021-12-17 9.7.1 ###
|
208 |
|
209 |
* Fix: Elements from the dialog showing up in Elemetor. (Button does not work)
|