Version Description
- New: Compatible with GDPR.
- Tweak: Disabled the default context menu, and added a custom one.
Download this release
Release Info
Developer | plugins360 |
Plugin | ![]() |
Version | 1.5.2 |
Comparing to | |
See all releases |
Code changes from version 1.5.1 to 1.5.2
- README.txt +22 -11
- admin/class-aiovg-admin-settings.php +34 -4
- admin/class-aiovg-admin-welcome.php +4 -4
- admin/class-aiovg-admin.php +32 -3
- admin/templates/shortcode-builder.php +1 -1
- admin/templates/welcome.php +1 -1
- all-in-one-video-gallery.php +4 -4
- includes/class-aiovg-activator.php +6 -1
- includes/class-aiovg.php +4 -3
- includes/functions.php +68 -3
- languages/all-in-one-video-gallery.pot +190 -150
- public/assets/css/aiovg-public.css +46 -0
- public/assets/js/aiovg-public.js +31 -0
- public/assets/mediaelement/lang/ms.js +90 -0
- public/assets/mediaelement/mediaelement-and-player.js +23 -9
- public/assets/mediaelement/mediaelement-and-player.min.js +1 -1
- public/assets/mediaelement/mediaelement.js +2 -2
- public/assets/mediaelement/mediaelement.min.js +1 -1
- public/assets/mediaelement/plugins/context-menu/context-menu-i18n.js +107 -0
- public/assets/mediaelement/plugins/context-menu/context-menu.css +35 -0
- public/assets/mediaelement/plugins/context-menu/context-menu.js +187 -0
- public/assets/mediaelement/plugins/context-menu/context-menu.min.css +1 -0
- public/assets/mediaelement/plugins/context-menu/context-menu.min.js +12 -0
- public/assets/mediaelement/plugins/index.html +1 -0
- public/assets/mediaelement/renderers/dailymotion.min.js +1 -1
- public/assets/mediaelement/renderers/facebook.js +1 -1
- public/assets/mediaelement/renderers/facebook.min.js +1 -1
- public/assets/mediaelement/renderers/soundcloud.min.js +1 -1
- public/assets/mediaelement/renderers/twitch.min.js +1 -1
- public/assets/mediaelement/renderers/vimeo.js +3 -3
- public/assets/mediaelement/renderers/vimeo.min.js +1 -1
- public/class-aiovg-public-video.php +5 -30
- public/class-aiovg-public.php +17 -0
- public/templates/player.php +106 -6
- uninstall.php +3 -2
- widgets/video/class-aiovg-widget-video.php +2 -1
README.txt
CHANGED
@@ -1,12 +1,12 @@
|
|
1 |
-
=== All
|
2 |
-
Plugin URI: https://plugins360.com
|
3 |
Contributors: plugins360
|
4 |
Donate link: https://plugins360.com
|
5 |
-
Tags: video, player, gallery, mp4, webm, ogv, youtube, vimeo, dailymotion, hls, dash, adaptive, live, stream, popup, carousel, slider
|
6 |
Requires at least: 4.4.0
|
7 |
Tested up to: 4.9
|
8 |
Requires PHP: 5.3.0
|
9 |
-
Stable tag: 1.5.
|
10 |
License: GPLv2 or later
|
11 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
12 |
|
@@ -16,13 +16,13 @@ Responsive & Lightweight Video gallery plugin. HTML5 with FLASH fallbacks. Suppo
|
|
16 |
|
17 |
Add a single video or build a complete video gallery in minutes.
|
18 |
|
19 |
-
"All
|
20 |
|
21 |
**Links**
|
22 |
|
23 |
-
* [WordPress Video Gallery Plugin](https://plugins360.com) - official site.
|
24 |
-
* [View Demo](https://demo.plugins360.com/) - see plugin frontend.
|
25 |
-
* [Documentation](https://plugins360.com/documentation/) - mainly for users.
|
26 |
|
27 |
https://www.youtube.com/watch?v=w47PU9ppuF8
|
28 |
|
@@ -40,12 +40,13 @@ https://www.youtube.com/watch?v=w47PU9ppuF8
|
|
40 |
* Comment on videos.
|
41 |
* Sharing of videos through Facebook, Twitter, Google Plus, Linkedin & Pinterest.
|
42 |
* Search videos by title, description or category.
|
43 |
-
* Widgets to list categories, videos, display a video player with a selective video and to search videos.
|
|
|
44 |
* Detailed user and developer documentation.
|
45 |
|
46 |
**Translations**
|
47 |
|
48 |
-
This is a brand new plugin and currently available only in English. But, the plugin is translation ready and you can translate [All
|
49 |
|
50 |
**Get Involved**
|
51 |
|
@@ -62,7 +63,7 @@ This is a brand new plugin and currently available only in English. But, the plu
|
|
62 |
4. Use the browse button to select the plugin zip file that was downloaded, and then click on Install Now.
|
63 |
5. Once installed, click "Activate".
|
64 |
|
65 |
-
For more detailed instructions visit plugin [documentation](https://plugins360.com/documentation/)
|
66 |
|
67 |
== Frequently Asked Questions ==
|
68 |
|
@@ -84,6 +85,11 @@ Most likely rewrite rules were not registered properly for some reason. Go to "W
|
|
84 |
|
85 |
== Changelog ==
|
86 |
|
|
|
|
|
|
|
|
|
|
|
87 |
= 1.5.1 =
|
88 |
|
89 |
* Tweak: README.txt updated.
|
@@ -116,6 +122,11 @@ Most likely rewrite rules were not registered properly for some reason. Go to "W
|
|
116 |
|
117 |
== Upgrade Notice ==
|
118 |
|
|
|
|
|
|
|
|
|
|
|
119 |
= 1.5.1 =
|
120 |
|
121 |
* Tweak: README.txt updated.
|
1 |
+
=== All-in-One Video Gallery ===
|
2 |
+
Plugin URI: https://plugins360.com/all-in-one-video-gallery/
|
3 |
Contributors: plugins360
|
4 |
Donate link: https://plugins360.com
|
5 |
+
Tags: video, player, gallery, gdpr, mp4, webm, ogv, youtube, vimeo, dailymotion, hls, dash, adaptive, live, stream, popup, carousel, slider
|
6 |
Requires at least: 4.4.0
|
7 |
Tested up to: 4.9
|
8 |
Requires PHP: 5.3.0
|
9 |
+
Stable tag: 1.5.2
|
10 |
License: GPLv2 or later
|
11 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
12 |
|
16 |
|
17 |
Add a single video or build a complete video gallery in minutes.
|
18 |
|
19 |
+
"All-in-One Video Gallery" is a lightweight responsive video gallery plugin. Supports any browser & video formats such as MP4, WebM, OGV and embeddable players like YouTube, Vimeo, Dailymotion, Facebook, etc. Works with ANY properly coded WordPress theme and you can use it on new or existing site.
|
20 |
|
21 |
**Links**
|
22 |
|
23 |
+
* [WordPress Video Gallery Plugin](https://plugins360.com/all-in-one-video-gallery/) - official site.
|
24 |
+
* [View Demo](https://demo.plugins360.com/all-in-one-video-gallery/) - see plugin frontend.
|
25 |
+
* [Documentation](https://plugins360.com/all-in-one-video-gallery/documentation/) - mainly for users.
|
26 |
|
27 |
https://www.youtube.com/watch?v=w47PU9ppuF8
|
28 |
|
40 |
* Comment on videos.
|
41 |
* Sharing of videos through Facebook, Twitter, Google Plus, Linkedin & Pinterest.
|
42 |
* Search videos by title, description or category.
|
43 |
+
* Widgets to list categories, videos, display a video player with a selective video and to search videos.
|
44 |
+
* Show GDPR consent.
|
45 |
* Detailed user and developer documentation.
|
46 |
|
47 |
**Translations**
|
48 |
|
49 |
+
This is a brand new plugin and currently available only in English. But, the plugin is translation ready and you can translate [All-in-One Video Gallery](https://plugins360.com/all-in-one-video-gallery/translate/) to your language on [translate.wordpress.org](https://translate.wordpress.org/projects/wp-plugins/all-in-one-video-gallery).
|
50 |
|
51 |
**Get Involved**
|
52 |
|
63 |
4. Use the browse button to select the plugin zip file that was downloaded, and then click on Install Now.
|
64 |
5. Once installed, click "Activate".
|
65 |
|
66 |
+
For more detailed instructions visit plugin [documentation](https://plugins360.com/all-in-one-video-gallery/documentation/)
|
67 |
|
68 |
== Frequently Asked Questions ==
|
69 |
|
85 |
|
86 |
== Changelog ==
|
87 |
|
88 |
+
= 1.5.2 =
|
89 |
+
|
90 |
+
* New: Compatible with GDPR.
|
91 |
+
* Tweak: Disabled the default context menu, and added a custom one.
|
92 |
+
|
93 |
= 1.5.1 =
|
94 |
|
95 |
* Tweak: README.txt updated.
|
122 |
|
123 |
== Upgrade Notice ==
|
124 |
|
125 |
+
= 1.5.2 =
|
126 |
+
|
127 |
+
* New: Compatible with GDPR.
|
128 |
+
* Tweak: Disabled the default context menu, and added a custom one.
|
129 |
+
|
130 |
= 1.5.1 =
|
131 |
|
132 |
* Tweak: README.txt updated.
|
admin/class-aiovg-admin-settings.php
CHANGED
@@ -106,6 +106,7 @@ class AIOVG_Admin_Settings {
|
|
106 |
$tabs = array(
|
107 |
'general' => __( 'General', 'all-in-one-video-gallery' ),
|
108 |
'display' => __( 'Display', 'all-in-one-video-gallery' ),
|
|
|
109 |
'advanced' => __( 'Advanced', 'all-in-one-video-gallery' )
|
110 |
);
|
111 |
|
@@ -151,6 +152,12 @@ class AIOVG_Admin_Settings {
|
|
151 |
'id' => 'aiovg_video_settings',
|
152 |
'title' => __( 'Single Video Page', 'all-in-one-video-gallery' ),
|
153 |
'tab' => 'display'
|
|
|
|
|
|
|
|
|
|
|
|
|
154 |
),
|
155 |
array(
|
156 |
'id' => 'aiovg_permalink_settings',
|
@@ -168,7 +175,7 @@ class AIOVG_Admin_Settings {
|
|
168 |
'id' => 'aiovg_page_settings',
|
169 |
'title' => __( 'Page Settings', 'all-in-one-video-gallery' ),
|
170 |
'tab' => 'advanced'
|
171 |
-
)
|
172 |
);
|
173 |
|
174 |
return apply_filters( 'aiovg_settings_sections', $sections );
|
@@ -188,7 +195,7 @@ class AIOVG_Admin_Settings {
|
|
188 |
array(
|
189 |
'name' => 'bootstrap',
|
190 |
'label' => __( 'Bootstrap Options', 'all-in-one-video-gallery' ),
|
191 |
-
'description' => __( 'All
|
192 |
'type' => 'multicheck',
|
193 |
'options' => array(
|
194 |
'css' => __( 'Include Bootstrap CSS', 'all-in-one-video-gallery' )
|
@@ -445,7 +452,30 @@ class AIOVG_Admin_Settings {
|
|
445 |
'type' => 'checkbox',
|
446 |
'sanitize_callback' => 'intval'
|
447 |
)
|
448 |
-
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
449 |
'aiovg_permalink_settings' => array(
|
450 |
array(
|
451 |
'name' => 'video',
|
@@ -500,7 +530,7 @@ class AIOVG_Admin_Settings {
|
|
500 |
'type' => 'pages',
|
501 |
'sanitize_callback' => 'sanitize_key'
|
502 |
)
|
503 |
-
)
|
504 |
);
|
505 |
|
506 |
return apply_filters( 'aiovg_settings_fields', $fields );
|
106 |
$tabs = array(
|
107 |
'general' => __( 'General', 'all-in-one-video-gallery' ),
|
108 |
'display' => __( 'Display', 'all-in-one-video-gallery' ),
|
109 |
+
'privacy' => __( 'Privacy', 'all-in-one-video-gallery' ),
|
110 |
'advanced' => __( 'Advanced', 'all-in-one-video-gallery' )
|
111 |
);
|
112 |
|
152 |
'id' => 'aiovg_video_settings',
|
153 |
'title' => __( 'Single Video Page', 'all-in-one-video-gallery' ),
|
154 |
'tab' => 'display'
|
155 |
+
),
|
156 |
+
array(
|
157 |
+
'id' => 'aiovg_privacy_settings',
|
158 |
+
'title' => __( 'Privacy Settings', 'all-in-one-video-gallery' ),
|
159 |
+
'description' => __( 'These options will help with privacy restrictions such as GDPR and the EU Cookie Law.', 'all-in-one-video-gallery' ),
|
160 |
+
'tab' => 'privacy'
|
161 |
),
|
162 |
array(
|
163 |
'id' => 'aiovg_permalink_settings',
|
175 |
'id' => 'aiovg_page_settings',
|
176 |
'title' => __( 'Page Settings', 'all-in-one-video-gallery' ),
|
177 |
'tab' => 'advanced'
|
178 |
+
)
|
179 |
);
|
180 |
|
181 |
return apply_filters( 'aiovg_settings_sections', $sections );
|
195 |
array(
|
196 |
'name' => 'bootstrap',
|
197 |
'label' => __( 'Bootstrap Options', 'all-in-one-video-gallery' ),
|
198 |
+
'description' => __( 'All-in-One Video Gallery uses Bootstrap version 3. Disable this option if your theme already include the "Bootstrap" library files.', 'all-in-one-video-gallery' ),
|
199 |
'type' => 'multicheck',
|
200 |
'options' => array(
|
201 |
'css' => __( 'Include Bootstrap CSS', 'all-in-one-video-gallery' )
|
452 |
'type' => 'checkbox',
|
453 |
'sanitize_callback' => 'intval'
|
454 |
)
|
455 |
+
),
|
456 |
+
'aiovg_privacy_settings' => array(
|
457 |
+
array(
|
458 |
+
'name' => 'show_consent',
|
459 |
+
'label' => __( 'GDPR - Show Consent', 'all-in-one-video-gallery' ),
|
460 |
+
'description' => __( 'Ask for consent before loading YouTube/Vimeo content.', 'all-in-one-video-gallery' ),
|
461 |
+
'type' => 'checkbox',
|
462 |
+
'sanitize_callback' => 'intval'
|
463 |
+
),
|
464 |
+
array(
|
465 |
+
'name' => 'consent_message',
|
466 |
+
'label' => __( 'GDPR - Consent Message', 'all-in-one-video-gallery' ),
|
467 |
+
'description' => '',
|
468 |
+
'type' => 'wysiwyg',
|
469 |
+
'sanitize_callback' => 'wp_kses_post'
|
470 |
+
),
|
471 |
+
array(
|
472 |
+
'name' => 'consent_button_label',
|
473 |
+
'label' => __( 'GDPR - Consent Button Label', 'all-in-one-video-gallery' ),
|
474 |
+
'description' => '',
|
475 |
+
'type' => 'text',
|
476 |
+
'sanitize_callback' => 'sanitize_text_field'
|
477 |
+
)
|
478 |
+
),
|
479 |
'aiovg_permalink_settings' => array(
|
480 |
array(
|
481 |
'name' => 'video',
|
530 |
'type' => 'pages',
|
531 |
'sanitize_callback' => 'sanitize_key'
|
532 |
)
|
533 |
+
)
|
534 |
);
|
535 |
|
536 |
return apply_filters( 'aiovg_settings_fields', $fields );
|
admin/class-aiovg-admin-welcome.php
CHANGED
@@ -30,16 +30,16 @@ class AIOVG_Admin_Welcome {
|
|
30 |
public function add_welcome_menus() {
|
31 |
|
32 |
add_dashboard_page(
|
33 |
-
__( 'About - All
|
34 |
-
__( 'About - All
|
35 |
'manage_aiovg_options',
|
36 |
'aiovg_about',
|
37 |
array( $this, 'display_welcome_content' )
|
38 |
);
|
39 |
|
40 |
add_dashboard_page(
|
41 |
-
__( 'Support - All
|
42 |
-
__( 'Support - All
|
43 |
'manage_aiovg_options',
|
44 |
'aiovg_support',
|
45 |
array( $this, 'display_welcome_content' )
|
30 |
public function add_welcome_menus() {
|
31 |
|
32 |
add_dashboard_page(
|
33 |
+
__( 'About - All-in-One Video Gallery', 'all-in-one-video-gallery' ),
|
34 |
+
__( 'About - All-in-One Video Gallery', 'all-in-one-video-gallery' ),
|
35 |
'manage_aiovg_options',
|
36 |
'aiovg_about',
|
37 |
array( $this, 'display_welcome_content' )
|
38 |
);
|
39 |
|
40 |
add_dashboard_page(
|
41 |
+
__( 'Support - All-in-One Video Gallery', 'all-in-one-video-gallery' ),
|
42 |
+
__( 'Support - All-in-One Video Gallery', 'all-in-one-video-gallery' ),
|
43 |
'manage_aiovg_options',
|
44 |
'aiovg_support',
|
45 |
array( $this, 'display_welcome_content' )
|
admin/class-aiovg-admin.php
CHANGED
@@ -22,6 +22,35 @@ if ( ! defined( 'WPINC' ) ) {
|
|
22 |
*/
|
23 |
class AIOVG_Admin {
|
24 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
25 |
/**
|
26 |
* Register the stylesheets for the admin area.
|
27 |
*
|
@@ -76,11 +105,11 @@ class AIOVG_Admin {
|
|
76 |
|
77 |
if ( false == get_option( 'aiovg_admin_notice_dismissed' ) ) : ?>
|
78 |
<div id="aiovg-admin-notice" class="notice notice-info is-dismissible" data-security="<?php echo wp_create_nonce( 'aiovg_admin_notice_nonce' ); ?>">
|
79 |
-
<p><strong><?php _e( 'All
|
80 |
<p>
|
81 |
-
<a href="https://plugins360.com/documentation/" target="_blank"><?php _e( 'Online Documentation', 'all-in-one-video-gallery' ); ?></a> |
|
82 |
<a href="https://plugins360.com/support/" target="_blank"><?php _e( 'Contact Support', 'all-in-one-video-gallery' ); ?></a> |
|
83 |
-
<a href="https://plugins360.com/add-ons/" target="_blank"><?php _e( 'Premium Add-ons', 'all-in-one-video-gallery' ); ?></a>
|
84 |
</p>
|
85 |
</div>
|
86 |
<?php endif;
|
22 |
*/
|
23 |
class AIOVG_Admin {
|
24 |
|
25 |
+
/**
|
26 |
+
* Check and update plugin options to the latest version.
|
27 |
+
*
|
28 |
+
* @since 1.5.2
|
29 |
+
*/
|
30 |
+
public function manage_upgrades() {
|
31 |
+
|
32 |
+
if ( AIOVG_PLUGIN_VERSION !== get_option( 'aiovg_version' ) ) {
|
33 |
+
|
34 |
+
// Insert privacy settings
|
35 |
+
if ( false == get_option( 'aiovg_privacy_settings' ) ) {
|
36 |
+
|
37 |
+
$defaults = array(
|
38 |
+
'show_consent' => 0,
|
39 |
+
'consent_message' => __( '<strong>Please accept cookies to play this video</strong>. By accepting you will be accessing content from a service provided by an external third party.', 'all-in-one-video-gallery' ),
|
40 |
+
'consent_button_label' => __( 'Accept', 'all-in-one-video-gallery' )
|
41 |
+
);
|
42 |
+
|
43 |
+
add_option( 'aiovg_privacy_settings', $defaults );
|
44 |
+
|
45 |
+
}
|
46 |
+
|
47 |
+
// Update plugin version
|
48 |
+
update_option( 'aiovg_version', AIOVG_PLUGIN_VERSION );
|
49 |
+
|
50 |
+
}
|
51 |
+
|
52 |
+
}
|
53 |
+
|
54 |
/**
|
55 |
* Register the stylesheets for the admin area.
|
56 |
*
|
105 |
|
106 |
if ( false == get_option( 'aiovg_admin_notice_dismissed' ) ) : ?>
|
107 |
<div id="aiovg-admin-notice" class="notice notice-info is-dismissible" data-security="<?php echo wp_create_nonce( 'aiovg_admin_notice_nonce' ); ?>">
|
108 |
+
<p><strong><?php _e( 'All-in-One Video Gallery', 'all-in-one-video-gallery' ); ?></strong></p>
|
109 |
<p>
|
110 |
+
<a href="https://plugins360.com/all-in-one-video-gallery/documentation/" target="_blank"><?php _e( 'Online Documentation', 'all-in-one-video-gallery' ); ?></a> |
|
111 |
<a href="https://plugins360.com/support/" target="_blank"><?php _e( 'Contact Support', 'all-in-one-video-gallery' ); ?></a> |
|
112 |
+
<a href="https://plugins360.com/all-in-one-video-gallery/add-ons/" target="_blank"><?php _e( 'Premium Add-ons', 'all-in-one-video-gallery' ); ?></a>
|
113 |
</p>
|
114 |
</div>
|
115 |
<?php endif;
|
admin/templates/shortcode-builder.php
CHANGED
@@ -14,7 +14,7 @@
|
|
14 |
<div id="aiovg-shortcode-builder" class="aiovg-shortcode-builder mfp-hide">
|
15 |
|
16 |
<div id="aiovg-shortcode" class="aiovg-shortcode">
|
17 |
-
<p><?php echo __( 'Use the form below to insert "All
|
18 |
|
19 |
<!-- Shortcodes -->
|
20 |
<div class="aiovg-shortcode-selector">
|
14 |
<div id="aiovg-shortcode-builder" class="aiovg-shortcode-builder mfp-hide">
|
15 |
|
16 |
<div id="aiovg-shortcode" class="aiovg-shortcode">
|
17 |
+
<p><?php echo __( 'Use the form below to insert "All-in-One Video Gallery" plugin shortcodes.', 'all-in-one-video-gallery' ); ?></p>
|
18 |
|
19 |
<!-- Shortcodes -->
|
20 |
<div class="aiovg-shortcode-selector">
|
admin/templates/welcome.php
CHANGED
@@ -13,7 +13,7 @@
|
|
13 |
|
14 |
<div id="aiovg-welcome" class="wrap about-wrap full-width-layout aiovg-welcome">
|
15 |
|
16 |
-
<h1><?php printf( __( 'Welcome to "All
|
17 |
|
18 |
<p class="about-text">
|
19 |
<?php _e( 'Responsive & Lightweight Video gallery plugin. HTML5 with FLASH fallbacks. Supports any browser & video formats such as MP4, WebM, OGV and embeddable players like YouTube, Vimeo, Dailymotion, Facebook, etc.', 'all-in-one-video-gallery' ); ?>
|
13 |
|
14 |
<div id="aiovg-welcome" class="wrap about-wrap full-width-layout aiovg-welcome">
|
15 |
|
16 |
+
<h1><?php printf( __( 'Welcome to "All-in-One Video Gallery - %s"', 'all-in-one-video-gallery' ), AIOVG_PLUGIN_VERSION ); ?></h1>
|
17 |
|
18 |
<p class="about-text">
|
19 |
<?php _e( 'Responsive & Lightweight Video gallery plugin. HTML5 with FLASH fallbacks. Supports any browser & video formats such as MP4, WebM, OGV and embeddable players like YouTube, Vimeo, Dailymotion, Facebook, etc.', 'all-in-one-video-gallery' ); ?>
|
all-in-one-video-gallery.php
CHANGED
@@ -8,10 +8,10 @@
|
|
8 |
* @package AIOVG
|
9 |
*
|
10 |
* @wordpress-plugin
|
11 |
-
* Plugin Name: All
|
12 |
-
* Plugin URI: https://plugins360.com
|
13 |
* Description: Responsive & Lightweight Video gallery plugin. HTML5 with FLASH fallbacks. Supports any browser & video formats such as MP4, WebM, OGV and embeddable players like YouTube, Vimeo, Dailymotion, Facebook, etc.
|
14 |
-
* Version: 1.5.
|
15 |
* Author: Team Plugins360
|
16 |
* License: GPL-2.0+
|
17 |
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
|
@@ -26,7 +26,7 @@ if ( ! defined( 'WPINC' ) ) {
|
|
26 |
|
27 |
// The current version of the plugin
|
28 |
if ( ! defined( 'AIOVG_PLUGIN_VERSION' ) ) {
|
29 |
-
define( 'AIOVG_PLUGIN_VERSION', '1.5.
|
30 |
}
|
31 |
|
32 |
// The unique identifier of the plugin
|
8 |
* @package AIOVG
|
9 |
*
|
10 |
* @wordpress-plugin
|
11 |
+
* Plugin Name: All-in-One Video Gallery
|
12 |
+
* Plugin URI: https://plugins360.com/all-in-one-video-gallery/
|
13 |
* Description: Responsive & Lightweight Video gallery plugin. HTML5 with FLASH fallbacks. Supports any browser & video formats such as MP4, WebM, OGV and embeddable players like YouTube, Vimeo, Dailymotion, Facebook, etc.
|
14 |
+
* Version: 1.5.2
|
15 |
* Author: Team Plugins360
|
16 |
* License: GPL-2.0+
|
17 |
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
|
26 |
|
27 |
// The current version of the plugin
|
28 |
if ( ! defined( 'AIOVG_PLUGIN_VERSION' ) ) {
|
29 |
+
define( 'AIOVG_PLUGIN_VERSION', '1.5.2' );
|
30 |
}
|
31 |
|
32 |
// The unique identifier of the plugin
|
includes/class-aiovg-activator.php
CHANGED
@@ -91,6 +91,11 @@ class AIOVG_Activator {
|
|
91 |
),
|
92 |
'has_comments' => 1
|
93 |
),
|
|
|
|
|
|
|
|
|
|
|
94 |
'aiovg_permalink_settings' => array(
|
95 |
'video' => 'aiovg_videos'
|
96 |
),
|
@@ -104,7 +109,7 @@ class AIOVG_Activator {
|
|
104 |
)
|
105 |
),
|
106 |
'aiovg_page_settings' => array(
|
107 |
-
)
|
108 |
);
|
109 |
|
110 |
foreach ( $options as $option_name => $defaults ) {
|
91 |
),
|
92 |
'has_comments' => 1
|
93 |
),
|
94 |
+
'aiovg_privacy_settings' => array(
|
95 |
+
'show_consent' => 0,
|
96 |
+
'consent_message' => __( '<strong>Please accept cookies to play this video</strong>. By accepting you will be accessing content from a service provided by an external third party.', 'all-in-one-video-gallery' ),
|
97 |
+
'consent_button_label' => __( 'Accept', 'all-in-one-video-gallery' )
|
98 |
+
),
|
99 |
'aiovg_permalink_settings' => array(
|
100 |
'video' => 'aiovg_videos'
|
101 |
),
|
109 |
)
|
110 |
),
|
111 |
'aiovg_page_settings' => array(
|
112 |
+
)
|
113 |
);
|
114 |
|
115 |
foreach ( $options as $option_name => $defaults ) {
|
includes/class-aiovg.php
CHANGED
@@ -144,6 +144,7 @@ class AIOVG {
|
|
144 |
// Hooks common to all admin pages
|
145 |
$plugin_admin = new AIOVG_Admin();
|
146 |
|
|
|
147 |
$this->loader->add_action( 'admin_enqueue_scripts', $plugin_admin, 'enqueue_styles' );
|
148 |
$this->loader->add_action( 'admin_enqueue_scripts', $plugin_admin, 'enqueue_scripts' );
|
149 |
$this->loader->add_action( 'admin_notices', $plugin_admin, 'admin_notice' );
|
@@ -224,6 +225,8 @@ class AIOVG {
|
|
224 |
$this->loader->add_action( 'wp_enqueue_scripts', $plugin_public, 'enqueue_scripts' );
|
225 |
$this->loader->add_action( 'wp_title', $plugin_public, 'wp_title', 99, 3 );
|
226 |
$this->loader->add_action( 'wp_head', $plugin_public, 'og_metatags' );
|
|
|
|
|
227 |
|
228 |
$this->loader->add_filter( 'pre_get_document_title', $plugin_public, 'pre_get_document_title', 999 );
|
229 |
$this->loader->add_filter( 'document_title_parts', $plugin_public, 'document_title_parts' );
|
@@ -245,9 +248,7 @@ class AIOVG {
|
|
245 |
$this->loader->add_action( 'template_include', $plugin_public_video, 'template_include' );
|
246 |
$this->loader->add_action( 'the_content', $plugin_public_video, 'the_content', 20 );
|
247 |
$this->loader->add_action( 'wp_ajax_aiovg_update_views_count', $plugin_public_video, 'ajax_callback_update_views_count' );
|
248 |
-
$this->loader->add_action( 'wp_ajax_nopriv_aiovg_update_views_count', $plugin_public_video, 'ajax_callback_update_views_count' );
|
249 |
-
|
250 |
-
$this->loader->add_filter( 'aiovg_player_page_url', $plugin_public_video, 'get_player_page_url', 10, 3 );
|
251 |
|
252 |
// Hooks specific to the search form
|
253 |
$plugin_public_search = new AIOVG_Public_Search();
|
144 |
// Hooks common to all admin pages
|
145 |
$plugin_admin = new AIOVG_Admin();
|
146 |
|
147 |
+
$this->loader->add_action( 'wp_loaded', $plugin_admin, 'manage_upgrades' );
|
148 |
$this->loader->add_action( 'admin_enqueue_scripts', $plugin_admin, 'enqueue_styles' );
|
149 |
$this->loader->add_action( 'admin_enqueue_scripts', $plugin_admin, 'enqueue_scripts' );
|
150 |
$this->loader->add_action( 'admin_notices', $plugin_admin, 'admin_notice' );
|
225 |
$this->loader->add_action( 'wp_enqueue_scripts', $plugin_public, 'enqueue_scripts' );
|
226 |
$this->loader->add_action( 'wp_title', $plugin_public, 'wp_title', 99, 3 );
|
227 |
$this->loader->add_action( 'wp_head', $plugin_public, 'og_metatags' );
|
228 |
+
$this->loader->add_action( 'wp_ajax_aiovg_set_cookie', $plugin_public, 'set_cookie' );
|
229 |
+
$this->loader->add_action( 'wp_ajax_nopriv_aiovg_set_cookie', $plugin_public, 'set_cookie' );
|
230 |
|
231 |
$this->loader->add_filter( 'pre_get_document_title', $plugin_public, 'pre_get_document_title', 999 );
|
232 |
$this->loader->add_filter( 'document_title_parts', $plugin_public, 'document_title_parts' );
|
248 |
$this->loader->add_action( 'template_include', $plugin_public_video, 'template_include' );
|
249 |
$this->loader->add_action( 'the_content', $plugin_public_video, 'the_content', 20 );
|
250 |
$this->loader->add_action( 'wp_ajax_aiovg_update_views_count', $plugin_public_video, 'ajax_callback_update_views_count' );
|
251 |
+
$this->loader->add_action( 'wp_ajax_nopriv_aiovg_update_views_count', $plugin_public_video, 'ajax_callback_update_views_count' );
|
|
|
|
|
252 |
|
253 |
// Hooks specific to the search form
|
254 |
$plugin_public_search = new AIOVG_Public_Search();
|
includes/functions.php
CHANGED
@@ -485,16 +485,63 @@ function aiovg_get_player_html( $post_id = 0, $atts = array() ) {
|
|
485 |
// Process output
|
486 |
$html = '';
|
487 |
|
488 |
-
if ( ! empty( $url ) ) {
|
489 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
490 |
$html = sprintf(
|
491 |
'<div class="aiovg-player-container" style="max-width: %s;"><div class="aiovg-player" style="padding-bottom: %s;">%s</div></div>',
|
492 |
! empty( $attributes['width'] ) ? (int) $attributes['width'] . 'px' : '100%',
|
493 |
! empty( $attributes['ratio'] ) ? (float) $attributes['ratio'] . '%' : '56.25%',
|
494 |
$iframe
|
495 |
-
);
|
|
|
496 |
}
|
497 |
|
|
|
498 |
return $html;
|
499 |
|
500 |
}
|
@@ -558,7 +605,25 @@ function aiovg_get_player_page_url( $post_id = 0, $atts = array() ) {
|
|
558 |
if ( ! empty( $query_args ) ) {
|
559 |
$url = add_query_arg( $query_args, $url );
|
560 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
561 |
|
|
|
562 |
return apply_filters( 'aiovg_player_page_url', $url, $post_id, $atts );
|
563 |
|
564 |
}
|
485 |
// Process output
|
486 |
$html = '';
|
487 |
|
488 |
+
if ( ! empty( $url ) ) {
|
489 |
+
|
490 |
+
$url = esc_url( $url );
|
491 |
+
$iframe = sprintf( '<iframe width="560" height="315" src="%s" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>', $url );
|
492 |
+
|
493 |
+
if ( $post_id > 0 ) {
|
494 |
+
|
495 |
+
$post_meta = get_post_meta( $post_id );
|
496 |
+
|
497 |
+
if ( 'embedcode' == $post_meta['type'][0] ) {
|
498 |
+
|
499 |
+
$is_youtube = ( false !== strpos( $url, 'youtube.com' ) );
|
500 |
+
$is_vimeo = ( false !== strpos( $url, 'vimeo.com' ) );
|
501 |
+
$is_dailymotion = ( false !== strpos( $url, 'dailymotion.com' ) );
|
502 |
+
$is_facebook = ( false !== strpos( $url, 'facebook.com' ) );
|
503 |
+
|
504 |
+
if ( $is_youtube || $is_vimeo || $is_dailymotion || $is_facebook ) {
|
505 |
+
|
506 |
+
$privacy_settings = get_option( 'aiovg_privacy_settings' );
|
507 |
+
|
508 |
+
$show_consent = 1;
|
509 |
+
|
510 |
+
if ( isset( $_COOKIE['aiovg_gdpr_consent'] ) || empty( $privacy_settings['show_consent'] ) || empty( $privacy_settings['consent_message'] ) || empty( $privacy_settings['consent_button_label'] ) ) {
|
511 |
+
$show_consent = 0;
|
512 |
+
}
|
513 |
+
|
514 |
+
if ( $show_consent ) {
|
515 |
+
|
516 |
+
$video = add_query_arg( 'autoplay', 1, $url );
|
517 |
+
$image = aiovg_get_image_url( $post_meta['image_id'][0], 'large', $post_meta['image'][0], 'player' );
|
518 |
+
|
519 |
+
$iframe = sprintf( '<iframe width="560" height="315" data-src="%s" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>', $video );
|
520 |
+
$iframe .= sprintf( '<div class="aiovg-privacy-wrapper" style="background-image: url(%s);">', $image );
|
521 |
+
$iframe .= '<div class="aiovg-privacy-consent-block">';
|
522 |
+
$iframe .= sprintf( '<div class="aiovg-privacy-consent-message">%s</div>', wp_kses_post( $privacy_settings['consent_message'] ) );
|
523 |
+
$iframe .= sprintf( '<div class="aiovg-privacy-consent-button">%s</div>', sanitize_text_field( $privacy_settings['consent_button_label'] ) );
|
524 |
+
$iframe .= '</div>';
|
525 |
+
$iframe .= '</div>';
|
526 |
+
|
527 |
+
}
|
528 |
+
|
529 |
+
}
|
530 |
+
|
531 |
+
}
|
532 |
+
|
533 |
+
}
|
534 |
+
|
535 |
$html = sprintf(
|
536 |
'<div class="aiovg-player-container" style="max-width: %s;"><div class="aiovg-player" style="padding-bottom: %s;">%s</div></div>',
|
537 |
! empty( $attributes['width'] ) ? (int) $attributes['width'] . 'px' : '100%',
|
538 |
! empty( $attributes['ratio'] ) ? (float) $attributes['ratio'] . '%' : '56.25%',
|
539 |
$iframe
|
540 |
+
);
|
541 |
+
|
542 |
}
|
543 |
|
544 |
+
// Return
|
545 |
return $html;
|
546 |
|
547 |
}
|
605 |
if ( ! empty( $query_args ) ) {
|
606 |
$url = add_query_arg( $query_args, $url );
|
607 |
}
|
608 |
+
|
609 |
+
// Parse URL from iframe embedcode
|
610 |
+
if ( $post_id > 0 ) {
|
611 |
+
|
612 |
+
$type = get_post_meta( $post_id, 'type', true );
|
613 |
+
|
614 |
+
if ( 'embedcode' == $type ) {
|
615 |
+
$embedcode = get_post_meta( $post_id, 'embedcode', true );
|
616 |
+
|
617 |
+
$document = new DOMDocument();
|
618 |
+
$document->loadHTML( $embedcode );
|
619 |
+
|
620 |
+
$iframes = $document->getElementsByTagName( 'iframe' );
|
621 |
+
$url = $iframes->item(0)->getAttribute( 'src' );
|
622 |
+
}
|
623 |
+
|
624 |
+
}
|
625 |
|
626 |
+
// Return
|
627 |
return apply_filters( 'aiovg_player_page_url', $url, $post_id, $atts );
|
628 |
|
629 |
}
|
languages/all-in-one-video-gallery.pot
CHANGED
@@ -1,15 +1,15 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
-
"Project-Id-Version: All
|
4 |
-
"POT-Creation-Date: 2018-
|
5 |
-
"PO-Revision-Date: 2018-
|
6 |
"Last-Translator: \n"
|
7 |
"Language-Team: \n"
|
8 |
"Language: en_US\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
-
"X-Generator: Poedit 2.0.
|
13 |
"X-Poedit-Basepath: ..\n"
|
14 |
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
15 |
"X-Poedit-SourceCharset: UTF-8\n"
|
@@ -96,7 +96,7 @@ msgid "Categories list navigation"
|
|
96 |
msgstr ""
|
97 |
|
98 |
#: admin/class-aiovg-admin-categories.php:137
|
99 |
-
#: admin/class-aiovg-admin-settings.php:
|
100 |
#: admin/class-aiovg-admin-shortcode.php:104
|
101 |
#: admin/class-aiovg-admin-videos.php:433
|
102 |
#: widgets/categories/templates/admin.php:43
|
@@ -104,7 +104,7 @@ msgid "ID"
|
|
104 |
msgstr ""
|
105 |
|
106 |
#: admin/class-aiovg-admin-settings.php:61
|
107 |
-
#: admin/class-aiovg-admin-settings.php:62 admin/class-aiovg-admin.php:
|
108 |
#: admin/templates/welcome.php:45
|
109 |
msgid "Settings"
|
110 |
msgstr ""
|
@@ -118,354 +118,368 @@ msgid "Display"
|
|
118 |
msgstr ""
|
119 |
|
120 |
#: admin/class-aiovg-admin-settings.php:109
|
|
|
|
|
|
|
|
|
121 |
msgid "Advanced"
|
122 |
msgstr ""
|
123 |
|
124 |
-
#: admin/class-aiovg-admin-settings.php:
|
125 |
msgid "General Settings"
|
126 |
msgstr ""
|
127 |
|
128 |
-
#: admin/class-aiovg-admin-settings.php:
|
129 |
msgid "Player Settings"
|
130 |
msgstr ""
|
131 |
|
132 |
-
#: admin/class-aiovg-admin-settings.php:
|
133 |
msgid "Image Settings"
|
134 |
msgstr ""
|
135 |
|
136 |
-
#: admin/class-aiovg-admin-settings.php:
|
137 |
msgid "Categories Page"
|
138 |
msgstr ""
|
139 |
|
140 |
-
#: admin/class-aiovg-admin-settings.php:
|
141 |
msgid "Video Gallery Pages"
|
142 |
msgstr ""
|
143 |
|
144 |
-
#: admin/class-aiovg-admin-settings.php:
|
145 |
msgid "Single Video Page"
|
146 |
msgstr ""
|
147 |
|
148 |
-
#: admin/class-aiovg-admin-settings.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
149 |
msgid "Permalink Slugs"
|
150 |
msgstr ""
|
151 |
|
152 |
-
#: admin/class-aiovg-admin-settings.php:
|
153 |
msgid ""
|
154 |
"NOTE: Just make sure that, after updating the fields in this section, you "
|
155 |
"flush the rewrite rules by visiting \"Settings > Permalinks\". Otherwise "
|
156 |
"you'll still see the old links."
|
157 |
msgstr ""
|
158 |
|
159 |
-
#: admin/class-aiovg-admin-settings.php:
|
160 |
msgid "Socialshare Buttons"
|
161 |
msgstr ""
|
162 |
|
163 |
-
#: admin/class-aiovg-admin-settings.php:
|
164 |
msgid "Select social share buttons displayed in the single video pages."
|
165 |
msgstr ""
|
166 |
|
167 |
-
#: admin/class-aiovg-admin-settings.php:
|
168 |
msgid "Page Settings"
|
169 |
msgstr ""
|
170 |
|
171 |
-
#: admin/class-aiovg-admin-settings.php:
|
172 |
msgid "Bootstrap Options"
|
173 |
msgstr ""
|
174 |
|
175 |
-
#: admin/class-aiovg-admin-settings.php:
|
176 |
msgid ""
|
177 |
-
"All
|
178 |
"your theme already include the \"Bootstrap\" library files."
|
179 |
msgstr ""
|
180 |
|
181 |
-
#: admin/class-aiovg-admin-settings.php:
|
182 |
msgid "Include Bootstrap CSS"
|
183 |
msgstr ""
|
184 |
|
185 |
-
#: admin/class-aiovg-admin-settings.php:
|
186 |
msgid "Font Awesome"
|
187 |
msgstr ""
|
188 |
|
189 |
-
#: admin/class-aiovg-admin-settings.php:
|
190 |
msgid ""
|
191 |
"Include Font Awesome. Disable this option if your theme already include the "
|
192 |
"\"Font Awesome\" library files"
|
193 |
msgstr ""
|
194 |
|
195 |
-
#: admin/class-aiovg-admin-settings.php:
|
196 |
msgid "Remove data on uninstall?"
|
197 |
msgstr ""
|
198 |
|
199 |
-
#: admin/class-aiovg-admin-settings.php:
|
200 |
msgid ""
|
201 |
"Check this box to delete all of the plugin data( database stored content, "
|
202 |
"uploaded media files, etc... ) when uninstalled"
|
203 |
msgstr ""
|
204 |
|
205 |
-
#: admin/class-aiovg-admin-settings.php:
|
206 |
-
#: admin/class-aiovg-admin-settings.php:
|
207 |
#: admin/class-aiovg-admin-shortcode.php:279
|
208 |
#: widgets/video/templates/admin.php:46
|
209 |
msgid "Width"
|
210 |
msgstr ""
|
211 |
|
212 |
-
#: admin/class-aiovg-admin-settings.php:
|
213 |
#, php-format
|
214 |
msgid ""
|
215 |
"In pixels. Maximum width of the player. Leave this field empty to scale "
|
216 |
"100% of its enclosing container/html element."
|
217 |
msgstr ""
|
218 |
|
219 |
-
#: admin/class-aiovg-admin-settings.php:
|
220 |
-
#: admin/class-aiovg-admin-settings.php:
|
221 |
#: admin/class-aiovg-admin-shortcode.php:286
|
222 |
#: widgets/video/templates/admin.php:51
|
223 |
msgid "Ratio"
|
224 |
msgstr ""
|
225 |
|
226 |
-
#: admin/class-aiovg-admin-settings.php:
|
227 |
msgid ""
|
228 |
"In percentage. 1 to 100. Calculate player's height using the ratio value "
|
229 |
"entered."
|
230 |
msgstr ""
|
231 |
|
232 |
-
#: admin/class-aiovg-admin-settings.php:
|
233 |
msgid "Examples"
|
234 |
msgstr ""
|
235 |
|
236 |
-
#: admin/class-aiovg-admin-settings.php:
|
237 |
msgid "Wide Screen TV"
|
238 |
msgstr ""
|
239 |
|
240 |
-
#: admin/class-aiovg-admin-settings.php:
|
241 |
msgid "Monitor Screens"
|
242 |
msgstr ""
|
243 |
|
244 |
-
#: admin/class-aiovg-admin-settings.php:
|
245 |
msgid "Classic TV"
|
246 |
msgstr ""
|
247 |
|
248 |
-
#: admin/class-aiovg-admin-settings.php:
|
249 |
msgid "Photo Camera"
|
250 |
msgstr ""
|
251 |
|
252 |
-
#: admin/class-aiovg-admin-settings.php:
|
253 |
msgid "Square"
|
254 |
msgstr ""
|
255 |
|
256 |
-
#: admin/class-aiovg-admin-settings.php:
|
257 |
msgid "Cinemascope"
|
258 |
msgstr ""
|
259 |
|
260 |
-
#: admin/class-aiovg-admin-settings.php:
|
261 |
#: admin/class-aiovg-admin-shortcode.php:293
|
262 |
#: widgets/video/templates/admin.php:57
|
263 |
msgid "Autoplay"
|
264 |
msgstr ""
|
265 |
|
266 |
-
#: admin/class-aiovg-admin-settings.php:
|
267 |
msgid "Check this to start playing the video as soon as it is ready"
|
268 |
msgstr ""
|
269 |
|
270 |
-
#: admin/class-aiovg-admin-settings.php:
|
271 |
#: admin/class-aiovg-admin-shortcode.php:300
|
272 |
#: widgets/video/templates/admin.php:62
|
273 |
msgid "Loop"
|
274 |
msgstr ""
|
275 |
|
276 |
-
#: admin/class-aiovg-admin-settings.php:
|
277 |
msgid ""
|
278 |
"Check this, so that the video will start over again, every time it is "
|
279 |
"finished"
|
280 |
msgstr ""
|
281 |
|
282 |
-
#: admin/class-aiovg-admin-settings.php:
|
283 |
msgid "Preload"
|
284 |
msgstr ""
|
285 |
|
286 |
-
#: admin/class-aiovg-admin-settings.php:
|
287 |
msgid "Specifies if and how the video should be loaded when the page loads."
|
288 |
msgstr ""
|
289 |
|
290 |
-
#: admin/class-aiovg-admin-settings.php:
|
291 |
msgid "\"Auto\" - the video should be loaded entirely when the page loads"
|
292 |
msgstr ""
|
293 |
|
294 |
-
#: admin/class-aiovg-admin-settings.php:
|
295 |
msgid "\"Metadata\" - only metadata should be loaded when the page loads"
|
296 |
msgstr ""
|
297 |
|
298 |
-
#: admin/class-aiovg-admin-settings.php:
|
299 |
msgid "\"None\" - the video should not be loaded when the page loads"
|
300 |
msgstr ""
|
301 |
|
302 |
-
#: admin/class-aiovg-admin-settings.php:
|
303 |
msgid "Auto"
|
304 |
msgstr ""
|
305 |
|
306 |
-
#: admin/class-aiovg-admin-settings.php:
|
307 |
msgid "Metadata"
|
308 |
msgstr ""
|
309 |
|
310 |
-
#: admin/class-aiovg-admin-settings.php:
|
311 |
msgid "None"
|
312 |
msgstr ""
|
313 |
|
314 |
-
#: admin/class-aiovg-admin-settings.php:
|
315 |
#: admin/class-aiovg-admin-shortcode.php:307
|
316 |
#: widgets/video/templates/admin.php:65
|
317 |
msgid "Show / Hide Player Controls"
|
318 |
msgstr ""
|
319 |
|
320 |
-
#: admin/class-aiovg-admin-settings.php:
|
321 |
#: admin/class-aiovg-admin-shortcode.php:312
|
322 |
#: widgets/video/templates/admin.php:69
|
323 |
msgid "Play / Pause"
|
324 |
msgstr ""
|
325 |
|
326 |
-
#: admin/class-aiovg-admin-settings.php:
|
327 |
#: admin/class-aiovg-admin-shortcode.php:319
|
328 |
#: widgets/video/templates/admin.php:74
|
329 |
msgid "Current Time"
|
330 |
msgstr ""
|
331 |
|
332 |
-
#: admin/class-aiovg-admin-settings.php:
|
333 |
#: admin/class-aiovg-admin-shortcode.php:326
|
334 |
#: widgets/video/templates/admin.php:79
|
335 |
msgid "Progressbar"
|
336 |
msgstr ""
|
337 |
|
338 |
-
#: admin/class-aiovg-admin-settings.php:
|
339 |
#: admin/class-aiovg-admin-shortcode.php:333
|
340 |
#: admin/templates/video-sources.php:161 admin/templates/video-sources.php:164
|
341 |
#: widgets/video/templates/admin.php:84
|
342 |
msgid "Duration"
|
343 |
msgstr ""
|
344 |
|
345 |
-
#: admin/class-aiovg-admin-settings.php:
|
346 |
#: admin/class-aiovg-admin-shortcode.php:340
|
347 |
#: admin/class-aiovg-admin-videos.php:150 widgets/video/templates/admin.php:89
|
348 |
msgid "Subtitles"
|
349 |
msgstr ""
|
350 |
|
351 |
-
#: admin/class-aiovg-admin-settings.php:
|
352 |
#: admin/class-aiovg-admin-shortcode.php:347
|
353 |
#: widgets/video/templates/admin.php:94
|
354 |
msgid "Volume"
|
355 |
msgstr ""
|
356 |
|
357 |
-
#: admin/class-aiovg-admin-settings.php:
|
358 |
#: admin/class-aiovg-admin-shortcode.php:354
|
359 |
#: widgets/video/templates/admin.php:99
|
360 |
msgid "Fullscreen"
|
361 |
msgstr ""
|
362 |
|
363 |
-
#: admin/class-aiovg-admin-settings.php:
|
364 |
#, php-format
|
365 |
msgid "Always 100% of its enclosing container/html element."
|
366 |
msgstr ""
|
367 |
|
368 |
-
#: admin/class-aiovg-admin-settings.php:
|
369 |
msgid ""
|
370 |
"In percentage. 1 to 100. Calculate images's height using the ratio value "
|
371 |
"entered."
|
372 |
msgstr ""
|
373 |
|
374 |
-
#: admin/class-aiovg-admin-settings.php:
|
375 |
-
#: admin/class-aiovg-admin-settings.php:
|
376 |
#: admin/class-aiovg-admin-shortcode.php:94
|
377 |
#: admin/class-aiovg-admin-shortcode.php:156
|
378 |
#: widgets/videos/templates/admin.php:50
|
379 |
msgid "Number of Columns"
|
380 |
msgstr ""
|
381 |
|
382 |
-
#: admin/class-aiovg-admin-settings.php:
|
383 |
msgid "Enter the number of columns you like to have in your categories page."
|
384 |
msgstr ""
|
385 |
|
386 |
-
#: admin/class-aiovg-admin-settings.php:
|
387 |
#: admin/class-aiovg-admin-shortcode.php:114
|
388 |
msgid "Order Categories by"
|
389 |
msgstr ""
|
390 |
|
391 |
-
#: admin/class-aiovg-admin-settings.php:
|
392 |
#: admin/class-aiovg-admin-shortcode.php:105
|
393 |
#: widgets/categories/templates/admin.php:44
|
394 |
msgid "Count"
|
395 |
msgstr ""
|
396 |
|
397 |
-
#: admin/class-aiovg-admin-settings.php:
|
398 |
#: admin/class-aiovg-admin-shortcode.php:106
|
399 |
#: widgets/categories/templates/admin.php:45
|
400 |
msgid "Name"
|
401 |
msgstr ""
|
402 |
|
403 |
-
#: admin/class-aiovg-admin-settings.php:
|
404 |
#: admin/class-aiovg-admin-shortcode.php:107
|
405 |
#: widgets/categories/templates/admin.php:46
|
406 |
msgid "Slug"
|
407 |
msgstr ""
|
408 |
|
409 |
-
#: admin/class-aiovg-admin-settings.php:
|
410 |
#: admin/class-aiovg-admin-shortcode.php:101
|
411 |
msgid "Sort Categories by"
|
412 |
msgstr ""
|
413 |
|
414 |
-
#: admin/class-aiovg-admin-settings.php:
|
415 |
-
#: admin/class-aiovg-admin-settings.php:
|
416 |
msgid "Ascending"
|
417 |
msgstr ""
|
418 |
|
419 |
-
#: admin/class-aiovg-admin-settings.php:
|
420 |
-
#: admin/class-aiovg-admin-settings.php:
|
421 |
msgid "Descending"
|
422 |
msgstr ""
|
423 |
|
424 |
-
#: admin/class-aiovg-admin-settings.php:
|
425 |
#: admin/class-aiovg-admin-shortcode.php:125
|
426 |
msgid "Show Description?"
|
427 |
msgstr ""
|
428 |
|
429 |
-
#: admin/class-aiovg-admin-settings.php:
|
430 |
msgid "Check this to show the categories description"
|
431 |
msgstr ""
|
432 |
|
433 |
-
#: admin/class-aiovg-admin-settings.php:
|
434 |
#: admin/class-aiovg-admin-shortcode.php:132
|
435 |
msgid "Show Videos Count?"
|
436 |
msgstr ""
|
437 |
|
438 |
-
#: admin/class-aiovg-admin-settings.php:
|
439 |
msgid "Check this to show the videos count next to the category name"
|
440 |
msgstr ""
|
441 |
|
442 |
-
#: admin/class-aiovg-admin-settings.php:
|
443 |
#: admin/class-aiovg-admin-shortcode.php:139
|
444 |
msgid "Hide Empty Categories?"
|
445 |
msgstr ""
|
446 |
|
447 |
-
#: admin/class-aiovg-admin-settings.php:
|
448 |
msgid "Check this to hide categories with no videos"
|
449 |
msgstr ""
|
450 |
|
451 |
-
#: admin/class-aiovg-admin-settings.php:
|
452 |
msgid "Enter the number of columns you like to have in the gallery view."
|
453 |
msgstr ""
|
454 |
|
455 |
-
#: admin/class-aiovg-admin-settings.php:
|
456 |
msgid "Videos per Page"
|
457 |
msgstr ""
|
458 |
|
459 |
-
#: admin/class-aiovg-admin-settings.php:
|
460 |
msgid ""
|
461 |
"Number of videos to show per page. Use a value of \"0\" to show all videos."
|
462 |
msgstr ""
|
463 |
|
464 |
-
#: admin/class-aiovg-admin-settings.php:
|
465 |
msgid "Order Videos by"
|
466 |
msgstr ""
|
467 |
|
468 |
-
#: admin/class-aiovg-admin-settings.php:
|
469 |
#: admin/class-aiovg-admin-shortcode.php:173
|
470 |
#: widgets/categories/templates/admin.php:15
|
471 |
#: widgets/search/templates/admin.php:15 widgets/video/templates/admin.php:15
|
@@ -473,174 +487,190 @@ msgstr ""
|
|
473 |
msgid "Title"
|
474 |
msgstr ""
|
475 |
|
476 |
-
#: admin/class-aiovg-admin-settings.php:
|
477 |
#: admin/class-aiovg-admin-shortcode.php:174
|
478 |
#: widgets/videos/templates/admin.php:65
|
479 |
msgid "Date Posted"
|
480 |
msgstr ""
|
481 |
|
482 |
-
#: admin/class-aiovg-admin-settings.php:
|
483 |
-
#: admin/class-aiovg-admin-settings.php:
|
484 |
-
#: admin/class-aiovg-admin-settings.php:
|
485 |
#: admin/class-aiovg-admin-shortcode.php:175
|
486 |
#: admin/class-aiovg-admin-shortcode.php:241
|
487 |
#: widgets/videos/templates/admin.php:66 widgets/videos/templates/admin.php:124
|
488 |
msgid "Views Count"
|
489 |
msgstr ""
|
490 |
|
491 |
-
#: admin/class-aiovg-admin-settings.php:
|
492 |
#: admin/class-aiovg-admin-shortcode.php:176
|
493 |
#: widgets/videos/templates/admin.php:67
|
494 |
msgid "Random"
|
495 |
msgstr ""
|
496 |
|
497 |
-
#: admin/class-aiovg-admin-settings.php:
|
498 |
msgid "Sort Videos by"
|
499 |
msgstr ""
|
500 |
|
501 |
-
#: admin/class-aiovg-admin-settings.php:
|
502 |
-
#: admin/class-aiovg-admin-settings.php:
|
503 |
#: admin/class-aiovg-admin-shortcode.php:208
|
504 |
#: widgets/videos/templates/admin.php:105
|
505 |
msgid "Show / Hide"
|
506 |
msgstr ""
|
507 |
|
508 |
-
#: admin/class-aiovg-admin-settings.php:
|
509 |
#: admin/class-aiovg-admin-shortcode.php:213
|
510 |
msgid "Videos Count"
|
511 |
msgstr ""
|
512 |
|
513 |
-
#: admin/class-aiovg-admin-settings.php:
|
514 |
-
#: admin/class-aiovg-admin-settings.php:
|
515 |
#: admin/class-aiovg-admin-shortcode.php:220
|
516 |
#: widgets/videos/templates/admin.php:109
|
517 |
msgid "Category Name"
|
518 |
msgstr ""
|
519 |
|
520 |
-
#: admin/class-aiovg-admin-settings.php:
|
521 |
-
#: admin/class-aiovg-admin-settings.php:
|
522 |
#: admin/class-aiovg-admin-shortcode.php:227
|
523 |
#: widgets/videos/templates/admin.php:114
|
524 |
msgid "Date Added"
|
525 |
msgstr ""
|
526 |
|
527 |
-
#: admin/class-aiovg-admin-settings.php:
|
528 |
-
#: admin/class-aiovg-admin-settings.php:
|
529 |
#: admin/class-aiovg-admin-shortcode.php:234
|
530 |
msgid "Author Name"
|
531 |
msgstr ""
|
532 |
|
533 |
-
#: admin/class-aiovg-admin-settings.php:
|
534 |
#: admin/class-aiovg-admin-shortcode.php:248
|
535 |
#: widgets/videos/templates/admin.php:129
|
536 |
msgid "Video Duration"
|
537 |
msgstr ""
|
538 |
|
539 |
-
#: admin/class-aiovg-admin-settings.php:
|
540 |
msgid "Excerpt ( Short Description )"
|
541 |
msgstr ""
|
542 |
|
543 |
-
#: admin/class-aiovg-admin-settings.php:
|
544 |
msgid "Excerpt Length"
|
545 |
msgstr ""
|
546 |
|
547 |
-
#: admin/class-aiovg-admin-settings.php:
|
548 |
msgid "Number of characters."
|
549 |
msgstr ""
|
550 |
|
551 |
-
#: admin/class-aiovg-admin-settings.php:
|
552 |
#: admin/class-aiovg-admin-shortcode.php:201
|
553 |
#: widgets/videos/templates/admin.php:101
|
554 |
msgid "Related Videos"
|
555 |
msgstr ""
|
556 |
|
557 |
-
#: admin/class-aiovg-admin-settings.php:
|
558 |
msgid "Enable Comments"
|
559 |
msgstr ""
|
560 |
|
561 |
-
#: admin/class-aiovg-admin-settings.php:
|
562 |
msgid ""
|
563 |
"Allow visitors to comment videos using the standard WordPress comment form. "
|
564 |
"Comments are public"
|
565 |
msgstr ""
|
566 |
|
567 |
-
#: admin/class-aiovg-admin-settings.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
568 |
msgid "Video Detail Page"
|
569 |
msgstr ""
|
570 |
|
571 |
-
#: admin/class-aiovg-admin-settings.php:
|
572 |
msgid "Replaces the SLUG value used by custom post type \"aiovg_videos\"."
|
573 |
msgstr ""
|
574 |
|
575 |
-
#: admin/class-aiovg-admin-settings.php:
|
576 |
msgid "Enable Services"
|
577 |
msgstr ""
|
578 |
|
579 |
-
#: admin/class-aiovg-admin-settings.php:
|
580 |
#: admin/templates/video-sources.php:126 admin/templates/video-sources.php:129
|
581 |
-
#: includes/functions.php:
|
582 |
msgid "Facebook"
|
583 |
msgstr ""
|
584 |
|
585 |
-
#: admin/class-aiovg-admin-settings.php:
|
586 |
msgid "Twitter"
|
587 |
msgstr ""
|
588 |
|
589 |
-
#: admin/class-aiovg-admin-settings.php:
|
590 |
msgid "Google Plus"
|
591 |
msgstr ""
|
592 |
|
593 |
-
#: admin/class-aiovg-admin-settings.php:
|
594 |
msgid "Linkedin"
|
595 |
msgstr ""
|
596 |
|
597 |
-
#: admin/class-aiovg-admin-settings.php:
|
598 |
msgid "Pinterest"
|
599 |
msgstr ""
|
600 |
|
601 |
-
#: admin/class-aiovg-admin-settings.php:
|
602 |
msgid "Single Category Page"
|
603 |
msgstr ""
|
604 |
|
605 |
-
#: admin/class-aiovg-admin-settings.php:
|
606 |
msgid ""
|
607 |
"This is the page where the videos from a particular category is displayed. "
|
608 |
"The [aiovg_category] short code must be on this page."
|
609 |
msgstr ""
|
610 |
|
611 |
-
#: admin/class-aiovg-admin-settings.php:
|
612 |
msgid "Search Page"
|
613 |
msgstr ""
|
614 |
|
615 |
-
#: admin/class-aiovg-admin-settings.php:
|
616 |
msgid ""
|
617 |
"This is the page where the search results are displayed. The [aiovg_search] "
|
618 |
"short code must be on this page."
|
619 |
msgstr ""
|
620 |
|
621 |
-
#: admin/class-aiovg-admin-settings.php:
|
622 |
msgid "User Videos Page"
|
623 |
msgstr ""
|
624 |
|
625 |
-
#: admin/class-aiovg-admin-settings.php:
|
626 |
msgid ""
|
627 |
"This is the page where the videos from an user is displayed. The "
|
628 |
"[aiovg_user_videos] short code must be on this page."
|
629 |
msgstr ""
|
630 |
|
631 |
-
#: admin/class-aiovg-admin-settings.php:
|
632 |
msgid "Player Page"
|
633 |
msgstr ""
|
634 |
|
635 |
-
#: admin/class-aiovg-admin-settings.php:
|
636 |
msgid "This is the page used to show the video player."
|
637 |
msgstr ""
|
638 |
|
639 |
-
#: admin/class-aiovg-admin-settings.php:
|
640 |
msgid "Choose File"
|
641 |
msgstr ""
|
642 |
|
643 |
-
#: admin/class-aiovg-admin-settings.php:
|
644 |
msgid "Select a page"
|
645 |
msgstr ""
|
646 |
|
@@ -881,12 +911,12 @@ msgstr ""
|
|
881 |
|
882 |
#: admin/class-aiovg-admin-welcome.php:33
|
883 |
#: admin/class-aiovg-admin-welcome.php:34
|
884 |
-
msgid "About - All
|
885 |
msgstr ""
|
886 |
|
887 |
#: admin/class-aiovg-admin-welcome.php:41
|
888 |
#: admin/class-aiovg-admin-welcome.php:42
|
889 |
-
msgid "Support - All
|
890 |
msgstr ""
|
891 |
|
892 |
#: admin/class-aiovg-admin-welcome.php:62
|
@@ -897,19 +927,29 @@ msgstr ""
|
|
897 |
msgid "Support"
|
898 |
msgstr ""
|
899 |
|
900 |
-
#: admin/class-aiovg-admin.php:
|
901 |
-
msgid "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
902 |
msgstr ""
|
903 |
|
904 |
-
#: admin/class-aiovg-admin.php:
|
905 |
msgid "Online Documentation"
|
906 |
msgstr ""
|
907 |
|
908 |
-
#: admin/class-aiovg-admin.php:
|
909 |
msgid "Contact Support"
|
910 |
msgstr ""
|
911 |
|
912 |
-
#: admin/class-aiovg-admin.php:
|
913 |
msgid "Premium Add-ons"
|
914 |
msgstr ""
|
915 |
|
@@ -928,7 +968,7 @@ msgstr ""
|
|
928 |
|
929 |
#: admin/templates/shortcode-builder.php:17
|
930 |
msgid ""
|
931 |
-
"Use the form below to insert \"All
|
932 |
msgstr ""
|
933 |
|
934 |
#: admin/templates/shortcode-builder.php:21
|
@@ -977,7 +1017,7 @@ msgid "OGV"
|
|
977 |
msgstr ""
|
978 |
|
979 |
#: admin/templates/video-sources.php:93 admin/templates/video-sources.php:96
|
980 |
-
#: includes/functions.php:
|
981 |
msgid "YouTube"
|
982 |
msgstr ""
|
983 |
|
@@ -986,7 +1026,7 @@ msgid "Example: https://www.youtube.com/watch?v=twYp6W6vt2U"
|
|
986 |
msgstr ""
|
987 |
|
988 |
#: admin/templates/video-sources.php:104 admin/templates/video-sources.php:107
|
989 |
-
#: includes/functions.php:
|
990 |
msgid "Vimeo"
|
991 |
msgstr ""
|
992 |
|
@@ -995,7 +1035,7 @@ msgid "Example: https://vimeo.com/108018156"
|
|
995 |
msgstr ""
|
996 |
|
997 |
#: admin/templates/video-sources.php:115 admin/templates/video-sources.php:118
|
998 |
-
#: includes/functions.php:
|
999 |
msgid "Dailymotion"
|
1000 |
msgstr ""
|
1001 |
|
@@ -1064,7 +1104,7 @@ msgstr ""
|
|
1064 |
|
1065 |
#: admin/templates/welcome.php:16
|
1066 |
#, php-format
|
1067 |
-
msgid "Welcome to \"All
|
1068 |
msgstr ""
|
1069 |
|
1070 |
#: admin/templates/welcome.php:19
|
@@ -1176,52 +1216,52 @@ msgstr ""
|
|
1176 |
msgid "No Items found."
|
1177 |
msgstr ""
|
1178 |
|
1179 |
-
#: includes/functions.php:
|
1180 |
msgid "Self Hosted"
|
1181 |
msgstr ""
|
1182 |
|
1183 |
-
#: includes/functions.php:
|
1184 |
msgid "External URL"
|
1185 |
msgstr ""
|
1186 |
|
1187 |
-
#: includes/functions.php:
|
1188 |
msgid "Iframe Embed Code"
|
1189 |
msgstr ""
|
1190 |
|
1191 |
-
#: includes/functions.php:
|
1192 |
msgid "Video Category"
|
1193 |
msgstr ""
|
1194 |
|
1195 |
-
#: includes/functions.php:
|
1196 |
msgid "Search Videos"
|
1197 |
msgstr ""
|
1198 |
|
1199 |
-
#: includes/functions.php:
|
1200 |
msgid "User Videos"
|
1201 |
msgstr ""
|
1202 |
|
1203 |
-
#: includes/functions.php:
|
1204 |
msgid "Player Embed"
|
1205 |
msgstr ""
|
1206 |
|
1207 |
-
#: includes/functions.php:
|
1208 |
msgid "«"
|
1209 |
msgstr ""
|
1210 |
|
1211 |
-
#: includes/functions.php:
|
1212 |
msgid "»"
|
1213 |
msgstr ""
|
1214 |
|
1215 |
-
#: includes/functions.php:
|
1216 |
#, php-format
|
1217 |
msgid "Page %d of %d"
|
1218 |
msgstr ""
|
1219 |
|
1220 |
-
#: includes/functions.php:
|
1221 |
msgid "Google+"
|
1222 |
msgstr ""
|
1223 |
|
1224 |
-
#: includes/functions.php:
|
1225 |
msgid "Pin It"
|
1226 |
msgstr ""
|
1227 |
|
@@ -1229,7 +1269,7 @@ msgstr ""
|
|
1229 |
msgid "Sub Categories"
|
1230 |
msgstr ""
|
1231 |
|
1232 |
-
#: public/class-aiovg-public.php:
|
1233 |
#, php-format
|
1234 |
msgid "Showing results for \"%s\""
|
1235 |
msgstr ""
|
@@ -1327,7 +1367,7 @@ msgid "Select Template"
|
|
1327 |
msgstr ""
|
1328 |
|
1329 |
#: widgets/video/class-aiovg-widget-video.php:45
|
1330 |
-
msgid "Displays video added using \"All
|
1331 |
msgstr ""
|
1332 |
|
1333 |
#: widgets/video/class-aiovg-widget-video.php:48
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
+
"Project-Id-Version: All-in-One Video Gallery\n"
|
4 |
+
"POT-Creation-Date: 2018-06-10 15:40+0530\n"
|
5 |
+
"PO-Revision-Date: 2018-06-10 15:40+0530\n"
|
6 |
"Last-Translator: \n"
|
7 |
"Language-Team: \n"
|
8 |
"Language: en_US\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"X-Generator: Poedit 2.0.8\n"
|
13 |
"X-Poedit-Basepath: ..\n"
|
14 |
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
15 |
"X-Poedit-SourceCharset: UTF-8\n"
|
96 |
msgstr ""
|
97 |
|
98 |
#: admin/class-aiovg-admin-categories.php:137
|
99 |
+
#: admin/class-aiovg-admin-settings.php:327
|
100 |
#: admin/class-aiovg-admin-shortcode.php:104
|
101 |
#: admin/class-aiovg-admin-videos.php:433
|
102 |
#: widgets/categories/templates/admin.php:43
|
104 |
msgstr ""
|
105 |
|
106 |
#: admin/class-aiovg-admin-settings.php:61
|
107 |
+
#: admin/class-aiovg-admin-settings.php:62 admin/class-aiovg-admin.php:92
|
108 |
#: admin/templates/welcome.php:45
|
109 |
msgid "Settings"
|
110 |
msgstr ""
|
118 |
msgstr ""
|
119 |
|
120 |
#: admin/class-aiovg-admin-settings.php:109
|
121 |
+
msgid "Privacy"
|
122 |
+
msgstr ""
|
123 |
+
|
124 |
+
#: admin/class-aiovg-admin-settings.php:110
|
125 |
msgid "Advanced"
|
126 |
msgstr ""
|
127 |
|
128 |
+
#: admin/class-aiovg-admin-settings.php:128
|
129 |
msgid "General Settings"
|
130 |
msgstr ""
|
131 |
|
132 |
+
#: admin/class-aiovg-admin-settings.php:133
|
133 |
msgid "Player Settings"
|
134 |
msgstr ""
|
135 |
|
136 |
+
#: admin/class-aiovg-admin-settings.php:138
|
137 |
msgid "Image Settings"
|
138 |
msgstr ""
|
139 |
|
140 |
+
#: admin/class-aiovg-admin-settings.php:143
|
141 |
msgid "Categories Page"
|
142 |
msgstr ""
|
143 |
|
144 |
+
#: admin/class-aiovg-admin-settings.php:148
|
145 |
msgid "Video Gallery Pages"
|
146 |
msgstr ""
|
147 |
|
148 |
+
#: admin/class-aiovg-admin-settings.php:153
|
149 |
msgid "Single Video Page"
|
150 |
msgstr ""
|
151 |
|
152 |
+
#: admin/class-aiovg-admin-settings.php:158
|
153 |
+
msgid "Privacy Settings"
|
154 |
+
msgstr ""
|
155 |
+
|
156 |
+
#: admin/class-aiovg-admin-settings.php:159
|
157 |
+
msgid ""
|
158 |
+
"These options will help with privacy restrictions such as GDPR and the EU "
|
159 |
+
"Cookie Law."
|
160 |
+
msgstr ""
|
161 |
+
|
162 |
+
#: admin/class-aiovg-admin-settings.php:164
|
163 |
msgid "Permalink Slugs"
|
164 |
msgstr ""
|
165 |
|
166 |
+
#: admin/class-aiovg-admin-settings.php:165
|
167 |
msgid ""
|
168 |
"NOTE: Just make sure that, after updating the fields in this section, you "
|
169 |
"flush the rewrite rules by visiting \"Settings > Permalinks\". Otherwise "
|
170 |
"you'll still see the old links."
|
171 |
msgstr ""
|
172 |
|
173 |
+
#: admin/class-aiovg-admin-settings.php:170
|
174 |
msgid "Socialshare Buttons"
|
175 |
msgstr ""
|
176 |
|
177 |
+
#: admin/class-aiovg-admin-settings.php:171
|
178 |
msgid "Select social share buttons displayed in the single video pages."
|
179 |
msgstr ""
|
180 |
|
181 |
+
#: admin/class-aiovg-admin-settings.php:176
|
182 |
msgid "Page Settings"
|
183 |
msgstr ""
|
184 |
|
185 |
+
#: admin/class-aiovg-admin-settings.php:197
|
186 |
msgid "Bootstrap Options"
|
187 |
msgstr ""
|
188 |
|
189 |
+
#: admin/class-aiovg-admin-settings.php:198
|
190 |
msgid ""
|
191 |
+
"All-in-One Video Gallery uses Bootstrap version 3. Disable this option if "
|
192 |
"your theme already include the \"Bootstrap\" library files."
|
193 |
msgstr ""
|
194 |
|
195 |
+
#: admin/class-aiovg-admin-settings.php:201
|
196 |
msgid "Include Bootstrap CSS"
|
197 |
msgstr ""
|
198 |
|
199 |
+
#: admin/class-aiovg-admin-settings.php:207
|
200 |
msgid "Font Awesome"
|
201 |
msgstr ""
|
202 |
|
203 |
+
#: admin/class-aiovg-admin-settings.php:208
|
204 |
msgid ""
|
205 |
"Include Font Awesome. Disable this option if your theme already include the "
|
206 |
"\"Font Awesome\" library files"
|
207 |
msgstr ""
|
208 |
|
209 |
+
#: admin/class-aiovg-admin-settings.php:214
|
210 |
msgid "Remove data on uninstall?"
|
211 |
msgstr ""
|
212 |
|
213 |
+
#: admin/class-aiovg-admin-settings.php:215
|
214 |
msgid ""
|
215 |
"Check this box to delete all of the plugin data( database stored content, "
|
216 |
"uploaded media files, etc... ) when uninstalled"
|
217 |
msgstr ""
|
218 |
|
219 |
+
#: admin/class-aiovg-admin-settings.php:223
|
220 |
+
#: admin/class-aiovg-admin-settings.php:297
|
221 |
#: admin/class-aiovg-admin-shortcode.php:279
|
222 |
#: widgets/video/templates/admin.php:46
|
223 |
msgid "Width"
|
224 |
msgstr ""
|
225 |
|
226 |
+
#: admin/class-aiovg-admin-settings.php:224
|
227 |
#, php-format
|
228 |
msgid ""
|
229 |
"In pixels. Maximum width of the player. Leave this field empty to scale "
|
230 |
"100% of its enclosing container/html element."
|
231 |
msgstr ""
|
232 |
|
233 |
+
#: admin/class-aiovg-admin-settings.php:230
|
234 |
+
#: admin/class-aiovg-admin-settings.php:304
|
235 |
#: admin/class-aiovg-admin-shortcode.php:286
|
236 |
#: widgets/video/templates/admin.php:51
|
237 |
msgid "Ratio"
|
238 |
msgstr ""
|
239 |
|
240 |
+
#: admin/class-aiovg-admin-settings.php:233
|
241 |
msgid ""
|
242 |
"In percentage. 1 to 100. Calculate player's height using the ratio value "
|
243 |
"entered."
|
244 |
msgstr ""
|
245 |
|
246 |
+
#: admin/class-aiovg-admin-settings.php:234
|
247 |
msgid "Examples"
|
248 |
msgstr ""
|
249 |
|
250 |
+
#: admin/class-aiovg-admin-settings.php:235
|
251 |
msgid "Wide Screen TV"
|
252 |
msgstr ""
|
253 |
|
254 |
+
#: admin/class-aiovg-admin-settings.php:236
|
255 |
msgid "Monitor Screens"
|
256 |
msgstr ""
|
257 |
|
258 |
+
#: admin/class-aiovg-admin-settings.php:237
|
259 |
msgid "Classic TV"
|
260 |
msgstr ""
|
261 |
|
262 |
+
#: admin/class-aiovg-admin-settings.php:238
|
263 |
msgid "Photo Camera"
|
264 |
msgstr ""
|
265 |
|
266 |
+
#: admin/class-aiovg-admin-settings.php:239
|
267 |
msgid "Square"
|
268 |
msgstr ""
|
269 |
|
270 |
+
#: admin/class-aiovg-admin-settings.php:240
|
271 |
msgid "Cinemascope"
|
272 |
msgstr ""
|
273 |
|
274 |
+
#: admin/class-aiovg-admin-settings.php:247
|
275 |
#: admin/class-aiovg-admin-shortcode.php:293
|
276 |
#: widgets/video/templates/admin.php:57
|
277 |
msgid "Autoplay"
|
278 |
msgstr ""
|
279 |
|
280 |
+
#: admin/class-aiovg-admin-settings.php:248
|
281 |
msgid "Check this to start playing the video as soon as it is ready"
|
282 |
msgstr ""
|
283 |
|
284 |
+
#: admin/class-aiovg-admin-settings.php:254
|
285 |
#: admin/class-aiovg-admin-shortcode.php:300
|
286 |
#: widgets/video/templates/admin.php:62
|
287 |
msgid "Loop"
|
288 |
msgstr ""
|
289 |
|
290 |
+
#: admin/class-aiovg-admin-settings.php:255
|
291 |
msgid ""
|
292 |
"Check this, so that the video will start over again, every time it is "
|
293 |
"finished"
|
294 |
msgstr ""
|
295 |
|
296 |
+
#: admin/class-aiovg-admin-settings.php:261
|
297 |
msgid "Preload"
|
298 |
msgstr ""
|
299 |
|
300 |
+
#: admin/class-aiovg-admin-settings.php:264
|
301 |
msgid "Specifies if and how the video should be loaded when the page loads."
|
302 |
msgstr ""
|
303 |
|
304 |
+
#: admin/class-aiovg-admin-settings.php:265
|
305 |
msgid "\"Auto\" - the video should be loaded entirely when the page loads"
|
306 |
msgstr ""
|
307 |
|
308 |
+
#: admin/class-aiovg-admin-settings.php:266
|
309 |
msgid "\"Metadata\" - only metadata should be loaded when the page loads"
|
310 |
msgstr ""
|
311 |
|
312 |
+
#: admin/class-aiovg-admin-settings.php:267
|
313 |
msgid "\"None\" - the video should not be loaded when the page loads"
|
314 |
msgstr ""
|
315 |
|
316 |
+
#: admin/class-aiovg-admin-settings.php:271
|
317 |
msgid "Auto"
|
318 |
msgstr ""
|
319 |
|
320 |
+
#: admin/class-aiovg-admin-settings.php:272
|
321 |
msgid "Metadata"
|
322 |
msgstr ""
|
323 |
|
324 |
+
#: admin/class-aiovg-admin-settings.php:273
|
325 |
msgid "None"
|
326 |
msgstr ""
|
327 |
|
328 |
+
#: admin/class-aiovg-admin-settings.php:279
|
329 |
#: admin/class-aiovg-admin-shortcode.php:307
|
330 |
#: widgets/video/templates/admin.php:65
|
331 |
msgid "Show / Hide Player Controls"
|
332 |
msgstr ""
|
333 |
|
334 |
+
#: admin/class-aiovg-admin-settings.php:283
|
335 |
#: admin/class-aiovg-admin-shortcode.php:312
|
336 |
#: widgets/video/templates/admin.php:69
|
337 |
msgid "Play / Pause"
|
338 |
msgstr ""
|
339 |
|
340 |
+
#: admin/class-aiovg-admin-settings.php:284
|
341 |
#: admin/class-aiovg-admin-shortcode.php:319
|
342 |
#: widgets/video/templates/admin.php:74
|
343 |
msgid "Current Time"
|
344 |
msgstr ""
|
345 |
|
346 |
+
#: admin/class-aiovg-admin-settings.php:285
|
347 |
#: admin/class-aiovg-admin-shortcode.php:326
|
348 |
#: widgets/video/templates/admin.php:79
|
349 |
msgid "Progressbar"
|
350 |
msgstr ""
|
351 |
|
352 |
+
#: admin/class-aiovg-admin-settings.php:286
|
353 |
#: admin/class-aiovg-admin-shortcode.php:333
|
354 |
#: admin/templates/video-sources.php:161 admin/templates/video-sources.php:164
|
355 |
#: widgets/video/templates/admin.php:84
|
356 |
msgid "Duration"
|
357 |
msgstr ""
|
358 |
|
359 |
+
#: admin/class-aiovg-admin-settings.php:287
|
360 |
#: admin/class-aiovg-admin-shortcode.php:340
|
361 |
#: admin/class-aiovg-admin-videos.php:150 widgets/video/templates/admin.php:89
|
362 |
msgid "Subtitles"
|
363 |
msgstr ""
|
364 |
|
365 |
+
#: admin/class-aiovg-admin-settings.php:288
|
366 |
#: admin/class-aiovg-admin-shortcode.php:347
|
367 |
#: widgets/video/templates/admin.php:94
|
368 |
msgid "Volume"
|
369 |
msgstr ""
|
370 |
|
371 |
+
#: admin/class-aiovg-admin-settings.php:289
|
372 |
#: admin/class-aiovg-admin-shortcode.php:354
|
373 |
#: widgets/video/templates/admin.php:99
|
374 |
msgid "Fullscreen"
|
375 |
msgstr ""
|
376 |
|
377 |
+
#: admin/class-aiovg-admin-settings.php:298
|
378 |
#, php-format
|
379 |
msgid "Always 100% of its enclosing container/html element."
|
380 |
msgstr ""
|
381 |
|
382 |
+
#: admin/class-aiovg-admin-settings.php:305
|
383 |
msgid ""
|
384 |
"In percentage. 1 to 100. Calculate images's height using the ratio value "
|
385 |
"entered."
|
386 |
msgstr ""
|
387 |
|
388 |
+
#: admin/class-aiovg-admin-settings.php:313
|
389 |
+
#: admin/class-aiovg-admin-settings.php:370
|
390 |
#: admin/class-aiovg-admin-shortcode.php:94
|
391 |
#: admin/class-aiovg-admin-shortcode.php:156
|
392 |
#: widgets/videos/templates/admin.php:50
|
393 |
msgid "Number of Columns"
|
394 |
msgstr ""
|
395 |
|
396 |
+
#: admin/class-aiovg-admin-settings.php:314
|
397 |
msgid "Enter the number of columns you like to have in your categories page."
|
398 |
msgstr ""
|
399 |
|
400 |
+
#: admin/class-aiovg-admin-settings.php:323
|
401 |
#: admin/class-aiovg-admin-shortcode.php:114
|
402 |
msgid "Order Categories by"
|
403 |
msgstr ""
|
404 |
|
405 |
+
#: admin/class-aiovg-admin-settings.php:328
|
406 |
#: admin/class-aiovg-admin-shortcode.php:105
|
407 |
#: widgets/categories/templates/admin.php:44
|
408 |
msgid "Count"
|
409 |
msgstr ""
|
410 |
|
411 |
+
#: admin/class-aiovg-admin-settings.php:329
|
412 |
#: admin/class-aiovg-admin-shortcode.php:106
|
413 |
#: widgets/categories/templates/admin.php:45
|
414 |
msgid "Name"
|
415 |
msgstr ""
|
416 |
|
417 |
+
#: admin/class-aiovg-admin-settings.php:330
|
418 |
#: admin/class-aiovg-admin-shortcode.php:107
|
419 |
#: widgets/categories/templates/admin.php:46
|
420 |
msgid "Slug"
|
421 |
msgstr ""
|
422 |
|
423 |
+
#: admin/class-aiovg-admin-settings.php:336
|
424 |
#: admin/class-aiovg-admin-shortcode.php:101
|
425 |
msgid "Sort Categories by"
|
426 |
msgstr ""
|
427 |
|
428 |
+
#: admin/class-aiovg-admin-settings.php:340
|
429 |
+
#: admin/class-aiovg-admin-settings.php:404
|
430 |
msgid "Ascending"
|
431 |
msgstr ""
|
432 |
|
433 |
+
#: admin/class-aiovg-admin-settings.php:341
|
434 |
+
#: admin/class-aiovg-admin-settings.php:405
|
435 |
msgid "Descending"
|
436 |
msgstr ""
|
437 |
|
438 |
+
#: admin/class-aiovg-admin-settings.php:347
|
439 |
#: admin/class-aiovg-admin-shortcode.php:125
|
440 |
msgid "Show Description?"
|
441 |
msgstr ""
|
442 |
|
443 |
+
#: admin/class-aiovg-admin-settings.php:348
|
444 |
msgid "Check this to show the categories description"
|
445 |
msgstr ""
|
446 |
|
447 |
+
#: admin/class-aiovg-admin-settings.php:354
|
448 |
#: admin/class-aiovg-admin-shortcode.php:132
|
449 |
msgid "Show Videos Count?"
|
450 |
msgstr ""
|
451 |
|
452 |
+
#: admin/class-aiovg-admin-settings.php:355
|
453 |
msgid "Check this to show the videos count next to the category name"
|
454 |
msgstr ""
|
455 |
|
456 |
+
#: admin/class-aiovg-admin-settings.php:361
|
457 |
#: admin/class-aiovg-admin-shortcode.php:139
|
458 |
msgid "Hide Empty Categories?"
|
459 |
msgstr ""
|
460 |
|
461 |
+
#: admin/class-aiovg-admin-settings.php:362
|
462 |
msgid "Check this to hide categories with no videos"
|
463 |
msgstr ""
|
464 |
|
465 |
+
#: admin/class-aiovg-admin-settings.php:371
|
466 |
msgid "Enter the number of columns you like to have in the gallery view."
|
467 |
msgstr ""
|
468 |
|
469 |
+
#: admin/class-aiovg-admin-settings.php:380
|
470 |
msgid "Videos per Page"
|
471 |
msgstr ""
|
472 |
|
473 |
+
#: admin/class-aiovg-admin-settings.php:381
|
474 |
msgid ""
|
475 |
"Number of videos to show per page. Use a value of \"0\" to show all videos."
|
476 |
msgstr ""
|
477 |
|
478 |
+
#: admin/class-aiovg-admin-settings.php:387
|
479 |
msgid "Order Videos by"
|
480 |
msgstr ""
|
481 |
|
482 |
+
#: admin/class-aiovg-admin-settings.php:391
|
483 |
#: admin/class-aiovg-admin-shortcode.php:173
|
484 |
#: widgets/categories/templates/admin.php:15
|
485 |
#: widgets/search/templates/admin.php:15 widgets/video/templates/admin.php:15
|
487 |
msgid "Title"
|
488 |
msgstr ""
|
489 |
|
490 |
+
#: admin/class-aiovg-admin-settings.php:392
|
491 |
#: admin/class-aiovg-admin-shortcode.php:174
|
492 |
#: widgets/videos/templates/admin.php:65
|
493 |
msgid "Date Posted"
|
494 |
msgstr ""
|
495 |
|
496 |
+
#: admin/class-aiovg-admin-settings.php:393
|
497 |
+
#: admin/class-aiovg-admin-settings.php:419
|
498 |
+
#: admin/class-aiovg-admin-settings.php:443
|
499 |
#: admin/class-aiovg-admin-shortcode.php:175
|
500 |
#: admin/class-aiovg-admin-shortcode.php:241
|
501 |
#: widgets/videos/templates/admin.php:66 widgets/videos/templates/admin.php:124
|
502 |
msgid "Views Count"
|
503 |
msgstr ""
|
504 |
|
505 |
+
#: admin/class-aiovg-admin-settings.php:394
|
506 |
#: admin/class-aiovg-admin-shortcode.php:176
|
507 |
#: widgets/videos/templates/admin.php:67
|
508 |
msgid "Random"
|
509 |
msgstr ""
|
510 |
|
511 |
+
#: admin/class-aiovg-admin-settings.php:400
|
512 |
msgid "Sort Videos by"
|
513 |
msgstr ""
|
514 |
|
515 |
+
#: admin/class-aiovg-admin-settings.php:411
|
516 |
+
#: admin/class-aiovg-admin-settings.php:436
|
517 |
#: admin/class-aiovg-admin-shortcode.php:208
|
518 |
#: widgets/videos/templates/admin.php:105
|
519 |
msgid "Show / Hide"
|
520 |
msgstr ""
|
521 |
|
522 |
+
#: admin/class-aiovg-admin-settings.php:415
|
523 |
#: admin/class-aiovg-admin-shortcode.php:213
|
524 |
msgid "Videos Count"
|
525 |
msgstr ""
|
526 |
|
527 |
+
#: admin/class-aiovg-admin-settings.php:416
|
528 |
+
#: admin/class-aiovg-admin-settings.php:440
|
529 |
#: admin/class-aiovg-admin-shortcode.php:220
|
530 |
#: widgets/videos/templates/admin.php:109
|
531 |
msgid "Category Name"
|
532 |
msgstr ""
|
533 |
|
534 |
+
#: admin/class-aiovg-admin-settings.php:417
|
535 |
+
#: admin/class-aiovg-admin-settings.php:441
|
536 |
#: admin/class-aiovg-admin-shortcode.php:227
|
537 |
#: widgets/videos/templates/admin.php:114
|
538 |
msgid "Date Added"
|
539 |
msgstr ""
|
540 |
|
541 |
+
#: admin/class-aiovg-admin-settings.php:418
|
542 |
+
#: admin/class-aiovg-admin-settings.php:442
|
543 |
#: admin/class-aiovg-admin-shortcode.php:234
|
544 |
msgid "Author Name"
|
545 |
msgstr ""
|
546 |
|
547 |
+
#: admin/class-aiovg-admin-settings.php:420
|
548 |
#: admin/class-aiovg-admin-shortcode.php:248
|
549 |
#: widgets/videos/templates/admin.php:129
|
550 |
msgid "Video Duration"
|
551 |
msgstr ""
|
552 |
|
553 |
+
#: admin/class-aiovg-admin-settings.php:421
|
554 |
msgid "Excerpt ( Short Description )"
|
555 |
msgstr ""
|
556 |
|
557 |
+
#: admin/class-aiovg-admin-settings.php:427
|
558 |
msgid "Excerpt Length"
|
559 |
msgstr ""
|
560 |
|
561 |
+
#: admin/class-aiovg-admin-settings.php:428
|
562 |
msgid "Number of characters."
|
563 |
msgstr ""
|
564 |
|
565 |
+
#: admin/class-aiovg-admin-settings.php:444
|
566 |
#: admin/class-aiovg-admin-shortcode.php:201
|
567 |
#: widgets/videos/templates/admin.php:101
|
568 |
msgid "Related Videos"
|
569 |
msgstr ""
|
570 |
|
571 |
+
#: admin/class-aiovg-admin-settings.php:450
|
572 |
msgid "Enable Comments"
|
573 |
msgstr ""
|
574 |
|
575 |
+
#: admin/class-aiovg-admin-settings.php:451
|
576 |
msgid ""
|
577 |
"Allow visitors to comment videos using the standard WordPress comment form. "
|
578 |
"Comments are public"
|
579 |
msgstr ""
|
580 |
|
581 |
+
#: admin/class-aiovg-admin-settings.php:459
|
582 |
+
msgid "GDPR - Show Consent"
|
583 |
+
msgstr ""
|
584 |
+
|
585 |
+
#: admin/class-aiovg-admin-settings.php:460
|
586 |
+
msgid "Ask for consent before loading YouTube/Vimeo content."
|
587 |
+
msgstr ""
|
588 |
+
|
589 |
+
#: admin/class-aiovg-admin-settings.php:466
|
590 |
+
msgid "GDPR - Consent Message"
|
591 |
+
msgstr ""
|
592 |
+
|
593 |
+
#: admin/class-aiovg-admin-settings.php:473
|
594 |
+
msgid "GDPR - Consent Button Label"
|
595 |
+
msgstr ""
|
596 |
+
|
597 |
+
#: admin/class-aiovg-admin-settings.php:482
|
598 |
msgid "Video Detail Page"
|
599 |
msgstr ""
|
600 |
|
601 |
+
#: admin/class-aiovg-admin-settings.php:483
|
602 |
msgid "Replaces the SLUG value used by custom post type \"aiovg_videos\"."
|
603 |
msgstr ""
|
604 |
|
605 |
+
#: admin/class-aiovg-admin-settings.php:491
|
606 |
msgid "Enable Services"
|
607 |
msgstr ""
|
608 |
|
609 |
+
#: admin/class-aiovg-admin-settings.php:495
|
610 |
#: admin/templates/video-sources.php:126 admin/templates/video-sources.php:129
|
611 |
+
#: includes/functions.php:692 includes/functions.php:1103
|
612 |
msgid "Facebook"
|
613 |
msgstr ""
|
614 |
|
615 |
+
#: admin/class-aiovg-admin-settings.php:496 includes/functions.php:1108
|
616 |
msgid "Twitter"
|
617 |
msgstr ""
|
618 |
|
619 |
+
#: admin/class-aiovg-admin-settings.php:497
|
620 |
msgid "Google Plus"
|
621 |
msgstr ""
|
622 |
|
623 |
+
#: admin/class-aiovg-admin-settings.php:498 includes/functions.php:1118
|
624 |
msgid "Linkedin"
|
625 |
msgstr ""
|
626 |
|
627 |
+
#: admin/class-aiovg-admin-settings.php:499
|
628 |
msgid "Pinterest"
|
629 |
msgstr ""
|
630 |
|
631 |
+
#: admin/class-aiovg-admin-settings.php:507
|
632 |
msgid "Single Category Page"
|
633 |
msgstr ""
|
634 |
|
635 |
+
#: admin/class-aiovg-admin-settings.php:508
|
636 |
msgid ""
|
637 |
"This is the page where the videos from a particular category is displayed. "
|
638 |
"The [aiovg_category] short code must be on this page."
|
639 |
msgstr ""
|
640 |
|
641 |
+
#: admin/class-aiovg-admin-settings.php:514
|
642 |
msgid "Search Page"
|
643 |
msgstr ""
|
644 |
|
645 |
+
#: admin/class-aiovg-admin-settings.php:515
|
646 |
msgid ""
|
647 |
"This is the page where the search results are displayed. The [aiovg_search] "
|
648 |
"short code must be on this page."
|
649 |
msgstr ""
|
650 |
|
651 |
+
#: admin/class-aiovg-admin-settings.php:521
|
652 |
msgid "User Videos Page"
|
653 |
msgstr ""
|
654 |
|
655 |
+
#: admin/class-aiovg-admin-settings.php:522
|
656 |
msgid ""
|
657 |
"This is the page where the videos from an user is displayed. The "
|
658 |
"[aiovg_user_videos] short code must be on this page."
|
659 |
msgstr ""
|
660 |
|
661 |
+
#: admin/class-aiovg-admin-settings.php:528
|
662 |
msgid "Player Page"
|
663 |
msgstr ""
|
664 |
|
665 |
+
#: admin/class-aiovg-admin-settings.php:529
|
666 |
msgid "This is the page used to show the video player."
|
667 |
msgstr ""
|
668 |
|
669 |
+
#: admin/class-aiovg-admin-settings.php:815
|
670 |
msgid "Choose File"
|
671 |
msgstr ""
|
672 |
|
673 |
+
#: admin/class-aiovg-admin-settings.php:870
|
674 |
msgid "Select a page"
|
675 |
msgstr ""
|
676 |
|
911 |
|
912 |
#: admin/class-aiovg-admin-welcome.php:33
|
913 |
#: admin/class-aiovg-admin-welcome.php:34
|
914 |
+
msgid "About - All-in-One Video Gallery"
|
915 |
msgstr ""
|
916 |
|
917 |
#: admin/class-aiovg-admin-welcome.php:41
|
918 |
#: admin/class-aiovg-admin-welcome.php:42
|
919 |
+
msgid "Support - All-in-One Video Gallery"
|
920 |
msgstr ""
|
921 |
|
922 |
#: admin/class-aiovg-admin-welcome.php:62
|
927 |
msgid "Support"
|
928 |
msgstr ""
|
929 |
|
930 |
+
#: admin/class-aiovg-admin.php:39 includes/class-aiovg-activator.php:96
|
931 |
+
msgid ""
|
932 |
+
"<strong>Please accept cookies to play this video</strong>. By accepting you "
|
933 |
+
"will be accessing content from a service provided by an external third party."
|
934 |
+
msgstr ""
|
935 |
+
|
936 |
+
#: admin/class-aiovg-admin.php:40 includes/class-aiovg-activator.php:97
|
937 |
+
msgid "Accept"
|
938 |
+
msgstr ""
|
939 |
+
|
940 |
+
#: admin/class-aiovg-admin.php:108
|
941 |
+
msgid "All-in-One Video Gallery"
|
942 |
msgstr ""
|
943 |
|
944 |
+
#: admin/class-aiovg-admin.php:110
|
945 |
msgid "Online Documentation"
|
946 |
msgstr ""
|
947 |
|
948 |
+
#: admin/class-aiovg-admin.php:111
|
949 |
msgid "Contact Support"
|
950 |
msgstr ""
|
951 |
|
952 |
+
#: admin/class-aiovg-admin.php:112
|
953 |
msgid "Premium Add-ons"
|
954 |
msgstr ""
|
955 |
|
968 |
|
969 |
#: admin/templates/shortcode-builder.php:17
|
970 |
msgid ""
|
971 |
+
"Use the form below to insert \"All-in-One Video Gallery\" plugin shortcodes."
|
972 |
msgstr ""
|
973 |
|
974 |
#: admin/templates/shortcode-builder.php:21
|
1017 |
msgstr ""
|
1018 |
|
1019 |
#: admin/templates/video-sources.php:93 admin/templates/video-sources.php:96
|
1020 |
+
#: includes/functions.php:689
|
1021 |
msgid "YouTube"
|
1022 |
msgstr ""
|
1023 |
|
1026 |
msgstr ""
|
1027 |
|
1028 |
#: admin/templates/video-sources.php:104 admin/templates/video-sources.php:107
|
1029 |
+
#: includes/functions.php:690
|
1030 |
msgid "Vimeo"
|
1031 |
msgstr ""
|
1032 |
|
1035 |
msgstr ""
|
1036 |
|
1037 |
#: admin/templates/video-sources.php:115 admin/templates/video-sources.php:118
|
1038 |
+
#: includes/functions.php:691
|
1039 |
msgid "Dailymotion"
|
1040 |
msgstr ""
|
1041 |
|
1104 |
|
1105 |
#: admin/templates/welcome.php:16
|
1106 |
#, php-format
|
1107 |
+
msgid "Welcome to \"All-in-One Video Gallery - %s\""
|
1108 |
msgstr ""
|
1109 |
|
1110 |
#: admin/templates/welcome.php:19
|
1216 |
msgid "No Items found."
|
1217 |
msgstr ""
|
1218 |
|
1219 |
+
#: includes/functions.php:688
|
1220 |
msgid "Self Hosted"
|
1221 |
msgstr ""
|
1222 |
|
1223 |
+
#: includes/functions.php:688
|
1224 |
msgid "External URL"
|
1225 |
msgstr ""
|
1226 |
|
1227 |
+
#: includes/functions.php:693
|
1228 |
msgid "Iframe Embed Code"
|
1229 |
msgstr ""
|
1230 |
|
1231 |
+
#: includes/functions.php:836
|
1232 |
msgid "Video Category"
|
1233 |
msgstr ""
|
1234 |
|
1235 |
+
#: includes/functions.php:840 widgets/search/class-aiovg-widget-search.php:117
|
1236 |
msgid "Search Videos"
|
1237 |
msgstr ""
|
1238 |
|
1239 |
+
#: includes/functions.php:844
|
1240 |
msgid "User Videos"
|
1241 |
msgstr ""
|
1242 |
|
1243 |
+
#: includes/functions.php:848
|
1244 |
msgid "Player Embed"
|
1245 |
msgstr ""
|
1246 |
|
1247 |
+
#: includes/functions.php:1019
|
1248 |
msgid "«"
|
1249 |
msgstr ""
|
1250 |
|
1251 |
+
#: includes/functions.php:1020
|
1252 |
msgid "»"
|
1253 |
msgstr ""
|
1254 |
|
1255 |
+
#: includes/functions.php:1044
|
1256 |
#, php-format
|
1257 |
msgid "Page %d of %d"
|
1258 |
msgstr ""
|
1259 |
|
1260 |
+
#: includes/functions.php:1113
|
1261 |
msgid "Google+"
|
1262 |
msgstr ""
|
1263 |
|
1264 |
+
#: includes/functions.php:1123
|
1265 |
msgid "Pin It"
|
1266 |
msgstr ""
|
1267 |
|
1269 |
msgid "Sub Categories"
|
1270 |
msgstr ""
|
1271 |
|
1272 |
+
#: public/class-aiovg-public.php:333
|
1273 |
#, php-format
|
1274 |
msgid "Showing results for \"%s\""
|
1275 |
msgstr ""
|
1367 |
msgstr ""
|
1368 |
|
1369 |
#: widgets/video/class-aiovg-widget-video.php:45
|
1370 |
+
msgid "Displays video added using \"All-in-One Video Gallery\" plugin."
|
1371 |
msgstr ""
|
1372 |
|
1373 |
#: widgets/video/class-aiovg-widget-video.php:48
|
public/assets/css/aiovg-public.css
CHANGED
@@ -16,6 +16,52 @@
|
|
16 |
margin: 10px 0;
|
17 |
}
|
18 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
19 |
/*----------------------------------------------------------------------------------------------
|
20 |
*
|
21 |
* Gallery
|
16 |
margin: 10px 0;
|
17 |
}
|
18 |
|
19 |
+
/*----------------------------------------------------------------------------------------------
|
20 |
+
*
|
21 |
+
* GDPR
|
22 |
+
*
|
23 |
+
*--------------------------------------------------------------------------------------------*/
|
24 |
+
.aiovg-privacy-wrapper {
|
25 |
+
position: absolute;
|
26 |
+
width: 100%;
|
27 |
+
height: 100%;
|
28 |
+
top: 0;
|
29 |
+
left: 0;
|
30 |
+
background-color: #222;
|
31 |
+
background-size: cover;
|
32 |
+
background-position: center;
|
33 |
+
background-repeat: no-repeat;
|
34 |
+
color: #FFF;
|
35 |
+
text-align: center;
|
36 |
+
z-index: 9;
|
37 |
+
}
|
38 |
+
|
39 |
+
.aiovg-privacy-consent-block {
|
40 |
+
position: relative;
|
41 |
+
margin: 15px;
|
42 |
+
padding: 15px;
|
43 |
+
top: 50%;
|
44 |
+
background: #000;
|
45 |
+
border-radius: 3px;
|
46 |
+
opacity: 0.9;
|
47 |
+
transform: translateY( -50% );
|
48 |
+
-ms-transform: translateY(- 50% );
|
49 |
+
-webkit-transform: translateY( -50% );
|
50 |
+
}
|
51 |
+
|
52 |
+
.aiovg-privacy-consent-button {
|
53 |
+
display: inline-block;
|
54 |
+
margin-top: 10px;
|
55 |
+
padding: 5px 15px;
|
56 |
+
background: #F00;
|
57 |
+
border-radius: 3px;
|
58 |
+
cursor: pointer;
|
59 |
+
}
|
60 |
+
|
61 |
+
.aiovg-privacy-consent-button:hover {
|
62 |
+
opacity: 0.8;
|
63 |
+
}
|
64 |
+
|
65 |
/*----------------------------------------------------------------------------------------------
|
66 |
*
|
67 |
* Gallery
|
public/assets/js/aiovg-public.js
CHANGED
@@ -1,6 +1,23 @@
|
|
1 |
(function( $ ) {
|
2 |
'use strict';
|
3 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4 |
/**
|
5 |
* Called when the page has loaded.
|
6 |
*
|
@@ -8,6 +25,20 @@
|
|
8 |
*/
|
9 |
$(function() {
|
10 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11 |
});
|
12 |
|
13 |
})( jQuery );
|
1 |
(function( $ ) {
|
2 |
'use strict';
|
3 |
|
4 |
+
/**
|
5 |
+
* Set cookie for accepting the privacy consent.
|
6 |
+
*
|
7 |
+
* @since 1.0.0
|
8 |
+
*/
|
9 |
+
function aiovg_set_cookie() {
|
10 |
+
|
11 |
+
var data = {
|
12 |
+
'action': 'aiovg_set_cookie'
|
13 |
+
};
|
14 |
+
|
15 |
+
$.post( aiovg.ajax_url, data, function( response ) {
|
16 |
+
// console.log( 'Cookie stored!' );
|
17 |
+
});
|
18 |
+
|
19 |
+
}
|
20 |
+
|
21 |
/**
|
22 |
* Called when the page has loaded.
|
23 |
*
|
25 |
*/
|
26 |
$(function() {
|
27 |
|
28 |
+
$( '.aiovg-privacy-consent-button' ).on( 'click', function() {
|
29 |
+
|
30 |
+
aiovg_set_cookie();
|
31 |
+
|
32 |
+
var container = $( this ).closest( '.aiovg-player' );
|
33 |
+
|
34 |
+
var iframe = container.find( 'iframe' ).clone();
|
35 |
+
var src = iframe.data( 'src' );
|
36 |
+
iframe.attr( 'src', src );
|
37 |
+
|
38 |
+
container.html( iframe );
|
39 |
+
|
40 |
+
});
|
41 |
+
|
42 |
});
|
43 |
|
44 |
})( jQuery );
|
public/assets/mediaelement/lang/ms.js
ADDED
@@ -0,0 +1,90 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
'use strict';/*!
|
2 |
+
* This is a `i18n` language object.
|
3 |
+
*
|
4 |
+
* Malay (for inter-country use - see the countries mentioned in infobox`s `native to` at https://en.wikipedia.org/wiki/Malay_language)
|
5 |
+
*
|
6 |
+
* @author
|
7 |
+
* muhdnurhidayat (Twitter: @mnh48com)
|
8 |
+
* Sascha Greuel (Twitter: @SoftCreatR)
|
9 |
+
*
|
10 |
+
* @see core/i18n.js
|
11 |
+
*/
|
12 |
+
(function (exports) {
|
13 |
+
if (exports.ms === undefined) {
|
14 |
+
exports.ms = {
|
15 |
+
'mejs.plural-form': 0,
|
16 |
+
'mejs.download-file': 'Muat Turun Fail',
|
17 |
+
'mejs.install-flash': 'Anda sedang menggunakan pelayar internet yang tidak mempunyai pemain Flash. Sila aktifkan pemalam pemain Flash anda atau muat turun versi terbaru dari https://get.adobe.com/flashplayer/',
|
18 |
+
'mejs.fullscreen': 'Skrin penuh',
|
19 |
+
'mejs.play': 'Main',
|
20 |
+
'mejs.pause': 'Jeda',
|
21 |
+
'mejs.time-slider': 'Lungsur Masa',
|
22 |
+
'mejs.time-help-text': 'Gunakan kekunci Anak Panah Kiri/Kanan untuk bergerak satu saat, Anak Panah Atas/Bawah untuk bergerak sepuluh saat.',
|
23 |
+
'mejs.live-broadcast' : 'Siaran Langsung',
|
24 |
+
'mejs.volume-help-text': 'Gunakan kekunci Anak Panah Atas/Bawah untuk menguatkan atau memperlahankan bunyi.',
|
25 |
+
'mejs.unmute': 'Nyahsenyap',
|
26 |
+
'mejs.mute': 'Senyap',
|
27 |
+
'mejs.volume-slider': 'Lungsur Bunyi',
|
28 |
+
'mejs.video-player': 'Pemain Video',
|
29 |
+
'mejs.audio-player': 'Pemain Audio',
|
30 |
+
'mejs.captions-subtitles': 'Sarikata',
|
31 |
+
'mejs.captions-chapters': 'Bab',
|
32 |
+
'mejs.none': 'Tiada',
|
33 |
+
'mejs.afrikaans': 'Bahasa Afrikaans',
|
34 |
+
'mejs.albanian': 'Bahasa Albania',
|
35 |
+
'mejs.arabic': 'Bahasa Arab',
|
36 |
+
'mejs.belarusian': 'Bahasa Belarus',
|
37 |
+
'mejs.bulgarian': 'Bahasa Bulgaria',
|
38 |
+
'mejs.catalan': 'Bahasa Catalonia',
|
39 |
+
'mejs.chinese': 'Bahasa Cina',
|
40 |
+
'mejs.chinese-simplified': 'Bahasa Cina (Ringkas)',
|
41 |
+
'mejs.chinese-traditional': 'Bahasa Cina (Tradisional)',
|
42 |
+
'mejs.croatian': 'Bahasa Croatia',
|
43 |
+
'mejs.czech': 'Bahasa Czech',
|
44 |
+
'mejs.danish': 'Bahasa Denmark',
|
45 |
+
'mejs.dutch': 'Bahasa Belanda',
|
46 |
+
'mejs.english': 'Bahasa Inggeris',
|
47 |
+
'mejs.estonian': 'Bahasa Estonia',
|
48 |
+
'mejs.filipino': 'Bahasa Filipino',
|
49 |
+
'mejs.finnish': 'Bahasa Finland',
|
50 |
+
'mejs.french': 'Bahasa Perancis',
|
51 |
+
'mejs.galician': 'Bahasa Galicia',
|
52 |
+
'mejs.german': 'Bahasa Jerman',
|
53 |
+
'mejs.greek': 'Bahasa Greek',
|
54 |
+
'mejs.haitian-creole': 'Bahasa Kreol Haiti',
|
55 |
+
'mejs.hebrew': 'Bahasa Ibrani',
|
56 |
+
'mejs.hindi': 'Bahasa Hindi',
|
57 |
+
'mejs.hungarian': 'Bahasa Hungary',
|
58 |
+
'mejs.icelandic': 'Bahasa Iceland',
|
59 |
+
'mejs.indonesian': 'Bahasa Indonesia',
|
60 |
+
'mejs.irish': 'Bahasa Ireland',
|
61 |
+
'mejs.italian': 'Bahasa Itali',
|
62 |
+
'mejs.japanese': 'Bahasa Jepun',
|
63 |
+
'mejs.korean': 'Bahasa Korea',
|
64 |
+
'mejs.latvian': 'Bahasa Latvia',
|
65 |
+
'mejs.lithuanian': 'Bahasa Lithuania',
|
66 |
+
'mejs.macedonian': 'Bahasa Macedonia',
|
67 |
+
'mejs.malay': 'Bahasa Melayu',
|
68 |
+
'mejs.maltese': 'Bahasa Malta',
|
69 |
+
'mejs.norwegian': 'Bahasa Norway',
|
70 |
+
'mejs.persian': 'Bahasa Parsi',
|
71 |
+
'mejs.polish': 'Bahasa Poland',
|
72 |
+
'mejs.portuguese': 'Bahasa Portugis',
|
73 |
+
'mejs.romanian': 'Bahasa Romania',
|
74 |
+
'mejs.russian': 'Bahasa Rusia',
|
75 |
+
'mejs.serbian': 'Bahasa Serbia',
|
76 |
+
'mejs.slovak': 'Bahasa Slovak',
|
77 |
+
'mejs.slovenian': 'Bahasa Slovene',
|
78 |
+
'mejs.spanish': 'Bahasa Sepanyol',
|
79 |
+
'mejs.swahili': 'Bahasa Swahili',
|
80 |
+
'mejs.swedish': 'Bahasa Sweden',
|
81 |
+
'mejs.tagalog': 'Bahasa Tagalog',
|
82 |
+
'mejs.thai': 'Bahasa Thai',
|
83 |
+
'mejs.turkish': 'Bahasa Turki',
|
84 |
+
'mejs.ukrainian': 'Bahasa Ukraine',
|
85 |
+
'mejs.vietnamese': 'Bahasa Vietnam',
|
86 |
+
'mejs.welsh': 'Bahasa Wales',
|
87 |
+
'mejs.yiddish': 'Bahasa Yiddish'
|
88 |
+
};
|
89 |
+
}
|
90 |
+
})(mejs.i18n);
|
public/assets/mediaelement/mediaelement-and-player.js
CHANGED
@@ -1017,7 +1017,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
1017 |
|
1018 |
var mejs = {};
|
1019 |
|
1020 |
-
mejs.version = '4.2.
|
1021 |
|
1022 |
mejs.html5media = {
|
1023 |
properties: ['volume', 'src', 'currentTime', 'muted', 'duration', 'paused', 'ended', 'buffered', 'error', 'networkState', 'readyState', 'seeking', 'seekable', 'currentSrc', 'preload', 'bufferedBytes', 'bufferedTime', 'initialTime', 'startOffsetTime', 'defaultPlaybackRate', 'playbackRate', 'played', 'autoplay', 'loop', 'controls'],
|
@@ -1248,7 +1248,7 @@ Object.assign(_player2.default.prototype, {
|
|
1248 |
|
1249 |
t.exitFullscreenCallback = function (e) {
|
1250 |
var key = e.which || e.keyCode || 0;
|
1251 |
-
if (key === 27 && (Features.HAS_TRUE_NATIVE_FULLSCREEN && Features.IS_FULLSCREEN || t.isFullScreen)) {
|
1252 |
player.exitFullScreen();
|
1253 |
}
|
1254 |
};
|
@@ -1302,6 +1302,10 @@ Object.assign(_player2.default.prototype, {
|
|
1302 |
isNative = t.media.rendererName !== null && /(html5|native)/i.test(t.media.rendererName),
|
1303 |
containerStyles = getComputedStyle(t.getElement(t.container));
|
1304 |
|
|
|
|
|
|
|
|
|
1305 |
if (t.options.useFakeFullscreen === false && Features.IS_IOS && Features.HAS_IOS_FULLSCREEN && typeof t.media.originalNode.webkitEnterFullscreen === 'function' && t.media.originalNode.canPlayType((0, _media.getTypeFromFile)(t.media.getSrc()))) {
|
1306 |
t.media.originalNode.webkitEnterFullscreen();
|
1307 |
return;
|
@@ -1390,6 +1394,10 @@ Object.assign(_player2.default.prototype, {
|
|
1390 |
var t = this,
|
1391 |
isNative = t.media.rendererName !== null && /(native|html5)/i.test(t.media.rendererName);
|
1392 |
|
|
|
|
|
|
|
|
|
1393 |
clearTimeout(t.containerSizeTimeout);
|
1394 |
|
1395 |
if (Features.HAS_TRUE_NATIVE_FULLSCREEN && (Features.IS_FULLSCREEN || t.isFullScreen)) {
|
@@ -1778,7 +1786,7 @@ Object.assign(_player2.default.prototype, {
|
|
1778 |
handleMouseup = function handleMouseup() {
|
1779 |
if (mouseIsDown && t.getCurrentTime() !== null && t.newTime.toFixed(4) !== t.getCurrentTime().toFixed(4)) {
|
1780 |
t.setCurrentTime(t.newTime);
|
1781 |
-
t.
|
1782 |
t.updateCurrent(t.newTime);
|
1783 |
}
|
1784 |
if (t.forcedHandlePause) {
|
@@ -1799,7 +1807,7 @@ Object.assign(_player2.default.prototype, {
|
|
1799 |
startedPaused = t.paused;
|
1800 |
}
|
1801 |
|
1802 |
-
if (t.options.keyActions.length) {
|
1803 |
|
1804 |
var keyCode = e.which || e.keyCode || 0,
|
1805 |
duration = t.getDuration(),
|
@@ -2178,7 +2186,7 @@ Object.assign(_player2.default.prototype, {
|
|
2178 |
|
2179 |
var duration = t.getDuration();
|
2180 |
|
2181 |
-
if (isNaN(duration) || duration === Infinity || duration < 0) {
|
2182 |
t.media.duration = t.options.duration = duration = 0;
|
2183 |
}
|
2184 |
|
@@ -3218,7 +3226,7 @@ Object.assign(_player2.default.prototype, {
|
|
3218 |
mouseIsOver = false;
|
3219 |
});
|
3220 |
mute.addEventListener('keydown', function (e) {
|
3221 |
-
if (t.options.keyActions.length) {
|
3222 |
var keyCode = e.which || e.keyCode || 0,
|
3223 |
volume = media.volume;
|
3224 |
|
@@ -5167,11 +5175,12 @@ var MediaElementPlayer = function () {
|
|
5167 |
|
5168 |
delete t.node.autoplay;
|
5169 |
|
|
|
5170 |
if (t.media.canPlayType((0, _media.getTypeFromFile)(src)) !== '') {
|
5171 |
t.node.setAttribute('src', src);
|
5172 |
}
|
5173 |
|
5174 |
-
if (
|
5175 |
var layer = _document2.default.getElementById(t.media.id + '-iframe-overlay');
|
5176 |
layer.remove();
|
5177 |
}
|
@@ -5218,7 +5227,7 @@ var MediaElementPlayer = function () {
|
|
5218 |
t.getElement(t.container).parentNode.insertBefore(t.node, t.getElement(t.container));
|
5219 |
}
|
5220 |
|
5221 |
-
if (typeof t.media.renderer.destroy === 'function') {
|
5222 |
t.media.renderer.destroy();
|
5223 |
}
|
5224 |
|
@@ -5443,6 +5452,11 @@ var DefaultPlayer = function () {
|
|
5443 |
get: function get() {
|
5444 |
return this.getDuration();
|
5445 |
}
|
|
|
|
|
|
|
|
|
|
|
5446 |
}, {
|
5447 |
key: 'volume',
|
5448 |
set: function set(volume) {
|
@@ -7473,7 +7487,7 @@ var SUPPORT_POINTER_EVENTS = exports.SUPPORT_POINTER_EVENTS = function () {
|
|
7473 |
element.style.pointerEvents = 'auto';
|
7474 |
element.style.pointerEvents = 'x';
|
7475 |
documentElement.appendChild(element);
|
7476 |
-
var supports = getComputedStyle && getComputedStyle(element, '').pointerEvents === 'auto';
|
7477 |
element.remove();
|
7478 |
return !!supports;
|
7479 |
}();
|
1017 |
|
1018 |
var mejs = {};
|
1019 |
|
1020 |
+
mejs.version = '4.2.9';
|
1021 |
|
1022 |
mejs.html5media = {
|
1023 |
properties: ['volume', 'src', 'currentTime', 'muted', 'duration', 'paused', 'ended', 'buffered', 'error', 'networkState', 'readyState', 'seeking', 'seekable', 'currentSrc', 'preload', 'bufferedBytes', 'bufferedTime', 'initialTime', 'startOffsetTime', 'defaultPlaybackRate', 'playbackRate', 'played', 'autoplay', 'loop', 'controls'],
|
1248 |
|
1249 |
t.exitFullscreenCallback = function (e) {
|
1250 |
var key = e.which || e.keyCode || 0;
|
1251 |
+
if (t.options.enableKeyboard && key === 27 && (Features.HAS_TRUE_NATIVE_FULLSCREEN && Features.IS_FULLSCREEN || t.isFullScreen)) {
|
1252 |
player.exitFullScreen();
|
1253 |
}
|
1254 |
};
|
1302 |
isNative = t.media.rendererName !== null && /(html5|native)/i.test(t.media.rendererName),
|
1303 |
containerStyles = getComputedStyle(t.getElement(t.container));
|
1304 |
|
1305 |
+
if (!t.isVideo) {
|
1306 |
+
return;
|
1307 |
+
}
|
1308 |
+
|
1309 |
if (t.options.useFakeFullscreen === false && Features.IS_IOS && Features.HAS_IOS_FULLSCREEN && typeof t.media.originalNode.webkitEnterFullscreen === 'function' && t.media.originalNode.canPlayType((0, _media.getTypeFromFile)(t.media.getSrc()))) {
|
1310 |
t.media.originalNode.webkitEnterFullscreen();
|
1311 |
return;
|
1394 |
var t = this,
|
1395 |
isNative = t.media.rendererName !== null && /(native|html5)/i.test(t.media.rendererName);
|
1396 |
|
1397 |
+
if (!t.isVideo) {
|
1398 |
+
return;
|
1399 |
+
}
|
1400 |
+
|
1401 |
clearTimeout(t.containerSizeTimeout);
|
1402 |
|
1403 |
if (Features.HAS_TRUE_NATIVE_FULLSCREEN && (Features.IS_FULLSCREEN || t.isFullScreen)) {
|
1786 |
handleMouseup = function handleMouseup() {
|
1787 |
if (mouseIsDown && t.getCurrentTime() !== null && t.newTime.toFixed(4) !== t.getCurrentTime().toFixed(4)) {
|
1788 |
t.setCurrentTime(t.newTime);
|
1789 |
+
t.setCurrentRailHandle(t.newTime);
|
1790 |
t.updateCurrent(t.newTime);
|
1791 |
}
|
1792 |
if (t.forcedHandlePause) {
|
1807 |
startedPaused = t.paused;
|
1808 |
}
|
1809 |
|
1810 |
+
if (t.options.enableKeyboard && t.options.keyActions.length) {
|
1811 |
|
1812 |
var keyCode = e.which || e.keyCode || 0,
|
1813 |
duration = t.getDuration(),
|
2186 |
|
2187 |
var duration = t.getDuration();
|
2188 |
|
2189 |
+
if (t.media !== undefined && (isNaN(duration) || duration === Infinity || duration < 0)) {
|
2190 |
t.media.duration = t.options.duration = duration = 0;
|
2191 |
}
|
2192 |
|
3226 |
mouseIsOver = false;
|
3227 |
});
|
3228 |
mute.addEventListener('keydown', function (e) {
|
3229 |
+
if (t.options.enableKeyboard && t.options.keyActions.length) {
|
3230 |
var keyCode = e.which || e.keyCode || 0,
|
3231 |
volume = media.volume;
|
3232 |
|
5175 |
|
5176 |
delete t.node.autoplay;
|
5177 |
|
5178 |
+
t.node.setAttribute('src', '');
|
5179 |
if (t.media.canPlayType((0, _media.getTypeFromFile)(src)) !== '') {
|
5180 |
t.node.setAttribute('src', src);
|
5181 |
}
|
5182 |
|
5183 |
+
if (rendererName && rendererName.indexOf('iframe') > -1) {
|
5184 |
var layer = _document2.default.getElementById(t.media.id + '-iframe-overlay');
|
5185 |
layer.remove();
|
5186 |
}
|
5227 |
t.getElement(t.container).parentNode.insertBefore(t.node, t.getElement(t.container));
|
5228 |
}
|
5229 |
|
5230 |
+
if (t.media.renderer && typeof t.media.renderer.destroy === 'function') {
|
5231 |
t.media.renderer.destroy();
|
5232 |
}
|
5233 |
|
5452 |
get: function get() {
|
5453 |
return this.getDuration();
|
5454 |
}
|
5455 |
+
}, {
|
5456 |
+
key: 'remainingTime',
|
5457 |
+
get: function get() {
|
5458 |
+
return this.getDuration() - this.currentTime();
|
5459 |
+
}
|
5460 |
}, {
|
5461 |
key: 'volume',
|
5462 |
set: function set(volume) {
|
7487 |
element.style.pointerEvents = 'auto';
|
7488 |
element.style.pointerEvents = 'x';
|
7489 |
documentElement.appendChild(element);
|
7490 |
+
var supports = getComputedStyle && (getComputedStyle(element, '') || {}).pointerEvents === 'auto';
|
7491 |
element.remove();
|
7492 |
return !!supports;
|
7493 |
}();
|
public/assets/mediaelement/mediaelement-and-player.min.js
CHANGED
@@ -9,4 +9,4 @@
|
|
9 |
* License: MIT
|
10 |
*
|
11 |
*/
|
12 |
-
!function e(t,n,i){function o(a,s){if(!n[a]){if(!t[a]){var l="function"==typeof require&&require;if(!s&&l)return l(a,!0);if(r)return r(a,!0);var d=new Error("Cannot find module '"+a+"'");throw d.code="MODULE_NOT_FOUND",d}var u=n[a]={exports:{}};t[a][0].call(u.exports,function(e){var n=t[a][1][e];return o(n||e)},u,u.exports,e,t,n,i)}return n[a].exports}for(var r="function"==typeof require&&require,a=0;a<i.length;a++)o(i[a]);return o}({1:[function(e,t,n){},{}],2:[function(e,t,n){(function(n){var i,o=void 0!==n?n:"undefined"!=typeof window?window:{},r=e(1);"undefined"!=typeof document?i=document:(i=o["__GLOBAL_DOCUMENT_CACHE@4"])||(i=o["__GLOBAL_DOCUMENT_CACHE@4"]=r),t.exports=i}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{1:1}],3:[function(e,t,n){(function(e){var n;n="undefined"!=typeof window?window:void 0!==e?e:"undefined"!=typeof self?self:{},t.exports=n}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],4:[function(e,t,n){!function(e){function n(){}function i(e){if("object"!=typeof this)throw new TypeError("Promises must be constructed via new");if("function"!=typeof e)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],l(e,this)}function o(e,t){for(;3===e._state;)e=e._value;0!==e._state?(e._handled=!0,i._immediateFn(function(){var n=1===e._state?t.onFulfilled:t.onRejected;if(null!==n){var i;try{i=n(e._value)}catch(e){return void a(t.promise,e)}r(t.promise,i)}else(1===e._state?r:a)(t.promise,e._value)})):e._deferreds.push(t)}function r(e,t){try{if(t===e)throw new TypeError("A promise cannot be resolved with itself.");if(t&&("object"==typeof t||"function"==typeof t)){var n=t.then;if(t instanceof i)return e._state=3,e._value=t,void s(e);if("function"==typeof n)return void l(function(e,t){return function(){e.apply(t,arguments)}}(n,t),e)}e._state=1,e._value=t,s(e)}catch(t){a(e,t)}}function a(e,t){e._state=2,e._value=t,s(e)}function s(e){2===e._state&&0===e._deferreds.length&&i._immediateFn(function(){e._handled||i._unhandledRejectionFn(e._value)});for(var t=0,n=e._deferreds.length;t<n;t++)o(e,e._deferreds[t]);e._deferreds=null}function l(e,t){var n=!1;try{e(function(e){n||(n=!0,r(t,e))},function(e){n||(n=!0,a(t,e))})}catch(e){if(n)return;n=!0,a(t,e)}}var d=setTimeout;i.prototype.catch=function(e){return this.then(null,e)},i.prototype.then=function(e,t){var i=new this.constructor(n);return o(this,new function(e,t,n){this.onFulfilled="function"==typeof e?e:null,this.onRejected="function"==typeof t?t:null,this.promise=n}(e,t,i)),i},i.all=function(e){var t=Array.prototype.slice.call(e);return new i(function(e,n){function i(r,a){try{if(a&&("object"==typeof a||"function"==typeof a)){var s=a.then;if("function"==typeof s)return void s.call(a,function(e){i(r,e)},n)}t[r]=a,0==--o&&e(t)}catch(e){n(e)}}if(0===t.length)return e([]);for(var o=t.length,r=0;r<t.length;r++)i(r,t[r])})},i.resolve=function(e){return e&&"object"==typeof e&&e.constructor===i?e:new i(function(t){t(e)})},i.reject=function(e){return new i(function(t,n){n(e)})},i.race=function(e){return new i(function(t,n){for(var i=0,o=e.length;i<o;i++)e[i].then(t,n)})},i._immediateFn="function"==typeof setImmediate&&function(e){setImmediate(e)}||function(e){d(e,0)},i._unhandledRejectionFn=function(e){"undefined"!=typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",e)},i._setImmediateFn=function(e){i._immediateFn=e},i._setUnhandledRejectionFn=function(e){i._unhandledRejectionFn=e},void 0!==t&&t.exports?t.exports=i:e.Promise||(e.Promise=i)}(this)},{}],5:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=function(e){return e&&e.__esModule?e:{default:e}}(e(7)),r=e(15),a=e(27),s={lang:"en",en:r.EN};s.language=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];if(null!==t&&void 0!==t&&t.length){if("string"!=typeof t[0])throw new TypeError("Language code must be a string value");if(!/^[a-z]{2,3}((\-|_)[a-z]{2})?$/i.test(t[0]))throw new TypeError("Language code must have format 2-3 letters and. optionally, hyphen, underscore followed by 2 more letters");s.lang=t[0],void 0===s[t[0]]?(t[1]=null!==t[1]&&void 0!==t[1]&&"object"===i(t[1])?t[1]:{},s[t[0]]=(0,a.isObjectEmpty)(t[1])?r.EN:t[1]):null!==t[1]&&void 0!==t[1]&&"object"===i(t[1])&&(s[t[0]]=t[1])}return s.lang},s.t=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if("string"==typeof e&&e.length){var n=void 0,o=void 0,r=s.language(),l=function(e,t,n){if("object"!==(void 0===e?"undefined":i(e))||"number"!=typeof t||"number"!=typeof n)return e;return[function(){return arguments.length<=1?void 0:arguments[1]},function(){return 1===(arguments.length<=0?void 0:arguments[0])?arguments.length<=1?void 0:arguments[1]:arguments.length<=2?void 0:arguments[2]},function(){return 0===(arguments.length<=0?void 0:arguments[0])||1===(arguments.length<=0?void 0:arguments[0])?arguments.length<=1?void 0:arguments[1]:arguments.length<=2?void 0:arguments[2]},function(){return(arguments.length<=0?void 0:arguments[0])%10==1&&(arguments.length<=0?void 0:arguments[0])%100!=11?arguments.length<=1?void 0:arguments[1]:0!==(arguments.length<=0?void 0:arguments[0])?arguments.length<=2?void 0:arguments[2]:arguments.length<=3?void 0:arguments[3]},function(){return 1===(arguments.length<=0?void 0:arguments[0])||11===(arguments.length<=0?void 0:arguments[0])?arguments.length<=1?void 0:arguments[1]:2===(arguments.length<=0?void 0:arguments[0])||12===(arguments.length<=0?void 0:arguments[0])?arguments.length<=2?void 0:arguments[2]:(arguments.length<=0?void 0:arguments[0])>2&&(arguments.length<=0?void 0:arguments[0])<20?arguments.length<=3?void 0:arguments[3]:arguments.length<=4?void 0:arguments[4]},function(){return 1===(arguments.length<=0?void 0:arguments[0])?arguments.length<=1?void 0:arguments[1]:0===(arguments.length<=0?void 0:arguments[0])||(arguments.length<=0?void 0:arguments[0])%100>0&&(arguments.length<=0?void 0:arguments[0])%100<20?arguments.length<=2?void 0:arguments[2]:arguments.length<=3?void 0:arguments[3]},function(){return(arguments.length<=0?void 0:arguments[0])%10==1&&(arguments.length<=0?void 0:arguments[0])%100!=11?arguments.length<=1?void 0:arguments[1]:(arguments.length<=0?void 0:arguments[0])%10>=2&&((arguments.length<=0?void 0:arguments[0])%100<10||(arguments.length<=0?void 0:arguments[0])%100>=20)?arguments.length<=2?void 0:arguments[2]:[3]},function(){return(arguments.length<=0?void 0:arguments[0])%10==1&&(arguments.length<=0?void 0:arguments[0])%100!=11?arguments.length<=1?void 0:arguments[1]:(arguments.length<=0?void 0:arguments[0])%10>=2&&(arguments.length<=0?void 0:arguments[0])%10<=4&&((arguments.length<=0?void 0:arguments[0])%100<10||(arguments.length<=0?void 0:arguments[0])%100>=20)?arguments.length<=2?void 0:arguments[2]:arguments.length<=3?void 0:arguments[3]},function(){return 1===(arguments.length<=0?void 0:arguments[0])?arguments.length<=1?void 0:arguments[1]:(arguments.length<=0?void 0:arguments[0])>=2&&(arguments.length<=0?void 0:arguments[0])<=4?arguments.length<=2?void 0:arguments[2]:arguments.length<=3?void 0:arguments[3]},function(){return 1===(arguments.length<=0?void 0:arguments[0])?arguments.length<=1?void 0:arguments[1]:(arguments.length<=0?void 0:arguments[0])%10>=2&&(arguments.length<=0?void 0:arguments[0])%10<=4&&((arguments.length<=0?void 0:arguments[0])%100<10||(arguments.length<=0?void 0:arguments[0])%100>=20)?arguments.length<=2?void 0:arguments[2]:arguments.length<=3?void 0:arguments[3]},function(){return(arguments.length<=0?void 0:arguments[0])%100==1?arguments.length<=2?void 0:arguments[2]:(arguments.length<=0?void 0:arguments[0])%100==2?arguments.length<=3?void 0:arguments[3]:(arguments.length<=0?void 0:arguments[0])%100==3||(arguments.length<=0?void 0:arguments[0])%100==4?arguments.length<=4?void 0:arguments[4]:arguments.length<=1?void 0:arguments[1]},function(){return 1===(arguments.length<=0?void 0:arguments[0])?arguments.length<=1?void 0:arguments[1]:2===(arguments.length<=0?void 0:arguments[0])?arguments.length<=2?void 0:arguments[2]:(arguments.length<=0?void 0:arguments[0])>2&&(arguments.length<=0?void 0:arguments[0])<7?arguments.length<=3?void 0:arguments[3]:(arguments.length<=0?void 0:arguments[0])>6&&(arguments.length<=0?void 0:arguments[0])<11?arguments.length<=4?void 0:arguments[4]:arguments.length<=5?void 0:arguments[5]},function(){return 0===(arguments.length<=0?void 0:arguments[0])?arguments.length<=1?void 0:arguments[1]:1===(arguments.length<=0?void 0:arguments[0])?arguments.length<=2?void 0:arguments[2]:2===(arguments.length<=0?void 0:arguments[0])?arguments.length<=3?void 0:arguments[3]:(arguments.length<=0?void 0:arguments[0])%100>=3&&(arguments.length<=0?void 0:arguments[0])%100<=10?arguments.length<=4?void 0:arguments[4]:(arguments.length<=0?void 0:arguments[0])%100>=11?arguments.length<=5?void 0:arguments[5]:arguments.length<=6?void 0:arguments[6]},function(){return 1===(arguments.length<=0?void 0:arguments[0])?arguments.length<=1?void 0:arguments[1]:0===(arguments.length<=0?void 0:arguments[0])||(arguments.length<=0?void 0:arguments[0])%100>1&&(arguments.length<=0?void 0:arguments[0])%100<11?arguments.length<=2?void 0:arguments[2]:(arguments.length<=0?void 0:arguments[0])%100>10&&(arguments.length<=0?void 0:arguments[0])%100<20?arguments.length<=3?void 0:arguments[3]:arguments.length<=4?void 0:arguments[4]},function(){return(arguments.length<=0?void 0:arguments[0])%10==1?arguments.length<=1?void 0:arguments[1]:(arguments.length<=0?void 0:arguments[0])%10==2?arguments.length<=2?void 0:arguments[2]:arguments.length<=3?void 0:arguments[3]},function(){return 11!==(arguments.length<=0?void 0:arguments[0])&&(arguments.length<=0?void 0:arguments[0])%10==1?arguments.length<=1?void 0:arguments[1]:arguments.length<=2?void 0:arguments[2]},function(){return 1===(arguments.length<=0?void 0:arguments[0])?arguments.length<=1?void 0:arguments[1]:(arguments.length<=0?void 0:arguments[0])%10>=2&&(arguments.length<=0?void 0:arguments[0])%10<=4&&((arguments.length<=0?void 0:arguments[0])%100<10||(arguments.length<=0?void 0:arguments[0])%100>=20)?arguments.length<=2?void 0:arguments[2]:arguments.length<=3?void 0:arguments[3]},function(){return 1===(arguments.length<=0?void 0:arguments[0])?arguments.length<=1?void 0:arguments[1]:2===(arguments.length<=0?void 0:arguments[0])?arguments.length<=2?void 0:arguments[2]:8!==(arguments.length<=0?void 0:arguments[0])&&11!==(arguments.length<=0?void 0:arguments[0])?arguments.length<=3?void 0:arguments[3]:arguments.length<=4?void 0:arguments[4]},function(){return 0===(arguments.length<=0?void 0:arguments[0])?arguments.length<=1?void 0:arguments[1]:arguments.length<=2?void 0:arguments[2]},function(){return 1===(arguments.length<=0?void 0:arguments[0])?arguments.length<=1?void 0:arguments[1]:2===(arguments.length<=0?void 0:arguments[0])?arguments.length<=2?void 0:arguments[2]:3===(arguments.length<=0?void 0:arguments[0])?arguments.length<=3?void 0:arguments[3]:arguments.length<=4?void 0:arguments[4]},function(){return 0===(arguments.length<=0?void 0:arguments[0])?arguments.length<=1?void 0:arguments[1]:1===(arguments.length<=0?void 0:arguments[0])?arguments.length<=2?void 0:arguments[2]:arguments.length<=3?void 0:arguments[3]}][n].apply(null,[t].concat(e))};return void 0!==s[r]&&(n=s[r][e],null!==t&&"number"==typeof t&&(o=s[r]["mejs.plural-form"],n=l.apply(null,[n,t,o]))),!n&&s.en&&(n=s.en[e],null!==t&&"number"==typeof t&&(o=s.en["mejs.plural-form"],n=l.apply(null,[n,t,o]))),n=n||e,null!==t&&"number"==typeof t&&(n=n.replace("%1",t)),(0,a.escapeHTML)(n)}return e},o.default.i18n=s,"undefined"!=typeof mejsL10n&&o.default.i18n.language(mejsL10n.language,mejsL10n.strings),n.default=s},{15:15,27:27,7:7}],6:[function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0});var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r=i(e(3)),a=i(e(2)),s=i(e(7)),l=e(27),d=e(28),u=e(8),c=e(25),f=function e(t,n,i){var f=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e);var p=this;i=Array.isArray(i)?i:null,p.defaults={renderers:[],fakeNodeName:"mediaelementwrapper",pluginPath:"build/",shimScriptAccess:"sameDomain"},n=Object.assign(p.defaults,n),p.mediaElement=a.default.createElement(n.fakeNodeName);var m=t,h=!1;if("string"==typeof t?p.mediaElement.originalNode=a.default.getElementById(t):(p.mediaElement.originalNode=t,m=t.id),void 0===p.mediaElement.originalNode||null===p.mediaElement.originalNode)return null;p.mediaElement.options=n,m=m||"mejs_"+Math.random().toString().slice(2),p.mediaElement.originalNode.setAttribute("id",m+"_from_mejs");var v=p.mediaElement.originalNode.tagName.toLowerCase();["video","audio"].indexOf(v)>-1&&!p.mediaElement.originalNode.getAttribute("preload")&&p.mediaElement.originalNode.setAttribute("preload","none"),p.mediaElement.originalNode.parentNode.insertBefore(p.mediaElement,p.mediaElement.originalNode),p.mediaElement.appendChild(p.mediaElement.originalNode);var g=function(e,t){if("https:"===r.default.location.protocol&&0===e.indexOf("http:")&&c.IS_IOS&&s.default.html5media.mediaTypes.indexOf(t)>-1){var n=new XMLHttpRequest;n.onreadystatechange=function(){if(4===this.readyState&&200===this.status){var t=(r.default.URL||r.default.webkitURL).createObjectURL(this.response);return p.mediaElement.originalNode.setAttribute("src",t),t}return e},n.open("GET",e),n.responseType="blob",n.send()}return e},y=void 0;if(null!==i)y=i;else if(null!==p.mediaElement.originalNode)switch(y=[],p.mediaElement.originalNode.nodeName.toLowerCase()){case"iframe":y.push({type:"",src:p.mediaElement.originalNode.getAttribute("src")});break;case"audio":case"video":var E=p.mediaElement.originalNode.children.length,b=p.mediaElement.originalNode.getAttribute("src");if(b){var S=p.mediaElement.originalNode,x=(0,d.formatType)(b,S.getAttribute("type"));y.push({type:x,src:g(b,x)})}for(var w=0;w<E;w++){var P=p.mediaElement.originalNode.children[w];if("source"===P.tagName.toLowerCase()){var T=P.getAttribute("src"),C=(0,d.formatType)(T,P.getAttribute("type"));y.push({type:C,src:g(T,C)})}}}p.mediaElement.id=m,p.mediaElement.renderers={},p.mediaElement.events={},p.mediaElement.promises=[],p.mediaElement.renderer=null,p.mediaElement.rendererName=null,p.mediaElement.changeRenderer=function(e,t){var n=f,i=Object.keys(t[0]).length>2?t[0]:t[0].src;if(void 0!==n.mediaElement.renderer&&null!==n.mediaElement.renderer&&n.mediaElement.renderer.name===e)return n.mediaElement.renderer.pause(),n.mediaElement.renderer.stop&&n.mediaElement.renderer.stop(),n.mediaElement.renderer.show(),n.mediaElement.renderer.setSrc(i),!0;void 0!==n.mediaElement.renderer&&null!==n.mediaElement.renderer&&(n.mediaElement.renderer.pause(),n.mediaElement.renderer.stop&&n.mediaElement.renderer.stop(),n.mediaElement.renderer.hide());var o=n |