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

Version Description

Download this release

Release Info

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

Code changes from version 9.5.8 to 9.5.10

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.5.8
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.5.8';
23
  const PRO_VERSION_REQUIRED = '5.1.11';
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.5.10
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.5.10';
23
  const PRO_VERSION_REQUIRED = '5.1.11';
24
  const NUM_TRACKS = 3;
25
  const PLUGIN_FILE = __FILE__;
changelog.md CHANGED
@@ -4,6 +4,9 @@
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
 
8
  ### 2021-03-11 9.5.8 ###
9
 
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-03-25 9.5.10 ###
8
+
9
+ * Fix: 'None numeric value' errors in some situations.
10
 
11
  ### 2021-03-11 9.5.8 ###
12
 
php/functions-misc.php CHANGED
@@ -72,8 +72,8 @@ function youtube_time_to_seconds( $yttime ) {
72
 
73
  function new_height( $old_width, $old_height, $new_width ) {
74
 
75
- $aspect_num = $old_width / $old_height;
76
- $new_height = $new_width / $aspect_num;
77
 
78
  return $new_height;
79
  }
72
 
73
  function new_height( $old_width, $old_height, $new_width ) {
74
 
75
+ $aspect_num = (int) $old_width / (int) $old_height;
76
+ $new_height = (int) $new_width / $aspect_num;
77
 
78
  return $new_height;
79
  }
php/functions-shortcode-args.php CHANGED
@@ -591,7 +591,7 @@ function height_from_width_and_ratio( $width, $ratio ) {
591
  return false;
592
  }
593
 
594
- list( $old_width, $old_height ) = explode( ':', $ratio );
595
 
596
  return new_height( $old_width, $old_height, $width );
597
  }
591
  return false;
592
  }
593
 
594
+ list( $old_width, $old_height ) = explode( ':', $ratio, 2 );
595
 
596
  return new_height( $old_width, $old_height, $width );
597
  }
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.7.0
7
  Requires PHP: 5.6
8
- Stable tag: 9.5.8
9
  License: GPL-3.0
10
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
11
 
@@ -193,6 +193,9 @@ Please read the [official documentation](https://wordpress.org/support/article/m
193
  * [ARVE Pro changelog](https://nextgenthemes.com/plugins/arve-pro/#changelog)
194
  * [ARVE Random Videos changelog](https://nextgenthemes.com/plugins/arve-random-video/#changelog)
195
 
 
 
 
196
 
197
  ### 2021-03-11 9.5.8 ###
198
 
5
  Requires at least: 4.9.16
6
  Tested up to: 5.7.0
7
  Requires PHP: 5.6
8
+ Stable tag: 9.5.10
9
  License: GPL-3.0
10
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
11
 
193
  * [ARVE Pro changelog](https://nextgenthemes.com/plugins/arve-pro/#changelog)
194
  * [ARVE Random Videos changelog](https://nextgenthemes.com/plugins/arve-random-video/#changelog)
195
 
196
+ ### 2021-03-25 9.5.10 ###
197
+
198
+ * Fix: 'None numeric value' errors in some situations.
199
 
200
  ### 2021-03-11 9.5.8 ###
201