All-in-One Video Gallery - Version 2.5.9

Version Description

  • Fix: Dailymotion videos not working when using the "JavaScript" player type.
Download this release

Release Info

Developer plugins360
Plugin Icon 128x128 All-in-One Video Gallery
Version 2.5.9
Comparing to
See all releases

Code changes from version 2.5.8 to 2.5.9

README.txt CHANGED
@@ -6,7 +6,7 @@ Tags: video player, video gallery, youtube gallery, vimeo gallery, live stream
6
  Requires at least: 4.7.0
7
  Tested up to: 6.0
8
  Requires PHP: 5.6.20
9
- Stable tag: 2.5.8
10
  License: GPLv2 or later
11
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
 
@@ -22,7 +22,7 @@ Add responsive video galleries anywhere on your website – no coding required.
22
 
23
  No coding is required. Suitable for all kinds of websites that require a single video player to a large video-sharing website like YouTube/Vimeo.
24
 
25
- **Try it out on your free dummy site: Click here => [https://tastewp.com/new/?pre-installed-plugin-slug=all-in-one-video-gallery&pre-installed-theme-slug=twentytwelve&redirect=admin.php%3Fpage%3Dall-in-one-video-gallery&ni=true](https://tastewp.com/new/?pre-installed-plugin-slug=all-in-one-video-gallery)**
26
 
27
  ### PLAYER FEATURES
28
 
@@ -143,6 +143,10 @@ Also, the videos from third-party services like "YouTube", "Vimeo", or "Dailymot
143
 
144
  == Changelog ==
145
 
 
 
 
 
146
  = 2.5.8 =
147
 
148
  * New: Introduced "Share", "Embed" & "Download" buttons.
@@ -295,6 +299,6 @@ For the changelog of earlier versions, please refer to the [changelog on plugins
295
 
296
  == Upgrade Notice ==
297
 
298
- = 2.5.8 =
299
 
300
- Introduces several bug fixes, new features & enhancements. [See changelog](https://wordpress.org/plugins/all-in-one-video-gallery/#developers)
6
  Requires at least: 4.7.0
7
  Tested up to: 6.0
8
  Requires PHP: 5.6.20
9
+ Stable tag: 2.5.9
10
  License: GPLv2 or later
11
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
 
22
 
23
  No coding is required. Suitable for all kinds of websites that require a single video player to a large video-sharing website like YouTube/Vimeo.
24
 
25
+ **Try it out on your free dummy site: Click here => [https://tastewp.com/new/?pre-installed-plugin-slug=all-in-one-video-gallery](https://tastewp.com/new/?pre-installed-plugin-slug=all-in-one-video-gallery&pre-installed-theme-slug=twentytwelve&redirect=admin.php%3Fpage%3Dall-in-one-video-gallery&ni=true)**
26
 
27
  ### PLAYER FEATURES
28
 
143
 
144
  == Changelog ==
145
 
146
+ = 2.5.9 =
147
+
148
+ * Fix: Dailymotion videos not working when using the "JavaScript" player type.
149
+
150
  = 2.5.8 =
151
 
152
  * New: Introduced "Share", "Embed" & "Download" buttons.
299
 
300
  == Upgrade Notice ==
301
 
302
+ = 2.5.9 =
303
 
304
+ Fix: Dailymotion videos not working when using the "JavaScript" player type.
all-in-one-video-gallery.php CHANGED
@@ -11,7 +11,7 @@
11
  * Plugin Name: All-in-One Video Gallery
12
  * Plugin URI: https://plugins360.com/all-in-one-video-gallery/
13
  * Description: No coding required. A Responsive & Lightweight video gallery plugin. HTML5 Player, Categories, Visual Builder (Gutenberg), Search Form, Comments, Social Sharing and everything you will need to build a YouTube/Vimeo like video sharing website.
14
- * Version: 2.5.8
15
  * Author: Team Plugins360
16
  * Author URI: https://plugins360.com
17
  * License: GPL-2.0+
@@ -76,7 +76,7 @@ if ( !function_exists( 'aiovg_fs' ) ) {
76
 
77
  // The current version of the plugin
78
  if ( !defined( 'AIOVG_PLUGIN_VERSION' ) ) {
79
- define( 'AIOVG_PLUGIN_VERSION', '2.5.8' );
80
  }
81
  // The unique identifier of the plugin
82
  if ( !defined( 'AIOVG_PLUGIN_SLUG' ) ) {
11
  * Plugin Name: All-in-One Video Gallery
12
  * Plugin URI: https://plugins360.com/all-in-one-video-gallery/
13
  * Description: No coding required. A Responsive & Lightweight video gallery plugin. HTML5 Player, Categories, Visual Builder (Gutenberg), Search Form, Comments, Social Sharing and everything you will need to build a YouTube/Vimeo like video sharing website.
14
+ * Version: 2.5.9
15
  * Author: Team Plugins360
16
  * Author URI: https://plugins360.com
17
  * License: GPL-2.0+
76
 
77
  // The current version of the plugin
78
  if ( !defined( 'AIOVG_PLUGIN_VERSION' ) ) {
79
+ define( 'AIOVG_PLUGIN_VERSION', '2.5.9' );
80
  }
81
  // The unique identifier of the plugin
82
  if ( !defined( 'AIOVG_PLUGIN_SLUG' ) ) {
public/assets/js/player.js CHANGED
@@ -146,6 +146,10 @@
146
 
147
  // Determine which player the event is coming from
148
  var id = e.target.id;
 
 
 
 
149
 
150
  // Loop through the array of players
151
  for ( var i = 0; i < aiovg_players.length; i++ ) {
146
 
147
  // Determine which player the event is coming from
148
  var id = e.target.id;
149
+ if ( id.indexOf( '_' ) !== -1 ) {
150
+ id = id.split( '_' );
151
+ id = id[0];
152
+ }
153
 
154
  // Loop through the array of players
155
  for ( var i = 0; i < aiovg_players.length; i++ ) {