All-in-One Video Gallery - Version 2.3.0

Version Description

  • Fix: Third-party videos like YouTube, Vimeo, Dailymotion & Facebook not working on iOS devices.
  • Fix: Video zoomed inside the player in IE.
  • Fix: Conflict with the Autoptimize plugin.
Download this release

Release Info

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

Code changes from version 2.2.0 to 2.3.0

README.txt CHANGED
@@ -6,7 +6,7 @@ Tags: video player, video gallery, youtube gallery, vimeo gallery, livestream
6
Requires at least: 4.7.0
7
Tested up to: 5.3
8
Requires PHP: 5.3.0
9
- Stable tag: 2.2.0
10
License: GPLv2 or later
11
License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
@@ -110,6 +110,12 @@ Please describe your issue and submit a ticket on our plugin support forum, you
110
111
== Changelog ==
112
113
= 2.2.0 =
114
115
* Fix: The player controls not showing with vertical videos.
@@ -265,6 +271,6 @@ Please describe your issue and submit a ticket on our plugin support forum, you
265
266
== Upgrade Notice ==
267
268
- = 2.2.0 =
269
270
- Introduces a bug fix. [See changelog](https://wordpress.org/plugins/all-in-one-video-gallery/#developers)
6
Requires at least: 4.7.0
7
Tested up to: 5.3
8
Requires PHP: 5.3.0
9
+ Stable tag: 2.3.0
10
License: GPLv2 or later
11
License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
110
111
== Changelog ==
112
113
+ = 2.3.0 =
114
+
115
+ * Fix: Third-party videos like YouTube, Vimeo, Dailymotion & Facebook not working on iOS devices.
116
+ * Fix: Video zoomed inside the player in IE.
117
+ * Fix: Conflict with the Autoptimize plugin.
118
+
119
= 2.2.0 =
120
121
* Fix: The player controls not showing with vertical videos.
271
272
== Upgrade Notice ==
273
274
+ = 2.3.0 =
275
276
+ Introduces few bug fixes. [See changelog](https://wordpress.org/plugins/all-in-one-video-gallery/#developers)
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.2.0
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.2.0' );
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.3.0
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.3.0' );
80
}
81
// The unique identifier of the plugin
82
if ( !defined( 'AIOVG_PLUGIN_SLUG' ) ) {
public/templates/player-html5.php CHANGED
@@ -63,6 +63,7 @@ $tracks = apply_filters( 'aiovg_video_tracks', $tracks );
63
// Video Attributes
64
$attributes = array(
65
'id' => 'player',
66
'controls' => '',
67
'playsinline' => ''
68
);
@@ -297,7 +298,7 @@ $settings = apply_filters( 'aiovg_player_settings', $settings );
297
</div>
298
<?php endif; ?>
299
300
- <script src="<?php echo AIOVG_PLUGIN_URL; ?>public/assets/player/videojs/video.min.js?v=7.6.6" type="text/javascript"></script>
301
302
<?php if ( isset( $sources['youtube'] ) ) : ?>
303
<script src="<?php echo AIOVG_PLUGIN_URL; ?>public/assets/player/videojs-plugins/youtube/Youtube.min.js?v=2.6.0" type="text/javascript"></script>
63
// Video Attributes
64
$attributes = array(
65
'id' => 'player',
66
+ 'style' => 'width: 100%; height: 100%;',
67
'controls' => '',
68
'playsinline' => ''
69
);
298
</div>
299
<?php endif; ?>
300
301
+ <!--noptimize--><script src="<?php echo AIOVG_PLUGIN_URL; ?>public/assets/player/videojs/video.min.js?v=7.6.6" type="text/javascript"></script><!--/noptimize-->
302
303
<?php if ( isset( $sources['youtube'] ) ) : ?>
304
<script src="<?php echo AIOVG_PLUGIN_URL; ?>public/assets/player/videojs-plugins/youtube/Youtube.min.js?v=2.6.0" type="text/javascript"></script>
public/templates/player.php CHANGED
@@ -33,7 +33,7 @@ if ( $post_id > 0 ) {
33
}
34
35
foreach ( $embedded_sources as $source ) {
36
- if ( isset( $player_settings['use_native_controls'][ $source ] ) ) {
37
if ( ! empty( $post_meta ) ) {
38
if ( $source == $post_meta['type'][0] ) {
39
$player_template = 'iframe';
33
}
34
35
foreach ( $embedded_sources as $source ) {
36
+ if ( wp_is_mobile() || isset( $player_settings['use_native_controls'][ $source ] ) ) {
37
if ( ! empty( $post_meta ) ) {
38
if ( $source == $post_meta['type'][0] ) {
39
$player_template = 'iframe';