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

Version Description

Download this release

Release Info

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

Code changes from version 8.9.5 to 8.9.4

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__ ) );
readme.txt CHANGED
@@ -156,11 +156,6 @@ 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.
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-02 - 8.9.4 ###
160
 
161
  * 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.
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(