Version Description
Download this release
Release Info
Developer | nico23 |
Plugin | ARVE Advanced Responsive Video Embedder (YouTube, Vimeo, HTML5 Video …) |
Version | 9.7.1 |
Comparing to | |
See all releases |
Code changes from version 9.7.0 to 9.7.1
- advanced-responsive-video-embedder.php +2 -2
- changelog.md +6 -0
- php/Admin/functions-shortcode-creator.php +1 -1
- php/functions-shortcode-args.php +3 -0
- php/init.php +15 -0
- php/providers.php +13 -0
- readme.txt +8 -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: 9.7.
|
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.7.
|
23 |
const PRO_VERSION_REQUIRED = '5.2.0';
|
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.7.1
|
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.7.1';
|
23 |
const PRO_VERSION_REQUIRED = '5.2.0';
|
24 |
const NUM_TRACKS = 3;
|
25 |
const PLUGIN_FILE = __FILE__;
|
changelog.md
CHANGED
@@ -4,6 +4,12 @@
|
|
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-12-09 9.7.0 ###
|
8 |
|
9 |
* Fix: Partially reverse `preload="none"` on `<video>`. This causes thumbnails not to be generated from the video by the browser. `preload="none"` will be used only for Lazyload and Lightbox mode when there is a thumbnail image.
|
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-12-17 9.7.1 ###
|
8 |
+
|
9 |
+
* Fix: Elements from the dialog showing up in Elemetor. (Button does not work)
|
10 |
+
* New: Support for [brighteon](https://brighteon.com)
|
11 |
+
* Improved: Make sure there is no ARVE pecific json left in the oemed caches after uninstalling the plugin.
|
12 |
+
|
13 |
### 2021-12-09 9.7.0 ###
|
14 |
|
15 |
* Fix: Partially reverse `preload="none"` on `<video>`. This causes thumbnails not to be generated from the video by the browser. `preload="none"` will be used only for Lazyload and Lightbox mode when there is a thumbnail image.
|
php/Admin/functions-shortcode-creator.php
CHANGED
@@ -23,7 +23,7 @@ function add_media_button() {
|
|
23 |
}
|
24 |
?>
|
25 |
|
26 |
-
<div id="arve-sc-dialog"
|
27 |
<div id="arve-sc-vue">
|
28 |
<?php
|
29 |
Common\Admin\print_settings_blocks(
|
23 |
}
|
24 |
?>
|
25 |
|
26 |
+
<div id="arve-sc-dialog" hidden>
|
27 |
<div id="arve-sc-vue">
|
28 |
<?php
|
29 |
Common\Admin\print_settings_blocks(
|
php/functions-shortcode-args.php
CHANGED
@@ -463,6 +463,9 @@ function compare_oembed_src_with_generated_src( $a ) {
|
|
463 |
case 'youtube':
|
464 |
$src = remove_query_arg( 'feature', $a['src'] );
|
465 |
break;
|
|
|
|
|
|
|
466 |
}
|
467 |
|
468 |
if ( $src !== $src_gen ) {
|
463 |
case 'youtube':
|
464 |
$src = remove_query_arg( 'feature', $a['src'] );
|
465 |
break;
|
466 |
+
case 'dailymotion':
|
467 |
+
$src = remove_query_arg( 'pubtool', $a['src'] );
|
468 |
+
break;
|
469 |
}
|
470 |
|
471 |
if ( $src !== $src_gen ) {
|
php/init.php
CHANGED
@@ -69,3 +69,18 @@ function init_admin() {
|
|
69 |
add_filter( 'plugin_action_links_' . plugin_basename( __FILE__ ), __NAMESPACE__ . '\Admin\add_action_links' );
|
70 |
add_filter( 'nextgenthemes_arve_save_options', __NAMESPACE__ . '\Admin\filter_save_options' );
|
71 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
69 |
add_filter( 'plugin_action_links_' . plugin_basename( __FILE__ ), __NAMESPACE__ . '\Admin\add_action_links' );
|
70 |
add_filter( 'nextgenthemes_arve_save_options', __NAMESPACE__ . '\Admin\filter_save_options' );
|
71 |
}
|
72 |
+
|
73 |
+
register_uninstall_hook( __FILE__, __NAMESPACE__ . '\\uninstall' );
|
74 |
+
|
75 |
+
function uninstall() {
|
76 |
+
|
77 |
+
if ( version_compare( $GLOBALS['wpdb']->db_version(), '8.0', '>=' ) ) {
|
78 |
+
|
79 |
+
$GLOBALS['wpdb']->query(
|
80 |
+
"UPDATE {$GLOBALS['wpdb']->postmeta} SET meta_value = REGEXP_REPLACE( meta_value, '<script type=\"application/json\" data-arve-oembed>[^<]+</script>', '' )"
|
81 |
+
);
|
82 |
+
} else {
|
83 |
+
$GLOBALS['wpdb']->query( "DELETE FROM {$GLOBALS['wpdb']->postmeta} WHERE meta_key LIKE '%_oembed_%'" );
|
84 |
+
delete_option('arve_version');
|
85 |
+
}
|
86 |
+
}
|
php/providers.php
CHANGED
@@ -106,6 +106,19 @@
|
|
106 |
],
|
107 |
],
|
108 |
],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
109 |
'cantcensortruthcom' => [
|
110 |
'name' => 'cantcensortruth.com',
|
111 |
'oembed' => false,
|
106 |
],
|
107 |
],
|
108 |
],
|
109 |
+
'brighteon' => [
|
110 |
+
'name' => 'Brighteon',
|
111 |
+
'regex' => '#https?://(www)\\.brighteon\\.com/(?<id>[a-z0-9-]+)#i',
|
112 |
+
'oembed' => false,
|
113 |
+
'embed_url' => 'https://www.brighteon.com/embed/%s/',
|
114 |
+
'requires_src' => false,
|
115 |
+
'tests' => [
|
116 |
+
0 => [
|
117 |
+
'url' => 'https://www.brighteon.com/e7d18308-7cae-4a04-8a42-7088a8bea02c',
|
118 |
+
'id' => 'e7d18308-7cae-4a04-8a42-7088a8bea02c',
|
119 |
+
],
|
120 |
+
],
|
121 |
+
],
|
122 |
'cantcensortruthcom' => [
|
123 |
'name' => 'cantcensortruth.com',
|
124 |
'oembed' => false,
|
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.9.0
|
7 |
Requires PHP: 5.6
|
8 |
-
Stable tag: 9.7.
|
9 |
License: GPL-3.0
|
10 |
License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
11 |
|
@@ -54,7 +54,7 @@ It is very likely the one and only plugin you will ever need to handle video emb
|
|
54 |
#### Supported Providers ####
|
55 |
|
56 |
[All providers with iframe embed codes](https://nextgenthemes.com/plugins/arve/documentation/#general-iframe-embedding)
|
57 |
-
Alugha, Archive.org, Banned.video, Bitchute, Mail.ru, Brightcove, cantcensortruth.com, Comedy Central, Dailymotion, Dailymotion Playlist, DTube, Facebook, Gab TV, Google Drive, mp4 or webm video files, ARVE general iframe embed, IGN, IMDB, Kickstarter, kla.tv, Livestream.com, Metacafe, myspace, ooyala, v.qq.com, Rumble.com, RuTube.ru, Snotr, TED Talks, Twitch, Ustream, Viddler, Vimeo, VK, Wistia, XTube, Yahoo, Youku, YouTube, YouTube Playlist
|
58 |
### Reviews ###
|
59 |
|
60 |
#### ★ ★ ★ ★ ★ Great plugin, great support ####
|
@@ -200,6 +200,12 @@ Please read the [official documentation](https://wordpress.org/support/article/m
|
|
200 |
* [ARVE Pro changelog](https://nextgenthemes.com/plugins/arve-pro/#changelog)
|
201 |
* [ARVE Random Videos changelog](https://nextgenthemes.com/plugins/arve-random-video/#changelog)
|
202 |
|
|
|
|
|
|
|
|
|
|
|
|
|
203 |
### 2021-12-09 9.7.0 ###
|
204 |
|
205 |
* Fix: Partially reverse `preload="none"` on `<video>`. This causes thumbnails not to be generated from the video by the browser. `preload="none"` will be used only for Lazyload and Lightbox mode when there is a thumbnail image.
|
5 |
Requires at least: 4.9.16
|
6 |
Tested up to: 5.9.0
|
7 |
Requires PHP: 5.6
|
8 |
+
Stable tag: 9.7.1
|
9 |
License: GPL-3.0
|
10 |
License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
11 |
|
54 |
#### Supported Providers ####
|
55 |
|
56 |
[All providers with iframe embed codes](https://nextgenthemes.com/plugins/arve/documentation/#general-iframe-embedding)
|
57 |
+
Alugha, Archive.org, Banned.video, Bitchute, Mail.ru, Brightcove, Brighteon, cantcensortruth.com, Comedy Central, Dailymotion, Dailymotion Playlist, DTube, Facebook, Gab TV, Google Drive, mp4 or webm video files, ARVE general iframe embed, IGN, IMDB, Kickstarter, kla.tv, Livestream.com, Metacafe, myspace, ooyala, v.qq.com, Rumble.com, RuTube.ru, Snotr, TED Talks, Twitch, Ustream, Viddler, Vimeo, VK, Wistia, XTube, Yahoo, Youku, YouTube, YouTube Playlist
|
58 |
### Reviews ###
|
59 |
|
60 |
#### ★ ★ ★ ★ ★ Great plugin, great support ####
|
200 |
* [ARVE Pro changelog](https://nextgenthemes.com/plugins/arve-pro/#changelog)
|
201 |
* [ARVE Random Videos changelog](https://nextgenthemes.com/plugins/arve-random-video/#changelog)
|
202 |
|
203 |
+
### 2021-12-17 9.7.1 ###
|
204 |
+
|
205 |
+
* Fix: Elements from the dialog showing up in Elemetor. (Button does not work)
|
206 |
+
* New: Support for [brighteon](https://brighteon.com)
|
207 |
+
* Improved: Make sure there is no ARVE pecific json left in the oemed caches after uninstalling the plugin.
|
208 |
+
|
209 |
### 2021-12-09 9.7.0 ###
|
210 |
|
211 |
* Fix: Partially reverse `preload="none"` on `<video>`. This causes thumbnails not to be generated from the video by the browser. `preload="none"` will be used only for Lazyload and Lightbox mode when there is a thumbnail image.
|