Version Description
- New: Support for Yoast breadcrumbs.
- Tweak: Optimized WP_Query for fast output.
- Fix: [+] few minor bug fixes.
Download this release
Release Info
Developer | plugins360 |
Plugin | ![]() |
Version | 1.6.2 |
Comparing to | |
See all releases |
Code changes from version 1.6.1 to 1.6.2
- README.txt +15 -2
- admin/admin.php +8 -0
- admin/assets/css/admin.css +42 -3
- admin/partials/category-image.php +6 -6
- admin/partials/shortcode-builder.php +48 -41
- admin/partials/video-sources.php +40 -40
- admin/partials/video-submitbox.php +3 -3
- admin/partials/video-tracks.php +20 -20
- admin/partials/welcome.php +41 -17
- admin/shortcode-builder.php +22 -2
- admin/videos.php +17 -12
- admin/welcome.php +10 -0
- all-in-one-video-gallery.php +2 -2
- includes/functions.php +31 -7
- includes/init.php +1 -0
- languages/all-in-one-video-gallery.pot +779 -332
- public/assets/mediaelement/renderers/soundcloud.js +0 -307
- public/assets/mediaelement/renderers/soundcloud.min.js +0 -12
- public/assets/mediaelement/renderers/twitch.js +0 -374
- public/assets/mediaelement/renderers/twitch.min.js +0 -12
- public/public.php +46 -0
- public/templates/categories-template-grid.php +2 -2
- public/templates/categories-template-list.php +2 -1
- public/templates/category-thumbnail.php +4 -4
- public/templates/player-gdpr.php +1 -1
- public/templates/player-html5.php +1 -1
- public/templates/search-form-template-horizontal.php +3 -3
- public/templates/search-form-template-vertical.php +3 -3
- public/templates/single-video.php +5 -5
- public/templates/video-thumbnail-image-left.php +7 -7
- public/templates/video-thumbnail.php +7 -7
- public/templates/videos-template-classic.php +2 -2
- public/video.php +15 -9
- widgets/forms/categories.php +29 -29
- widgets/forms/search.php +8 -8
- widgets/forms/video.php +51 -43
- widgets/forms/videos.php +13 -13
- widgets/video.php +17 -8
README.txt
CHANGED
@@ -4,9 +4,9 @@ Contributors: plugins360, freemius
|
|
4 |
Donate link: https://plugins360.com
|
5 |
Tags: player, youtube, vimeo, live, vlog
|
6 |
Requires at least: 4.4.0
|
7 |
-
Tested up to: 5.
|
8 |
Requires PHP: 5.3.0
|
9 |
-
Stable tag: 1.6.
|
10 |
License: GPLv2 or later
|
11 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
12 |
|
@@ -42,6 +42,7 @@ https://www.youtube.com/watch?v=w47PU9ppuF8
|
|
42 |
|
43 |
**Premium Features**
|
44 |
|
|
|
45 |
* Custom Logo & Branding
|
46 |
* Custom Context Menu
|
47 |
* HLS / M(PEG)-Dash
|
@@ -92,6 +93,12 @@ Most likely rewrite rules were not registered properly for some reason. Go to "W
|
|
92 |
|
93 |
== Changelog ==
|
94 |
|
|
|
|
|
|
|
|
|
|
|
|
|
95 |
= 1.6.1 =
|
96 |
|
97 |
* New: Option to delete or NOT delete the associated media files when a video post or video category is deleted.
|
@@ -182,6 +189,12 @@ Most likely rewrite rules were not registered properly for some reason. Go to "W
|
|
182 |
|
183 |
== Upgrade Notice ==
|
184 |
|
|
|
|
|
|
|
|
|
|
|
|
|
185 |
= 1.6.1 =
|
186 |
|
187 |
* New: Option to delete or NOT delete the associated media files when a video post or video category is deleted.
|
4 |
Donate link: https://plugins360.com
|
5 |
Tags: player, youtube, vimeo, live, vlog
|
6 |
Requires at least: 4.4.0
|
7 |
+
Tested up to: 5.2
|
8 |
Requires PHP: 5.3.0
|
9 |
+
Stable tag: 1.6.2
|
10 |
License: GPLv2 or later
|
11 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
12 |
|
42 |
|
43 |
**Premium Features**
|
44 |
|
45 |
+
* Auto import videos from YouTube playlist, channel, etc.
|
46 |
* Custom Logo & Branding
|
47 |
* Custom Context Menu
|
48 |
* HLS / M(PEG)-Dash
|
93 |
|
94 |
== Changelog ==
|
95 |
|
96 |
+
= 1.6.2 =
|
97 |
+
|
98 |
+
* New: Support for Yoast breadcrumbs.
|
99 |
+
* Tweak: Optimized WP_Query for fast output.
|
100 |
+
* Fix: [+] few minor bug fixes.
|
101 |
+
|
102 |
= 1.6.1 =
|
103 |
|
104 |
* New: Option to delete or NOT delete the associated media files when a video post or video category is deleted.
|
189 |
|
190 |
== Upgrade Notice ==
|
191 |
|
192 |
+
= 1.6.2 =
|
193 |
+
|
194 |
+
* New: Support for Yoast breadcrumbs.
|
195 |
+
* Tweak: Optimized WP_Query for fast output.
|
196 |
+
* Fix: [+] few minor bug fixes.
|
197 |
+
|
198 |
= 1.6.1 =
|
199 |
|
200 |
* New: Option to delete or NOT delete the associated media files when a video post or video category is deleted.
|
admin/admin.php
CHANGED
@@ -144,6 +144,14 @@ class AIOVG_Admin {
|
|
144 |
AIOVG_PLUGIN_VERSION,
|
145 |
false
|
146 |
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
147 |
}
|
148 |
|
149 |
/**
|
144 |
AIOVG_PLUGIN_VERSION,
|
145 |
false
|
146 |
);
|
147 |
+
|
148 |
+
wp_localize_script(
|
149 |
+
AIOVG_PLUGIN_SLUG . '-admin',
|
150 |
+
'aiovg_admin',
|
151 |
+
array(
|
152 |
+
'ajax_nonce' => wp_create_nonce( 'aiovg_admin_ajax_nonce' )
|
153 |
+
)
|
154 |
+
);
|
155 |
}
|
156 |
|
157 |
/**
|
admin/assets/css/admin.css
CHANGED
@@ -3,6 +3,10 @@
|
|
3 |
* Global
|
4 |
*
|
5 |
*--------------------------------------------------------------------------------------------*/
|
|
|
|
|
|
|
|
|
6 |
.aiovg-no-border {
|
7 |
border: 0 none;
|
8 |
}
|
@@ -44,14 +48,40 @@
|
|
44 |
}
|
45 |
|
46 |
.aiovg-upgrade-link,
|
47 |
-
.aiovg-upgrade-link:hover
|
|
|
48 |
color: green;
|
49 |
}
|
50 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
51 |
@media (max-width: 767px) {
|
52 |
.aiovg-hidden-xs {
|
53 |
display: none !important;
|
54 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
55 |
}
|
56 |
|
57 |
@media (min-width: 768px) and (max-width: 991px) {
|
@@ -82,6 +112,15 @@
|
|
82 |
background: #0073aa url( '../images/logo.png' ) no-repeat top;
|
83 |
}
|
84 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
85 |
/*----------------------------------------------------------------------------------------------
|
86 |
*
|
87 |
* Videos
|
@@ -372,7 +411,7 @@ table.aiovg-table .aiovg-handle {
|
|
372 |
}
|
373 |
|
374 |
.aiovg-widget-form .aiovg-widget-field {
|
375 |
-
margin:
|
376 |
}
|
377 |
|
378 |
.aiovg-widget-form .aiovg-widget-label {
|
3 |
* Global
|
4 |
*
|
5 |
*--------------------------------------------------------------------------------------------*/
|
6 |
+
.aiovg-text-center {
|
7 |
+
text-align: center;
|
8 |
+
}
|
9 |
+
|
10 |
.aiovg-no-border {
|
11 |
border: 0 none;
|
12 |
}
|
48 |
}
|
49 |
|
50 |
.aiovg-upgrade-link,
|
51 |
+
.aiovg-upgrade-link:hover,
|
52 |
+
.aiovg-text-success {
|
53 |
color: green;
|
54 |
}
|
55 |
|
56 |
+
.aiovg-notice {
|
57 |
+
padding: 5px;
|
58 |
+
border-radius: 2px;
|
59 |
+
}
|
60 |
+
|
61 |
+
.aiovg-notice-error {
|
62 |
+
background-color: #f2dede;
|
63 |
+
border: 1px solid #ebccd1;
|
64 |
+
color: #a94442;
|
65 |
+
}
|
66 |
+
|
67 |
+
.aiovg-notice-success {
|
68 |
+
background-color: #dff0d8;
|
69 |
+
border: 1px solid #d6e9c6;
|
70 |
+
color: #3c763d;
|
71 |
+
}
|
72 |
+
|
73 |
@media (max-width: 767px) {
|
74 |
.aiovg-hidden-xs {
|
75 |
display: none !important;
|
76 |
+
}
|
77 |
+
|
78 |
+
.aiovg-checklist {
|
79 |
+
padding: 3px 10px;
|
80 |
+
}
|
81 |
+
|
82 |
+
.aiovg-checklist li {
|
83 |
+
margin: 7px 0;
|
84 |
+
}
|
85 |
}
|
86 |
|
87 |
@media (min-width: 768px) and (max-width: 991px) {
|
112 |
background: #0073aa url( '../images/logo.png' ) no-repeat top;
|
113 |
}
|
114 |
|
115 |
+
#aiovg-welcome .dashicons-info {
|
116 |
+
color: #ca4a1f;
|
117 |
+
}
|
118 |
+
|
119 |
+
#aiovg-welcome .dashicons-awards {
|
120 |
+
font-size: 30px;
|
121 |
+
margin-right: 10px;
|
122 |
+
}
|
123 |
+
|
124 |
/*----------------------------------------------------------------------------------------------
|
125 |
*
|
126 |
* Videos
|
411 |
}
|
412 |
|
413 |
.aiovg-widget-form .aiovg-widget-field {
|
414 |
+
margin: 15px 0;
|
415 |
}
|
416 |
|
417 |
.aiovg-widget-form .aiovg-widget-label {
|
admin/partials/category-image.php
CHANGED
@@ -12,18 +12,18 @@
|
|
12 |
|
13 |
<?php if ( 'add' == $form ) : ?>
|
14 |
<div class="form-field term-group">
|
15 |
-
<label for="aiovg-categories-image-id"><?php
|
16 |
<input type="hidden" name="image_id" id="aiovg-categories-image-id" />
|
17 |
<div id="aiovg-categories-image-wrapper"></div>
|
18 |
<p>
|
19 |
-
<input type="button" id="aiovg-categories-upload-image" class="button button-secondary" value="<?php
|
20 |
-
<input type="button" id="aiovg-categories-remove-image" class="button button-secondary" value="<?php
|
21 |
</p>
|
22 |
</div>
|
23 |
<?php elseif ( 'edit' == $form ) : ?>
|
24 |
<tr class="form-field term-group-wrap">
|
25 |
<th scope="row">
|
26 |
-
<label for="aiovg-categories-image-id"><?php
|
27 |
</th>
|
28 |
<td>
|
29 |
<input type="hidden" name="image_id" id="aiovg-categories-image-id" value="<?php echo esc_attr( $image_id ); ?>" />
|
@@ -33,8 +33,8 @@
|
|
33 |
<?php endif; ?>
|
34 |
</div>
|
35 |
<p>
|
36 |
-
<input type="button" id="aiovg-categories-upload-image" class="button button-secondary" value="<?php
|
37 |
-
<input type="button" id="aiovg-categories-remove-image" class="button button-secondary" value="<?php
|
38 |
</p>
|
39 |
</td>
|
40 |
</tr>
|
12 |
|
13 |
<?php if ( 'add' == $form ) : ?>
|
14 |
<div class="form-field term-group">
|
15 |
+
<label for="aiovg-categories-image-id"><?php esc_html_e( 'Image', 'all-in-one-video-gallery' ); ?></label>
|
16 |
<input type="hidden" name="image_id" id="aiovg-categories-image-id" />
|
17 |
<div id="aiovg-categories-image-wrapper"></div>
|
18 |
<p>
|
19 |
+
<input type="button" id="aiovg-categories-upload-image" class="button button-secondary" value="<?php esc_attr_e( 'Add Image', 'all-in-one-video-gallery' ); ?>" />
|
20 |
+
<input type="button" id="aiovg-categories-remove-image" class="button button-secondary" value="<?php esc_attr_e( 'Remove Image', 'all-in-one-video-gallery' ); ?>" style="display: none;" />
|
21 |
</p>
|
22 |
</div>
|
23 |
<?php elseif ( 'edit' == $form ) : ?>
|
24 |
<tr class="form-field term-group-wrap">
|
25 |
<th scope="row">
|
26 |
+
<label for="aiovg-categories-image-id"><?php esc_html_e( 'Image', 'all-in-one-video-gallery' ); ?></label>
|
27 |
</th>
|
28 |
<td>
|
29 |
<input type="hidden" name="image_id" id="aiovg-categories-image-id" value="<?php echo esc_attr( $image_id ); ?>" />
|
33 |
<?php endif; ?>
|
34 |
</div>
|
35 |
<p>
|
36 |
+
<input type="button" id="aiovg-categories-upload-image" class="button button-secondary" value="<?php esc_attr_e( 'Add Image', 'all-in-one-video-gallery' ); ?>" <?php if ( $image_url ) echo 'style="display: none;"'; ?>/>
|
37 |
+
<input type="button" id="aiovg-categories-remove-image" class="button button-secondary" value="<?php esc_attr_e( 'Remove Image', 'all-in-one-video-gallery' ); ?>" <?php if ( ! $image_url ) echo 'style="display: none;"'; ?>/>
|
38 |
</p>
|
39 |
</td>
|
40 |
</tr>
|
admin/partials/shortcode-builder.php
CHANGED
@@ -12,11 +12,11 @@
|
|
12 |
|
13 |
<div id="aiovg-shortcode-builder" class="aiovg-shortcode-builder mfp-hide">
|
14 |
<div id="aiovg-shortcode-form" class="aiovg-shortcode-form">
|
15 |
-
<p><?php
|
16 |
|
17 |
<!-- Shortcodes -->
|
18 |
<div class="aiovg-shortcode-selector">
|
19 |
-
<label class="aiovg-shortcode-label" for="aiovg-shortcode-type"><?php
|
20 |
<select id="aiovg-shortcode-type" class="widefat aiovg-shortcode-type">
|
21 |
<?php
|
22 |
foreach ( $shortcodes as $value => $label ) {
|
@@ -28,21 +28,21 @@
|
|
28 |
|
29 |
<!-- Fields -->
|
30 |
<?php foreach ( $shortcodes as $shortcode => $label ) : ?>
|
31 |
-
<div id="aiovg-shortcode-type-<?php
|
32 |
<?php foreach ( $fields[ $shortcode ] as $key => $section ) : ?>
|
33 |
-
<div class="aiovg-shortcode-section aiovg-shortcode-section-<?php
|
34 |
<div class="aiovg-shortcode-section-header"><?php echo wp_kses_post( $section['title'] ); ?></div>
|
35 |
|
36 |
<?php foreach ( $section['fields'] as $field ) : ?>
|
37 |
-
<div class="aiovg-shortcode-field aiovg-shortcode-field-<?php
|
38 |
<?php if ( 'category' == $field['type'] ) : ?>
|
39 |
-
<label class="aiovg-shortcode-label"><?php
|
40 |
<?php
|
41 |
wp_dropdown_categories( array(
|
42 |
-
'show_option_none' => '-- '.
|
43 |
'option_none_value' => 0,
|
44 |
'taxonomy' => 'aiovg_categories',
|
45 |
-
'name' => $field['name'],
|
46 |
'class' => "aiovg-shortcode-input widefat",
|
47 |
'orderby' => 'name',
|
48 |
'hierarchical' => true,
|
@@ -52,8 +52,8 @@
|
|
52 |
) );
|
53 |
?>
|
54 |
<?php elseif ( 'categories' == $field['type'] ) : ?>
|
55 |
-
<label class="aiovg-shortcode-label"><?php
|
56 |
-
<ul name="<?php
|
57 |
<?php
|
58 |
$args = array(
|
59 |
'taxonomy' => 'aiovg_categories',
|
@@ -65,36 +65,43 @@
|
|
65 |
?>
|
66 |
</ul>
|
67 |
<?php elseif ( 'video' == $field['type'] ) : ?>
|
68 |
-
<label class="aiovg-shortcode-label"><?php
|
69 |
-
<select name="<?php
|
70 |
-
<option value="0">-- <?php
|
71 |
<?php
|
72 |
-
$
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
'
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
90 |
?>
|
91 |
</select>
|
92 |
<?php elseif ( 'text' == $field['type'] || 'url' == $field['type'] || 'number' == $field['type'] ) : ?>
|
93 |
-
<label class="aiovg-shortcode-label"><?php
|
94 |
-
<input type="text" name="<?php
|
95 |
<?php elseif ( 'select' == $field['type'] ) : ?>
|
96 |
-
<label class="aiovg-shortcode-label"><?php
|
97 |
-
<select name="<?php
|
98 |
<?php
|
99 |
foreach ( $field['options'] as $value => $label ) {
|
100 |
printf( '<option value="%s"%s>%s</option>', esc_attr( $value ), selected( $value, $field['value'], false ), esc_html( $label ) );
|
@@ -103,12 +110,12 @@
|
|
103 |
</select>
|
104 |
<?php elseif ( 'checkbox' == $field['type'] ) : ?>
|
105 |
<label>
|
106 |
-
<input type="checkbox" name="<?php
|
107 |
-
<?php
|
108 |
</label>
|
109 |
<?php elseif ( 'color' == $field['type'] ) : ?>
|
110 |
-
<label class="aiovg-shortcode-label"><?php
|
111 |
-
<input type="text" name="<?php
|
112 |
<?php endif; ?>
|
113 |
|
114 |
<?php if ( ! empty( $field['description'] ) ) : // Description ?>
|
@@ -123,8 +130,8 @@
|
|
123 |
|
124 |
<!-- Action Buttons -->
|
125 |
<p class="submit">
|
126 |
-
<input type="button" id="aiovg-insert-shortcode" class="button-primary" value="<?php
|
127 |
-
<a id="aiovg-cancel-shortcode-insert" class="button-secondary"><?php
|
128 |
</p>
|
129 |
</div>
|
130 |
</div>
|
12 |
|
13 |
<div id="aiovg-shortcode-builder" class="aiovg-shortcode-builder mfp-hide">
|
14 |
<div id="aiovg-shortcode-form" class="aiovg-shortcode-form">
|
15 |
+
<p><?php esc_html_e( 'Use the form below to insert "All-in-One Video Gallery" plugin shortcodes.', 'all-in-one-video-gallery' ); ?></p>
|
16 |
|
17 |
<!-- Shortcodes -->
|
18 |
<div class="aiovg-shortcode-selector">
|
19 |
+
<label class="aiovg-shortcode-label" for="aiovg-shortcode-type"><?php esc_html_e( 'Shortcode Type', 'all-in-one-video-gallery' ); ?></label>
|
20 |
<select id="aiovg-shortcode-type" class="widefat aiovg-shortcode-type">
|
21 |
<?php
|
22 |
foreach ( $shortcodes as $value => $label ) {
|
28 |
|
29 |
<!-- Fields -->
|
30 |
<?php foreach ( $shortcodes as $shortcode => $label ) : ?>
|
31 |
+
<div id="aiovg-shortcode-type-<?php echo esc_attr( $shortcode ); ?>" class="aiovg-shortcode-type">
|
32 |
<?php foreach ( $fields[ $shortcode ] as $key => $section ) : ?>
|
33 |
+
<div class="aiovg-shortcode-section aiovg-shortcode-section-<?php echo esc_attr( $key ); ?>">
|
34 |
<div class="aiovg-shortcode-section-header"><?php echo wp_kses_post( $section['title'] ); ?></div>
|
35 |
|
36 |
<?php foreach ( $section['fields'] as $field ) : ?>
|
37 |
+
<div class="aiovg-shortcode-field aiovg-shortcode-field-<?php echo esc_attr( $field['name'] ); ?>">
|
38 |
<?php if ( 'category' == $field['type'] ) : ?>
|
39 |
+
<label class="aiovg-shortcode-label"><?php echo esc_html( $field['label'] ); ?></label>
|
40 |
<?php
|
41 |
wp_dropdown_categories( array(
|
42 |
+
'show_option_none' => '-- ' . esc_html__( 'Top Categories', 'all-in-one-video-gallery' ) . ' --',
|
43 |
'option_none_value' => 0,
|
44 |
'taxonomy' => 'aiovg_categories',
|
45 |
+
'name' => esc_attr( $field['name'] ),
|
46 |
'class' => "aiovg-shortcode-input widefat",
|
47 |
'orderby' => 'name',
|
48 |
'hierarchical' => true,
|
52 |
) );
|
53 |
?>
|
54 |
<?php elseif ( 'categories' == $field['type'] ) : ?>
|
55 |
+
<label class="aiovg-shortcode-label"><?php echo esc_html( $field['label'] ); ?></label>
|
56 |
+
<ul name="<?php echo esc_attr( $field['name'] ); ?>" class="aiovg-shortcode-input aiovg-checklist widefat" data-default="">
|
57 |
<?php
|
58 |
$args = array(
|
59 |
'taxonomy' => 'aiovg_categories',
|
65 |
?>
|
66 |
</ul>
|
67 |
<?php elseif ( 'video' == $field['type'] ) : ?>
|
68 |
+
<label class="aiovg-shortcode-label"><?php echo esc_html( $field['label'] ); ?></label>
|
69 |
+
<select name="<?php echo esc_attr( $field['name'] ); ?>" class="aiovg-shortcode-input widefat" data-default="<?php echo esc_attr( $field['value'] ); ?>">
|
70 |
+
<option value="0">-- <?php esc_html_e( 'Latest Video', 'all-in-one-video-gallery' ); ?> --</option>
|
71 |
<?php
|
72 |
+
$args = array(
|
73 |
+
'post_type' => 'aiovg_videos',
|
74 |
+
'post_status' => 'publish',
|
75 |
+
'posts_per_page' => 500,
|
76 |
+
'orderby' => 'title',
|
77 |
+
'order' => 'ASC',
|
78 |
+
'no_found_rows' => true,
|
79 |
+
'update_post_term_cache' => false,
|
80 |
+
'update_post_meta_cache' => false
|
81 |
+
);
|
82 |
+
|
83 |
+
$aiovg_query = new WP_Query( $args );
|
84 |
+
|
85 |
+
if ( $aiovg_query->have_posts() ) {
|
86 |
+
$posts = $aiovg_query->posts;
|
87 |
+
|
88 |
+
foreach ( $posts as $post ) {
|
89 |
+
printf(
|
90 |
+
'<option value="%d"%s>%s</option>',
|
91 |
+
$post->ID,
|
92 |
+
selected( $post->ID, $field['value'], false ),
|
93 |
+
esc_html( $post->post_title )
|
94 |
+
);
|
95 |
+
}
|
96 |
+
}
|
97 |
?>
|
98 |
</select>
|
99 |
<?php elseif ( 'text' == $field['type'] || 'url' == $field['type'] || 'number' == $field['type'] ) : ?>
|
100 |
+
<label class="aiovg-shortcode-label"><?php echo esc_html( $field['label'] ); ?></label>
|
101 |
+
<input type="text" name="<?php echo esc_attr( $field['name'] ); ?>" class="aiovg-shortcode-input widefat" value="<?php echo esc_attr( $field['value'] ); ?>" data-default="<?php echo esc_attr( $field['value'] ); ?>" />
|
102 |
<?php elseif ( 'select' == $field['type'] ) : ?>
|
103 |
+
<label class="aiovg-shortcode-label"><?php echo esc_html( $field['label'] ); ?></label>
|
104 |
+
<select name="<?php echo esc_attr( $field['name'] ); ?>" class="aiovg-shortcode-input widefat" data-default="<?php echo esc_attr( $field['value'] ); ?>">
|
105 |
<?php
|
106 |
foreach ( $field['options'] as $value => $label ) {
|
107 |
printf( '<option value="%s"%s>%s</option>', esc_attr( $value ), selected( $value, $field['value'], false ), esc_html( $label ) );
|
110 |
</select>
|
111 |
<?php elseif ( 'checkbox' == $field['type'] ) : ?>
|
112 |
<label>
|
113 |
+
<input type="checkbox" name="<?php echo esc_attr( $field['name'] ); ?>" class="aiovg-shortcode-input" data-default="<?php echo esc_attr( $field['value'] ); ?>" value="1" <?php checked( $field['value'] ); ?> />
|
114 |
+
<?php echo esc_html( $field['label'] ); ?>
|
115 |
</label>
|
116 |
<?php elseif ( 'color' == $field['type'] ) : ?>
|
117 |
+
<label class="aiovg-shortcode-label"><?php echo esc_html( $field['label'] ); ?></label>
|
118 |
+
<input type="text" name="<?php echo esc_attr( $field['name'] ); ?>" class="aiovg-shortcode-input aiovg-color-picker-field widefat" value="<?php echo esc_attr( $field['value'] ); ?>" data-default="<?php echo esc_attr( $field['value'] ); ?>" />
|
119 |
<?php endif; ?>
|
120 |
|
121 |
<?php if ( ! empty( $field['description'] ) ) : // Description ?>
|
130 |
|
131 |
<!-- Action Buttons -->
|
132 |
<p class="submit">
|
133 |
+
<input type="button" id="aiovg-insert-shortcode" class="button-primary" value="<?php esc_attr_e( 'Insert Shortcode', 'all-in-one-video-gallery' ); ?>" />
|
134 |
+
<a id="aiovg-cancel-shortcode-insert" class="button-secondary"><?php esc_html_e( 'Cancel', 'all-in-one-video-gallery' ); ?></a>
|
135 |
</p>
|
136 |
</div>
|
137 |
</div>
|
admin/partials/video-sources.php
CHANGED
@@ -14,10 +14,10 @@
|
|
14 |
<tbody>
|
15 |
<tr>
|
16 |
<td class="label aiovg-hidden-xs">
|
17 |
-
<label><?php
|
18 |
</td>
|
19 |
<td>
|
20 |
-
<p class="aiovg-hidden-sm aiovg-hidden-md aiovg-hidden-lg"><strong><?php
|
21 |
<select name="type" id="aiovg-video-type" class="select">
|
22 |
<?php
|
23 |
$types = aiovg_get_video_source_types( true );
|
@@ -30,14 +30,14 @@
|
|
30 |
</tr>
|
31 |
<tr class="aiovg-toggle-fields aiovg-type-default">
|
32 |
<td class="label aiovg-hidden-xs">
|
33 |
-
<label><?php
|
34 |
</td>
|
35 |
<td>
|
36 |
-
<p class="aiovg-hidden-sm aiovg-hidden-md aiovg-hidden-lg"><strong><?php
|
37 |
<div class="aiovg-input-wrap aiovg-media-uploader">
|
38 |
-
<input type="text" name="mp4" id="aiovg-mp4" class="text" placeholder="<?php
|
39 |
<a class="button aiovg-upload-media hide-if-no-js" href="javascript:;" id="aiovg-upload-mp4" data-format="mp4">
|
40 |
-
<?php
|
41 |
</a>
|
42 |
</div>
|
43 |
|
@@ -47,13 +47,13 @@
|
|
47 |
<li>
|
48 |
<label>
|
49 |
<input type="checkbox" name="has_webm" id="aiovg-has-webm" value="1" <?php checked( $has_webm, 1 ); ?> />
|
50 |
-
<?php
|
51 |
</label>
|
52 |
</li>
|
53 |
<li>
|
54 |
<label>
|
55 |
<input type="checkbox" name="has_ogv" id="aiovg-has-ogv" value="1" <?php checked( $has_ogv, 1 ); ?> />
|
56 |
-
<?php
|
57 |
</label>
|
58 |
</li>
|
59 |
</ul>
|
@@ -61,117 +61,117 @@
|
|
61 |
</tr>
|
62 |
<tr id="aiovg-field-webm" class="aiovg-toggle-fields">
|
63 |
<td class="label aiovg-hidden-xs">
|
64 |
-
<label><?php
|
65 |
</td>
|
66 |
<td>
|
67 |
-
<p class="aiovg-hidden-sm aiovg-hidden-md aiovg-hidden-lg"><strong><?php
|
68 |
<div class="aiovg-input-wrap aiovg-media-uploader">
|
69 |
-
<input type="text" name="webm" id="aiovg-webm" class="text" placeholder="<?php
|
70 |
<a class="button aiovg-upload-media hide-if-no-js" href="javascript:;" id="aiovg-upload-webm" data-format="webm">
|
71 |
-
<?php
|
72 |
</a>
|
73 |
</div>
|
74 |
</td>
|
75 |
</tr>
|
76 |
<tr id="aiovg-field-ogv" class="aiovg-toggle-fields">
|
77 |
<td class="label aiovg-hidden-xs">
|
78 |
-
<label><?php
|
79 |
</td>
|
80 |
<td>
|
81 |
-
<p class="aiovg-hidden-sm aiovg-hidden-md aiovg-hidden-lg"><strong><?php
|
82 |
<div class="aiovg-input-wrap aiovg-media-uploader">
|
83 |
-
<input type="text" name="ogv" id="aiovg-ogv" class="text" placeholder="<?php
|
84 |
<a class="button aiovg-upload-media hide-if-no-js" href="javascript:;" id="aiovg-upload-ogv" data-format="ogv">
|
85 |
-
<?php
|
86 |
</a>
|
87 |
</div>
|
88 |
</td>
|
89 |
</tr>
|
90 |
<tr class="aiovg-toggle-fields aiovg-type-youtube">
|
91 |
<td class="label aiovg-hidden-xs">
|
92 |
-
<label><?php
|
93 |
</td>
|
94 |
<td>
|
95 |
-
<p class="aiovg-hidden-sm aiovg-hidden-md aiovg-hidden-lg"><strong><?php
|
96 |
<div class="aiovg-input-wrap">
|
97 |
-
<input type="text" name="youtube" id="aiovg-youtube" class="text" placeholder="<?php
|
98 |
</div>
|
99 |
</td>
|
100 |
</tr>
|
101 |
<tr class="aiovg-toggle-fields aiovg-type-vimeo">
|
102 |
<td class="label aiovg-hidden-xs">
|
103 |
-
<label><?php
|
104 |
</td>
|
105 |
<td>
|
106 |
-
<p class="aiovg-hidden-sm aiovg-hidden-md aiovg-hidden-lg"><strong><?php
|
107 |
<div class="aiovg-input-wrap">
|
108 |
-
<input type="text" name="vimeo" id="aiovg-vimeo" class="text" placeholder="<?php
|
109 |
</div>
|
110 |
</td>
|
111 |
</tr>
|
112 |
<tr class="aiovg-toggle-fields aiovg-type-dailymotion">
|
113 |
<td class="label aiovg-hidden-xs">
|
114 |
-
<label><?php
|
115 |
</td>
|
116 |
<td>
|
117 |
-
<p class="aiovg-hidden-sm aiovg-hidden-md aiovg-hidden-lg"><strong><?php
|
118 |
<div class="aiovg-input-wrap">
|
119 |
-
<input type="text" name="dailymotion" id="aiovg-dailymotion" class="text" placeholder="<?php
|
120 |
</div>
|
121 |
</td>
|
122 |
</tr>
|
123 |
<tr class="aiovg-toggle-fields aiovg-type-facebook">
|
124 |
<td class="label aiovg-hidden-xs">
|
125 |
-
<label><?php
|
126 |
</td>
|
127 |
<td>
|
128 |
-
<p class="aiovg-hidden-sm aiovg-hidden-md aiovg-hidden-lg"><strong><?php
|
129 |
<div class="aiovg-input-wrap">
|
130 |
-
<input type="text" name="facebook" id="aiovg-facebook" class="text" placeholder="<?php
|
131 |
</div>
|
132 |
</td>
|
133 |
</tr>
|
134 |
<tr class="aiovg-toggle-fields aiovg-type-embedcode">
|
135 |
<td class="label aiovg-hidden-xs">
|
136 |
-
<label><?php
|
137 |
</td>
|
138 |
<td>
|
139 |
-
<p class="aiovg-hidden-sm aiovg-hidden-md aiovg-hidden-lg"><strong><?php
|
140 |
-
<textarea name="embedcode" id="aiovg-embedcode" class="textarea" placeholder="<?php
|
141 |
</td>
|
142 |
</tr>
|
143 |
<?php do_action( 'aiovg_admin_add_video_source_fields', $post->ID ); ?>
|
144 |
<tr>
|
145 |
<td class="label aiovg-hidden-xs">
|
146 |
-
<label><?php
|
147 |
</td>
|
148 |
<td>
|
149 |
-
<p class="aiovg-hidden-sm aiovg-hidden-md aiovg-hidden-lg"><strong><?php
|
150 |
<div class="aiovg-input-wrap aiovg-media-uploader">
|
151 |
-
<input type="text" name="image" id="aiovg-image" class="text" placeholder="<?php
|
152 |
<a class="button aiovg-upload-media hide-if-no-js" href="javascript:;" id="aiovg-upload-image" data-format="image">
|
153 |
-
<?php
|
154 |
</a>
|
155 |
</div>
|
156 |
</td>
|
157 |
</tr>
|
158 |
<tr>
|
159 |
<td class="label aiovg-hidden-xs">
|
160 |
-
<label><?php
|
161 |
</td>
|
162 |
<td>
|
163 |
-
<p class="aiovg-hidden-sm aiovg-hidden-md aiovg-hidden-lg"><strong><?php
|
164 |
<div class="aiovg-input-wrap">
|
165 |
-
<input type="text" name="duration" id="aiovg-duration" class="text" placeholder="
|
166 |
</div>
|
167 |
</td>
|
168 |
</tr>
|
169 |
<tr>
|
170 |
<td class="label aiovg-hidden-xs">
|
171 |
-
<label><?php
|
172 |
</td>
|
173 |
<td>
|
174 |
-
<p class="aiovg-hidden-sm aiovg-hidden-md aiovg-hidden-lg"><strong><?php
|
175 |
<div class="aiovg-input-wrap">
|
176 |
<input type="text" name="views" id="aiovg-views" class="text" value="<?php echo esc_attr( $views ); ?>" />
|
177 |
</div>
|
14 |
<tbody>
|
15 |
<tr>
|
16 |
<td class="label aiovg-hidden-xs">
|
17 |
+
<label><?php esc_html_e( "Type", 'all-in-one-video-gallery' ); ?></label>
|
18 |
</td>
|
19 |
<td>
|
20 |
+
<p class="aiovg-hidden-sm aiovg-hidden-md aiovg-hidden-lg"><strong><?php esc_html_e( "Type", 'all-in-one-video-gallery' ); ?></strong></p>
|
21 |
<select name="type" id="aiovg-video-type" class="select">
|
22 |
<?php
|
23 |
$types = aiovg_get_video_source_types( true );
|
30 |
</tr>
|
31 |
<tr class="aiovg-toggle-fields aiovg-type-default">
|
32 |
<td class="label aiovg-hidden-xs">
|
33 |
+
<label><?php esc_html_e( "MP4", 'all-in-one-video-gallery' ); ?></label>
|
34 |
</td>
|
35 |
<td>
|
36 |
+
<p class="aiovg-hidden-sm aiovg-hidden-md aiovg-hidden-lg"><strong><?php esc_html_e( "MP4", 'all-in-one-video-gallery' ); ?></strong></p>
|
37 |
<div class="aiovg-input-wrap aiovg-media-uploader">
|
38 |
+
<input type="text" name="mp4" id="aiovg-mp4" class="text" placeholder="<?php esc_attr_e( 'Enter your Direct File URL here (OR) use the Upload Media button', 'all-in-one-video-gallery' ); ?>" value="<?php echo esc_url( $mp4 ); ?>" />
|
39 |
<a class="button aiovg-upload-media hide-if-no-js" href="javascript:;" id="aiovg-upload-mp4" data-format="mp4">
|
40 |
+
<?php esc_html_e( 'Upload Media', 'all-in-one-video-gallery' ); ?>
|
41 |
</a>
|
42 |
</div>
|
43 |
|
47 |
<li>
|
48 |
<label>
|
49 |
<input type="checkbox" name="has_webm" id="aiovg-has-webm" value="1" <?php checked( $has_webm, 1 ); ?> />
|
50 |
+
<?php esc_html_e( "WebM", 'all-in-one-video-gallery' ); ?>
|
51 |
</label>
|
52 |
</li>
|
53 |
<li>
|
54 |
<label>
|
55 |
<input type="checkbox" name="has_ogv" id="aiovg-has-ogv" value="1" <?php checked( $has_ogv, 1 ); ?> />
|
56 |
+
<?php esc_html_e( "OGV", 'all-in-one-video-gallery' ); ?>
|
57 |
</label>
|
58 |
</li>
|
59 |
</ul>
|
61 |
</tr>
|
62 |
<tr id="aiovg-field-webm" class="aiovg-toggle-fields">
|
63 |
<td class="label aiovg-hidden-xs">
|
64 |
+
<label><?php esc_html_e( "WebM", 'all-in-one-video-gallery' ); ?></label>
|
65 |
</td>
|
66 |
<td>
|
67 |
+
<p class="aiovg-hidden-sm aiovg-hidden-md aiovg-hidden-lg"><strong><?php esc_html_e( "WebM", 'all-in-one-video-gallery' ); ?></strong></p>
|
68 |
<div class="aiovg-input-wrap aiovg-media-uploader">
|
69 |
+
<input type="text" name="webm" id="aiovg-webm" class="text" placeholder="<?php esc_attr_e( 'Enter your Direct File URL here (OR) use the Upload Media button', 'all-in-one-video-gallery' ); ?>" value="<?php echo esc_url( $webm ); ?>" />
|
70 |
<a class="button aiovg-upload-media hide-if-no-js" href="javascript:;" id="aiovg-upload-webm" data-format="webm">
|
71 |
+
<?php esc_html_e( 'Upload Media', 'all-in-one-video-gallery' ); ?>
|
72 |
</a>
|
73 |
</div>
|
74 |
</td>
|
75 |
</tr>
|
76 |
<tr id="aiovg-field-ogv" class="aiovg-toggle-fields">
|
77 |
<td class="label aiovg-hidden-xs">
|
78 |
+
<label><?php esc_html_e( "OGV", 'all-in-one-video-gallery' ); ?></label>
|
79 |
</td>
|
80 |
<td>
|
81 |
+
<p class="aiovg-hidden-sm aiovg-hidden-md aiovg-hidden-lg"><strong><?php esc_html_e( "OGV", 'all-in-one-video-gallery' ); ?></strong></p>
|
82 |
<div class="aiovg-input-wrap aiovg-media-uploader">
|
83 |
+
<input type="text" name="ogv" id="aiovg-ogv" class="text" placeholder="<?php esc_attr_e( 'Enter your Direct File URL here (OR) use the Upload Media button', 'all-in-one-video-gallery' ); ?>" value="<?php echo esc_url( $ogv ); ?>" />
|
84 |
<a class="button aiovg-upload-media hide-if-no-js" href="javascript:;" id="aiovg-upload-ogv" data-format="ogv">
|
85 |
+
<?php esc_html_e( 'Upload Media', 'all-in-one-video-gallery' ); ?>
|
86 |
</a>
|
87 |
</div>
|
88 |
</td>
|
89 |
</tr>
|
90 |
<tr class="aiovg-toggle-fields aiovg-type-youtube">
|
91 |
<td class="label aiovg-hidden-xs">
|
92 |
+
<label><?php esc_html_e( "YouTube", 'all-in-one-video-gallery' ); ?></label>
|
93 |
</td>
|
94 |
<td>
|
95 |
+
<p class="aiovg-hidden-sm aiovg-hidden-md aiovg-hidden-lg"><strong><?php esc_html_e( "YouTube", 'all-in-one-video-gallery' ); ?></strong></p>
|
96 |
<div class="aiovg-input-wrap">
|
97 |
+
<input type="text" name="youtube" id="aiovg-youtube" class="text" placeholder="<?php printf( '%s: https://www.youtube.com/watch?v=twYp6W6vt2U', esc_attr__( 'Example', 'all-in-one-video-gallery' ) ); ?>" value="<?php echo esc_url( $youtube ); ?>" />
|
98 |
</div>
|
99 |
</td>
|
100 |
</tr>
|
101 |
<tr class="aiovg-toggle-fields aiovg-type-vimeo">
|
102 |
<td class="label aiovg-hidden-xs">
|
103 |
+
<label><?php esc_html_e( "Vimeo", 'all-in-one-video-gallery' ); ?></label>
|
104 |
</td>
|
105 |
<td>
|
106 |
+
<p class="aiovg-hidden-sm aiovg-hidden-md aiovg-hidden-lg"><strong><?php esc_html_e( "Vimeo", 'all-in-one-video-gallery' ); ?></strong></p>
|
107 |
<div class="aiovg-input-wrap">
|
108 |
+
<input type="text" name="vimeo" id="aiovg-vimeo" class="text" placeholder="<?php printf( '%s: https://vimeo.com/108018156', esc_attr__( 'Example', 'all-in-one-video-gallery' ) ); ?>" value="<?php echo esc_url( $vimeo ); ?>" />
|
109 |
</div>
|
110 |
</td>
|
111 |
</tr>
|
112 |
<tr class="aiovg-toggle-fields aiovg-type-dailymotion">
|
113 |
<td class="label aiovg-hidden-xs">
|
114 |
+
<label><?php esc_html_e( "Dailymotion", 'all-in-one-video-gallery' ); ?></label>
|
115 |
</td>
|
116 |
<td>
|
117 |
+
<p class="aiovg-hidden-sm aiovg-hidden-md aiovg-hidden-lg"><strong><?php esc_html_e( "Dailymotion", 'all-in-one-video-gallery' ); ?></strong></p>
|
118 |
<div class="aiovg-input-wrap">
|
119 |
+
<input type="text" name="dailymotion" id="aiovg-dailymotion" class="text" placeholder="<?php printf( '%s: https://www.dailymotion.com/video/x11prnt', esc_attr__( 'Example', 'all-in-one-video-gallery' ) ); ?>" value="<?php echo esc_url( $dailymotion ); ?>" />
|
120 |
</div>
|
121 |
</td>
|
122 |
</tr>
|
123 |
<tr class="aiovg-toggle-fields aiovg-type-facebook">
|
124 |
<td class="label aiovg-hidden-xs">
|
125 |
+
<label><?php esc_html_e( "Facebook", 'all-in-one-video-gallery' ); ?></label>
|
126 |
</td>
|
127 |
<td>
|
128 |
+
<p class="aiovg-hidden-sm aiovg-hidden-md aiovg-hidden-lg"><strong><?php esc_html_e( "Facebook", 'all-in-one-video-gallery' ); ?></strong></p>
|
129 |
<div class="aiovg-input-wrap">
|
130 |
+
<input type="text" name="facebook" id="aiovg-facebook" class="text" placeholder="<?php printf( '%s: https://www.facebook.com/facebook/videos/10155278547321729', esc_attr__( 'Example', 'all-in-one-video-gallery' ) ); ?>" value="<?php echo esc_url( $facebook ); ?>" />
|
131 |
</div>
|
132 |
</td>
|
133 |
</tr>
|
134 |
<tr class="aiovg-toggle-fields aiovg-type-embedcode">
|
135 |
<td class="label aiovg-hidden-xs">
|
136 |
+
<label><?php esc_html_e( "Embed Code", 'all-in-one-video-gallery' ); ?></label>
|
137 |
</td>
|
138 |
<td>
|
139 |
+
<p class="aiovg-hidden-sm aiovg-hidden-md aiovg-hidden-lg"><strong><?php esc_html_e( "Embed Code", 'all-in-one-video-gallery' ); ?></strong></p>
|
140 |
+
<textarea name="embedcode" id="aiovg-embedcode" class="textarea" placeholder="<?php esc_attr_e( 'Enter your Iframe Embed Code here', 'all-in-one-video-gallery' ); ?>" rows="6"><?php echo esc_textarea( $embedcode ); ?></textarea>
|
141 |
</td>
|
142 |
</tr>
|
143 |
<?php do_action( 'aiovg_admin_add_video_source_fields', $post->ID ); ?>
|
144 |
<tr>
|
145 |
<td class="label aiovg-hidden-xs">
|
146 |
+
<label><?php esc_html_e( "Image", 'all-in-one-video-gallery' ); ?></label>
|
147 |
</td>
|
148 |
<td>
|
149 |
+
<p class="aiovg-hidden-sm aiovg-hidden-md aiovg-hidden-lg"><strong><?php esc_html_e( "Image", 'all-in-one-video-gallery' ); ?></strong></p>
|
150 |
<div class="aiovg-input-wrap aiovg-media-uploader">
|
151 |
+
<input type="text" name="image" id="aiovg-image" class="text" placeholder="<?php esc_attr_e( 'Enter your Direct File URL here (OR) use the Upload Media button', 'all-in-one-video-gallery' ); ?>" value="<?php echo esc_url( $image ); ?>" />
|
152 |
<a class="button aiovg-upload-media hide-if-no-js" href="javascript:;" id="aiovg-upload-image" data-format="image">
|
153 |
+
<?php esc_html_e( 'Upload Media', 'all-in-one-video-gallery' ); ?>
|
154 |
</a>
|
155 |
</div>
|
156 |
</td>
|
157 |
</tr>
|
158 |
<tr>
|
159 |
<td class="label aiovg-hidden-xs">
|
160 |
+
<label><?php esc_html_e( "Duration", 'all-in-one-video-gallery' ); ?></label>
|
161 |
</td>
|
162 |
<td>
|
163 |
+
<p class="aiovg-hidden-sm aiovg-hidden-md aiovg-hidden-lg"><strong><?php esc_html_e( "Duration", 'all-in-one-video-gallery' ); ?></strong></p>
|
164 |
<div class="aiovg-input-wrap">
|
165 |
+
<input type="text" name="duration" id="aiovg-duration" class="text" placeholder="6:30" value="<?php echo esc_attr( $duration ); ?>" />
|
166 |
</div>
|
167 |
</td>
|
168 |
</tr>
|
169 |
<tr>
|
170 |
<td class="label aiovg-hidden-xs">
|
171 |
+
<label><?php esc_html_e( "Views", 'all-in-one-video-gallery' ); ?></label>
|
172 |
</td>
|
173 |
<td>
|
174 |
+
<p class="aiovg-hidden-sm aiovg-hidden-md aiovg-hidden-lg"><strong><?php esc_html_e( "Views", 'all-in-one-video-gallery' ); ?></strong></p>
|
175 |
<div class="aiovg-input-wrap">
|
176 |
<input type="text" name="views" id="aiovg-views" class="text" value="<?php echo esc_attr( $views ); ?>" />
|
177 |
</div>
|
admin/partials/video-submitbox.php
CHANGED
@@ -13,8 +13,8 @@
|
|
13 |
<div class="misc-pub-section misc-pub-aiovg-featured">
|
14 |
<label>
|
15 |
<input type="checkbox" name="featured" value="1" <?php checked( $featured, 1 ); ?> />
|
16 |
-
<?php
|
17 |
-
<strong><?php
|
18 |
</label>
|
19 |
</div>
|
20 |
|
@@ -22,7 +22,7 @@
|
|
22 |
|
23 |
<div class="misc-pub-section misc-pub-aiovg-shortcode">
|
24 |
<label>
|
25 |
-
<strong><?php
|
26 |
<input type="text" class="widefat" readonly="readonly" value="[aiovg_video id=<?php echo (int) $post_id; ?>]" />
|
27 |
</label>
|
28 |
</div>
|
13 |
<div class="misc-pub-section misc-pub-aiovg-featured">
|
14 |
<label>
|
15 |
<input type="checkbox" name="featured" value="1" <?php checked( $featured, 1 ); ?> />
|
16 |
+
<?php esc_html_e( "Mark as", 'all-in-one-video-gallery' ); ?>
|
17 |
+
<strong><?php esc_html_e( "Featured", 'all-in-one-video-gallery' ); ?></strong>
|
18 |
</label>
|
19 |
</div>
|
20 |
|
22 |
|
23 |
<div class="misc-pub-section misc-pub-aiovg-shortcode">
|
24 |
<label>
|
25 |
+
<strong><?php esc_html_e( "Video Shortcode", 'all-in-one-video-gallery' ); ?></strong>
|
26 |
<input type="text" class="widefat" readonly="readonly" value="[aiovg_video id=<?php echo (int) $post_id; ?>]" />
|
27 |
</label>
|
28 |
</div>
|
admin/partials/video-tracks.php
CHANGED
@@ -13,37 +13,37 @@
|
|
13 |
<table id="aiovg-tracks" class="aiovg-table widefat">
|
14 |
<tr class="aiovg-hidden-xs">
|
15 |
<th style="width: 5%;"></th>
|
16 |
-
<th><?php
|
17 |
-
<th style="width: 15%;"><?php
|
18 |
-
<th style="width: 10%;"><?php
|
19 |
<th style="width: 20%;"></th>
|
20 |
</tr>
|
21 |
<?php foreach ( $tracks as $key => $track ) : ?>
|
22 |
<tr class="aiovg-tracks-row">
|
23 |
<td class="aiovg-handle aiovg-hidden-xs"><span class="dashicons dashicons-sort"></span></td>
|
24 |
<td>
|
25 |
-
<p class="aiovg-hidden-sm aiovg-hidden-md aiovg-hidden-lg"><strong><?php
|
26 |
<div class="aiovg-input-wrap">
|
27 |
-
<input type="text" name="track_src[]" id="aiovg-track-<?php echo $key; ?>" class="text aiovg-track-src" placeholder="<?php
|
28 |
</div>
|
29 |
</td>
|
30 |
<td>
|
31 |
-
<p class="aiovg-hidden-sm aiovg-hidden-md aiovg-hidden-lg"><strong><?php
|
32 |
<div class="aiovg-input-wrap">
|
33 |
-
<input type="text" name="track_label[]" class="text aiovg-track-label" placeholder="<?php
|
34 |
</div>
|
35 |
</td>
|
36 |
<td>
|
37 |
-
<p class="aiovg-hidden-sm aiovg-hidden-md aiovg-hidden-lg"><strong><?php
|
38 |
<div class="aiovg-input-wrap">
|
39 |
-
<input type="text" name="track_srclang[]" class="text aiovg-track-srclang" placeholder="<?php
|
40 |
</div>
|
41 |
</td>
|
42 |
<td>
|
43 |
<p class="hide-if-no-js">
|
44 |
-
<a class="aiovg-upload-track" href="javascript:;"><?php
|
45 |
<span class="aiovg-pipe-separator">|</span>
|
46 |
-
<a class="aiovg-delete-track" href="javascript:;"><?php
|
47 |
</p>
|
48 |
</td>
|
49 |
</tr>
|
@@ -51,35 +51,35 @@
|
|
51 |
</table>
|
52 |
|
53 |
<p class="hide-if-no-js">
|
54 |
-
<a id="aiovg-add-new-track" class="button" href="javascript:;"><?php
|
55 |
</p>
|
56 |
|
57 |
<table id="aiovg-tracks-clone" style="display: none;">
|
58 |
<tr class="aiovg-tracks-row">
|
59 |
<td class="aiovg-handle aiovg-hidden-xs"><span class="dashicons dashicons-sort"></span></td>
|
60 |
<td>
|
61 |
-
<p class="aiovg-hidden-sm aiovg-hidden-md aiovg-hidden-lg"><strong><?php
|
62 |
<div class="aiovg-input-wrap">
|
63 |
-
<input type="text" name="track_src[]" class="text aiovg-track-src" placeholder="<?php
|
64 |
</div>
|
65 |
</td>
|
66 |
<td>
|
67 |
-
<p class="aiovg-hidden-sm aiovg-hidden-md aiovg-hidden-lg"><strong><?php
|
68 |
<div class="aiovg-input-wrap">
|
69 |
-
<input type="text" name="track_label[]" class="text aiovg-track-label" placeholder="<?php
|
70 |
</div>
|
71 |
</td>
|
72 |
<td>
|
73 |
-
<p class="aiovg-hidden-sm aiovg-hidden-md aiovg-hidden-lg"><strong><?php
|
74 |
<div class="aiovg-input-wrap">
|
75 |
-
<input type="text" name="track_srclang[]" class="text aiovg-track-srclang" placeholder="<?php
|
76 |
</div>
|
77 |
</td>
|
78 |
<td>
|
79 |
<p class="hide-if-no-js">
|
80 |
-
<a class="aiovg-upload-track" href="javascript:;"><?php
|
81 |
<span class="aiovg-pipe-separator">|</span>
|
82 |
-
<a class="aiovg-delete-track" href="javascript:;"><?php
|
83 |
</p>
|
84 |
</td>
|
85 |
</tr>
|
13 |
<table id="aiovg-tracks" class="aiovg-table widefat">
|
14 |
<tr class="aiovg-hidden-xs">
|
15 |
<th style="width: 5%;"></th>
|
16 |
+
<th><?php esc_html_e( 'File URL', 'all-in-one-video-gallery' ); ?></th>
|
17 |
+
<th style="width: 15%;"><?php esc_html_e( 'Label', 'all-in-one-video-gallery' ); ?></th>
|
18 |
+
<th style="width: 10%;"><?php esc_html_e( 'Srclang', 'all-in-one-video-gallery' ); ?></th>
|
19 |
<th style="width: 20%;"></th>
|
20 |
</tr>
|
21 |
<?php foreach ( $tracks as $key => $track ) : ?>
|
22 |
<tr class="aiovg-tracks-row">
|
23 |
<td class="aiovg-handle aiovg-hidden-xs"><span class="dashicons dashicons-sort"></span></td>
|
24 |
<td>
|
25 |
+
<p class="aiovg-hidden-sm aiovg-hidden-md aiovg-hidden-lg"><strong><?php esc_html_e( "File URL", 'all-in-one-video-gallery' ); ?></strong></p>
|
26 |
<div class="aiovg-input-wrap">
|
27 |
+
<input type="text" name="track_src[]" id="aiovg-track-<?php echo esc_attr( $key ); ?>" class="text aiovg-track-src" placeholder="<?php esc_attr_e( "Enter your Direct File URL here (OR) use the Upload Media button", 'all-in-one-video-gallery' ); ?>" value="<?php echo esc_url( $track['src'] ); ?>" />
|
28 |
</div>
|
29 |
</td>
|
30 |
<td>
|
31 |
+
<p class="aiovg-hidden-sm aiovg-hidden-md aiovg-hidden-lg"><strong><?php esc_html_e( "Label", 'all-in-one-video-gallery' ); ?></strong></p>
|
32 |
<div class="aiovg-input-wrap">
|
33 |
+
<input type="text" name="track_label[]" class="text aiovg-track-label" placeholder="<?php esc_attr_e( "English", 'all-in-one-video-gallery' ); ?>" value="<?php echo esc_attr( $track['label'] ); ?>" />
|
34 |
</div>
|
35 |
</td>
|
36 |
<td>
|
37 |
+
<p class="aiovg-hidden-sm aiovg-hidden-md aiovg-hidden-lg"><strong><?php esc_html_e( "Srclang", 'all-in-one-video-gallery' ); ?></strong></p>
|
38 |
<div class="aiovg-input-wrap">
|
39 |
+
<input type="text" name="track_srclang[]" class="text aiovg-track-srclang" placeholder="<?php esc_attr_e( "en", 'all-in-one-video-gallery' ); ?>" value="<?php echo esc_attr( $track['srclang'] ); ?>" />
|
40 |
</div>
|
41 |
</td>
|
42 |
<td>
|
43 |
<p class="hide-if-no-js">
|
44 |
+
<a class="aiovg-upload-track" href="javascript:;"><?php esc_html_e( 'Upload File', 'all-in-one-video-gallery' ); ?></a>
|
45 |
<span class="aiovg-pipe-separator">|</span>
|
46 |
+
<a class="aiovg-delete-track" href="javascript:;"><?php esc_html_e( 'Delete', 'all-in-one-video-gallery' ); ?></a>
|
47 |
</p>
|
48 |
</td>
|
49 |
</tr>
|
51 |
</table>
|
52 |
|
53 |
<p class="hide-if-no-js">
|
54 |
+
<a id="aiovg-add-new-track" class="button" href="javascript:;"><?php esc_html_e( 'Add New File', 'all-in-one-video-gallery' ); ?></a>
|
55 |
</p>
|
56 |
|
57 |
<table id="aiovg-tracks-clone" style="display: none;">
|
58 |
<tr class="aiovg-tracks-row">
|
59 |
<td class="aiovg-handle aiovg-hidden-xs"><span class="dashicons dashicons-sort"></span></td>
|
60 |
<td>
|
61 |
+
<p class="aiovg-hidden-sm aiovg-hidden-md aiovg-hidden-lg"><strong><?php esc_html_e( "File URL", 'all-in-one-video-gallery' ); ?></strong></p>
|
62 |
<div class="aiovg-input-wrap">
|
63 |
+
<input type="text" name="track_src[]" class="text aiovg-track-src" placeholder="<?php esc_attr_e( "Enter your Direct File URL here (OR) use the Upload Media button", 'all-in-one-video-gallery' ); ?>" />
|
64 |
</div>
|
65 |
</td>
|
66 |
<td>
|
67 |
+
<p class="aiovg-hidden-sm aiovg-hidden-md aiovg-hidden-lg"><strong><?php esc_html_e( "Label", 'all-in-one-video-gallery' ); ?></strong></p>
|
68 |
<div class="aiovg-input-wrap">
|
69 |
+
<input type="text" name="track_label[]" class="text aiovg-track-label" placeholder="<?php esc_attr_e( "English", 'all-in-one-video-gallery' ); ?>" />
|
70 |
</div>
|
71 |
</td>
|
72 |
<td>
|
73 |
+
<p class="aiovg-hidden-sm aiovg-hidden-md aiovg-hidden-lg"><strong><?php esc_html_e( "Srclang", 'all-in-one-video-gallery' ); ?></strong></p>
|
74 |
<div class="aiovg-input-wrap">
|
75 |
+
<input type="text" name="track_srclang[]" class="text aiovg-track-srclang" placeholder="<?php esc_attr_e( "en", 'all-in-one-video-gallery' ); ?>" />
|
76 |
</div>
|
77 |
</td>
|
78 |
<td>
|
79 |
<p class="hide-if-no-js">
|
80 |
+
<a class="aiovg-upload-track" href="javascript:;"><?php esc_html_e( 'Upload File', 'all-in-one-video-gallery' ); ?></a>
|
81 |
<span class="aiovg-pipe-separator">|</span>
|
82 |
+
<a class="aiovg-delete-track" href="javascript:;"><?php esc_html_e( 'Delete', 'all-in-one-video-gallery' ); ?></a>
|
83 |
</p>
|
84 |
</td>
|
85 |
</tr>
|
admin/partials/welcome.php
CHANGED
@@ -11,14 +11,13 @@
|
|
11 |
?>
|
12 |
|
13 |
<div id="aiovg-welcome" class="wrap about-wrap full-width-layout aiovg-welcome">
|
14 |
-
|
15 |
<h1><?php
|
16 |
-
printf(
|
17 |
?></h1>
|
18 |
|
19 |
<p class="about-text">
|
20 |
<?php
|
21 |
-
|
22 |
?>
|
23 |
</p>
|
24 |
|
@@ -26,13 +25,16 @@ _e( "The last video player & gallery plugin you'll ever need.", 'all-in-one-vide
|
|
26 |
?>
|
27 |
|
28 |
<div class="wp-badge aiovg-badge"><?php
|
29 |
-
printf(
|
30 |
?></div>
|
31 |
|
32 |
<h2 class="nav-tab-wrapper wp-clearfix">
|
33 |
<?php
|
34 |
foreach ( $tabs as $tab => $title ) {
|
35 |
$class = ( $tab == $active_tab ? 'nav-tab nav-tab-active' : 'nav-tab' );
|
|
|
|
|
|
|
36 |
printf(
|
37 |
'<a href="%s" class="%s">%s</a>',
|
38 |
esc_url( admin_url( add_query_arg( 'page', $tab, 'index.php' ) ) ),
|
@@ -49,7 +51,7 @@ if ( 'aiovg_welcome' == $active_tab ) {
|
|
49 |
?>
|
50 |
<p class="about-description">
|
51 |
<strong><?php
|
52 |
-
printf(
|
53 |
?></strong>
|
54 |
→
|
55 |
<?php
|
@@ -59,42 +61,42 @@ if ( 'aiovg_welcome' == $active_tab ) {
|
|
59 |
|
60 |
<p class="about-description">
|
61 |
<strong><?php
|
62 |
-
printf(
|
63 |
?></strong>
|
64 |
→
|
65 |
<code><?php
|
66 |
-
|
67 |
?></code>
|
68 |
<a href="<?php
|
69 |
echo esc_url( admin_url( 'edit-tags.php?taxonomy=aiovg_categories&post_type=aiovg_videos' ) ) ;
|
70 |
?>">
|
71 |
<?php
|
72 |
-
|
73 |
?>
|
74 |
</a>
|
75 |
</p>
|
76 |
|
77 |
<p class="about-description">
|
78 |
<strong><?php
|
79 |
-
printf(
|
80 |
?></strong>
|
81 |
→
|
82 |
<a href="<?php
|
83 |
echo esc_url( admin_url( 'post-new.php?post_type=aiovg_videos' ) ) ;
|
84 |
?>">
|
85 |
<?php
|
86 |
-
|
87 |
?>
|
88 |
</a>
|
89 |
</p>
|
90 |
|
91 |
<p class="about-description">
|
92 |
<strong><?php
|
93 |
-
printf(
|
94 |
?></strong>
|
95 |
→
|
96 |
<code><?php
|
97 |
-
|
98 |
?></code>
|
99 |
<?php
|
100 |
printf( __( 'Add a Categories <a href="%s">Page</a> to your site front-end. Find step by step instructions <a href="%s" target="_blank">here</a>', 'all-in-one-video-gallery' ), esc_url( admin_url( 'post-new.php?post_type=page' ) ), 'https://plugins360.com/all-in-one-video-gallery/displaying-categories/' );
|
@@ -103,7 +105,7 @@ if ( 'aiovg_welcome' == $active_tab ) {
|
|
103 |
|
104 |
<p class="about-description">
|
105 |
<strong><?php
|
106 |
-
printf(
|
107 |
?></strong>
|
108 |
→
|
109 |
<?php
|
@@ -123,17 +125,40 @@ if ( 'aiovg_welcome' == $active_tab ) {
|
|
123 |
|
124 |
<?php
|
125 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
126 |
if ( 'aiovg_support' == $active_tab ) {
|
127 |
?>
|
128 |
<p class="about-description"><?php
|
129 |
-
|
130 |
?></p>
|
131 |
|
132 |
<div class="changelog">
|
133 |
<div class="two-col">
|
134 |
<div class="col">
|
135 |
<h3><?php
|
136 |
-
|
137 |
?></h3>
|
138 |
|
139 |
<p>
|
@@ -145,7 +170,7 @@ if ( 'aiovg_support' == $active_tab ) {
|
|
145 |
|
146 |
<div class="col">
|
147 |
<h3><?php
|
148 |
-
|
149 |
?></h3>
|
150 |
|
151 |
<p>
|
@@ -160,5 +185,4 @@ if ( 'aiovg_support' == $active_tab ) {
|
|
160 |
}
|
161 |
|
162 |
?>
|
163 |
-
|
164 |
</div>
|
11 |
?>
|
12 |
|
13 |
<div id="aiovg-welcome" class="wrap about-wrap full-width-layout aiovg-welcome">
|
|
|
14 |
<h1><?php
|
15 |
+
printf( esc_html__( 'All-in-One Video Gallery - %s', 'all-in-one-video-gallery' ), AIOVG_PLUGIN_VERSION );
|
16 |
?></h1>
|
17 |
|
18 |
<p class="about-text">
|
19 |
<?php
|
20 |
+
esc_html_e( "The last video player & gallery plugin you'll ever need.", 'all-in-one-video-gallery' );
|
21 |
?>
|
22 |
</p>
|
23 |
|
25 |
?>
|
26 |
|
27 |
<div class="wp-badge aiovg-badge"><?php
|
28 |
+
printf( esc_html__( 'Version %s', 'all-in-one-video-gallery' ), AIOVG_PLUGIN_VERSION );
|
29 |
?></div>
|
30 |
|
31 |
<h2 class="nav-tab-wrapper wp-clearfix">
|
32 |
<?php
|
33 |
foreach ( $tabs as $tab => $title ) {
|
34 |
$class = ( $tab == $active_tab ? 'nav-tab nav-tab-active' : 'nav-tab' );
|
35 |
+
if ( 'aiovg_new' == $tab ) {
|
36 |
+
$title .= '<span class="dashicons dashicons-info"></span>';
|
37 |
+
}
|
38 |
printf(
|
39 |
'<a href="%s" class="%s">%s</a>',
|
40 |
esc_url( admin_url( add_query_arg( 'page', $tab, 'index.php' ) ) ),
|
51 |
?>
|
52 |
<p class="about-description">
|
53 |
<strong><?php
|
54 |
+
printf( esc_html__( 'Step #%d:', 'all-in-one-video-gallery' ), 0 );
|
55 |
?></strong>
|
56 |
→
|
57 |
<?php
|
61 |
|
62 |
<p class="about-description">
|
63 |
<strong><?php
|
64 |
+
printf( esc_html__( 'Step #%d:', 'all-in-one-video-gallery' ), 1 );
|
65 |
?></strong>
|
66 |
→
|
67 |
<code><?php
|
68 |
+
esc_html_e( 'Optional', 'all-in-one-video-gallery' );
|
69 |
?></code>
|
70 |
<a href="<?php
|
71 |
echo esc_url( admin_url( 'edit-tags.php?taxonomy=aiovg_categories&post_type=aiovg_videos' ) ) ;
|
72 |
?>">
|
73 |
<?php
|
74 |
+
esc_html_e( 'Add Categories', 'all-in-one-video-gallery' );
|
75 |
?>
|
76 |
</a>
|
77 |
</p>
|
78 |
|
79 |
<p class="about-description">
|
80 |
<strong><?php
|
81 |
+
printf( esc_html__( 'Step #%d:', 'all-in-one-video-gallery' ), 2 );
|
82 |
?></strong>
|
83 |
→
|
84 |
<a href="<?php
|
85 |
echo esc_url( admin_url( 'post-new.php?post_type=aiovg_videos' ) ) ;
|
86 |
?>">
|
87 |
<?php
|
88 |
+
esc_html_e( 'Add Videos', 'all-in-one-video-gallery' );
|
89 |
?>
|
90 |
</a>
|
91 |
</p>
|
92 |
|
93 |
<p class="about-description">
|
94 |
<strong><?php
|
95 |
+
printf( esc_html__( 'Step #%d:', 'all-in-one-video-gallery' ), 3 );
|
96 |
?></strong>
|
97 |
→
|
98 |
<code><?php
|
99 |
+
esc_html_e( 'Optional', 'all-in-one-video-gallery' );
|
100 |
?></code>
|
101 |
<?php
|
102 |
printf( __( 'Add a Categories <a href="%s">Page</a> to your site front-end. Find step by step instructions <a href="%s" target="_blank">here</a>', 'all-in-one-video-gallery' ), esc_url( admin_url( 'post-new.php?post_type=page' ) ), 'https://plugins360.com/all-in-one-video-gallery/displaying-categories/' );
|
105 |
|
106 |
<p class="about-description">
|
107 |
<strong><?php
|
108 |
+
printf( esc_html__( 'Step #%d:', 'all-in-one-video-gallery' ), 4 );
|
109 |
?></strong>
|
110 |
→
|
111 |
<?php
|
125 |
|
126 |
<?php
|
127 |
|
128 |
+
if ( 'aiovg_new' == $active_tab ) {
|
129 |
+
?>
|
130 |
+
<p class="about-description"><span class="dashicons dashicons-awards"></span> <?php
|
131 |
+
esc_html_e( 'Introducing our new Automation tool', 'all-in-one-video-gallery' );
|
132 |
+
?></p>
|
133 |
+
|
134 |
+
<p>
|
135 |
+
<?php
|
136 |
+
printf(
|
137 |
+
'%s <a href="%s" target="_blank">%s</a>',
|
138 |
+
esc_html__( "Your site on Autopilot. Simply configure your YouTube channel, playlist or a search keyword and schedule it. The plugin will do the rest by auto importing videos from your YouTube account. Each time a new video is uploaded there, it'll be automatically imported to your site within the hour.", 'all-in-one-video-gallery' ),
|
139 |
+
'https://plugins360.com/all-in-one-video-gallery/automations/',
|
140 |
+
esc_html__( 'Learn more', 'all-in-one-video-gallery' )
|
141 |
+
);
|
142 |
+
?>
|
143 |
+
</p>
|
144 |
+
<?php
|
145 |
+
}
|
146 |
+
|
147 |
+
?>
|
148 |
+
|
149 |
+
<?php
|
150 |
+
|
151 |
if ( 'aiovg_support' == $active_tab ) {
|
152 |
?>
|
153 |
<p class="about-description"><?php
|
154 |
+
esc_html_e( 'Need Help?', 'all-in-one-video-gallery' );
|
155 |
?></p>
|
156 |
|
157 |
<div class="changelog">
|
158 |
<div class="two-col">
|
159 |
<div class="col">
|
160 |
<h3><?php
|
161 |
+
esc_html_e( 'Phenomenal Support', 'all-in-one-video-gallery' );
|
162 |
?></h3>
|
163 |
|
164 |
<p>
|
170 |
|
171 |
<div class="col">
|
172 |
<h3><?php
|
173 |
+
esc_html_e( 'Need Even Faster Support?', 'all-in-one-video-gallery' );
|
174 |
?></h3>
|
175 |
|
176 |
<p>
|
185 |
}
|
186 |
|
187 |
?>
|
|
|
188 |
</div>
|
admin/shortcode-builder.php
CHANGED
@@ -29,8 +29,18 @@ class AIOVG_Admin_Shortcode_Builder {
|
|
29 |
public function media_buttons() {
|
30 |
global $pagenow, $typenow;
|
31 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
32 |
// Only run in post/page creation and edit screens
|
33 |
-
if ( in_array( $pagenow, array( 'post.php', 'page.php', 'post-new.php', 'post-edit.php' ) )
|
34 |
printf( '<a href="#aiovg-shortcode-builder" class="button button-primary aiovg-media-button" id="aiovg-media-button"><span class="wp-media-buttons-icon dashicons dashicons-playlist-video"></span> %s</a>', __( 'Video Player & Gallery', 'all-in-one-video-gallery' ) );
|
35 |
}
|
36 |
}
|
@@ -43,8 +53,18 @@ class AIOVG_Admin_Shortcode_Builder {
|
|
43 |
public function admin_footer() {
|
44 |
global $pagenow, $typenow;
|
45 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
46 |
// Only run in post/page creation and edit screens
|
47 |
-
if ( in_array( $pagenow, array( 'post.php', 'page.php', 'post-new.php', 'post-edit.php' ) )
|
48 |
// Shortcodes
|
49 |
$shortcodes = array(
|
50 |
'categories' => __( 'Video Categories', 'all-in-one-video-gallery' ) . ' - [aiovg_categories]',
|
29 |
public function media_buttons() {
|
30 |
global $pagenow, $typenow;
|
31 |
|
32 |
+
// check if the post/page uses Gutenberg editor
|
33 |
+
if ( aiovg_is_gutenberg_page() ) {
|
34 |
+
return;
|
35 |
+
}
|
36 |
+
|
37 |
+
// check if this is our custom post type page
|
38 |
+
if ( in_array( $typenow, array( 'aiovg_videos', 'aiovg_automations' ) ) ) {
|
39 |
+
return;
|
40 |
+
}
|
41 |
+
|
42 |
// Only run in post/page creation and edit screens
|
43 |
+
if ( in_array( $pagenow, array( 'post.php', 'page.php', 'post-new.php', 'post-edit.php' ) ) ) {
|
44 |
printf( '<a href="#aiovg-shortcode-builder" class="button button-primary aiovg-media-button" id="aiovg-media-button"><span class="wp-media-buttons-icon dashicons dashicons-playlist-video"></span> %s</a>', __( 'Video Player & Gallery', 'all-in-one-video-gallery' ) );
|
45 |
}
|
46 |
}
|
53 |
public function admin_footer() {
|
54 |
global $pagenow, $typenow;
|
55 |
|
56 |
+
// check if the post/page uses Gutenberg editor
|
57 |
+
if ( aiovg_is_gutenberg_page() ) {
|
58 |
+
return;
|
59 |
+
}
|
60 |
+
|
61 |
+
// check if this is our custom post type page
|
62 |
+
if ( in_array( $typenow, array( 'aiovg_videos', 'aiovg_automations' ) ) ) {
|
63 |
+
return;
|
64 |
+
}
|
65 |
+
|
66 |
// Only run in post/page creation and edit screens
|
67 |
+
if ( in_array( $pagenow, array( 'post.php', 'page.php', 'post-new.php', 'post-edit.php' ) ) ) {
|
68 |
// Shortcodes
|
69 |
$shortcodes = array(
|
70 |
'categories' => __( 'Video Categories', 'all-in-one-video-gallery' ) . ' - [aiovg_categories]',
|
admin/videos.php
CHANGED
@@ -346,15 +346,21 @@ class AIOVG_Admin_Videos {
|
|
346 |
'depth' => 3,
|
347 |
'show_count' => false,
|
348 |
'hide_empty' => false,
|
349 |
-
));
|
350 |
|
351 |
-
// Restrict by
|
352 |
-
$
|
353 |
-
|
354 |
-
|
355 |
-
|
356 |
-
|
357 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
358 |
}
|
359 |
}
|
360 |
|
@@ -367,16 +373,15 @@ class AIOVG_Admin_Videos {
|
|
367 |
public function parse_query( $query ) {
|
368 |
global $pagenow, $post_type;
|
369 |
|
370 |
-
if ( 'edit.php' == $pagenow && 'aiovg_videos' == $post_type ) {
|
371 |
-
|
372 |
// Convert category id to taxonomy term in query
|
373 |
if ( isset( $query->query_vars['aiovg_categories'] ) && ctype_digit( $query->query_vars['aiovg_categories'] ) && 0 != $query->query_vars['aiovg_categories'] ) {
|
374 |
$term = get_term_by( 'id', $query->query_vars['aiovg_categories'], 'aiovg_categories' );
|
375 |
$query->query_vars['aiovg_categories'] = $term->slug;
|
376 |
}
|
377 |
-
|
378 |
// Set featured meta in query
|
379 |
-
if ( isset( $_GET['
|
380 |
$query->query_vars['meta_key'] = 'featured';
|
381 |
$query->query_vars['meta_value'] = 1;
|
382 |
}
|
346 |
'depth' => 3,
|
347 |
'show_count' => false,
|
348 |
'hide_empty' => false,
|
349 |
+
));
|
350 |
|
351 |
+
// Restrict by custom filtering options
|
352 |
+
$selected = isset( $_GET['aiovg_filter'] ) ? sanitize_text_field( $_GET['aiovg_filter'] ) : '';
|
353 |
+
$options = array(
|
354 |
+
'' => __( "All Videos", 'all-in-one-video-gallery' ),
|
355 |
+
'featured' => __( "Featured only", 'all-in-one-video-gallery' )
|
356 |
+
);
|
357 |
+
$options = apply_filters( 'aiovg_admin_videos_custom_filters', $options );
|
358 |
+
|
359 |
+
echo '<select name="aiovg_filter">';
|
360 |
+
foreach ( $options as $value => $label ) {
|
361 |
+
printf( '<option value="%s"%s>%s</option>', $value, selected( $value, $selected, false ), $label );
|
362 |
+
}
|
363 |
+
echo '</select>';
|
364 |
}
|
365 |
}
|
366 |
|
373 |
public function parse_query( $query ) {
|
374 |
global $pagenow, $post_type;
|
375 |
|
376 |
+
if ( 'edit.php' == $pagenow && 'aiovg_videos' == $post_type ) {
|
|
|
377 |
// Convert category id to taxonomy term in query
|
378 |
if ( isset( $query->query_vars['aiovg_categories'] ) && ctype_digit( $query->query_vars['aiovg_categories'] ) && 0 != $query->query_vars['aiovg_categories'] ) {
|
379 |
$term = get_term_by( 'id', $query->query_vars['aiovg_categories'], 'aiovg_categories' );
|
380 |
$query->query_vars['aiovg_categories'] = $term->slug;
|
381 |
}
|
382 |
+
|
383 |
// Set featured meta in query
|
384 |
+
if ( isset( $_GET['aiovg_filter'] ) && 'featured' == $_GET['aiovg_filter'] ) {
|
385 |
$query->query_vars['meta_key'] = 'featured';
|
386 |
$query->query_vars['meta_value'] = 1;
|
387 |
}
|
admin/welcome.php
CHANGED
@@ -35,6 +35,14 @@ class AIOVG_Admin_Welcome {
|
|
35 |
array( $this, 'display_welcome_content' )
|
36 |
);
|
37 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
38 |
add_dashboard_page(
|
39 |
__( 'Welcome - All-in-One Video Gallery', 'all-in-one-video-gallery' ),
|
40 |
__( 'Welcome - All-in-One Video Gallery', 'all-in-one-video-gallery' ),
|
@@ -45,6 +53,7 @@ class AIOVG_Admin_Welcome {
|
|
45 |
|
46 |
// Now remove the menus so plugins that allow customizing the admin menu don't show them
|
47 |
remove_submenu_page( 'index.php', 'aiovg_welcome' );
|
|
|
48 |
remove_submenu_page( 'index.php', 'aiovg_support' );
|
49 |
}
|
50 |
|
@@ -56,6 +65,7 @@ class AIOVG_Admin_Welcome {
|
|
56 |
public function display_welcome_content() {
|
57 |
$tabs = array(
|
58 |
'aiovg_welcome' => __( 'Getting Started', 'all-in-one-video-gallery' ),
|
|
|
59 |
'aiovg_support' => __( 'Support', 'all-in-one-video-gallery' )
|
60 |
);
|
61 |
|
35 |
array( $this, 'display_welcome_content' )
|
36 |
);
|
37 |
|
38 |
+
add_dashboard_page(
|
39 |
+
__( 'Welcome - All-in-One Video Gallery', 'all-in-one-video-gallery' ),
|
40 |
+
__( 'Welcome - All-in-One Video Gallery', 'all-in-one-video-gallery' ),
|
41 |
+
'manage_aiovg_options',
|
42 |
+
'aiovg_new',
|
43 |
+
array( $this, 'display_welcome_content' )
|
44 |
+
);
|
45 |
+
|
46 |
add_dashboard_page(
|
47 |
__( 'Welcome - All-in-One Video Gallery', 'all-in-one-video-gallery' ),
|
48 |
__( 'Welcome - All-in-One Video Gallery', 'all-in-one-video-gallery' ),
|
53 |
|
54 |
// Now remove the menus so plugins that allow customizing the admin menu don't show them
|
55 |
remove_submenu_page( 'index.php', 'aiovg_welcome' );
|
56 |
+
remove_submenu_page( 'index.php', 'aiovg_new' );
|
57 |
remove_submenu_page( 'index.php', 'aiovg_support' );
|
58 |
}
|
59 |
|
65 |
public function display_welcome_content() {
|
66 |
$tabs = array(
|
67 |
'aiovg_welcome' => __( 'Getting Started', 'all-in-one-video-gallery' ),
|
68 |
+
'aiovg_new' => __( 'New', 'all-in-one-video-gallery' ),
|
69 |
'aiovg_support' => __( 'Support', 'all-in-one-video-gallery' )
|
70 |
);
|
71 |
|
all-in-one-video-gallery.php
CHANGED
@@ -11,7 +11,7 @@
|
|
11 |
* Plugin Name: All-in-One Video Gallery
|
12 |
* Plugin URI: https://plugins360.com/all-in-one-video-gallery/
|
13 |
* Description: No coding required. A Responsive & Lightweight video gallery plugin. HTML5 Video Player, Custom Post Type interface, Categories, Visual Gallery Builder (Gutenberg), forms to Search Videos, Social Sharing and everything you will need to build a YouTube/Vimeo like video sharing website.
|
14 |
-
* Version: 1.6.
|
15 |
* Author: Team Plugins360
|
16 |
* Author URI: https://plugins360.com
|
17 |
* License: GPL-2.0+
|
@@ -76,7 +76,7 @@ if ( !function_exists( 'aiovg_fs' ) ) {
|
|
76 |
|
77 |
// The current version of the plugin
|
78 |
if ( !defined( 'AIOVG_PLUGIN_VERSION' ) ) {
|
79 |
-
define( 'AIOVG_PLUGIN_VERSION', '1.6.
|
80 |
}
|
81 |
// The unique identifier of the plugin
|
82 |
if ( !defined( 'AIOVG_PLUGIN_SLUG' ) ) {
|
11 |
* Plugin Name: All-in-One Video Gallery
|
12 |
* Plugin URI: https://plugins360.com/all-in-one-video-gallery/
|
13 |
* Description: No coding required. A Responsive & Lightweight video gallery plugin. HTML5 Video Player, Custom Post Type interface, Categories, Visual Gallery Builder (Gutenberg), forms to Search Videos, Social Sharing and everything you will need to build a YouTube/Vimeo like video sharing website.
|
14 |
+
* Version: 1.6.2
|
15 |
* Author: Team Plugins360
|
16 |
* Author URI: https://plugins360.com
|
17 |
* License: GPL-2.0+
|
76 |
|
77 |
// The current version of the plugin
|
78 |
if ( !defined( 'AIOVG_PLUGIN_VERSION' ) ) {
|
79 |
+
define( 'AIOVG_PLUGIN_VERSION', '1.6.2' );
|
80 |
}
|
81 |
// The unique identifier of the plugin
|
82 |
if ( !defined( 'AIOVG_PLUGIN_SLUG' ) ) {
|
includes/functions.php
CHANGED
@@ -178,14 +178,17 @@ function aiovg_get_attachment_id( $url, $media = 'image' ) {
|
|
178 |
$file = basename( $url );
|
179 |
|
180 |
$query_args = array(
|
181 |
-
'post_type'
|
182 |
'post_status' => 'inherit',
|
183 |
-
'fields'
|
184 |
-
'
|
|
|
|
|
|
|
185 |
array(
|
186 |
-
'
|
187 |
-
'
|
188 |
-
'
|
189 |
),
|
190 |
)
|
191 |
);
|
@@ -196,7 +199,7 @@ function aiovg_get_attachment_id( $url, $media = 'image' ) {
|
|
196 |
foreach ( $query->posts as $post_id ) {
|
197 |
$meta = wp_get_attachment_metadata( $post_id );
|
198 |
|
199 |
-
$original_file
|
200 |
$cropped_image_files = wp_list_pluck( $meta['sizes'], 'file' );
|
201 |
|
202 |
if ( $original_file === $file || in_array( $file, $cropped_image_files ) ) {
|
@@ -1384,6 +1387,27 @@ function aiovg_insert_custom_pages() {
|
|
1384 |
return $pages;
|
1385 |
}
|
1386 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1387 |
/**
|
1388 |
* Removes an item or list from the query string.
|
1389 |
*
|
178 |
$file = basename( $url );
|
179 |
|
180 |
$query_args = array(
|
181 |
+
'post_type' => 'attachment',
|
182 |
'post_status' => 'inherit',
|
183 |
+
'fields' => 'ids',
|
184 |
+
'no_found_rows' => true,
|
185 |
+
'update_post_term_cache' => false,
|
186 |
+
'update_post_meta_cache' => false,
|
187 |
+
'meta_query' => array(
|
188 |
array(
|
189 |
+
'key' => '_wp_attachment_metadata',
|
190 |
+
'value' => $file,
|
191 |
+
'compare' => 'LIKE'
|
192 |
),
|
193 |
)
|
194 |
);
|
199 |
foreach ( $query->posts as $post_id ) {
|
200 |
$meta = wp_get_attachment_metadata( $post_id );
|
201 |
|
202 |
+
$original_file = basename( $meta['file'] );
|
203 |
$cropped_image_files = wp_list_pluck( $meta['sizes'], 'file' );
|
204 |
|
205 |
if ( $original_file === $file || in_array( $file, $cropped_image_files ) ) {
|
1387 |
return $pages;
|
1388 |
}
|
1389 |
|
1390 |
+
/**
|
1391 |
+
* Check whether the current post/page uses Gutenberg editor.
|
1392 |
+
*
|
1393 |
+
* @since 1.6.2
|
1394 |
+
* @return bool True if the post/page uses Gutenberg, false if not.
|
1395 |
+
*/
|
1396 |
+
function aiovg_is_gutenberg_page() {
|
1397 |
+
if ( function_exists( 'is_gutenberg_page' ) && is_gutenberg_page() ) {
|
1398 |
+
// The Gutenberg plugin is on
|
1399 |
+
return true;
|
1400 |
+
}
|
1401 |
+
|
1402 |
+
$current_screen = get_current_screen();
|
1403 |
+
if ( method_exists( $current_screen, 'is_block_editor' ) && $current_screen->is_block_editor() ) {
|
1404 |
+
// Gutenberg page on 5+
|
1405 |
+
return true;
|
1406 |
+
}
|
1407 |
+
|
1408 |
+
return false;
|
1409 |
+
}
|
1410 |
+
|
1411 |
/**
|
1412 |
* Removes an item or list from the query string.
|
1413 |
*
|
includes/init.php
CHANGED
@@ -226,6 +226,7 @@ class AIOVG_Init {
|
|
226 |
$this->loader->add_filter( 'wpseo_metadesc', $public, 'wpseo_metadesc' );
|
227 |
$this->loader->add_filter( 'wpseo_canonical', $public, 'wpseo_canonical' );
|
228 |
$this->loader->add_filter( 'wpseo_opengraph_url', $public, 'wpseo_canonical' );
|
|
|
229 |
} else {
|
230 |
$this->loader->add_filter( 'wp_title', $public, 'wp_title', 99, 3 );
|
231 |
$this->loader->add_filter( 'document_title_parts', $public, 'document_title_parts' );
|
226 |
$this->loader->add_filter( 'wpseo_metadesc', $public, 'wpseo_metadesc' );
|
227 |
$this->loader->add_filter( 'wpseo_canonical', $public, 'wpseo_canonical' );
|
228 |
$this->loader->add_filter( 'wpseo_opengraph_url', $public, 'wpseo_canonical' );
|
229 |
+
$this->loader->add_filter( 'wpseo_breadcrumb_links', $public, 'wpseo_breadcrumb_links' );
|
230 |
} else {
|
231 |
$this->loader->add_filter( 'wp_title', $public, 'wp_title', 99, 3 );
|
232 |
$this->loader->add_filter( 'document_title_parts', $public, 'document_title_parts' );
|
languages/all-in-one-video-gallery.pot
CHANGED
@@ -1,50 +1,47 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: All-in-One Video Gallery\n"
|
4 |
-
"POT-Creation-Date: 2019-
|
5 |
-
"PO-Revision-Date: 2019-
|
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.2.
|
13 |
"X-Poedit-Basepath: ..\n"
|
14 |
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
15 |
"X-Poedit-SourceCharset: UTF-8\n"
|
16 |
-
"X-Poedit-KeywordsList: __;_e;
|
17 |
"X-Poedit-SearchPath-0: .\n"
|
18 |
|
19 |
-
#: admin/admin.php:
|
20 |
msgid "Settings"
|
21 |
msgstr ""
|
22 |
|
23 |
-
#: admin/admin.php:
|
24 |
msgid "All-in-One Video Gallery"
|
25 |
msgstr ""
|
26 |
|
27 |
-
#: admin/admin.php:
|
28 |
msgid "Getting Started"
|
29 |
msgstr ""
|
30 |
|
31 |
-
#: admin/admin.php:
|
32 |
msgid "Contact Us"
|
33 |
msgstr ""
|
34 |
|
35 |
-
#: admin/admin.php:
|
36 |
msgid "Upgrade Pro"
|
37 |
msgstr ""
|
38 |
|
39 |
-
#: admin/categories.php:
|
40 |
msgid "Categories"
|
41 |
msgstr ""
|
42 |
|
43 |
-
#: admin/categories.php:32
|
44 |
-
msgid "Category"
|
45 |
-
msgstr ""
|
46 |
-
|
47 |
#: admin/categories.php:34 admin/videos.php:339
|
|
|
48 |
msgid "All Categories"
|
49 |
msgstr ""
|
50 |
|
@@ -112,8 +109,8 @@ msgstr ""
|
|
112 |
msgid "Categories list navigation"
|
113 |
msgstr ""
|
114 |
|
115 |
-
#: admin/categories.php:124 admin/settings.php:338 admin/videos.php:
|
116 |
-
#: blocks/blocks.php:81 includes/functions.php:
|
117 |
#: widgets/forms/categories.php:64
|
118 |
msgid "ID"
|
119 |
msgstr ""
|
@@ -149,11 +146,12 @@ msgstr ""
|
|
149 |
msgid "Latest Video"
|
150 |
msgstr ""
|
151 |
|
152 |
-
#: admin/partials/shortcode-builder.php:
|
153 |
msgid "Insert Shortcode"
|
154 |
msgstr ""
|
155 |
|
156 |
-
#: admin/partials/shortcode-builder.php:
|
|
|
157 |
msgid "Cancel"
|
158 |
msgstr ""
|
159 |
|
@@ -170,6 +168,11 @@ msgstr ""
|
|
170 |
#: admin/partials/video-sources.php:38 admin/partials/video-sources.php:69
|
171 |
#: admin/partials/video-sources.php:83 admin/partials/video-sources.php:151
|
172 |
#: admin/partials/video-tracks.php:27 admin/partials/video-tracks.php:63
|
|
|
|
|
|
|
|
|
|
|
173 |
msgid "Enter your Direct File URL here (OR) use the Upload Media button"
|
174 |
msgstr ""
|
175 |
|
@@ -197,45 +200,48 @@ msgid "OGV"
|
|
197 |
msgstr ""
|
198 |
|
199 |
#: admin/partials/video-sources.php:92 admin/partials/video-sources.php:95
|
200 |
-
#: admin/settings.php:286 includes/functions.php:
|
|
|
201 |
#: premium/public/templates/video-form.php:197
|
202 |
msgid "YouTube"
|
203 |
msgstr ""
|
204 |
|
205 |
-
#: admin/partials/video-sources.php:97
|
206 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
207 |
msgstr ""
|
208 |
|
209 |
#: admin/partials/video-sources.php:103 admin/partials/video-sources.php:106
|
210 |
-
#: admin/settings.php:287 includes/functions.php:
|
211 |
#: premium/public/templates/video-form.php:213
|
212 |
msgid "Vimeo"
|
213 |
msgstr ""
|
214 |
|
215 |
-
#: admin/partials/video-sources.php:108
|
216 |
-
msgid "Example: https://vimeo.com/108018156"
|
217 |
-
msgstr ""
|
218 |
-
|
219 |
#: admin/partials/video-sources.php:114 admin/partials/video-sources.php:117
|
220 |
-
#: admin/settings.php:288 includes/functions.php:
|
221 |
#: premium/public/templates/video-form.php:229
|
222 |
msgid "Dailymotion"
|
223 |
msgstr ""
|
224 |
|
225 |
-
#: admin/partials/video-sources.php:119
|
226 |
-
msgid "Example: https://www.dailymotion.com/video/x11prnt"
|
227 |
-
msgstr ""
|
228 |
-
|
229 |
#: admin/partials/video-sources.php:125 admin/partials/video-sources.php:128
|
230 |
-
#: admin/settings.php:289 admin/settings.php:509 includes/functions.php:
|
231 |
-
#: includes/functions.php:
|
232 |
msgid "Facebook"
|
233 |
msgstr ""
|
234 |
|
235 |
-
#: admin/partials/video-sources.php:130
|
236 |
-
msgid "Example: https://www.facebook.com/facebook/videos/10155278547321729"
|
237 |
-
msgstr ""
|
238 |
-
|
239 |
#: admin/partials/video-sources.php:136 admin/partials/video-sources.php:139
|
240 |
msgid "Embed Code"
|
241 |
msgstr ""
|
@@ -245,17 +251,13 @@ msgid "Enter your Iframe Embed Code here"
|
|
245 |
msgstr ""
|
246 |
|
247 |
#: admin/partials/video-sources.php:160 admin/partials/video-sources.php:163
|
248 |
-
#: admin/settings.php:273 blocks/blocks.php:121 includes/functions.php:
|
249 |
-
#: widgets/forms/video.php:
|
250 |
msgid "Duration"
|
251 |
msgstr ""
|
252 |
|
253 |
-
#: admin/partials/video-sources.php:165
|
254 |
-
msgid "6:30"
|
255 |
-
msgstr ""
|
256 |
-
|
257 |
#: admin/partials/video-sources.php:171 admin/partials/video-sources.php:174
|
258 |
-
#: admin/videos.php:
|
259 |
msgid "Views"
|
260 |
msgstr ""
|
261 |
|
@@ -263,7 +265,7 @@ msgstr ""
|
|
263 |
msgid "Mark as"
|
264 |
msgstr ""
|
265 |
|
266 |
-
#: admin/partials/video-submitbox.php:17 admin/videos.php:
|
267 |
msgid "Featured"
|
268 |
msgstr ""
|
269 |
|
@@ -307,77 +309,93 @@ msgstr ""
|
|
307 |
msgid "Add New File"
|
308 |
msgstr ""
|
309 |
|
310 |
-
#: admin/partials/welcome.php:
|
311 |
#, php-format
|
312 |
msgid "All-in-One Video Gallery - %s"
|
313 |
msgstr ""
|
314 |
|
315 |
-
#: admin/partials/welcome.php:
|
316 |
msgid "The last video player & gallery plugin you'll ever need."
|
317 |
msgstr ""
|
318 |
|
319 |
-
#: admin/partials/welcome.php:
|
320 |
msgid "Getting Started - Premium Features"
|
321 |
msgstr ""
|
322 |
|
323 |
-
#: admin/partials/welcome.php:
|
324 |
#, php-format
|
325 |
msgid "Version %s"
|
326 |
msgstr ""
|
327 |
|
328 |
-
#: admin/partials/welcome.php:
|
329 |
-
#: admin/partials/welcome.php:
|
330 |
-
#: admin/partials/welcome.php:
|
331 |
#, php-format
|
332 |
msgid "Step #%d:"
|
333 |
msgstr ""
|
334 |
|
335 |
-
#: admin/partials/welcome.php:
|
336 |
msgid "Install & Activate <strong>All-in-One Video Gallery</strong>"
|
337 |
msgstr ""
|
338 |
|
339 |
-
#: admin/partials/welcome.php:
|
340 |
msgid "Optional"
|
341 |
msgstr ""
|
342 |
|
343 |
-
#: admin/partials/welcome.php:
|
344 |
msgid "Add Categories"
|
345 |
msgstr ""
|
346 |
|
347 |
-
#: admin/partials/welcome.php:
|
348 |
msgid "Add Videos"
|
349 |
msgstr ""
|
350 |
|
351 |
-
#: admin/partials/welcome.php:
|
352 |
#, php-format
|
353 |
msgid ""
|
354 |
"Add a Categories <a href=\"%s\">Page</a> to your site front-end. Find step "
|
355 |
"by step instructions <a href=\"%s\" target=\"_blank\">here</a>"
|
356 |
msgstr ""
|
357 |
|
358 |
-
#: admin/partials/welcome.php:
|
359 |
#, php-format
|
360 |
msgid ""
|
361 |
"Add a Videos <a href=\"%s\">Page</a> to your site front-end. Find step by "
|
362 |
"step instructions <a href=\"%s\" target=\"_blank\">here</a>"
|
363 |
msgstr ""
|
364 |
|
365 |
-
#: admin/partials/welcome.php:
|
366 |
#, php-format
|
367 |
msgid ""
|
368 |
"Please <a href=\"%s\" target=\"_blank\">refer</a> for more advanced "
|
369 |
"tutorials."
|
370 |
msgstr ""
|
371 |
|
372 |
-
#: admin/partials/welcome.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
373 |
msgid "Need Help?"
|
374 |
msgstr ""
|
375 |
|
376 |
-
#: admin/partials/welcome.php:
|
377 |
msgid "Phenomenal Support"
|
378 |
msgstr ""
|
379 |
|
380 |
-
#: admin/partials/welcome.php:
|
381 |
#, php-format
|
382 |
msgid ""
|
383 |
"We do our best to provide the best support we can. If you encounter a "
|
@@ -385,11 +403,11 @@ msgid ""
|
|
385 |
"\"%s\" target=\"_blank\">support form</a>."
|
386 |
msgstr ""
|
387 |
|
388 |
-
#: admin/partials/welcome.php:
|
389 |
msgid "Need Even Faster Support?"
|
390 |
msgstr ""
|
391 |
|
392 |
-
#: admin/partials/welcome.php:
|
393 |
#, php-format
|
394 |
msgid ""
|
395 |
"Our <a href=\"%s\" target=\"_blank\">Priority Support</a> system is there "
|
@@ -408,9 +426,9 @@ msgstr ""
|
|
408 |
msgid "Advanced"
|
409 |
msgstr ""
|
410 |
|
411 |
-
#: admin/settings.php:117 blocks/blocks.php:106 includes/functions.php:
|
412 |
-
#: includes/functions.php:
|
413 |
-
#: includes/functions.php:
|
414 |
msgid "General Settings"
|
415 |
msgstr ""
|
416 |
|
@@ -492,8 +510,8 @@ msgid ""
|
|
492 |
msgstr ""
|
493 |
|
494 |
#: admin/settings.php:210 admin/settings.php:297 blocks/blocks.php:107
|
495 |
-
#: includes/functions.php:
|
496 |
-
#: widgets/forms/video.php:
|
497 |
msgid "Width"
|
498 |
msgstr ""
|
499 |
|
@@ -505,8 +523,8 @@ msgid ""
|
|
505 |
msgstr ""
|
506 |
|
507 |
#: admin/settings.php:217 admin/settings.php:304 blocks/blocks.php:109
|
508 |
-
#: includes/functions.php:
|
509 |
-
#: includes/functions.php:
|
510 |
msgid "Ratio"
|
511 |
msgstr ""
|
512 |
|
@@ -544,8 +562,8 @@ msgstr ""
|
|
544 |
msgid "Cinemascope"
|
545 |
msgstr ""
|
546 |
|
547 |
-
#: admin/settings.php:234 blocks/blocks.php:111 includes/functions.php:
|
548 |
-
#: widgets/forms/video.php:
|
549 |
msgid "Autoplay"
|
550 |
msgstr ""
|
551 |
|
@@ -553,8 +571,8 @@ msgstr ""
|
|
553 |
msgid "Check this to start playing the video as soon as it is ready"
|
554 |
msgstr ""
|
555 |
|
556 |
-
#: admin/settings.php:241 blocks/blocks.php:112 includes/functions.php:
|
557 |
-
#: widgets/forms/video.php:
|
558 |
msgid "Loop"
|
559 |
msgstr ""
|
560 |
|
@@ -596,38 +614,38 @@ msgstr ""
|
|
596 |
msgid "None"
|
597 |
msgstr ""
|
598 |
|
599 |
-
#: admin/settings.php:266 blocks/blocks.php:117 includes/functions.php:
|
600 |
-
#: widgets/forms/video.php:
|
601 |
msgid "Player Controls"
|
602 |
msgstr ""
|
603 |
|
604 |
-
#: admin/settings.php:270 blocks/blocks.php:118 includes/functions.php:
|
605 |
-
#: widgets/forms/video.php:
|
606 |
msgid "Play / Pause"
|
607 |
msgstr ""
|
608 |
|
609 |
-
#: admin/settings.php:271 blocks/blocks.php:119 includes/functions.php:
|
610 |
-
#: widgets/forms/video.php:
|
611 |
msgid "Current Time"
|
612 |
msgstr ""
|
613 |
|
614 |
-
#: admin/settings.php:272 blocks/blocks.php:120 includes/functions.php:
|
615 |
-
#: widgets/forms/video.php:
|
616 |
msgid "Progressbar"
|
617 |
msgstr ""
|
618 |
|
619 |
-
#: admin/settings.php:274 admin/videos.php:143 includes/functions.php:
|
620 |
-
#: widgets/forms/video.php:
|
621 |
msgid "Subtitles"
|
622 |
msgstr ""
|
623 |
|
624 |
-
#: admin/settings.php:275 blocks/blocks.php:122 includes/functions.php:
|
625 |
-
#: widgets/forms/video.php:
|
626 |
msgid "Volume"
|
627 |
msgstr ""
|
628 |
|
629 |
-
#: admin/settings.php:276 blocks/blocks.php:123 includes/functions.php:
|
630 |
-
#: widgets/forms/video.php:
|
631 |
msgid "Fullscreen"
|
632 |
msgstr ""
|
633 |
|
@@ -655,24 +673,24 @@ msgid ""
|
|
655 |
msgstr ""
|
656 |
|
657 |
#: admin/settings.php:313 admin/settings.php:388 blocks/blocks.php:76
|
658 |
-
#: includes/functions.php:
|
659 |
-
#: includes/functions.php:
|
660 |
#: widgets/forms/search.php:20
|
661 |
msgid "Select Template"
|
662 |
msgstr ""
|
663 |
|
664 |
-
#: admin/settings.php:317 blocks/blocks.php:77 includes/functions.php:
|
665 |
#: widgets/forms/categories.php:43
|
666 |
msgid "Grid"
|
667 |
msgstr ""
|
668 |
|
669 |
-
#: admin/settings.php:318 blocks/blocks.php:78 includes/functions.php:
|
670 |
#: widgets/forms/categories.php:44
|
671 |
msgid "List"
|
672 |
msgstr ""
|
673 |
|
674 |
#: admin/settings.php:324 admin/settings.php:396 blocks/blocks.php:79
|
675 |
-
#: includes/functions.php:
|
676 |
#: widgets/forms/categories.php:55
|
677 |
msgid "Columns"
|
678 |
msgstr ""
|
@@ -685,23 +703,23 @@ msgstr ""
|
|
685 |
msgid "Order by"
|
686 |
msgstr ""
|
687 |
|
688 |
-
#: admin/settings.php:339 blocks/blocks.php:82 includes/functions.php:
|
689 |
#: widgets/forms/categories.php:65
|
690 |
msgid "Count"
|
691 |
msgstr ""
|
692 |
|
693 |
-
#: admin/settings.php:340 blocks/blocks.php:83 includes/functions.php:
|
694 |
#: widgets/forms/categories.php:66
|
695 |
msgid "Name"
|
696 |
msgstr ""
|
697 |
|
698 |
-
#: admin/settings.php:341 blocks/blocks.php:84 includes/functions.php:
|
699 |
#: widgets/forms/categories.php:67
|
700 |
msgid "Slug"
|
701 |
msgstr ""
|
702 |
|
703 |
#: admin/settings.php:347 admin/settings.php:426 blocks/blocks.php:85
|
704 |
-
#: includes/functions.php:
|
705 |
#: widgets/forms/categories.php:78
|
706 |
msgid "Order"
|
707 |
msgstr ""
|
@@ -714,7 +732,7 @@ msgstr ""
|
|
714 |
msgid "Descending"
|
715 |
msgstr ""
|
716 |
|
717 |
-
#: admin/settings.php:358 blocks/blocks.php:88 includes/functions.php:
|
718 |
#: widgets/forms/categories.php:95
|
719 |
msgid "Show Hierarchy"
|
720 |
msgstr ""
|
@@ -723,7 +741,7 @@ msgstr ""
|
|
723 |
msgid "Check this to show the child categories"
|
724 |
msgstr ""
|
725 |
|
726 |
-
#: admin/settings.php:365 blocks/blocks.php:89 includes/functions.php:
|
727 |
#: widgets/forms/categories.php:100
|
728 |
msgid "Show Description"
|
729 |
msgstr ""
|
@@ -732,8 +750,8 @@ msgstr ""
|
|
732 |
msgid "Check this to show the categories description"
|
733 |
msgstr ""
|
734 |
|
735 |
-
#: admin/settings.php:372 blocks/blocks.php:90 includes/functions.php:
|
736 |
-
#: includes/functions.php:
|
737 |
msgid "Show Videos Count"
|
738 |
msgstr ""
|
739 |
|
@@ -741,7 +759,7 @@ msgstr ""
|
|
741 |
msgid "Check this to show the videos count next to the category name"
|
742 |
msgstr ""
|
743 |
|
744 |
-
#: admin/settings.php:379 blocks/blocks.php:91 includes/functions.php:
|
745 |
#: widgets/forms/categories.php:110
|
746 |
msgid "Hide Empty Categories"
|
747 |
msgstr ""
|
@@ -750,7 +768,7 @@ msgstr ""
|
|
750 |
msgid "Check this to hide categories with no videos"
|
751 |
msgstr ""
|
752 |
|
753 |
-
#: admin/settings.php:389 includes/functions.php:
|
754 |
#, php-format
|
755 |
msgid ""
|
756 |
"<a href=\"%s\" target=\"_blank\">Upgrade Pro</a> for more templates (Popup, "
|
@@ -761,7 +779,7 @@ msgstr ""
|
|
761 |
msgid "Enter the number of columns you like to have in the gallery view."
|
762 |
msgstr ""
|
763 |
|
764 |
-
#: admin/settings.php:406 includes/functions.php:
|
765 |
msgid "Limit (per page)"
|
766 |
msgstr ""
|
767 |
|
@@ -770,40 +788,46 @@ msgid ""
|
|
770 |
"Number of videos to show per page. Use a value of \"0\" to show all videos."
|
771 |
msgstr ""
|
772 |
|
773 |
-
#: admin/settings.php:413 blocks/blocks.php:80 includes/functions.php:
|
774 |
-
#: includes/functions.php:
|
|
|
|
|
|
|
775 |
msgid "Order By"
|
776 |
msgstr ""
|
777 |
|
778 |
-
#: admin/settings.php:417 includes/functions.php:
|
779 |
-
#: includes/functions.php:
|
|
|
|
|
780 |
#: widgets/forms/categories.php:15 widgets/forms/search.php:15
|
781 |
#: widgets/forms/video.php:15
|
782 |
msgid "Title"
|
783 |
msgstr ""
|
784 |
|
785 |
-
#: admin/settings.php:418 includes/functions.php:
|
786 |
msgid "Date Posted"
|
787 |
msgstr ""
|
788 |
|
789 |
#: admin/settings.php:419 admin/settings.php:456 admin/settings.php:480
|
790 |
-
#: includes/functions.php:
|
|
|
791 |
msgid "Views Count"
|
792 |
msgstr ""
|
793 |
|
794 |
-
#: admin/settings.php:420 includes/functions.php:
|
795 |
msgid "Random"
|
796 |
msgstr ""
|
797 |
|
798 |
-
#: admin/settings.php:437 includes/functions.php:
|
799 |
msgid "Thumbnail Style"
|
800 |
msgstr ""
|
801 |
|
802 |
-
#: admin/settings.php:441 includes/functions.php:
|
803 |
msgid "Image Top Aligned"
|
804 |
msgstr ""
|
805 |
|
806 |
-
#: admin/settings.php:442 includes/functions.php:
|
807 |
msgid "Image Left Aligned"
|
808 |
msgstr ""
|
809 |
|
@@ -835,7 +859,7 @@ msgstr ""
|
|
835 |
msgid "Video Excerpt"
|
836 |
msgstr ""
|
837 |
|
838 |
-
#: admin/settings.php:464 includes/functions.php:
|
839 |
msgid "Excerpt Length"
|
840 |
msgstr ""
|
841 |
|
@@ -843,7 +867,7 @@ msgstr ""
|
|
843 |
msgid "Number of characters."
|
844 |
msgstr ""
|
845 |
|
846 |
-
#: admin/settings.php:481 includes/functions.php:
|
847 |
msgid "Related Videos"
|
848 |
msgstr ""
|
849 |
|
@@ -869,7 +893,7 @@ msgstr ""
|
|
869 |
msgid "Enable Services"
|
870 |
msgstr ""
|
871 |
|
872 |
-
#: admin/settings.php:510 includes/functions.php:
|
873 |
msgid "Twitter"
|
874 |
msgstr ""
|
875 |
|
@@ -877,7 +901,7 @@ msgstr ""
|
|
877 |
msgid "Google Plus"
|
878 |
msgstr ""
|
879 |
|
880 |
-
#: admin/settings.php:512 includes/functions.php:
|
881 |
msgid "Linkedin"
|
882 |
msgstr ""
|
883 |
|
@@ -1020,7 +1044,10 @@ msgstr ""
|
|
1020 |
msgid "Video Player & Gallery"
|
1021 |
msgstr ""
|
1022 |
|
1023 |
-
#: admin/shortcode-builder.php:50
|
|
|
|
|
|
|
1024 |
msgid "Video Categories"
|
1025 |
msgstr ""
|
1026 |
|
@@ -1036,11 +1063,7 @@ msgstr ""
|
|
1036 |
msgid "Search Form"
|
1037 |
msgstr ""
|
1038 |
|
1039 |
-
#: admin/videos.php:
|
1040 |
-
msgid "Videos"
|
1041 |
-
msgstr ""
|
1042 |
-
|
1043 |
-
#: admin/videos.php:35 admin/videos.php:37 admin/videos.php:69
|
1044 |
msgid "Video"
|
1045 |
msgstr ""
|
1046 |
|
@@ -1056,15 +1079,15 @@ msgstr ""
|
|
1056 |
msgid "Parent Video:"
|
1057 |
msgstr ""
|
1058 |
|
1059 |
-
#: admin/videos.php:41 admin/videos.php:
|
1060 |
msgid "All Videos"
|
1061 |
msgstr ""
|
1062 |
|
1063 |
-
#: admin/videos.php:42
|
1064 |
msgid "Add New Video"
|
1065 |
msgstr ""
|
1066 |
|
1067 |
-
#: admin/videos.php:43
|
1068 |
msgid "Add New"
|
1069 |
msgstr ""
|
1070 |
|
@@ -1144,16 +1167,20 @@ msgstr ""
|
|
1144 |
msgid "Video Sources"
|
1145 |
msgstr ""
|
1146 |
|
1147 |
-
#: admin/videos.php:
|
1148 |
msgid "Featured only"
|
1149 |
msgstr ""
|
1150 |
|
1151 |
#: admin/welcome.php:31 admin/welcome.php:32 admin/welcome.php:39
|
1152 |
-
#: admin/welcome.php:40
|
1153 |
msgid "Welcome - All-in-One Video Gallery"
|
1154 |
msgstr ""
|
1155 |
|
1156 |
-
#: admin/welcome.php:
|
|
|
|
|
|
|
|
|
1157 |
msgid "Support"
|
1158 |
msgstr ""
|
1159 |
|
@@ -1169,17 +1196,17 @@ msgstr ""
|
|
1169 |
msgid "Categories Settings"
|
1170 |
msgstr ""
|
1171 |
|
1172 |
-
#: blocks/blocks.php:75 includes/functions.php:
|
1173 |
#: widgets/forms/categories.php:20 widgets/forms/categories.php:23
|
1174 |
msgid "Select Parent"
|
1175 |
msgstr ""
|
1176 |
|
1177 |
-
#: blocks/blocks.php:86 includes/functions.php:
|
1178 |
#: widgets/forms/categories.php:82
|
1179 |
msgid "ASC"
|
1180 |
msgstr ""
|
1181 |
|
1182 |
-
#: blocks/blocks.php:87 includes/functions.php:
|
1183 |
#: widgets/forms/categories.php:83
|
1184 |
msgid "DESC"
|
1185 |
msgstr ""
|
@@ -1208,15 +1235,15 @@ msgstr ""
|
|
1208 |
msgid "Search Form Settings"
|
1209 |
msgstr ""
|
1210 |
|
1211 |
-
#: blocks/blocks.php:98 includes/functions.php:
|
1212 |
msgid "Vertical"
|
1213 |
msgstr ""
|
1214 |
|
1215 |
-
#: blocks/blocks.php:99 includes/functions.php:
|
1216 |
msgid "Horizontal"
|
1217 |
msgstr ""
|
1218 |
|
1219 |
-
#: blocks/blocks.php:100 includes/functions.php:
|
1220 |
msgid "Search By Categories"
|
1221 |
msgstr ""
|
1222 |
|
@@ -1256,556 +1283,911 @@ msgstr ""
|
|
1256 |
msgid "Remove Poster Image"
|
1257 |
msgstr ""
|
1258 |
|
1259 |
-
#: includes/functions.php:
|
1260 |
msgid "Select Categories"
|
1261 |
msgstr ""
|
1262 |
|
1263 |
-
#: includes/functions.php:
|
1264 |
msgid "Exclude Video ID(s)"
|
1265 |
msgstr ""
|
1266 |
|
1267 |
-
#: includes/functions.php:
|
1268 |
msgid "Featured Only"
|
1269 |
msgstr ""
|
1270 |
|
1271 |
-
#: includes/functions.php:
|
1272 |
msgid "Follow URL"
|
1273 |
msgstr ""
|
1274 |
|
1275 |
-
#: includes/functions.php:
|
1276 |
msgid "Gallery Settings"
|
1277 |
msgstr ""
|
1278 |
|
1279 |
-
#: includes/functions.php:
|
1280 |
msgid "Show Category Name"
|
1281 |
msgstr ""
|
1282 |
|
1283 |
-
#: includes/functions.php:
|
1284 |
msgid "Show Date Added"
|
1285 |
msgstr ""
|
1286 |
|
1287 |
-
#: includes/functions.php:
|
1288 |
msgid "Show Author Name"
|
1289 |
msgstr ""
|
1290 |
|
1291 |
-
#: includes/functions.php:
|
1292 |
msgid "Show Views Count"
|
1293 |
msgstr ""
|
1294 |
|
1295 |
-
#: includes/functions.php:
|
1296 |
msgid "Show Video Duration"
|
1297 |
msgstr ""
|
1298 |
|
1299 |
-
#: includes/functions.php:
|
1300 |
msgid "Show Video Excerpt"
|
1301 |
msgstr ""
|
1302 |
|
1303 |
-
#: includes/functions.php:
|
1304 |
msgid "Show Pagination"
|
1305 |
msgstr ""
|
1306 |
|
1307 |
-
#: includes/functions.php:
|
1308 |
msgid "Show More Button"
|
1309 |
msgstr ""
|
1310 |
|
1311 |
-
#: includes/functions.php:
|
1312 |
msgid "More Button Label"
|
1313 |
msgstr ""
|
1314 |
|
1315 |
-
#: includes/functions.php:
|
1316 |
msgid "Show More"
|
1317 |
msgstr ""
|
1318 |
|
1319 |
-
#: includes/functions.php:
|
1320 |
msgid "More Button Link"
|
1321 |
msgstr ""
|
1322 |
|
1323 |
-
#: includes/functions.php:
|
1324 |
msgid "Select Video"
|
1325 |
msgstr ""
|
1326 |
|
1327 |
-
#: includes/functions.php:
|
1328 |
msgid ""
|
1329 |
"<strong>Please accept cookies to play this video</strong>. By accepting you "
|
1330 |
"will be accessing content from a service provided by an external third party."
|
1331 |
msgstr ""
|
1332 |
|
1333 |
-
#: includes/functions.php:
|
1334 |
msgid "Accept"
|
1335 |
msgstr ""
|
1336 |
|
1337 |
-
#: includes/functions.php:
|
1338 |
msgid "No Items found."
|
1339 |
msgstr ""
|
1340 |
|
1341 |
-
#: includes/functions.php:
|
1342 |
msgid "Self Hosted"
|
1343 |
msgstr ""
|
1344 |
|
1345 |
-
#: includes/functions.php:
|
1346 |
msgid "External URL"
|
1347 |
msgstr ""
|
1348 |
|
1349 |
-
#: includes/functions.php:
|
1350 |
msgid "Iframe Embed Code"
|
1351 |
msgstr ""
|
1352 |
|
1353 |
-
#: includes/functions.php:
|
1354 |
msgid "Classic"
|
1355 |
msgstr ""
|
1356 |
|
1357 |
-
#: includes/functions.php:
|
1358 |
msgid "Video Category"
|
1359 |
msgstr ""
|
1360 |
|
1361 |
-
#: includes/functions.php:
|
1362 |
msgid "Search Videos"
|
1363 |
msgstr ""
|
1364 |
|
1365 |
-
#: includes/functions.php:
|
1366 |
msgid "User Videos"
|
1367 |
msgstr ""
|
1368 |
|
1369 |
-
#: includes/functions.php:
|
1370 |
msgid "Player Embed"
|
1371 |
msgstr ""
|
1372 |
|
1373 |
-
#: includes/functions.php:
|
1374 |
msgid "«"
|
1375 |
msgstr ""
|
1376 |
|
1377 |
-
#: includes/functions.php:
|
1378 |
msgid "»"
|
1379 |
msgstr ""
|
1380 |
|
1381 |
-
#: includes/functions.php:
|
1382 |
#, php-format
|
1383 |
msgid "Page %d of %d"
|
1384 |
msgstr ""
|
1385 |
|
1386 |
-
#: includes/functions.php:
|
1387 |
msgid "Google+"
|
1388 |
msgstr ""
|
1389 |
|
1390 |
-
#: includes/functions.php:
|
1391 |
msgid "Pin It"
|
1392 |
msgstr ""
|
1393 |
|
1394 |
-
#: premium/admin/
|
1395 |
-
msgid "Adaptive / Live Streaming"
|
1396 |
-
msgstr ""
|
1397 |
-
|
1398 |
-
#: premium/admin/admin.php:38
|
1399 |
#, php-format
|
1400 |
msgid "Proudly by \"%s\""
|
1401 |
msgstr ""
|
1402 |
|
1403 |
-
#: premium/admin/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1404 |
msgid "Ads"
|
1405 |
msgstr ""
|
1406 |
|
1407 |
-
#: premium/admin/ads.php:
|
1408 |
msgid "Ads Settings"
|
1409 |
msgstr ""
|
1410 |
|
1411 |
-
#: premium/admin/ads.php:
|
1412 |
msgid ""
|
1413 |
"Monetize your videos using DoubleClick for Publishers (DFP), the Google "
|
1414 |
"AdSense network, or any VAST-compliant ad server."
|
1415 |
msgstr ""
|
1416 |
|
1417 |
-
#: premium/admin/ads.php:
|
1418 |
msgid "Enable Ads"
|
1419 |
msgstr ""
|
1420 |
|
1421 |
-
#: premium/admin/ads.php:
|
1422 |
msgid "Check this option to enable advertisements on your videos"
|
1423 |
msgstr ""
|
1424 |
|
1425 |
-
#: premium/admin/ads.php:
|
1426 |
msgid "VAST URL"
|
1427 |
msgstr ""
|
1428 |
|
1429 |
-
#: premium/admin/ads.php:
|
1430 |
#, php-format
|
1431 |
msgid ""
|
1432 |
"Click here for a list of <a href=\"%s\" target=\"_blank\">Ad Tag Variables</"
|
1433 |
"a> (Macros) supported by the plugin."
|
1434 |
msgstr ""
|
1435 |
|
1436 |
-
#: premium/admin/ads.php:
|
1437 |
msgid "VPAID Mode"
|
1438 |
msgstr ""
|
1439 |
|
1440 |
-
#: premium/admin/ads.php:
|
1441 |
msgid "Enabled"
|
1442 |
msgstr ""
|
1443 |
|
1444 |
-
#: premium/admin/ads.php:
|
1445 |
msgid "Insecure"
|
1446 |
msgstr ""
|
1447 |
|
1448 |
-
#: premium/admin/ads.php:
|
1449 |
msgid "Disabled"
|
1450 |
msgstr ""
|
1451 |
|
1452 |
-
#: premium/admin/ads.php:
|
1453 |
msgid "Livestream Ad Interval"
|
1454 |
msgstr ""
|
1455 |
|
1456 |
-
#: premium/admin/ads.php:
|
1457 |
msgid ""
|
1458 |
"Optional. Seconds after the next advertisement should play in your live "
|
1459 |
"streaming video player."
|
1460 |
msgstr ""
|
1461 |
|
1462 |
-
#: premium/admin/ads.php:
|
1463 |
msgid "Google Publisher Tag (GPT)"
|
1464 |
msgstr ""
|
1465 |
|
1466 |
-
#: premium/admin/ads.php:
|
1467 |
#, php-format
|
1468 |
msgid ""
|
1469 |
"Optional. Check this option to display companion ads using <a href=\"%s\" "
|
1470 |
"target=\"_blank\">Google Publisher Tag</a>"
|
1471 |
msgstr ""
|
1472 |
|
1473 |
-
#: premium/admin/ads.php:
|
1474 |
msgid "Video Ads"
|
1475 |
msgstr ""
|
1476 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1477 |
#: premium/admin/partials/adaptive-streaming.php:15
|
1478 |
#: premium/admin/partials/adaptive-streaming.php:18
|
1479 |
#: premium/public/templates/video-form.php:261
|
1480 |
msgid "M(PEG)-DASH"
|
1481 |
msgstr ""
|
1482 |
|
1483 |
-
#: premium/admin/partials/adaptive-streaming.php:20
|
1484 |
-
msgid "Example: https://www.mysite.com/stream.mpd"
|
1485 |
-
msgstr ""
|
1486 |
-
|
1487 |
#: premium/admin/partials/adaptive-streaming.php:26
|
1488 |
#: premium/admin/partials/adaptive-streaming.php:29
|
1489 |
#: premium/public/templates/video-form.php:261
|
1490 |
msgid "HLS"
|
1491 |
msgstr ""
|
1492 |
|
1493 |
-
#: premium/admin/partials/
|
1494 |
-
msgid "
|
1495 |
msgstr ""
|
1496 |
|
1497 |
-
#: premium/admin/partials/
|
1498 |
-
|
|
|
1499 |
msgstr ""
|
1500 |
|
1501 |
-
#: premium/admin/
|
1502 |
-
|
|
|
1503 |
msgstr ""
|
1504 |
|
1505 |
-
#: premium/admin/
|
1506 |
-
|
|
|
1507 |
msgstr ""
|
1508 |
|
1509 |
-
#: premium/admin/
|
1510 |
-
msgid "
|
1511 |
msgstr ""
|
1512 |
|
1513 |
-
#: premium/admin/
|
1514 |
-
|
|
|
1515 |
msgstr ""
|
1516 |
|
1517 |
-
#: premium/admin/
|
1518 |
-
|
|
|
1519 |
msgstr ""
|
1520 |
|
1521 |
-
#: premium/admin/
|
1522 |
-
|
|
|
|
|
1523 |
msgstr ""
|
1524 |
|
1525 |
-
#: premium/admin/
|
1526 |
-
|
|
|
1527 |
msgstr ""
|
1528 |
|
1529 |
-
#: premium/admin/
|
1530 |
-
msgid "
|
1531 |
msgstr ""
|
1532 |
|
1533 |
-
#: premium/admin/
|
1534 |
-
|
|
|
1535 |
msgstr ""
|
1536 |
|
1537 |
|