Version Description
Download this release
Release Info
Developer | nico23 |
Plugin | ARVE Advanced Responsive Video Embedder (YouTube, Vimeo, HTML5 Video …) |
Version | 8.10.22 |
Comparing to | |
See all releases |
Code changes from version 8.10.20 to 8.10.22
- advanced-responsive-video-embedder.php +2 -2
- phpunit.xml.dist +0 -15
- public/functions-shortcode-filters.php +4 -2
- readme.txt +6 -2
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.10.
|
7 |
* Author: Nicolas Jonas
|
8 |
* Author URI: https://nextgenthemes.com
|
9 |
* License: GPL-3.0
|
@@ -17,7 +17,7 @@ if ( ! defined( 'WPINC' ) ) {
|
|
17 |
}
|
18 |
|
19 |
define( 'ARVE_SLUG', 'advanced-responsive-video-embedder' );
|
20 |
-
define( 'ARVE_VERSION', '8.10.
|
21 |
define( 'ARVE_PRO_VERSION_REQUIRED', '4.2.5' );
|
22 |
|
23 |
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.22
|
7 |
* Author: Nicolas Jonas
|
8 |
* Author URI: https://nextgenthemes.com
|
9 |
* License: GPL-3.0
|
17 |
}
|
18 |
|
19 |
define( 'ARVE_SLUG', 'advanced-responsive-video-embedder' );
|
20 |
+
define( 'ARVE_VERSION', '8.10.21' );
|
21 |
define( 'ARVE_PRO_VERSION_REQUIRED', '4.2.5' );
|
22 |
|
23 |
define( 'ARVE_URL', plugin_dir_url( __FILE__ ) );
|
phpunit.xml.dist
DELETED
@@ -1,15 +0,0 @@
|
|
1 |
-
<?xml version="1.0"?>
|
2 |
-
<phpunit
|
3 |
-
bootstrap="tests/bootstrap.php"
|
4 |
-
backupGlobals="false"
|
5 |
-
colors="true"
|
6 |
-
convertErrorsToExceptions="true"
|
7 |
-
convertNoticesToExceptions="true"
|
8 |
-
convertWarningsToExceptions="true"
|
9 |
-
>
|
10 |
-
<testsuites>
|
11 |
-
<testsuite>
|
12 |
-
<directory prefix="test-" suffix=".php">./tests/</directory>
|
13 |
-
</testsuite>
|
14 |
-
</testsuites>
|
15 |
-
</phpunit>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public/functions-shortcode-filters.php
CHANGED
@@ -62,9 +62,11 @@ function arve_sc_filter_attr( $a ) {
|
|
62 |
|
63 |
if ( 'html5' === $a['provider'] ) {
|
64 |
|
|
|
|
|
65 |
$a['video_attr'] = array(
|
66 |
# WP
|
67 |
-
'autoplay' =>
|
68 |
'controls' => $a['controls'],
|
69 |
'controlslist' => $a['controlslist'],
|
70 |
'loop' => $a['loop'],
|
@@ -75,7 +77,7 @@ function arve_sc_filter_attr( $a ) {
|
|
75 |
'src' => empty( $a['video_src'] ) ? false : $a['video_src'],
|
76 |
# ARVE only
|
77 |
'class' => 'arve-video fitvidsignore',
|
78 |
-
'muted' => $a['muted'],
|
79 |
'playsinline' => $a['playsinline'],
|
80 |
'webkit-playsinline' => $a['playsinline'],
|
81 |
);
|
62 |
|
63 |
if ( 'html5' === $a['provider'] ) {
|
64 |
|
65 |
+
$autoplay = in_array( $a['mode'], array( 'lazyload', 'lazyload-lightbox', 'link-lightbox' ), true ) ? false : $a['autoplay'];
|
66 |
+
|
67 |
$a['video_attr'] = array(
|
68 |
# WP
|
69 |
+
'autoplay' => $autoplay,
|
70 |
'controls' => $a['controls'],
|
71 |
'controlslist' => $a['controlslist'],
|
72 |
'loop' => $a['loop'],
|
77 |
'src' => empty( $a['video_src'] ) ? false : $a['video_src'],
|
78 |
# ARVE only
|
79 |
'class' => 'arve-video fitvidsignore',
|
80 |
+
'muted' => $autoplay ? 'automuted' : $a['muted'],
|
81 |
'playsinline' => $a['playsinline'],
|
82 |
'webkit-playsinline' => $a['playsinline'],
|
83 |
);
|
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.
|
9 |
License: GPL-3.0
|
10 |
License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
11 |
|
@@ -155,11 +155,15 @@ This plugins embed is considered as 'custom player' by YouTube so you have to pa
|
|
155 |
2. URL Parameter Options
|
156 |
3. Pro Options
|
157 |
|
158 |
-
## Changelog
|
159 |
|
160 |
* [ARVE Pro addon changelog](https://nextgenthemes.com/plugins/arve-pro/changelog/)
|
161 |
* [ARVE AMP addon changelog](https://nextgenthemes.com/plugins/arve-amp/)
|
162 |
|
|
|
|
|
|
|
|
|
163 |
### 2019-11-05 - 8.10.20 ###
|
164 |
|
165 |
* Big version update with Gutenberg Block is coming [please help testing](https://nextgenthemes.com/plugins/arve/help-testing-the-beta-version/)
|
5 |
Requires at least: 4.4.0
|
6 |
Tested up to: 5.2.2
|
7 |
Requires PHP: 5.3
|
8 |
+
Stable tag: 8.10.22
|
9 |
License: GPL-3.0
|
10 |
License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
11 |
|
155 |
2. URL Parameter Options
|
156 |
3. Pro Options
|
157 |
|
158 |
+
## Changelog ##
|
159 |
|
160 |
* [ARVE Pro addon changelog](https://nextgenthemes.com/plugins/arve-pro/changelog/)
|
161 |
* [ARVE AMP addon changelog](https://nextgenthemes.com/plugins/arve-amp/)
|
162 |
|
163 |
+
### 2020-05-14 - 8.10.21 ###
|
164 |
+
|
165 |
+
* Improved: Automatically set HTML5 videos that are set to autoplay to also be muted so they may play as browsers no longer allow unmuted autoplay.
|
166 |
+
|
167 |
### 2019-11-05 - 8.10.20 ###
|
168 |
|
169 |
* Big version update with Gutenberg Block is coming [please help testing](https://nextgenthemes.com/plugins/arve/help-testing-the-beta-version/)
|