ARVE Advanced Responsive Video Embedder (YouTube, Vimeo, HTML5 Video …) - Version 9.5.1-beta3

Version Description

Download this release

Release Info

Developer nico23
Plugin Icon 128x128 ARVE Advanced Responsive Video Embedder (YouTube, Vimeo, HTML5 Video …)
Version 9.5.1-beta3
Comparing to
See all releases

Code changes from version 9.5.0-beta8 to 9.5.1-beta3

advanced-responsive-video-embedder.php CHANGED
@@ -3,15 +3,13 @@
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.5.0-beta2
7
  * Author: Nicolas Jonas
8
  * Author URI: https://nextgenthemes.com
9
  * License: GPL-3.0
10
  * License URI: https://www.gnu.org/licenses/gpl-3.0.html
11
  * Text Domain: advanced-responsive-video-embedder
12
  * Domain Path: /languages
13
- * GitHub Plugin URI: https://github.com/nextgenthemes/advanced-responsive-video-embedder
14
- * GitHub Branch: beta
15
  *
16
  * @package Nextgenthemes/ARVE
17
  * @author Nicolas Jonas
@@ -21,8 +19,8 @@
21
 
22
  namespace Nextgenthemes\ARVE;
23
 
24
- const VERSION = '9.5.0-beta2';
25
- const PRO_VERSION_REQUIRED = '5.1.5';
26
  const NUM_TRACKS = 3;
27
  const PLUGIN_FILE = __FILE__;
28
  const PLUGIN_DIR = __DIR__;
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.5.1-beta3
7
  * Author: Nicolas Jonas
8
  * Author URI: https://nextgenthemes.com
9
  * License: GPL-3.0
10
  * License URI: https://www.gnu.org/licenses/gpl-3.0.html
11
  * Text Domain: advanced-responsive-video-embedder
12
  * Domain Path: /languages
 
 
13
  *
14
  * @package Nextgenthemes/ARVE
15
  * @author Nicolas Jonas
19
 
20
  namespace Nextgenthemes\ARVE;
21
 
22
+ const VERSION = '9.5.1-beta3';
23
+ const PRO_VERSION_REQUIRED = '5.1.11';
24
  const NUM_TRACKS = 3;
25
  const PLUGIN_FILE = __FILE__;
26
  const PLUGIN_DIR = __DIR__;
changelog.md CHANGED
@@ -4,7 +4,7 @@
4
  * [ARVE Pro changelog](https://nextgenthemes.com/plugins/arve-pro/#changelog)
5
  * [ARVE Random Videos changelog](https://nextgenthemes.com/plugins/random-video/#changelog)
6
 
7
- ### 2021-02-07 9.5.0 ###
8
 
9
  * New video hosts support for
10
  * [LBRY](https://lbry.com)
4
  * [ARVE Pro changelog](https://nextgenthemes.com/plugins/arve-pro/#changelog)
5
  * [ARVE Random Videos changelog](https://nextgenthemes.com/plugins/random-video/#changelog)
6
 
7
+ ### 2021-02-13 9.5.1-beta1 ###
8
 
9
  * New video hosts support for
10
  * [LBRY](https://lbry.com)
php/functions-shortcode-args.php CHANGED
@@ -17,7 +17,6 @@ function process_shortcode_args( array $a ) {
17
  $a['aspect_ratio'] = arg_aspect_ratio( $a );
18
  $a['thumbnail'] = apply_filters( 'nextgenthemes/arve/args/thumbnail', $a['thumbnail'], $a );
19
  $a['img_src'] = arg_img_src( $a );
20
- $a['img_srcset'] = arg_img_srcset( $a );
21
  $a = args_video( $a );
22
  $a['id'] = liveleak_id_fix( $a );
23
  $a['maxwidth'] = arg_maxwidth( $a );
@@ -278,17 +277,6 @@ function arg_img_src( array $a ) {
278
  return apply_filters( 'nextgenthemes/arve/args/img_src', $img_src, $a );
279
  }
280
 
281
- function arg_img_srcset( array $a ) {
282
-
283
- $img_srcset = false;
284
-
285
- if ( $a['img_src'] && is_numeric( $a['thumbnail'] ) ) {
286
- $img_srcset = wp_get_attachment_image_srcset( $a['thumbnail'], 'small' );
287
- }
288
-
289
- return apply_filters( 'nextgenthemes/arve/args/img_srcset', $img_srcset, $a );
290
- }
291
-
292
  function detect_provider_and_id_from_url( array $a ) {
293
 
294
  if ( 'html5' === $a['provider'] ||
17
  $a['aspect_ratio'] = arg_aspect_ratio( $a );
18
  $a['thumbnail'] = apply_filters( 'nextgenthemes/arve/args/thumbnail', $a['thumbnail'], $a );
19
  $a['img_src'] = arg_img_src( $a );
 
20
  $a = args_video( $a );
21
  $a['id'] = liveleak_id_fix( $a );
22
  $a['maxwidth'] = arg_maxwidth( $a );
277
  return apply_filters( 'nextgenthemes/arve/args/img_src', $img_src, $a );
278
  }
279
 
 
 
 
 
 
 
 
 
 
 
 
280
  function detect_provider_and_id_from_url( array $a ) {
281
 
282
  if ( 'html5' === $a['provider'] ||
readme.txt CHANGED
@@ -172,7 +172,7 @@ Please read the [official documentation](https://wordpress.org/support/article/m
172
  * [ARVE Pro changelog](https://nextgenthemes.com/plugins/arve-pro/#changelog)
173
  * [ARVE Random Videos changelog](https://nextgenthemes.com/plugins/random-video/#changelog)
174
 
175
- ### 2021-02-07 9.5.0 ###
176
 
177
  * New video hosts support for
178
  * [LBRY](https://lbry.com)
172
  * [ARVE Pro changelog](https://nextgenthemes.com/plugins/arve-pro/#changelog)
173
  * [ARVE Random Videos changelog](https://nextgenthemes.com/plugins/random-video/#changelog)
174
 
175
+ ### 2021-02-13 9.5.1-beta1 ###
176
 
177
  * New video hosts support for
178
  * [LBRY](https://lbry.com)