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

Version Description

Download this release

Release Info

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

Code changes from version 8.9.5 to 8.9.3

LICENSE.txt CHANGED
@@ -1,3 +1,8 @@
1
GNU GENERAL PUBLIC LICENSE
2
Version 3, 29 June 2007
3
1
+ class-arve-vimeo.php
2
+ Vimeo Video Post Lite
3
+ https://wordpress.org/plugins/codeflavors-vimeo-video-post-lite/
4
+ GPL 2.0 or later
5
+
6
GNU GENERAL PUBLIC LICENSE
7
Version 3, 29 June 2007
8
admin/arve-shortcode-ui.js CHANGED
@@ -17,9 +17,9 @@ function arve_extract_url( changed, collection, shortcode ) {
17
return;
18
}
19
20
- if( val.match(/src="?([^\s"]+)/) ) {
21
22
- var test_url = val.match(/src="?([^\s"]+)/),
23
only_url = test_url && test_url[1];
24
25
input.val( only_url ).trigger( 'input' );
17
return;
18
}
19
20
+ if( val.match(/src="([^"]+)/) ) {
21
22
+ var test_url = val.match(/src="([^"]+)/),
23
only_url = test_url && test_url[1];
24
25
input.val( only_url ).trigger( 'input' );
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: 8.9.5
7
* Author: Nicolas Jonas
8
* Author URI: https://nextgenthemes.com
9
* License: GPL-3.0
@@ -19,7 +19,7 @@ if ( ! defined( 'WPINC' ) ) {
19
}
20
21
define( 'ARVE_SLUG', 'advanced-responsive-video-embedder' );
22
- define( 'ARVE_VERSION', '8.9.5' );
23
define( 'ARVE_PRO_VERSION_REQUIRED', '4.0.0' );
24
25
define( 'ARVE_URL', plugin_dir_url( __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: 8.9.3
7
* Author: Nicolas Jonas
8
* Author URI: https://nextgenthemes.com
9
* License: GPL-3.0
19
}
20
21
define( 'ARVE_SLUG', 'advanced-responsive-video-embedder' );
22
+ define( 'ARVE_VERSION', '8.9.3' );
23
define( 'ARVE_PRO_VERSION_REQUIRED', '4.0.0' );
24
25
define( 'ARVE_URL', plugin_dir_url( __FILE__ ) );
public/functions-shortcode-filters.php CHANGED
@@ -95,14 +95,13 @@ function arve_sc_filter_attr( $a ) {
95
}
96
97
$a['iframe_attr'] = array(
98
- 'allow' => 'autoplay; fullscreen',
99
'allowfullscreen' => '',
100
'class' => 'arve-iframe fitvidsignore',
101
'frameborder' => '0',
102
'name' => $a['iframe_name'],
103
- 'sandbox' => 'allow-scripts allow-same-origin allow-presentation allow-popups',
104
'scrolling' => 'no',
105
'src' => $iframe_src,
106
'width' => empty( $a['width'] ) ? false : $a['width'],
107
'height' => empty( $a['height'] ) ? false : $a['height'],
108
);
95
}
96
97
$a['iframe_attr'] = array(
98
'allowfullscreen' => '',
99
'class' => 'arve-iframe fitvidsignore',
100
'frameborder' => '0',
101
'name' => $a['iframe_name'],
102
'scrolling' => 'no',
103
'src' => $iframe_src,
104
+ 'sandbox' => 'allow-scripts allow-same-origin allow-presentation allow-popups',
105
'width' => empty( $a['width'] ) ? false : $a['width'],
106
'height' => empty( $a['height'] ) ? false : $a['height'],
107
);
readme.txt CHANGED
@@ -156,18 +156,9 @@ This plugins embed is considered as 'custom player' by YouTube so you have to pa
156
* [ARVE Pro addon changelog](https://nextgenthemes.com/plugins/arve-pro/changelog/)
157
* [ARVE AMP addon changelog](https://nextgenthemes.com/plugins/arve-amp/)
158
159
- ### 2018-06-07 - 8.9.5 ###
160
-
161
- * Fixed: When pasting embed codes into the Shortcode UI dialog the `src=` will be extracted even when no quotes are used.
162
- * Improved: Use youtube-nocookie.com domain again it is GPRP/Privacy friendly. Note the name is confusing as it sets cookies, but only when the user plays the video rather then just when loading the iframe. So its not "no cookies". But you can mention this into your cookie notices when dealing with GPRP.
163
-
164
- ### 2018-06-02 - 8.9.4 ###
165
-
166
- * Improved: Try to make autoplay in Chrome possible again. See [New Chrome Autoplay behavior](https://developers.google.com/web/updates/2017/09/autoplay-policy-changes). At the point of writing its not clear if the new iframe attribute makes them just autoplay no matter what. Please report your experiences.
167
-
168
### 2018-04-29 - 8.9.3 ###
169
170
- * Improved: Make overwrite of shortcode possible. Used in new [Random Video Addon](https://nextgenthemes.com/plugins/arve-random-video/)
171
172
### 2018-04-18 - 8.9.2 ###
173
156
* [ARVE Pro addon changelog](https://nextgenthemes.com/plugins/arve-pro/changelog/)
157
* [ARVE AMP addon changelog](https://nextgenthemes.com/plugins/arve-amp/)
158
159
### 2018-04-29 - 8.9.3 ###
160
161
+ * Improved: Make overwrite of shortcode possible. Used in new [Random Video Addon]()
162
163
### 2018-04-18 - 8.9.2 ###
164
shared/functions-shared.php CHANGED
@@ -1008,7 +1008,7 @@ function arve_get_host_properties() {
1008
'youtube' => array(
1009
'name' => 'YouTube',
1010
'regex' => $s . '(youtube\.com\/\S*((\/e(mbed))?\/|watch\?(\S*?&?v\=))|youtu\.be\/)(?<id>[a-zA-Z0-9_-]{6,11}((\?|&)list=[a-z0-9_\-]+)?)',
1011
- 'embed_url' => 'https://www.youtube-nocookie.com/embed/%s',
1012
'default_params' => 'iv_load_policy=3&modestbranding=1&rel=0&autohide=1&playsinline=1',
1013
'auto_thumbnail' => true,
1014
'auto_title' => true,
@@ -1204,7 +1204,7 @@ function arve_get_host_properties() {
1204
'youtubelist' => array(
1205
'regex' => $s . 'youtube\.com/(embed/videoseries|playlist)\?list=(?<id>[-a-z0-9_]+)',
1206
'name' => 'YouTube Playlist',
1207
- 'embed_url' => 'https://www.youtube-nocookie.com/embed/videoseries?list=%s',
1208
'default_params' => 'iv_load_policy=3&modestbranding=1&rel=0&autohide=1&playsinline=1',
1209
'auto_thumbnail' => true,
1210
'tests' => array(
1008
'youtube' => array(
1009
'name' => 'YouTube',
1010
'regex' => $s . '(youtube\.com\/\S*((\/e(mbed))?\/|watch\?(\S*?&?v\=))|youtu\.be\/)(?<id>[a-zA-Z0-9_-]{6,11}((\?|&)list=[a-z0-9_\-]+)?)',
1011
+ 'embed_url' => 'https://www.youtube.com/embed/%s',
1012
'default_params' => 'iv_load_policy=3&modestbranding=1&rel=0&autohide=1&playsinline=1',
1013
'auto_thumbnail' => true,
1014
'auto_title' => true,
1204
'youtubelist' => array(
1205
'regex' => $s . 'youtube\.com/(embed/videoseries|playlist)\?list=(?<id>[-a-z0-9_]+)',
1206
'name' => 'YouTube Playlist',
1207
+ 'embed_url' => 'https://www.youtube.com/embed/videoseries?list=%s',
1208
'default_params' => 'iv_load_policy=3&modestbranding=1&rel=0&autohide=1&playsinline=1',
1209
'auto_thumbnail' => true,
1210
'tests' => array(