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

Version Description

Download this release

Release Info

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

Code changes from version 9.5.10 to 9.5.11

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.5.10
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.5.10';
23
  const PRO_VERSION_REQUIRED = '5.1.11';
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.5.11
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.5.11';
23
  const PRO_VERSION_REQUIRED = '5.1.11';
24
  const NUM_TRACKS = 3;
25
  const PLUGIN_FILE = __FILE__;
changelog.md CHANGED
@@ -4,6 +4,11 @@
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-03-25 9.5.10 ###
8
 
9
  * Fix: 'None numeric value' errors in some situations.
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-04-04 9.5.11 ###
8
+
9
+ * New: Support for v.qq.com videos.
10
+ * Fix: `.m4v` files not loading.
11
+
12
  ### 2021-03-25 9.5.10 ###
13
 
14
  * Fix: 'None numeric value' errors in some situations.
php/functions-shortcode-args.php CHANGED
@@ -755,8 +755,12 @@ function get_video_type( $ext ) {
755
  return 'video/ogg';
756
  case 'av1mp4':
757
  return 'video/mp4; codecs=av01.0.05M.08';
 
 
 
 
758
  default:
759
- return 'video/' . $ext;
760
  }
761
  }
762
 
755
  return 'video/ogg';
756
  case 'av1mp4':
757
  return 'video/mp4; codecs=av01.0.05M.08';
758
+ case 'mp4':
759
+ return 'video/mp4';
760
+ case 'webm':
761
+ return 'video/webm';
762
  default:
763
+ return 'video/x-' . $ext;
764
  }
765
  }
766
 
php/init.php CHANGED
@@ -15,6 +15,7 @@ function init_public() {
15
  if ( version_compare( get_option( 'arve_version' ), '9.5.3-alpha1', '<' ) ) {
16
  $GLOBALS['wpdb']->query( "DELETE FROM {$GLOBALS['wpdb']->postmeta} WHERE meta_key LIKE '%_oembed_%'" );
17
  }
 
18
  update_option( 'arve_version', VERSION );
19
 
20
  require_once PLUGIN_DIR . '/php/Common/init.php';
15
  if ( version_compare( get_option( 'arve_version' ), '9.5.3-alpha1', '<' ) ) {
16
  $GLOBALS['wpdb']->query( "DELETE FROM {$GLOBALS['wpdb']->postmeta} WHERE meta_key LIKE '%_oembed_%'" );
17
  }
18
+
19
  update_option( 'arve_version', VERSION );
20
 
21
  require_once PLUGIN_DIR . '/php/Common/init.php';
php/providers.php CHANGED
@@ -342,7 +342,6 @@
342
  'myspace' => [
343
  'name' => 'myspace',
344
  'oembed' => false,
345
-
346
  'regex' => '#https?://(www\\.)?myspace\\.com/.+/(?<id>[0-9]+)#i',
347
  'embed_url' => 'https://media.myspace.com/play/video/%s',
348
  'auto_thumbnail' => false,
@@ -357,6 +356,23 @@
357
  'name' => 'ooyala',
358
  'requires_src' => true,
359
  ],
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
360
  'rumble' => [
361
  'name' => 'Rumble.com',
362
  'oembed' => false,
342
  'myspace' => [
343
  'name' => 'myspace',
344
  'oembed' => false,
 
345
  'regex' => '#https?://(www\\.)?myspace\\.com/.+/(?<id>[0-9]+)#i',
346
  'embed_url' => 'https://media.myspace.com/play/video/%s',
347
  'auto_thumbnail' => false,
356
  'name' => 'ooyala',
357
  'requires_src' => true,
358
  ],
359
+ 'qq' => [
360
+ 'name' => 'v.qq.com',
361
+ 'oembed' => false,
362
+ 'regex' => '#https?://v\.qq\.com/.+?(?<id>[a-z0-9]+).html#i',
363
+ 'embed_url' => 'https://v.qq.com/txp/iframe/player.html?vid=%s',
364
+ 'auto_thumbnail' => false,
365
+ 'tests' => [
366
+ 0 => [
367
+ 'url' => 'https://v.qq.com/x/page/u0863pgoecf.html',
368
+ 'id' => 'u0863pgoecf',
369
+ ],
370
+ 1 => [
371
+ 'url' => 'https://v.qq.com/x/cover/zf2z0xpqcculhcz/y0016tj0qvh.html',
372
+ 'id' => 'y0016tj0qvh',
373
+ ],
374
+ ],
375
+ ],
376
  'rumble' => [
377
  'name' => 'Rumble.com',
378
  '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.7.0
7
  Requires PHP: 5.6
8
- Stable tag: 9.5.10
9
  License: GPL-3.0
10
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
11
 
@@ -55,7 +55,7 @@ It is very likely the one and only plugin you will ever need to handle video emb
55
  #### Supported Providers ####
56
 
57
  [All providers with iframe embed codes](https://nextgenthemes.com/plugins/arve/documentation/#general-iframe-embedding)
58
- Alugha, Archive.org, Banned.video, Bitchute, Mail.ru, Brightcove, cantcensortruth.com, Comedy Central, Dailymotion, Dailymotion Playlist, DTube, Facebook, Google Drive, mp4 or webm video files, ARVE general iframe embed, IGN, IMDB, Kickstarter, kla.tv, LiveLeak, Livestream.com, Metacafe, myspace, ooyala, Rumble.com, RuTube.ru, Snotr, TED Talks, Twitch, Ustream, Viddler, Vimeo, VK, Wistia, XTube, Yahoo, Youku, YouTube, YouTube Playlist
59
  ### Reviews ###
60
 
61
  #### &#9733; &#9733; &#9733; &#9733; &#9733; Great plugin, great support ####
@@ -193,6 +193,11 @@ Please read the [official documentation](https://wordpress.org/support/article/m
193
  * [ARVE Pro changelog](https://nextgenthemes.com/plugins/arve-pro/#changelog)
194
  * [ARVE Random Videos changelog](https://nextgenthemes.com/plugins/arve-random-video/#changelog)
195
 
 
 
 
 
 
196
  ### 2021-03-25 9.5.10 ###
197
 
198
  * Fix: 'None numeric value' errors in some situations.
5
  Requires at least: 4.9.16
6
  Tested up to: 5.7.0
7
  Requires PHP: 5.6
8
+ Stable tag: 9.5.11
9
  License: GPL-3.0
10
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
11
 
55
  #### Supported Providers ####
56
 
57
  [All providers with iframe embed codes](https://nextgenthemes.com/plugins/arve/documentation/#general-iframe-embedding)
58
+ Alugha, Archive.org, Banned.video, Bitchute, Mail.ru, Brightcove, cantcensortruth.com, Comedy Central, Dailymotion, Dailymotion Playlist, DTube, Facebook, Google Drive, mp4 or webm video files, ARVE general iframe embed, IGN, IMDB, Kickstarter, kla.tv, LiveLeak, 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
59
  ### Reviews ###
60
 
61
  #### &#9733; &#9733; &#9733; &#9733; &#9733; Great plugin, great support ####
193
  * [ARVE Pro changelog](https://nextgenthemes.com/plugins/arve-pro/#changelog)
194
  * [ARVE Random Videos changelog](https://nextgenthemes.com/plugins/arve-random-video/#changelog)
195
 
196
+ ### 2021-04-04 9.5.11 ###
197
+
198
+ * New: Support for v.qq.com videos.
199
+ * Fix: `.m4v` files not loading.
200
+
201
  ### 2021-03-25 9.5.10 ###
202
 
203
  * Fix: 'None numeric value' errors in some situations.