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

Version Description

Download this release

Release Info

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

Code changes from version 8.10.7 to 8.10.8

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: 8.10.7
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: v8
15
  */
16
 
17
  if ( ! defined( 'WPINC' ) ) {
@@ -19,7 +17,7 @@ if ( ! defined( 'WPINC' ) ) {
19
  }
20
 
21
  define( 'ARVE_SLUG', 'advanced-responsive-video-embedder' );
22
- define( 'ARVE_VERSION', '8.10.7' );
23
  define( 'ARVE_PRO_VERSION_REQUIRED', '4.2.5' );
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.10.8
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
 
15
  if ( ! defined( 'WPINC' ) ) {
17
  }
18
 
19
  define( 'ARVE_SLUG', 'advanced-responsive-video-embedder' );
20
+ define( 'ARVE_VERSION', '8.10.8' );
21
  define( 'ARVE_PRO_VERSION_REQUIRED', '4.2.5' );
22
 
23
  define( 'ARVE_URL', plugin_dir_url( __FILE__ ) );
public/functions-shortcode-filters.php CHANGED
@@ -100,7 +100,7 @@ function arve_sc_filter_attr( $a ) {
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'],
100
  'class' => 'arve-iframe fitvidsignore',
101
  'frameborder' => '0',
102
  'name' => $a['iframe_name'],
103
+ 'sandbox' => 'allow-scripts allow-same-origin allow-presentation allow-popups allow-popups-to-escape-sandbox',
104
  'scrolling' => 'no',
105
  'src' => $iframe_src,
106
  'width' => empty( $a['width'] ) ? false : $a['width'],
readme.txt CHANGED
@@ -5,7 +5,7 @@ Tags: YouTube, Vimeo, lazyload, thumbnail, video, responsive, embeds, video-embe
5
  Requires at least: 4.4.0
6
  Tested up to: 5.2.2
7
  Requires PHP: 5.3
8
- Stable tag: 8.10.7
9
  License: GPL-3.0
10
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
11
 
@@ -158,9 +158,10 @@ This plugins embed is considered as 'custom player' by YouTube so you have to pa
158
  * [ARVE Pro addon changelog](https://nextgenthemes.com/plugins/arve-pro/changelog/)
159
  * [ARVE AMP addon changelog](https://nextgenthemes.com/plugins/arve-amp/)
160
 
161
- ### 2019-08-13 - 8.10.7 ###
162
 
163
- * Setting the right branch (v8) for Github updater plugin.
 
164
 
165
  ### 2019-07-31 - 8.10.6 ###
166
 
5
  Requires at least: 4.4.0
6
  Tested up to: 5.2.2
7
  Requires PHP: 5.3
8
+ Stable tag: 8.10.8
9
  License: GPL-3.0
10
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
11
 
158
  * [ARVE Pro addon changelog](https://nextgenthemes.com/plugins/arve-pro/changelog/)
159
  * [ARVE AMP addon changelog](https://nextgenthemes.com/plugins/arve-amp/)
160
 
161
+ ### 2019-08-19 - 8.10.8 ###
162
 
163
+ * Improved: Switch Youku embeds to https set to default 16:9 aspect ratio.
164
+ * Improved: added `allow-popups-to-escape-sandbox` to sandbox attribute. This eliminates the need for `sandbox="false"` for Vimeo action links to work. And just in general I think its a good idea.
165
 
166
  ### 2019-07-31 - 8.10.6 ###
167
 
shared/functions-shared.php CHANGED
@@ -715,16 +715,6 @@ function arve_get_host_properties() {
715
  array( 'url' => 'http://movieweb.com/v/VIOF6ytkiMEMSR/embed', 'id' => 'VIOF6ytkiMEMSR' ),
716
  ),
717
  ),
718
- 'mpora' => array(
719
- 'name' => 'MPORA',
720
- 'regex' => $s . 'mpora\.(com|de)/videos/(?<id>[a-z0-9]+)',
721
- 'embed_url' => 'http://mpora.com/videos/%s/embed',
722
- 'auto_thumbnail' => true,
723
- 'tests' => array(
724
- array( 'url' => 'http://mpora.com/videos/AAdphry14rkn', 'id' => 'AAdphry14rkn' ),
725
- array( 'url' => 'http://mpora.de/videos/AAdpxhiv6pqd', 'id' => 'AAdpxhiv6pqd' ),
726
- )
727
- ),
728
  'myspace' => array(
729
  #<iframe width="480" height="270" src="//media.myspace.com/play/video/house-of-lies-season-5-premiere-109903807-112606834" frameborder="0" allowtransparency="true" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe><p><a href="https://media.myspace.com/showtime/video/house-of-lies-season-5-premiere/109903807">House of Lies Season 5 Premiere</a> from <a href="https://media.myspace.com/Showtime">Showtime</a> on <a href="https://media.myspace.com">Myspace</a>.</p>
730
  'regex' => $s . 'myspace\.com/.+/(?<id>[0-9]+)',
@@ -734,17 +724,6 @@ function arve_get_host_properties() {
734
  array( 'url' => 'https://myspace.com/myspace/video/dark-rooms-the-shadow-that-looms-o-er-my-heart-live-/109471212', 'id' => 109471212 ),
735
  )
736
  ),
737
- /*
738
- 'myvideo' => array(
739
- 'name' => 'MyVideo',
740
- 'regex' => $s . 'myvideo\.de/(watch|embed)/([0-9]+)',
741
- 'embed_url' => 'http://www.myvideo.de/embedded/public/%s',
742
- 'auto_thumbnail' => false,
743
- 'tests' => array(
744
- 'http://www.myvideo.de/watch/8432624/Angeln_mal_anders',
745
- )
746
- ),
747
- */
748
  'snotr' => array(
749
  'regex' => $s . 'snotr\.com/(video|embed)/(?<id>[0-9]+)',
750
  'embed_url' => 'http://www.snotr.com/embed/%s',
@@ -864,8 +843,8 @@ function arve_get_host_properties() {
864
  #'default_params' => 'wmode=transparent&player=full&f=1&disablebranding=1',
865
  'embed_url' => 'https://www.viddler.com/embed/%s/',
866
  'default_params' => '?f=1&player=full&secret=59822701&disablebackwardseek=false&disableseek=false&disableforwardseek=false&make_responsive=false&loop=false&nologo=false&hd=false',
867
- 'auto_thumbnail' => true,
868
- 'auto_title' => true,
869
  'aspect_ratio' => '545:349',
870
  'tests' => array(
871
  array(
@@ -981,9 +960,8 @@ function arve_get_host_properties() {
981
  ),
982
  'youku' => array(
983
  'regex' => 'https?://([a-z.]+)?\.youku.com/(embed/|v_show/id_)(?<id>[a-z0-9]+)',
984
- 'embed_url' => 'http://player.youku.com/embed/%s',
985
  'auto_thumbnail' => false,
986
- 'aspect_ratio' => '450:292.5',
987
  # <iframe height=498 width=510 src="http://player.youku.com/embed/XMTUyODYwOTc4OA==" frameborder=0 allowfullscreen></iframe>
988
  'tests' => array(
989
  array(
715
  array( 'url' => 'http://movieweb.com/v/VIOF6ytkiMEMSR/embed', 'id' => 'VIOF6ytkiMEMSR' ),
716
  ),
717
  ),
 
 
 
 
 
 
 
 
 
 
718
  'myspace' => array(
719
  #<iframe width="480" height="270" src="//media.myspace.com/play/video/house-of-lies-season-5-premiere-109903807-112606834" frameborder="0" allowtransparency="true" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe><p><a href="https://media.myspace.com/showtime/video/house-of-lies-season-5-premiere/109903807">House of Lies Season 5 Premiere</a> from <a href="https://media.myspace.com/Showtime">Showtime</a> on <a href="https://media.myspace.com">Myspace</a>.</p>
720
  'regex' => $s . 'myspace\.com/.+/(?<id>[0-9]+)',
724
  array( 'url' => 'https://myspace.com/myspace/video/dark-rooms-the-shadow-that-looms-o-er-my-heart-live-/109471212', 'id' => 109471212 ),
725
  )
726
  ),
 
 
 
 
 
 
 
 
 
 
 
727
  'snotr' => array(
728
  'regex' => $s . 'snotr\.com/(video|embed)/(?<id>[0-9]+)',
729
  'embed_url' => 'http://www.snotr.com/embed/%s',
843
  #'default_params' => 'wmode=transparent&player=full&f=1&disablebranding=1',
844
  'embed_url' => 'https://www.viddler.com/embed/%s/',
845
  'default_params' => '?f=1&player=full&secret=59822701&disablebackwardseek=false&disableseek=false&disableforwardseek=false&make_responsive=false&loop=false&nologo=false&hd=false',
846
+ 'auto_thumbnail' => false,
847
+ 'auto_title' => false,
848
  'aspect_ratio' => '545:349',
849
  'tests' => array(
850
  array(
960
  ),
961
  'youku' => array(
962
  'regex' => 'https?://([a-z.]+)?\.youku.com/(embed/|v_show/id_)(?<id>[a-z0-9]+)',
963
+ 'embed_url' => 'https://player.youku.com/embed/%s',
964
  'auto_thumbnail' => false,
 
965
  # <iframe height=498 width=510 src="http://player.youku.com/embed/XMTUyODYwOTc4OA==" frameborder=0 allowfullscreen></iframe>
966
  'tests' => array(
967
  array(