All-in-One Video Gallery - Version 1.6.1

Version Description

  • New: Option to delete or NOT delete the associated media files when a video post or video category is deleted.
  • Tweak: Uses mediaelement.js library files from the WordPress core.
  • Tweak: Displays player spinner immediately after the play button is clicked.
  • Fix: Issues with the gutenberg player block settings.
  • Fix: [+] few more minor bug fixes.
Download this release

Release Info

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

Code changes from version 1.6.0 to 1.6.1

Files changed (62) hide show
  1. README.txt +19 -2
  2. admin/admin.php +8 -0
  3. admin/categories.php +7 -3
  4. admin/partials/video-sources.php +1 -1
  5. admin/settings.php +8 -1
  6. admin/videos.php +7 -5
  7. all-in-one-video-gallery.php +2 -2
  8. blocks/blocks.php +7 -5
  9. includes/functions.php +56 -27
  10. includes/init.php +4 -6
  11. includes/loader.php +2 -25
  12. includes/uninstall.php +0 -2
  13. languages/all-in-one-video-gallery.pot +623 -233
  14. public/assets/css/public.css +45 -0
  15. public/assets/mediaelement/lang/ca.js +0 -89
  16. public/assets/mediaelement/lang/cs.js +0 -90
  17. public/assets/mediaelement/lang/de.js +0 -90
  18. public/assets/mediaelement/lang/es.js +0 -90
  19. public/assets/mediaelement/lang/fa.js +0 -90
  20. public/assets/mediaelement/lang/fr.js +0 -91
  21. public/assets/mediaelement/lang/hr.js +0 -87
  22. public/assets/mediaelement/lang/hu.js +0 -90
  23. public/assets/mediaelement/lang/index.html +0 -1
  24. public/assets/mediaelement/lang/it.js +0 -90
  25. public/assets/mediaelement/lang/ja.js +0 -90
  26. public/assets/mediaelement/lang/ko.js +0 -90
  27. public/assets/mediaelement/lang/ms.js +0 -90
  28. public/assets/mediaelement/lang/nl.js +0 -91
  29. public/assets/mediaelement/lang/pl.js +0 -90
  30. public/assets/mediaelement/lang/pt.js +0 -92
  31. public/assets/mediaelement/lang/ro.js +0 -90
  32. public/assets/mediaelement/lang/ru.js +0 -90
  33. public/assets/mediaelement/lang/sk.js +0 -90
  34. public/assets/mediaelement/lang/sv.js +0 -89
  35. public/assets/mediaelement/lang/uk.js +0 -89
  36. public/assets/mediaelement/lang/zh-cn.js +0 -90
  37. public/assets/mediaelement/lang/zh.js +0 -91
  38. public/assets/mediaelement/mediaelement-and-player.js +0 -8522
  39. public/assets/mediaelement/mediaelement-and-player.min.js +0 -12
  40. public/assets/mediaelement/mediaelement-flash-audio-ogg.swf +0 -0
  41. public/assets/mediaelement/mediaelement-flash-audio.swf +0 -0
  42. public/assets/mediaelement/mediaelement-flash-video-hls.swf +0 -0
  43. public/assets/mediaelement/mediaelement-flash-video-mdash.swf +0 -0
  44. public/assets/mediaelement/mediaelement-flash-video.swf +0 -0
  45. public/assets/mediaelement/mediaelement.js +0 -3974
  46. public/assets/mediaelement/mediaelement.min.js +0 -12
  47. public/assets/mediaelement/mediaelementplayer-legacy.css +0 -774
  48. public/assets/mediaelement/mediaelementplayer-legacy.min.css +0 -1
  49. public/assets/mediaelement/mediaelementplayer.css +0 -774
  50. public/assets/mediaelement/mediaelementplayer.min.css +0 -1
  51. public/assets/mediaelement/mejs-controls.png +0 -0
  52. public/assets/mediaelement/mejs-controls.svg +0 -1
  53. public/categories.php +1 -58
  54. public/templates/player-html5.php +58 -47
  55. public/templates/player-iframe.php +1 -1
  56. public/templates/single-video.php +1 -1
  57. public/templates/video-thumbnail-image-left.php +2 -2
  58. public/video.php +4 -4
  59. public/videos.php +27 -11
  60. widgets/forms/video.php +1 -1
  61. widgets/video.php +1 -1
  62. widgets/videos.php +4 -0
README.txt CHANGED
@@ -2,11 +2,11 @@
2
  Plugin URI: https://plugins360.com/all-in-one-video-gallery/
3
  Contributors: plugins360, freemius
4
  Donate link: https://plugins360.com
5
- Tags: player, youtube, vimeo, live, stream
6
  Requires at least: 4.4.0
7
  Tested up to: 5.1
8
  Requires PHP: 5.3.0
9
- Stable tag: 1.6.0
10
  License: GPLv2 or later
11
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
 
@@ -49,6 +49,7 @@ https://www.youtube.com/watch?v=w47PU9ppuF8
49
  * Popup Template
50
  * Slider Template
51
  * VAST / VPAID Ads
 
52
 
53
  **Translations**
54
 
@@ -91,6 +92,14 @@ Most likely rewrite rules were not registered properly for some reason. Go to "W
91
 
92
  == Changelog ==
93
 
 
 
 
 
 
 
 
 
94
  = 1.6.0 =
95
 
96
  * Fix: Security fix.
@@ -173,6 +182,14 @@ Most likely rewrite rules were not registered properly for some reason. Go to "W
173
 
174
  == Upgrade Notice ==
175
 
 
 
 
 
 
 
 
 
176
  = 1.6.0 =
177
 
178
  * Fix: Security fix.
2
  Plugin URI: https://plugins360.com/all-in-one-video-gallery/
3
  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.1
8
  Requires PHP: 5.3.0
9
+ Stable tag: 1.6.1
10
  License: GPLv2 or later
11
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
 
49
  * Popup Template
50
  * Slider Template
51
  * VAST / VPAID Ads
52
+ * Front-end User Submission
53
 
54
  **Translations**
55
 
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.
98
+ * Tweak: Uses mediaelement.js library files from the WordPress core.
99
+ * Tweak: Displays player spinner immediately after the play button is clicked.
100
+ * Fix: Issues with the gutenberg player block settings.
101
+ * Fix: [+] few more minor bug fixes.
102
+
103
  = 1.6.0 =
104
 
105
  * Fix: Security fix.
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.
188
+ * Tweak: Uses mediaelement.js library files from the WordPress core.
189
+ * Tweak: Displays player spinner immediately after the play button is clicked.
190
+ * Fix: Issues with the gutenberg player block settings.
191
+ * Fix: [+] few more minor bug fixes.
192
+
193
  = 1.6.0 =
194
 
195
  * Fix: Security fix.
admin/admin.php CHANGED
@@ -33,6 +33,14 @@ class AIOVG_Admin {
33
  // Update the plugin version
34
  update_option( 'aiovg_version', AIOVG_PLUGIN_VERSION );
35
 
 
 
 
 
 
 
 
 
36
  // Insert the missing player settings
37
  $player_settings = get_option( 'aiovg_player_settings' );
38
 
33
  // Update the plugin version
34
  update_option( 'aiovg_version', AIOVG_PLUGIN_VERSION );
35
 
36
+ // Insert the missing general settings
37
+ $general_settings = get_option( 'aiovg_general_settings' );
38
+
39
+ if ( ! array_key_exists( 'delete_media_files', $general_settings ) ) {
40
+ $general_settings['delete_media_files'] = $defaults['aiovg_general_settings']['delete_media_files'];
41
+ update_option( 'aiovg_general_settings', $general_settings );
42
+ }
43
+
44
  // Insert the missing player settings
45
  $player_settings = get_option( 'aiovg_player_settings' );
46
 
admin/categories.php CHANGED
@@ -153,7 +153,7 @@ class AIOVG_Admin_Categories {
153
  return;
154
  }
155
 
156
- aiovg_delete_category_attachments( $term_id );
157
  }
158
 
159
  /**
@@ -164,8 +164,12 @@ class AIOVG_Admin_Categories {
164
  public function ajax_callback_delete_category_image() {
165
  check_ajax_referer( 'aiovg_process_category_image', 'security' );
166
 
167
- if ( isset( $_POST['attachment_id'] ) ) {
168
- wp_delete_attachment( (int) $_POST['attachment_id'], true );
 
 
 
 
169
  }
170
 
171
  wp_die();
153
  return;
154
  }
155
 
156
+ aiovg_delete_category_attachments( $term_id );
157
  }
158
 
159
  /**
164
  public function ajax_callback_delete_category_image() {
165
  check_ajax_referer( 'aiovg_process_category_image', 'security' );
166
 
167
+ $general_settings = get_option( 'aiovg_general_settings' );
168
+
169
+ if ( ! empty( $general_settings['delete_media_files'] ) ) {
170
+ if ( isset( $_POST['attachment_id'] ) ) {
171
+ wp_delete_attachment( (int) $_POST['attachment_id'], true );
172
+ }
173
  }
174
 
175
  wp_die();
admin/partials/video-sources.php CHANGED
@@ -20,7 +20,7 @@
20
  <p class="aiovg-hidden-sm aiovg-hidden-md aiovg-hidden-lg"><strong><?php _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();
24
  foreach ( $types as $key => $label ) {
25
  printf( '<option value="%s"%s>%s</option>', $key, selected( $key, $type, false ), $label );
26
  }
20
  <p class="aiovg-hidden-sm aiovg-hidden-md aiovg-hidden-lg"><strong><?php _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 );
24
  foreach ( $types as $key => $label ) {
25
  printf( '<option value="%s"%s>%s</option>', $key, selected( $key, $type, false ), $label );
26
  }
admin/settings.php CHANGED
@@ -192,7 +192,14 @@ class AIOVG_Admin_Settings {
192
  array(
193
  'name' => 'delete_plugin_data',
194
  'label' => __( 'Remove data on uninstall?', 'all-in-one-video-gallery' ),
195
- 'description' => __( 'Check this box to delete all of the plugin data( database stored content, uploaded media files, etc... ) when uninstalled', 'all-in-one-video-gallery' ),
 
 
 
 
 
 
 
196
  'type' => 'checkbox',
197
  'sanitize_callback' => 'intval'
198
  )
192
  array(
193
  'name' => 'delete_plugin_data',
194
  'label' => __( 'Remove data on uninstall?', 'all-in-one-video-gallery' ),
195
+ 'description' => __( 'Check this box to delete all of the plugin data (database stored content) when uninstalled', 'all-in-one-video-gallery' ),
196
+ 'type' => 'checkbox',
197
+ 'sanitize_callback' => 'intval'
198
+ ),
199
+ array(
200
+ 'name' => 'delete_media_files',
201
+ 'label' => __( 'Delete media files?', 'all-in-one-video-gallery' ),
202
+ 'description' => __( 'Check this box to also delete the associated media files when a video post or a video category is deleted', 'all-in-one-video-gallery' ),
203
  'type' => 'checkbox',
204
  'sanitize_callback' => 'intval'
205
  )
admin/videos.php CHANGED
@@ -253,7 +253,11 @@ class AIOVG_Admin_Videos {
253
  $youtube = isset( $_POST['youtube'] ) ? esc_url_raw( $_POST['youtube'] ) : '';
254
  update_post_meta( $post_id, 'youtube', $youtube );
255
 
256
- $vimeo = isset( $_POST['vimeo'] ) ? esc_url_raw( $_POST['vimeo'] ) : '';
 
 
 
 
257
  update_post_meta( $post_id, 'vimeo', $vimeo );
258
 
259
  $dailymotion = isset( $_POST['dailymotion'] ) ? esc_url_raw( $_POST['dailymotion'] ) : '';
@@ -426,10 +430,8 @@ class AIOVG_Admin_Videos {
426
  * @since 1.0.0
427
  * @param int $post_id Post ID.
428
  */
429
- public function before_delete_post( $post_id ) {
430
- global $post_type;
431
-
432
- if ( 'aiovg_videos' != $post_type ) {
433
  return;
434
  }
435
 
253
  $youtube = isset( $_POST['youtube'] ) ? esc_url_raw( $_POST['youtube'] ) : '';
254
  update_post_meta( $post_id, 'youtube', $youtube );
255
 
256
+ $vimeo = '';
257
+ if ( isset( $_POST['vimeo'] ) ) {
258
+ $vimeo = aiovg_get_vimeo_url_oembed( $_POST['vimeo'] );
259
+ $vimeo = esc_url_raw( $vimeo );
260
+ }
261
  update_post_meta( $post_id, 'vimeo', $vimeo );
262
 
263
  $dailymotion = isset( $_POST['dailymotion'] ) ? esc_url_raw( $_POST['dailymotion'] ) : '';
430
  * @since 1.0.0
431
  * @param int $post_id Post ID.
432
  */
433
+ public function before_delete_post( $post_id ) {
434
+ if ( 'aiovg_videos' != get_post_type( $post_id ) ) {
 
 
435
  return;
436
  }
437
 
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.0
15
  * Author: Team Plugins360
16
  * Author URI: https://plugins360.com
17
  * License: GPL-2.0+
@@ -76,7 +76,7 @@ if ( !function_exists( 'aiovg_fs' ) ) {
76
 
77
  // The current version of the plugin
78
  if ( !defined( 'AIOVG_PLUGIN_VERSION' ) ) {
79
- define( 'AIOVG_PLUGIN_VERSION', '1.6.0' );
80
  }
81
  // The unique identifier of the plugin
82
  if ( !defined( 'AIOVG_PLUGIN_SLUG' ) ) {
11
  * Plugin Name: All-in-One Video Gallery
12
  * Plugin URI: https://plugins360.com/all-in-one-video-gallery/
13
  * Description: No coding required. A Responsive & Lightweight video gallery plugin. HTML5 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.1
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.1' );
80
  }
81
  // The unique identifier of the plugin
82
  if ( !defined( 'AIOVG_PLUGIN_SLUG' ) ) {
blocks/blocks.php CHANGED
@@ -352,6 +352,10 @@ class AIOVG_Blocks {
352
  return;
353
  }
354
 
 
 
 
 
355
  return do_shortcode( '[aiovg_videos ' . $this->build_shortcode_attributes( $atts ) . ']' );
356
  }
357
 
@@ -388,14 +392,14 @@ class AIOVG_Blocks {
388
  return;
389
  }
390
 
391
- if ( false !== strpos( $atts['src'], 'youtube.com' ) ) {
392
  $atts['youtube'] = $atts['src'];
393
 
394
  if ( empty( $atts['poster'] ) ) {
395
  $atts['poster'] = aiovg_get_youtube_image_url( $atts['youtube'] );
396
  }
397
  } elseif ( false !== strpos( $atts['src'], 'vimeo.com' ) ) {
398
- $atts['vimeo'] = $atts['src'];
399
 
400
  if ( empty( $atts['poster'] ) ) {
401
  $atts['poster'] = aiovg_get_vimeo_image_url( $atts['vimeo'] );
@@ -430,9 +434,7 @@ class AIOVG_Blocks {
430
  }
431
  }
432
 
433
- $post_id = 0;
434
-
435
- return aiovg_get_player_html( $post_id, $atts );
436
  }
437
 
438
  /**
352
  return;
353
  }
354
 
355
+ if ( isset( $atts['ratio'] ) ) {
356
+ unset( $atts['ratio'] ); // Always get ratio from the global settings
357
+ }
358
+
359
  return do_shortcode( '[aiovg_videos ' . $this->build_shortcode_attributes( $atts ) . ']' );
360
  }
361
 
392
  return;
393
  }
394
 
395
+ if ( false !== strpos( $atts['src'], 'youtube.com' ) || false !== strpos( $atts['src'], 'youtu.be' ) ) {
396
  $atts['youtube'] = $atts['src'];
397
 
398
  if ( empty( $atts['poster'] ) ) {
399
  $atts['poster'] = aiovg_get_youtube_image_url( $atts['youtube'] );
400
  }
401
  } elseif ( false !== strpos( $atts['src'], 'vimeo.com' ) ) {
402
+ $atts['vimeo'] = aiovg_get_vimeo_url_oembed( $atts['src'] );
403
 
404
  if ( empty( $atts['poster'] ) ) {
405
  $atts['poster'] = aiovg_get_vimeo_image_url( $atts['vimeo'] );
434
  }
435
  }
436
 
437
+ return do_shortcode( '[aiovg_video ' . $this->build_shortcode_attributes( $atts ) . ']' );
 
 
438
  }
439
 
440
  /**
includes/functions.php CHANGED
@@ -116,9 +116,13 @@ function aiovg_current_user_can( $capability, $post_id = 0 ) {
116
  * @since 1.0.0
117
  * @param int $term_id Term ID.
118
  */
119
- function aiovg_delete_category_attachments( $term_id ) {
120
- $image_id = get_term_meta( $term_id, 'image_id', true );
121
- if ( ! empty( $image_id ) ) wp_delete_attachment( $image_id, true );
 
 
 
 
122
  }
123
 
124
  /**
@@ -127,23 +131,27 @@ function aiovg_delete_category_attachments( $term_id ) {
127
  * @since 1.0.0
128
  * @param int $post_id Post ID.
129
  */
130
- function aiovg_delete_video_attachments( $post_id ) {
131
- $mp4_id = get_post_meta( $post_id, 'mp4_id', true );
132
- if ( ! empty( $mp4_id ) ) wp_delete_attachment( $mp4_id, true );
133
-
134
- $webm_id = get_post_meta( $post_id, 'webm_id', true );
135
- if ( ! empty( $webm_id ) ) wp_delete_attachment( $webm_id, true );
136
-
137
- $ogv_id = get_post_meta( $post_id, 'ogv_id', true );
138
- if ( ! empty( $ogv_id ) ) wp_delete_attachment( $ogv_id, true );
139
-
140
- $image_id = get_post_meta( $post_id, 'image_id', true );
141
- if ( ! empty( $image_id ) ) wp_delete_attachment( $image_id, true );
142
 
143
- $tracks = get_post_meta( $post_id, 'track' );
144
- if ( count( $tracks ) ) {
145
- foreach ( $tracks as $key => $track ) {
146
- if ( 'src_id' == $key ) wp_delete_attachment( (int) $track['src_id'], true );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
147
  }
148
  }
149
  }
@@ -740,7 +748,8 @@ function aiovg_get_dailymotion_image_url( $url ) {
740
  function aiovg_get_default_settings() {
741
  $defaults = array(
742
  'aiovg_general_settings' => array(
743
- 'delete_plugin_data' => 1
 
744
  ),
745
  'aiovg_player_settings' => array(
746
  'width' => '',
@@ -758,12 +767,11 @@ function aiovg_get_default_settings() {
758
  'fullscreen' => 'fullscreen'
759
  ),
760
  'use_native_controls' => array(
761
- 'dailymotion' => 'dailymotion',
762
- 'facebook' => 'facebook'
763
  )
764
  ),
765
  'aiovg_image_settings' => array(
766
- 'ratio' => 75
767
  ),
768
  'aiovg_categories_settings' => array(
769
  'template' => 'grid',
@@ -1155,17 +1163,21 @@ function aiovg_get_user_videos_page_url( $user_id ) {
1155
  * Get video source types.
1156
  *
1157
  * @since 1.0.0
 
1158
  * @return array Array of source types.
1159
  */
1160
- function aiovg_get_video_source_types() {
1161
  $types = array(
1162
  'default' => __( 'Self Hosted', 'all-in-one-video-gallery' ) . ' / ' . __( 'External URL', 'all-in-one-video-gallery' ),
1163
  'youtube' => __( 'YouTube', 'all-in-one-video-gallery' ),
1164
  'vimeo' => __( 'Vimeo', 'all-in-one-video-gallery' ),
1165
  'dailymotion' => __( 'Dailymotion', 'all-in-one-video-gallery' ),
1166
- 'facebook' => __( 'Facebook', 'all-in-one-video-gallery' ),
1167
- 'embedcode' => __( 'Iframe Embed Code', 'all-in-one-video-gallery' )
1168
  );
 
 
 
 
1169
 
1170
  return apply_filters( 'aiovg_video_source_types', $types );
1171
  }
@@ -1221,6 +1233,23 @@ function aiovg_get_vimeo_image_url( $url ) {
1221
  return $url;
1222
  }
1223
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1224
  /**
1225
  * Get YouTube ID from URL.
1226
  *
@@ -1331,7 +1360,7 @@ function aiovg_insert_custom_pages() {
1331
  foreach ( $page_definitions as $slug => $page ) {
1332
  $page_check = get_page_by_title( $page['title'] );
1333
 
1334
- if ( null == $page_check ) {
1335
  $id = wp_insert_post(
1336
  array(
1337
  'post_title' => $page['title'],
116
  * @since 1.0.0
117
  * @param int $term_id Term ID.
118
  */
119
+ function aiovg_delete_category_attachments( $term_id ) {
120
+ $general_settings = get_option( 'aiovg_general_settings' );
121
+
122
+ if ( ! empty( $general_settings['delete_media_files'] ) ) {
123
+ $image_id = get_term_meta( $term_id, 'image_id', true );
124
+ if ( ! empty( $image_id ) ) wp_delete_attachment( $image_id, true );
125
+ }
126
  }
127
 
128
  /**
131
  * @since 1.0.0
132
  * @param int $post_id Post ID.
133
  */
134
+ function aiovg_delete_video_attachments( $post_id ) {
135
+ $general_settings = get_option( 'aiovg_general_settings' );
 
 
 
 
 
 
 
 
 
 
136
 
137
+ if ( ! empty( $general_settings['delete_media_files'] ) ) {
138
+ $mp4_id = get_post_meta( $post_id, 'mp4_id', true );
139
+ if ( ! empty( $mp4_id ) ) wp_delete_attachment( $mp4_id, true );
140
+
141
+ $webm_id = get_post_meta( $post_id, 'webm_id', true );
142
+ if ( ! empty( $webm_id ) ) wp_delete_attachment( $webm_id, true );
143
+
144
+ $ogv_id = get_post_meta( $post_id, 'ogv_id', true );
145
+ if ( ! empty( $ogv_id ) ) wp_delete_attachment( $ogv_id, true );
146
+
147
+ $image_id = get_post_meta( $post_id, 'image_id', true );
148
+ if ( ! empty( $image_id ) ) wp_delete_attachment( $image_id, true );
149
+
150
+ $tracks = get_post_meta( $post_id, 'track' );
151
+ if ( count( $tracks ) ) {
152
+ foreach ( $tracks as $key => $track ) {
153
+ if ( 'src_id' == $key ) wp_delete_attachment( (int) $track['src_id'], true );
154
+ }
155
  }
156
  }
157
  }
748
  function aiovg_get_default_settings() {
749
  $defaults = array(
750
  'aiovg_general_settings' => array(
751
+ 'delete_plugin_data' => 1,
752
+ 'delete_media_files' => 1
753
  ),
754
  'aiovg_player_settings' => array(
755
  'width' => '',
767
  'fullscreen' => 'fullscreen'
768
  ),
769
  'use_native_controls' => array(
770
+ 'dailymotion' => 'dailymotion'
 
771
  )
772
  ),
773
  'aiovg_image_settings' => array(
774
+ 'ratio' => 56.25
775
  ),
776
  'aiovg_categories_settings' => array(
777
  'template' => 'grid',
1163
  * Get video source types.
1164
  *
1165
  * @since 1.0.0
1166
+ * @param bool $is_admin True if admin, false if not
1167
  * @return array Array of source types.
1168
  */
1169
+ function aiovg_get_video_source_types( $is_admin = false ) {
1170
  $types = array(
1171
  'default' => __( 'Self Hosted', 'all-in-one-video-gallery' ) . ' / ' . __( 'External URL', 'all-in-one-video-gallery' ),
1172
  'youtube' => __( 'YouTube', 'all-in-one-video-gallery' ),
1173
  'vimeo' => __( 'Vimeo', 'all-in-one-video-gallery' ),
1174
  'dailymotion' => __( 'Dailymotion', 'all-in-one-video-gallery' ),
1175
+ 'facebook' => __( 'Facebook', 'all-in-one-video-gallery' )
 
1176
  );
1177
+
1178
+ if ( $is_admin ) {
1179
+ $types['embedcode'] = __( 'Iframe Embed Code', 'all-in-one-video-gallery' );
1180
+ }
1181
 
1182
  return apply_filters( 'aiovg_video_source_types', $types );
1183
  }
1233
  return $url;
1234
  }
1235
 
1236
+ /**
1237
+ * Get Vimeo URL using oEmbed.
1238
+ *
1239
+ * @since 1.6.1
1240
+ * @param string $url Vimeo URL.
1241
+ * @return string $url Vimeo URL from oEmbed.
1242
+ */
1243
+ function aiovg_get_vimeo_url_oembed( $url ) {
1244
+ if ( ! empty( $url ) ) {
1245
+ $oembed = file_get_contents( 'https://vimeo.com/api/oembed.json?url=' . $url );
1246
+ $json = json_decode( $oembed );
1247
+ $url = 'https://vimeo.com/' . $json->video_id;
1248
+ }
1249
+
1250
+ return $url;
1251
+ }
1252
+
1253
  /**
1254
  * Get YouTube ID from URL.
1255
  *
1360
  foreach ( $page_definitions as $slug => $page ) {
1361
  $page_check = get_page_by_title( $page['title'] );
1362
 
1363
+ if ( ! isset( $page_check->ID ) ) {
1364
  $id = wp_insert_post(
1365
  array(
1366
  'post_title' => $page['title'],
includes/init.php CHANGED
@@ -116,7 +116,7 @@ class AIOVG_Init {
116
  require_once AIOVG_PLUGIN_DIR . 'widgets/video.php';
117
  require_once AIOVG_PLUGIN_DIR . 'widgets/search.php';
118
 
119
- $this->loader = AIOVG_Loader::get_instance();
120
  }
121
 
122
  /**
@@ -159,6 +159,7 @@ class AIOVG_Init {
159
  $videos = new AIOVG_Admin_Videos();
160
 
161
  $this->loader->add_action( 'init', $videos, 'register_post_type' );
 
162
 
163
  if ( is_admin() ) {
164
  $this->loader->add_action( 'admin_head', $videos, 'remove_media_buttons' );
@@ -166,8 +167,7 @@ class AIOVG_Init {
166
  $this->loader->add_action( 'add_meta_boxes', $videos, 'add_meta_boxes' );
167
  $this->loader->add_action( 'save_post', $videos, 'save_meta_data', 10, 2 );
168
  $this->loader->add_action( 'restrict_manage_posts', $videos, 'restrict_manage_posts' );
169
- $this->loader->add_action( 'manage_aiovg_videos_posts_custom_column', $videos, 'custom_column_content', 10, 2 );
170
- $this->loader->add_action( 'before_delete_post', $videos, 'before_delete_post' );
171
 
172
  $this->loader->add_filter( 'parse_query', $videos, 'parse_query' );
173
  $this->loader->add_filter( 'manage_edit-aiovg_videos_columns', $videos, 'get_columns' );
@@ -235,9 +235,7 @@ class AIOVG_Init {
235
  $this->loader->add_filter( 'term_link', $public, 'term_link', 10, 3 );
236
 
237
  // Hooks specific to the categories page
238
- $categories = new AIOVG_Public_Categories();
239
-
240
- $this->loader->add_filter( 'do_shortcode_tag', $categories, 'do_shortcode_tag', 10, 2 );
241
 
242
  // Hooks specific to the videos page
243
  $videos = new AIOVG_Public_Videos();
116
  require_once AIOVG_PLUGIN_DIR . 'widgets/video.php';
117
  require_once AIOVG_PLUGIN_DIR . 'widgets/search.php';
118
 
119
+ $this->loader = new AIOVG_Loader();
120
  }
121
 
122
  /**
159
  $videos = new AIOVG_Admin_Videos();
160
 
161
  $this->loader->add_action( 'init', $videos, 'register_post_type' );
162
+ $this->loader->add_action( 'before_delete_post', $videos, 'before_delete_post' );
163
 
164
  if ( is_admin() ) {
165
  $this->loader->add_action( 'admin_head', $videos, 'remove_media_buttons' );
167
  $this->loader->add_action( 'add_meta_boxes', $videos, 'add_meta_boxes' );
168
  $this->loader->add_action( 'save_post', $videos, 'save_meta_data', 10, 2 );
169
  $this->loader->add_action( 'restrict_manage_posts', $videos, 'restrict_manage_posts' );
170
+ $this->loader->add_action( 'manage_aiovg_videos_posts_custom_column', $videos, 'custom_column_content', 10, 2 );
 
171
 
172
  $this->loader->add_filter( 'parse_query', $videos, 'parse_query' );
173
  $this->loader->add_filter( 'manage_edit-aiovg_videos_columns', $videos, 'get_columns' );
235
  $this->loader->add_filter( 'term_link', $public, 'term_link', 10, 3 );
236
 
237
  // Hooks specific to the categories page
238
+ $categories = new AIOVG_Public_Categories();
 
 
239
 
240
  // Hooks specific to the videos page
241
  $videos = new AIOVG_Public_Videos();
includes/loader.php CHANGED
@@ -39,21 +39,12 @@ class AIOVG_Loader {
39
  */
40
  protected $filters;
41
 
42
- /**
43
- *
44
- * @since 1.0.0
45
- * @access private
46
- * @var object|AIOVG_Loader
47
- */
48
- private static $instance;
49
-
50
  /**
51
  * Initialize the collections used to maintain the actions and filters.
52
  *
53
- * @since 1.0.0
54
- * @access private
55
  */
56
- private function __construct() {
57
  $this->actions = array();
58
  $this->filters = array();
59
  }
@@ -127,18 +118,4 @@ class AIOVG_Loader {
127
  }
128
  }
129
 
130
- /**
131
- * Get an instance of this class.
132
- *
133
- * @since 1.0.0
134
- * @return object|AIOVG_Loader
135
- */
136
- public static function get_instance() {
137
- if ( is_null( self::$instance ) ) {
138
- self::$instance = new AIOVG_Loader();
139
- }
140
-
141
- return self::$instance;
142
- }
143
-
144
  }
39
  */
40
  protected $filters;
41
 
 
 
 
 
 
 
 
 
42
  /**
43
  * Initialize the collections used to maintain the actions and filters.
44
  *
45
+ * @since 1.0.0
 
46
  */
47
+ public function __construct() {
48
  $this->actions = array();
49
  $this->filters = array();
50
  }
118
  }
119
  }
120
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
121
  }
includes/uninstall.php CHANGED
@@ -42,7 +42,6 @@ class AIOVG_Uninstall
42
  ) );
43
  if ( count( $items ) ) {
44
  foreach ( $items as $item ) {
45
- aiovg_delete_video_attachments( $item );
46
  wp_delete_post( $item, true );
47
  }
48
  }
@@ -54,7 +53,6 @@ class AIOVG_Uninstall
54
  // Delete terms
55
  if ( count( $terms ) ) {
56
  foreach ( $terms as $term ) {
57
- aiovg_delete_category_attachments( $term->term_id );
58
  $wpdb->delete( $wpdb->term_taxonomy, array(
59
  'term_taxonomy_id' => $term->term_taxonomy_id,
60
  ) );
42
  ) );
43
  if ( count( $items ) ) {
44
  foreach ( $items as $item ) {
 
45
  wp_delete_post( $item, true );
46
  }
47
  }
53
  // Delete terms
54
  if ( count( $terms ) ) {
55
  foreach ( $terms as $term ) {
 
56
  $wpdb->delete( $wpdb->term_taxonomy, array(
57
  'term_taxonomy_id' => $term->term_taxonomy_id,
58
  ) );
languages/all-in-one-video-gallery.pot CHANGED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: All-in-One Video Gallery\n"
4
- "POT-Creation-Date: 2019-03-05 21:45+0530\n"
5
- "PO-Revision-Date: 2019-03-05 21:47+0530\n"
6
  "Last-Translator: \n"
7
  "Language-Team: \n"
8
  "Language: en_US\n"
@@ -16,23 +16,23 @@ msgstr ""
16
  "X-Poedit-KeywordsList: __;_e;_x\n"
17
  "X-Poedit-SearchPath-0: .\n"
18
 
19
- #: admin/admin.php:149 admin/settings.php:59 admin/settings.php:60
20
  msgid "Settings"
21
  msgstr ""
22
 
23
- #: admin/admin.php:164 blocks/blocks.php:37
24
  msgid "All-in-One Video Gallery"
25
  msgstr ""
26
 
27
- #: admin/admin.php:166 admin/welcome.php:58
28
  msgid "Getting Started"
29
  msgstr ""
30
 
31
- #: admin/admin.php:168
32
  msgid "Contact Us"
33
  msgstr ""
34
 
35
- #: admin/admin.php:171
36
  msgid "Upgrade Pro"
37
  msgstr ""
38
 
@@ -44,7 +44,7 @@ msgstr ""
44
  msgid "Category"
45
  msgstr ""
46
 
47
- #: admin/categories.php:34 admin/videos.php:335
48
  msgid "All Categories"
49
  msgstr ""
50
 
@@ -112,14 +112,15 @@ msgstr ""
112
  msgid "Categories list navigation"
113
  msgstr ""
114
 
115
- #: admin/categories.php:124 admin/settings.php:331 admin/videos.php:393
116
- #: blocks/blocks.php:81 includes/functions.php:283
117
  #: widgets/forms/categories.php:64
118
  msgid "ID"
119
  msgstr ""
120
 
121
  #: admin/partials/category-image.php:15 admin/partials/category-image.php:26
122
  #: admin/partials/video-sources.php:146 admin/partials/video-sources.php:149
 
123
  msgid "Image"
124
  msgstr ""
125
 
@@ -157,10 +158,12 @@ msgid "Cancel"
157
  msgstr ""
158
 
159
  #: admin/partials/video-sources.php:17 admin/partials/video-sources.php:20
 
160
  msgid "Type"
161
  msgstr ""
162
 
163
  #: admin/partials/video-sources.php:33 admin/partials/video-sources.php:36
 
164
  msgid "MP4"
165
  msgstr ""
166
 
@@ -172,21 +175,30 @@ msgstr ""
172
 
173
  #: admin/partials/video-sources.php:40 admin/partials/video-sources.php:71
174
  #: admin/partials/video-sources.php:85 admin/partials/video-sources.php:153
 
 
 
 
175
  msgid "Upload Media"
176
  msgstr ""
177
 
178
  #: admin/partials/video-sources.php:50 admin/partials/video-sources.php:64
179
  #: admin/partials/video-sources.php:67
 
 
180
  msgid "WebM"
181
  msgstr ""
182
 
183
  #: admin/partials/video-sources.php:56 admin/partials/video-sources.php:78
184
  #: admin/partials/video-sources.php:81
 
 
185
  msgid "OGV"
186
  msgstr ""
187
 
188
  #: admin/partials/video-sources.php:92 admin/partials/video-sources.php:95
189
- #: admin/settings.php:279 includes/functions.php:1163
 
190
  msgid "YouTube"
191
  msgstr ""
192
 
@@ -195,7 +207,8 @@ msgid "Example: https://www.youtube.com/watch?v=twYp6W6vt2U"
195
  msgstr ""
196
 
197
  #: admin/partials/video-sources.php:103 admin/partials/video-sources.php:106
198
- #: admin/settings.php:280 includes/functions.php:1164
 
199
  msgid "Vimeo"
200
  msgstr ""
201
 
@@ -204,7 +217,8 @@ msgid "Example: https://vimeo.com/108018156"
204
  msgstr ""
205
 
206
  #: admin/partials/video-sources.php:114 admin/partials/video-sources.php:117
207
- #: admin/settings.php:281 includes/functions.php:1165
 
208
  msgid "Dailymotion"
209
  msgstr ""
210
 
@@ -213,8 +227,8 @@ msgid "Example: https://www.dailymotion.com/video/x11prnt"
213
  msgstr ""
214
 
215
  #: admin/partials/video-sources.php:125 admin/partials/video-sources.php:128
216
- #: admin/settings.php:282 admin/settings.php:502 includes/functions.php:1166
217
- #: includes/functions.php:1555
218
  msgid "Facebook"
219
  msgstr ""
220
 
@@ -231,7 +245,7 @@ msgid "Enter your Iframe Embed Code here"
231
  msgstr ""
232
 
233
  #: admin/partials/video-sources.php:160 admin/partials/video-sources.php:163
234
- #: admin/settings.php:266 blocks/blocks.php:121 includes/functions.php:600
235
  #: widgets/forms/video.php:84
236
  msgid "Duration"
237
  msgstr ""
@@ -241,7 +255,7 @@ msgid "6:30"
241
  msgstr ""
242
 
243
  #: admin/partials/video-sources.php:171 admin/partials/video-sources.php:174
244
- #: admin/videos.php:391
245
  msgid "Views"
246
  msgstr ""
247
 
@@ -249,7 +263,7 @@ msgstr ""
249
  msgid "Mark as"
250
  msgstr ""
251
 
252
- #: admin/partials/video-submitbox.php:17 admin/videos.php:392
253
  msgid "Featured"
254
  msgstr ""
255
 
@@ -285,6 +299,7 @@ msgid "Upload File"
285
  msgstr ""
286
 
287
  #: admin/partials/video-tracks.php:46 admin/partials/video-tracks.php:82
 
288
  msgid "Delete"
289
  msgstr ""
290
 
@@ -393,9 +408,9 @@ msgstr ""
393
  msgid "Advanced"
394
  msgstr ""
395
 
396
- #: admin/settings.php:117 blocks/blocks.php:106 includes/functions.php:232
397
- #: includes/functions.php:334 includes/functions.php:535
398
- #: includes/functions.php:631
399
  msgid "General Settings"
400
  msgstr ""
401
 
@@ -462,155 +477,165 @@ msgstr ""
462
 
463
  #: admin/settings.php:195
464
  msgid ""
465
- "Check this box to delete all of the plugin data( database stored content, "
466
- "uploaded media files, etc... ) when uninstalled"
467
  msgstr ""
468
 
469
- #: admin/settings.php:203 admin/settings.php:290 blocks/blocks.php:107
470
- #: includes/functions.php:546 premium/widgets/forms/companion.php:15
 
 
 
 
 
 
 
 
 
 
471
  #: widgets/forms/video.php:46
472
  msgid "Width"
473
  msgstr ""
474
 
475
- #: admin/settings.php:204 blocks/blocks.php:108
476
  #, php-format
477
  msgid ""
478
  "In pixels. Maximum width of the player. Leave this field empty to scale "
479
  "100% of its enclosing container/html element."
480
  msgstr ""
481
 
482
- #: admin/settings.php:210 admin/settings.php:297 blocks/blocks.php:109
483
- #: includes/functions.php:262 includes/functions.php:420
484
- #: includes/functions.php:553 widgets/forms/video.php:51
485
  msgid "Ratio"
486
  msgstr ""
487
 
488
- #: admin/settings.php:213 blocks/blocks.php:110
489
  msgid ""
490
  "In percentage. 1 to 100. Calculate player's height using the ratio value "
491
  "entered."
492
  msgstr ""
493
 
494
- #: admin/settings.php:214
495
  msgid "Examples"
496
  msgstr ""
497
 
498
- #: admin/settings.php:215
499
  msgid "Wide Screen TV"
500
  msgstr ""
501
 
502
- #: admin/settings.php:216
503
  msgid "Monitor Screens"
504
  msgstr ""
505
 
506
- #: admin/settings.php:217
507
  msgid "Classic TV"
508
  msgstr ""
509
 
510
- #: admin/settings.php:218
511
  msgid "Photo Camera"
512
  msgstr ""
513
 
514
- #: admin/settings.php:219
515
  msgid "Square"
516
  msgstr ""
517
 
518
- #: admin/settings.php:220
519
  msgid "Cinemascope"
520
  msgstr ""
521
 
522
- #: admin/settings.php:227 blocks/blocks.php:111 includes/functions.php:560
523
  #: widgets/forms/video.php:57
524
  msgid "Autoplay"
525
  msgstr ""
526
 
527
- #: admin/settings.php:228
528
  msgid "Check this to start playing the video as soon as it is ready"
529
  msgstr ""
530
 
531
- #: admin/settings.php:234 blocks/blocks.php:112 includes/functions.php:567
532
  #: widgets/forms/video.php:62
533
  msgid "Loop"
534
  msgstr ""
535
 
536
- #: admin/settings.php:235
537
  msgid ""
538
  "Check this, so that the video will start over again, every time it is "
539
  "finished"
540
  msgstr ""
541
 
542
- #: admin/settings.php:241
543
  msgid "Preload"
544
  msgstr ""
545
 
546
- #: admin/settings.php:244
547
  msgid "Specifies if and how the video should be loaded when the page loads."
548
  msgstr ""
549
 
550
- #: admin/settings.php:245
551
  msgid "\"Auto\" - the video should be loaded entirely when the page loads"
552
  msgstr ""
553
 
554
- #: admin/settings.php:246
555
  msgid "\"Metadata\" - only metadata should be loaded when the page loads"
556
  msgstr ""
557
 
558
- #: admin/settings.php:247
559
  msgid "\"None\" - the video should not be loaded when the page loads"
560
  msgstr ""
561
 
562
- #: admin/settings.php:251
563
  msgid "Auto"
564
  msgstr ""
565
 
566
- #: admin/settings.php:252
567
  msgid "Metadata"
568
  msgstr ""
569
 
570
- #: admin/settings.php:253
571
  msgid "None"
572
  msgstr ""
573
 
574
- #: admin/settings.php:259 blocks/blocks.php:117 includes/functions.php:575
575
  #: widgets/forms/video.php:65
576
  msgid "Player Controls"
577
  msgstr ""
578
 
579
- #: admin/settings.php:263 blocks/blocks.php:118 includes/functions.php:579
580
  #: widgets/forms/video.php:69
581
  msgid "Play / Pause"
582
  msgstr ""
583
 
584
- #: admin/settings.php:264 blocks/blocks.php:119 includes/functions.php:586
585
  #: widgets/forms/video.php:74
586
  msgid "Current Time"
587
  msgstr ""
588
 
589
- #: admin/settings.php:265 blocks/blocks.php:120 includes/functions.php:593
590
  #: widgets/forms/video.php:79
591
  msgid "Progressbar"
592
  msgstr ""
593
 
594
- #: admin/settings.php:267 admin/videos.php:143 includes/functions.php:607
595
  #: widgets/forms/video.php:89
596
  msgid "Subtitles"
597
  msgstr ""
598
 
599
- #: admin/settings.php:268 blocks/blocks.php:122 includes/functions.php:614
600
  #: widgets/forms/video.php:94
601
  msgid "Volume"
602
  msgstr ""
603
 
604
- #: admin/settings.php:269 blocks/blocks.php:123 includes/functions.php:621
605
  #: widgets/forms/video.php:99
606
  msgid "Fullscreen"
607
  msgstr ""
608
 
609
- #: admin/settings.php:275
610
  msgid "Use Native Controls"
611
  msgstr ""
612
 
613
- #: admin/settings.php:276
614
  msgid ""
615
  "Enables native player controls on the selected source types. For example, "
616
  "uses YouTube Player for playing YouTube videos & Vimeo Player for playing "
@@ -618,375 +643,376 @@ msgid ""
618
  "selected sources."
619
  msgstr ""
620
 
621
- #: admin/settings.php:291
622
  #, php-format
623
  msgid "Always 100% of its enclosing container/html element."
624
  msgstr ""
625
 
626
- #: admin/settings.php:298
627
  msgid ""
628
  "In percentage. 1 to 100. Calculate images's height using the ratio value "
629
  "entered."
630
  msgstr ""
631
 
632
- #: admin/settings.php:306 admin/settings.php:381 blocks/blocks.php:76
633
- #: includes/functions.php:243 includes/functions.php:345
634
- #: includes/functions.php:635 widgets/forms/categories.php:39
635
  #: widgets/forms/search.php:20
636
  msgid "Select Template"
637
  msgstr ""
638
 
639
- #: admin/settings.php:310 blocks/blocks.php:77 includes/functions.php:247
640
  #: widgets/forms/categories.php:43
641
  msgid "Grid"
642
  msgstr ""
643
 
644
- #: admin/settings.php:311 blocks/blocks.php:78 includes/functions.php:248
645
  #: widgets/forms/categories.php:44
646
  msgid "List"
647
  msgstr ""
648
 
649
- #: admin/settings.php:317 admin/settings.php:389 blocks/blocks.php:79
650
- #: includes/functions.php:269 includes/functions.php:427
651
  #: widgets/forms/categories.php:55
652
  msgid "Columns"
653
  msgstr ""
654
 
655
- #: admin/settings.php:318
656
  msgid "Enter the number of columns you like to have in your categories page."
657
  msgstr ""
658
 
659
- #: admin/settings.php:327
660
  msgid "Order by"
661
  msgstr ""
662
 
663
- #: admin/settings.php:332 blocks/blocks.php:82 includes/functions.php:284
664
  #: widgets/forms/categories.php:65
665
  msgid "Count"
666
  msgstr ""
667
 
668
- #: admin/settings.php:333 blocks/blocks.php:83 includes/functions.php:285
669
  #: widgets/forms/categories.php:66
670
  msgid "Name"
671
  msgstr ""
672
 
673
- #: admin/settings.php:334 blocks/blocks.php:84 includes/functions.php:286
674
  #: widgets/forms/categories.php:67
675
  msgid "Slug"
676
  msgstr ""
677
 
678
- #: admin/settings.php:340 admin/settings.php:419 blocks/blocks.php:85
679
- #: includes/functions.php:292 includes/functions.php:390
680
  #: widgets/forms/categories.php:78
681
  msgid "Order"
682
  msgstr ""
683
 
684
- #: admin/settings.php:344 admin/settings.php:423
685
  msgid "Ascending"
686
  msgstr ""
687
 
688
- #: admin/settings.php:345 admin/settings.php:424
689
  msgid "Descending"
690
  msgstr ""
691
 
692
- #: admin/settings.php:351 blocks/blocks.php:88 includes/functions.php:303
693
  #: widgets/forms/categories.php:95
694
  msgid "Show Hierarchy"
695
  msgstr ""
696
 
697
- #: admin/settings.php:352
698
  msgid "Check this to show the child categories"
699
  msgstr ""
700
 
701
- #: admin/settings.php:358 blocks/blocks.php:89 includes/functions.php:310
702
  #: widgets/forms/categories.php:100
703
  msgid "Show Description"
704
  msgstr ""
705
 
706
- #: admin/settings.php:359
707
  msgid "Check this to show the categories description"
708
  msgstr ""
709
 
710
- #: admin/settings.php:365 blocks/blocks.php:90 includes/functions.php:317
711
- #: includes/functions.php:448 widgets/forms/categories.php:105
712
  msgid "Show Videos Count"
713
  msgstr ""
714
 
715
- #: admin/settings.php:366
716
  msgid "Check this to show the videos count next to the category name"
717
  msgstr ""
718
 
719
- #: admin/settings.php:372 blocks/blocks.php:91 includes/functions.php:324
720
  #: widgets/forms/categories.php:110
721
  msgid "Hide Empty Categories"
722
  msgstr ""
723
 
724
- #: admin/settings.php:373
725
  msgid "Check this to hide categories with no videos"
726
  msgstr ""
727
 
728
- #: admin/settings.php:382 includes/functions.php:346
729
  #, php-format
730
  msgid ""
731
  "<a href=\"%s\" target=\"_blank\">Upgrade Pro</a> for more templates (Popup, "
732
  "Slider, etc.)"
733
  msgstr ""
734
 
735
- #: admin/settings.php:390
736
  msgid "Enter the number of columns you like to have in the gallery view."
737
  msgstr ""
738
 
739
- #: admin/settings.php:399 includes/functions.php:367
740
  msgid "Limit (per page)"
741
  msgstr ""
742
 
743
- #: admin/settings.php:400
744
  msgid ""
745
  "Number of videos to show per page. Use a value of \"0\" to show all videos."
746
  msgstr ""
747
 
748
- #: admin/settings.php:406 blocks/blocks.php:80 includes/functions.php:279
749
- #: includes/functions.php:377 widgets/forms/categories.php:60
750
  msgid "Order By"
751
  msgstr ""
752
 
753
- #: admin/settings.php:410 includes/functions.php:236 includes/functions.php:338
754
- #: includes/functions.php:381 widgets/forms/categories.php:15
755
- #: widgets/forms/search.php:15 widgets/forms/video.php:15
 
756
  msgid "Title"
757
  msgstr ""
758
 
759
- #: admin/settings.php:411 includes/functions.php:382
760
  msgid "Date Posted"
761
  msgstr ""
762
 
763
- #: admin/settings.php:412 admin/settings.php:449 admin/settings.php:473
764
- #: includes/functions.php:383
765
  msgid "Views Count"
766
  msgstr ""
767
 
768
- #: admin/settings.php:413 includes/functions.php:384
769
  msgid "Random"
770
  msgstr ""
771
 
772
- #: admin/settings.php:430 includes/functions.php:437
773
  msgid "Thumbnail Style"
774
  msgstr ""
775
 
776
- #: admin/settings.php:434 includes/functions.php:441
777
  msgid "Image Top Aligned"
778
  msgstr ""
779
 
780
- #: admin/settings.php:435 includes/functions.php:442
781
  msgid "Image Left Aligned"
782
  msgstr ""
783
 
784
- #: admin/settings.php:441 admin/settings.php:466
785
  msgid "Show / Hide"
786
  msgstr ""
787
 
788
- #: admin/settings.php:445
789
  msgid "Videos Count"
790
  msgstr ""
791
 
792
- #: admin/settings.php:446 admin/settings.php:470
793
  msgid "Category Name"
794
  msgstr ""
795
 
796
- #: admin/settings.php:447 admin/settings.php:471
797
  msgid "Date Added"
798
  msgstr ""
799
 
800
- #: admin/settings.php:448 admin/settings.php:472
801
  msgid "Author Name"
802
  msgstr ""
803
 
804
- #: admin/settings.php:450
805
  msgid "Video Duration"
806
  msgstr ""
807
 
808
- #: admin/settings.php:451
809
  msgid "Video Excerpt"
810
  msgstr ""
811
 
812
- #: admin/settings.php:457 includes/functions.php:497
813
  msgid "Excerpt Length"
814
  msgstr ""
815
 
816
- #: admin/settings.php:458
817
  msgid "Number of characters."
818
  msgstr ""
819
 
820
- #: admin/settings.php:474 includes/functions.php:408
821
  msgid "Related Videos"
822
  msgstr ""
823
 
824
- #: admin/settings.php:480
825
  msgid "Enable Comments"
826
  msgstr ""
827
 
828
- #: admin/settings.php:481
829
  msgid ""
830
  "Allow visitors to comment videos using the standard WordPress comment form. "
831
  "Comments are public"
832
  msgstr ""
833
 
834
- #: admin/settings.php:489
835
  msgid "Video Detail Page"
836
  msgstr ""
837
 
838
- #: admin/settings.php:490
839
  msgid "Replaces the SLUG value used by custom post type \"aiovg_videos\"."
840
  msgstr ""
841
 
842
- #: admin/settings.php:498
843
  msgid "Enable Services"
844
  msgstr ""
845
 
846
- #: admin/settings.php:503 includes/functions.php:1560
847
  msgid "Twitter"
848
  msgstr ""
849
 
850
- #: admin/settings.php:504
851
  msgid "Google Plus"
852
  msgstr ""
853
 
854
- #: admin/settings.php:505 includes/functions.php:1570
855
  msgid "Linkedin"
856
  msgstr ""
857
 
858
- #: admin/settings.php:506
859
  msgid "Pinterest"
860
  msgstr ""
861
 
862
- #: admin/settings.php:514
863
  msgid "Single Category Page"
864
  msgstr ""
865
 
866
- #: admin/settings.php:515
867
  msgid ""
868
  "This is the page where the videos from a particular category is displayed. "
869
  "The [aiovg_category] short code must be on this page."
870
  msgstr ""
871
 
872
- #: admin/settings.php:521
873
  msgid "Search Page"
874
  msgstr ""
875
 
876
- #: admin/settings.php:522
877
  msgid ""
878
  "This is the page where the search results are displayed. The [aiovg_search] "
879
  "short code must be on this page."
880
  msgstr ""
881
 
882
- #: admin/settings.php:528
883
  msgid "User Videos Page"
884
  msgstr ""
885
 
886
- #: admin/settings.php:529
887
  msgid ""
888
  "This is the page where the videos from an user is displayed. The "
889
  "[aiovg_user_videos] short code must be on this page."
890
  msgstr ""
891
 
892
- #: admin/settings.php:535
893
  msgid "Player Page"
894
  msgstr ""
895
 
896
- #: admin/settings.php:536
897
  msgid "This is the page used to show the video player."
898
  msgstr ""
899
 
900
- #: admin/settings.php:544
901
  msgid "GDPR - Show Consent"
902
  msgstr ""
903
 
904
- #: admin/settings.php:545
905
  msgid "Ask for consent before loading YouTube / Vimeo content."
906
  msgstr ""
907
 
908
- #: admin/settings.php:551
909
  msgid "GDPR - Consent Message"
910
  msgstr ""
911
 
912
- #: admin/settings.php:558
913
  msgid "GDPR - Consent Button Label"
914
  msgstr ""
915
 
916
- #: admin/settings.php:570
917
  msgid "Show Logo"
918
  msgstr ""
919
 
920
- #: admin/settings.php:571
921
  msgid "Check this option to show the watermark on the video."
922
  msgstr ""
923
 
924
- #: admin/settings.php:577
925
  msgid "Logo Image"
926
  msgstr ""
927
 
928
- #: admin/settings.php:578
929
  msgid ""
930
  "Upload the image file of your logo. We recommend using the transparent PNG "
931
  "format with width below 100 pixels. If you do not enter any image, no logo "
932
  "will displayed."
933
  msgstr ""
934
 
935
- #: admin/settings.php:584
936
  msgid "Logo Link"
937
  msgstr ""
938
 
939
- #: admin/settings.php:585
940
  msgid ""
941
  "The URL to visit when the watermark image is clicked. Clicking a logo will "
942
  "have no affect unless this is configured."
943
  msgstr ""
944
 
945
- #: admin/settings.php:591
946
  msgid "Logo Position"
947
  msgstr ""
948
 
949
- #: admin/settings.php:592
950
  msgid "This sets the corner in which to display the watermark."
951
  msgstr ""
952
 
953
- #: admin/settings.php:595
954
  msgid "Top Left"
955
  msgstr ""
956
 
957
- #: admin/settings.php:596
958
  msgid "Top Right"
959
  msgstr ""
960
 
961
- #: admin/settings.php:597
962
  msgid "Bottom Left"
963
  msgstr ""
964
 
965
- #: admin/settings.php:598
966
  msgid "Bottom Right"
967
  msgstr ""
968
 
969
- #: admin/settings.php:604
970
  msgid "Logo Margin"
971
  msgstr ""
972
 
973
- #: admin/settings.php:605
974
  msgid "The distance, in pixels, of the logo from the edges of the display."
975
  msgstr ""
976
 
977
- #: admin/settings.php:611
978
  msgid "Copyright Text"
979
  msgstr ""
980
 
981
- #: admin/settings.php:612
982
  msgid "Text that is shown when a user right-clicks the player with the mouse."
983
  msgstr ""
984
 
985
- #: admin/settings.php:888
986
  msgid "Choose File"
987
  msgstr ""
988
 
989
- #: admin/settings.php:937
990
  msgid "Select a page"
991
  msgstr ""
992
 
@@ -998,7 +1024,7 @@ msgstr ""
998
  msgid "Video Categories"
999
  msgstr ""
1000
 
1001
- #: admin/shortcode-builder.php:51 admin/videos.php:36 widgets/videos.php:265
1002
  msgid "Video Gallery"
1003
  msgstr ""
1004
 
@@ -1030,7 +1056,7 @@ msgstr ""
1030
  msgid "Parent Video:"
1031
  msgstr ""
1032
 
1033
- #: admin/videos.php:41 admin/videos.php:351
1034
  msgid "All Videos"
1035
  msgstr ""
1036
 
@@ -1110,7 +1136,7 @@ msgstr ""
1110
  msgid "Filter videos list"
1111
  msgstr ""
1112
 
1113
- #: admin/videos.php:70
1114
  msgid "Video Description"
1115
  msgstr ""
1116
 
@@ -1118,7 +1144,7 @@ msgstr ""
1118
  msgid "Video Sources"
1119
  msgstr ""
1120
 
1121
- #: admin/videos.php:352
1122
  msgid "Featured only"
1123
  msgstr ""
1124
 
@@ -1143,17 +1169,17 @@ msgstr ""
1143
  msgid "Categories Settings"
1144
  msgstr ""
1145
 
1146
- #: blocks/blocks.php:75 includes/functions.php:254
1147
  #: widgets/forms/categories.php:20 widgets/forms/categories.php:23
1148
  msgid "Select Parent"
1149
  msgstr ""
1150
 
1151
- #: blocks/blocks.php:86 includes/functions.php:296 includes/functions.php:394
1152
  #: widgets/forms/categories.php:82
1153
  msgid "ASC"
1154
  msgstr ""
1155
 
1156
- #: blocks/blocks.php:87 includes/functions.php:297 includes/functions.php:395
1157
  #: widgets/forms/categories.php:83
1158
  msgid "DESC"
1159
  msgstr ""
@@ -1182,15 +1208,15 @@ msgstr ""
1182
  msgid "Search Form Settings"
1183
  msgstr ""
1184
 
1185
- #: blocks/blocks.php:98 includes/functions.php:639 widgets/forms/search.php:24
1186
  msgid "Vertical"
1187
  msgstr ""
1188
 
1189
- #: blocks/blocks.php:99 includes/functions.php:640 widgets/forms/search.php:25
1190
  msgid "Horizontal"
1191
  msgstr ""
1192
 
1193
- #: blocks/blocks.php:100 includes/functions.php:646 widgets/forms/search.php:37
1194
  msgid "Search By Categories"
1195
  msgstr ""
1196
 
@@ -1230,138 +1256,138 @@ msgstr ""
1230
  msgid "Remove Poster Image"
1231
  msgstr ""
1232
 
1233
- #: includes/functions.php:353
1234
  msgid "Select Categories"
1235
  msgstr ""
1236
 
1237
- #: includes/functions.php:360
1238
  msgid "Exclude Video ID(s)"
1239
  msgstr ""
1240
 
1241
- #: includes/functions.php:401
1242
  msgid "Featured Only"
1243
  msgstr ""
1244
 
1245
- #: includes/functions.php:408
1246
  msgid "Follow URL"
1247
  msgstr ""
1248
 
1249
- #: includes/functions.php:416
1250
  msgid "Gallery Settings"
1251
  msgstr ""
1252
 
1253
- #: includes/functions.php:455
1254
  msgid "Show Category Name"
1255
  msgstr ""
1256
 
1257
- #: includes/functions.php:462
1258
  msgid "Show Date Added"
1259
  msgstr ""
1260
 
1261
- #: includes/functions.php:469
1262
  msgid "Show Author Name"
1263
  msgstr ""
1264
 
1265
- #: includes/functions.php:476
1266
  msgid "Show Views Count"
1267
  msgstr ""
1268
 
1269
- #: includes/functions.php:483
1270
  msgid "Show Video Duration"
1271
  msgstr ""
1272
 
1273
- #: includes/functions.php:490
1274
  msgid "Show Video Excerpt"
1275
  msgstr ""
1276
 
1277
- #: includes/functions.php:504
1278
  msgid "Show Pagination"
1279
  msgstr ""
1280
 
1281
- #: includes/functions.php:511
1282
  msgid "Show More Button"
1283
  msgstr ""
1284
 
1285
- #: includes/functions.php:518
1286
  msgid "More Button Label"
1287
  msgstr ""
1288
 
1289
- #: includes/functions.php:521
1290
  msgid "Show More"
1291
  msgstr ""
1292
 
1293
- #: includes/functions.php:525
1294
  msgid "More Button Link"
1295
  msgstr ""
1296
 
1297
- #: includes/functions.php:539 widgets/forms/video.php:20
1298
  msgid "Select Video"
1299
  msgstr ""
1300
 
1301
- #: includes/functions.php:803
1302
  msgid ""
1303
  "<strong>Please accept cookies to play this video</strong>. By accepting you "
1304
  "will be accessing content from a service provided by an external third party."
1305
  msgstr ""
1306
 
1307
- #: includes/functions.php:804
1308
  msgid "Accept"
1309
  msgstr ""
1310
 
1311
- #: includes/functions.php:937
1312
  msgid "No Items found."
1313
  msgstr ""
1314
 
1315
- #: includes/functions.php:1162
1316
  msgid "Self Hosted"
1317
  msgstr ""
1318
 
1319
- #: includes/functions.php:1162
1320
  msgid "External URL"
1321
  msgstr ""
1322
 
1323
- #: includes/functions.php:1167
1324
  msgid "Iframe Embed Code"
1325
  msgstr ""
1326
 
1327
- #: includes/functions.php:1181
1328
  msgid "Classic"
1329
  msgstr ""
1330
 
1331
- #: includes/functions.php:1311
1332
  msgid "Video Category"
1333
  msgstr ""
1334
 
1335
- #: includes/functions.php:1315 widgets/search.php:109
1336
  msgid "Search Videos"
1337
  msgstr ""
1338
 
1339
- #: includes/functions.php:1319
1340
  msgid "User Videos"
1341
  msgstr ""
1342
 
1343
- #: includes/functions.php:1323
1344
  msgid "Player Embed"
1345
  msgstr ""
1346
 
1347
- #: includes/functions.php:1494
1348
  msgid "&laquo;"
1349
  msgstr ""
1350
 
1351
- #: includes/functions.php:1495
1352
  msgid "&raquo;"
1353
  msgstr ""
1354
 
1355
- #: includes/functions.php:1510
1356
  #, php-format
1357
  msgid "Page %d of %d"
1358
  msgstr ""
1359
 
1360
- #: includes/functions.php:1565
1361
  msgid "Google+"
1362
  msgstr ""
1363
 
1364
- #: includes/functions.php:1575
1365
  msgid "Pin It"
1366
  msgstr ""
1367
 
@@ -1450,6 +1476,7 @@ msgstr ""
1450
 
1451
  #: premium/admin/partials/adaptive-streaming.php:15
1452
  #: premium/admin/partials/adaptive-streaming.php:18
 
1453
  msgid "M(PEG)-DASH"
1454
  msgstr ""
1455
 
@@ -1459,6 +1486,7 @@ msgstr ""
1459
 
1460
  #: premium/admin/partials/adaptive-streaming.php:26
1461
  #: premium/admin/partials/adaptive-streaming.php:29
 
1462
  msgid "HLS"
1463
  msgstr ""
1464
 
@@ -1474,86 +1502,442 @@ msgstr ""
1474
  msgid "Popup"
1475
  msgstr ""
1476
 
1477
- #: premium/admin/slider.php:84
1478
  msgid "Slider"
1479
  msgstr ""
1480
 
1481
- #: premium/admin/slider.php:104 premium/admin/slider.php:237
1482
  msgid "Slider Layout"
1483
  msgstr ""
1484
 
1485
- #: premium/admin/slider.php:108 premium/admin/slider.php:241
1486
  msgid "Player Only"
1487
  msgstr ""
1488
 
1489
- #: premium/admin/slider.php:109 premium/admin/slider.php:242
1490
  msgid "Thumbnails Only"
1491
  msgstr ""
1492
 
1493
- #: premium/admin/slider.php:110 premium/admin/slider.php:243
1494
  msgid "Player + Thumbnails"
1495
  msgstr ""
1496
 
1497
- #: premium/admin/slider.php:122 premium/admin/slider.php:252
1498
  msgid "Arrows"
1499
  msgstr ""
1500
 
1501
- #: premium/admin/slider.php:129 premium/admin/slider.php:259
1502
  msgid "Arrow Size (in pixels)"
1503
  msgstr ""
1504
 
1505
- #: premium/admin/slider.php:139 premium/admin/slider.php:269
1506
  msgid "Arrow BG Color"
1507
  msgstr ""
1508
 
1509
- #: premium/admin/slider.php:146 premium/admin/slider.php:276
1510
  msgid "Arrow Icon Color"
1511
  msgstr ""
1512
 
1513
- #: premium/admin/slider.php:153 premium/admin/slider.php:283
1514
  msgid "Arrow Radius (in pixels)"
1515
  msgstr ""
1516
 
1517
- #: premium/admin/slider.php:163
1518
  msgid "Arrow Top Offset"
1519
  msgstr ""
1520
 
1521
- #: premium/admin/slider.php:173
1522
  msgid "Arrow Left Offset"
1523
  msgstr ""
1524
 
1525
- #: premium/admin/slider.php:183
1526
  msgid "Arrow Right Offset"
1527
  msgstr ""
1528
 
1529
- #: premium/admin/slider.php:193 premium/admin/slider.php:323
1530
  msgid "Dots"
1531
  msgstr ""
1532
 
1533
- #: premium/admin/slider.php:200
1534
  msgid "Dot Size (in pixels)"
1535
  msgstr ""
1536
 
1537
- #: premium/admin/slider.php:210 premium/admin/slider.php:340
1538
  msgid "Dot Color"
1539
  msgstr ""
1540
 
1541
- #: premium/admin/slider.php:293
1542
  msgid "Arrow Top Offset (in percentage)"
1543
  msgstr ""
1544
 
1545
- #: premium/admin/slider.php:303
1546
  msgid "Arrow Left Offset (in pixels)"
1547
  msgstr ""
1548
 
1549
- #: premium/admin/slider.php:313
1550
  msgid "Arrow Right Offset (in pixels)"
1551
  msgstr ""
1552
 
1553
- #: premium/admin/slider.php:330
1554
  msgid "Dot Size"
1555
  msgstr ""
1556
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1557
  #: premium/public/templates/videos-template-popup.php:18
1558
  #: premium/public/templates/videos-template-slider.php:79
1559
  #: public/templates/videos-template-classic.php:18
@@ -1561,6 +1945,30 @@ msgstr ""
1561
  msgid "%d video(s) found"
1562
  msgstr ""
1563
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1564
  #: premium/widgets/companion.php:43
1565
  msgid "AIOVG - Companion Ads"
1566
  msgstr ""
@@ -1585,10 +1993,6 @@ msgid ""
1585
  "Publisher Tag (GPT)</a> in the <a href=\"%s\">plugin settings</a>."
1586
  msgstr ""
1587
 
1588
- #: public/categories.php:124
1589
- msgid "Sub Categories"
1590
- msgstr ""
1591
-
1592
  #: public/public.php:544
1593
  #, php-format
1594
  msgid "Showing results for \"%s\""
@@ -1620,26 +2024,12 @@ msgstr ""
1620
  msgid "by"
1621
  msgstr ""
1622
 
1623
- #: public/templates/single-video.php:60
1624
- #: public/templates/video-thumbnail-image-left.php:74
1625
- #: public/templates/video-thumbnail.php:70
1626
- #, php-format
1627
- msgid "%d views"
1628
- msgstr ""
1629
-
1630
  #: public/templates/single-video.php:80
1631
  msgid "You may also like"
1632
  msgstr ""
1633
 
1634
- #: public/templates/video-thumbnail-image-left.php:40
1635
- #: public/templates/video-thumbnail.php:36
1636
- #, php-format
1637
- msgid "%s ago"
1638
- msgstr ""
1639
-
1640
- #: public/templates/video-thumbnail-image-left.php:49
1641
- #: public/templates/video-thumbnail.php:45
1642
- msgid "Posted"
1643
  msgstr ""
1644
 
1645
  #: widgets/videos.php:66
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: All-in-One Video Gallery\n"
4
+ "POT-Creation-Date: 2019-04-13 21:41+0530\n"
5
+ "PO-Revision-Date: 2019-04-13 21:42+0530\n"
6
  "Last-Translator: \n"
7
  "Language-Team: \n"
8
  "Language: en_US\n"
16
  "X-Poedit-KeywordsList: __;_e;_x\n"
17
  "X-Poedit-SearchPath-0: .\n"
18
 
19
+ #: admin/admin.php:157 admin/settings.php:59 admin/settings.php:60
20
  msgid "Settings"
21
  msgstr ""
22
 
23
+ #: admin/admin.php:172 blocks/blocks.php:37
24
  msgid "All-in-One Video Gallery"
25
  msgstr ""
26
 
27
+ #: admin/admin.php:174 admin/welcome.php:58
28
  msgid "Getting Started"
29
  msgstr ""
30
 
31
+ #: admin/admin.php:176
32
  msgid "Contact Us"
33
  msgstr ""
34
 
35
+ #: admin/admin.php:179
36
  msgid "Upgrade Pro"
37
  msgstr ""
38
 
44
  msgid "Category"
45
  msgstr ""
46
 
47
+ #: admin/categories.php:34 admin/videos.php:339
48
  msgid "All Categories"
49
  msgstr ""
50
 
112
  msgid "Categories list navigation"
113
  msgstr ""
114
 
115
+ #: admin/categories.php:124 admin/settings.php:338 admin/videos.php:397
116
+ #: blocks/blocks.php:81 includes/functions.php:291
117
  #: widgets/forms/categories.php:64
118
  msgid "ID"
119
  msgstr ""
120
 
121
  #: admin/partials/category-image.php:15 admin/partials/category-image.php:26
122
  #: admin/partials/video-sources.php:146 admin/partials/video-sources.php:149
123
+ #: premium/public/templates/video-form.php:275
124
  msgid "Image"
125
  msgstr ""
126
 
158
  msgstr ""
159
 
160
  #: admin/partials/video-sources.php:17 admin/partials/video-sources.php:20
161
+ #: premium/public/templates/video-form.php:75
162
  msgid "Type"
163
  msgstr ""
164
 
165
  #: admin/partials/video-sources.php:33 admin/partials/video-sources.php:36
166
+ #: premium/public/templates/video-form.php:94
167
  msgid "MP4"
168
  msgstr ""
169
 
175
 
176
  #: admin/partials/video-sources.php:40 admin/partials/video-sources.php:71
177
  #: admin/partials/video-sources.php:85 admin/partials/video-sources.php:153
178
+ #: premium/public/templates/video-form.php:105
179
+ #: premium/public/templates/video-form.php:149
180
+ #: premium/public/templates/video-form.php:176
181
+ #: premium/public/templates/video-form.php:284
182
  msgid "Upload Media"
183
  msgstr ""
184
 
185
  #: admin/partials/video-sources.php:50 admin/partials/video-sources.php:64
186
  #: admin/partials/video-sources.php:67
187
+ #: premium/public/templates/video-form.php:124
188
+ #: premium/public/templates/video-form.php:140
189
  msgid "WebM"
190
  msgstr ""
191
 
192
  #: admin/partials/video-sources.php:56 admin/partials/video-sources.php:78
193
  #: admin/partials/video-sources.php:81
194
+ #: premium/public/templates/video-form.php:130
195
+ #: premium/public/templates/video-form.php:167
196
  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:1172
201
+ #: premium/public/templates/video-form.php:197
202
  msgid "YouTube"
203
  msgstr ""
204
 
207
  msgstr ""
208
 
209
  #: admin/partials/video-sources.php:103 admin/partials/video-sources.php:106
210
+ #: admin/settings.php:287 includes/functions.php:1173
211
+ #: premium/public/templates/video-form.php:213
212
  msgid "Vimeo"
213
  msgstr ""
214
 
217
  msgstr ""
218
 
219
  #: admin/partials/video-sources.php:114 admin/partials/video-sources.php:117
220
+ #: admin/settings.php:288 includes/functions.php:1174
221
+ #: premium/public/templates/video-form.php:229
222
  msgid "Dailymotion"
223
  msgstr ""
224
 
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:1175
231
+ #: includes/functions.php:1584 premium/public/templates/video-form.php:245
232
  msgid "Facebook"
233
  msgstr ""
234
 
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:608
249
  #: widgets/forms/video.php:84
250
  msgid "Duration"
251
  msgstr ""
255
  msgstr ""
256
 
257
  #: admin/partials/video-sources.php:171 admin/partials/video-sources.php:174
258
+ #: admin/videos.php:395
259
  msgid "Views"
260
  msgstr ""
261
 
263
  msgid "Mark as"
264
  msgstr ""
265
 
266
+ #: admin/partials/video-submitbox.php:17 admin/videos.php:396
267
  msgid "Featured"
268
  msgstr ""
269
 
299
  msgstr ""
300
 
301
  #: admin/partials/video-tracks.php:46 admin/partials/video-tracks.php:82
302
+ #: premium/public/templates/user-dashboard.php:124
303
  msgid "Delete"
304
  msgstr ""
305
 
408
  msgid "Advanced"
409
  msgstr ""
410
 
411
+ #: admin/settings.php:117 blocks/blocks.php:106 includes/functions.php:240
412
+ #: includes/functions.php:342 includes/functions.php:543
413
+ #: includes/functions.php:639
414
  msgid "General Settings"
415
  msgstr ""
416
 
477
 
478
  #: admin/settings.php:195
479
  msgid ""
480
+ "Check this box to delete all of the plugin data (database stored content) "
481
+ "when uninstalled"
482
  msgstr ""
483
 
484
+ #: admin/settings.php:201
485
+ msgid "Delete media files?"
486
+ msgstr ""
487
+
488
+ #: admin/settings.php:202
489
+ msgid ""
490
+ "Check this box to also delete the associated media files when a video post "
491
+ "or a video category is deleted"
492
+ msgstr ""
493
+
494
+ #: admin/settings.php:210 admin/settings.php:297 blocks/blocks.php:107
495
+ #: includes/functions.php:554 premium/widgets/forms/companion.php:15
496
  #: widgets/forms/video.php:46
497
  msgid "Width"
498
  msgstr ""
499
 
500
+ #: admin/settings.php:211 blocks/blocks.php:108
501
  #, php-format
502
  msgid ""
503
  "In pixels. Maximum width of the player. Leave this field empty to scale "
504
  "100% of its enclosing container/html element."
505
  msgstr ""
506
 
507
+ #: admin/settings.php:217 admin/settings.php:304 blocks/blocks.php:109
508
+ #: includes/functions.php:270 includes/functions.php:428
509
+ #: includes/functions.php:561 widgets/forms/video.php:51
510
  msgid "Ratio"
511
  msgstr ""
512
 
513
+ #: admin/settings.php:220 blocks/blocks.php:110
514
  msgid ""
515
  "In percentage. 1 to 100. Calculate player's height using the ratio value "
516
  "entered."
517
  msgstr ""
518
 
519
+ #: admin/settings.php:221
520
  msgid "Examples"
521
  msgstr ""
522
 
523
+ #: admin/settings.php:222
524
  msgid "Wide Screen TV"
525
  msgstr ""
526
 
527
+ #: admin/settings.php:223
528
  msgid "Monitor Screens"
529
  msgstr ""
530
 
531
+ #: admin/settings.php:224
532
  msgid "Classic TV"
533
  msgstr ""
534
 
535
+ #: admin/settings.php:225
536
  msgid "Photo Camera"
537
  msgstr ""
538
 
539
+ #: admin/settings.php:226
540
  msgid "Square"
541
  msgstr ""
542
 
543
+ #: admin/settings.php:227
544
  msgid "Cinemascope"
545
  msgstr ""
546
 
547
+ #: admin/settings.php:234 blocks/blocks.php:111 includes/functions.php:568
548
  #: widgets/forms/video.php:57
549
  msgid "Autoplay"
550
  msgstr ""
551
 
552
+ #: admin/settings.php:235
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:575
557
  #: widgets/forms/video.php:62
558
  msgid "Loop"
559
  msgstr ""
560
 
561
+ #: admin/settings.php:242
562
  msgid ""
563
  "Check this, so that the video will start over again, every time it is "
564
  "finished"
565
  msgstr ""
566
 
567
+ #: admin/settings.php:248
568
  msgid "Preload"
569
  msgstr ""
570
 
571
+ #: admin/settings.php:251
572
  msgid "Specifies if and how the video should be loaded when the page loads."
573
  msgstr ""
574
 
575
+ #: admin/settings.php:252
576
  msgid "\"Auto\" - the video should be loaded entirely when the page loads"
577
  msgstr ""
578
 
579
+ #: admin/settings.php:253
580
  msgid "\"Metadata\" - only metadata should be loaded when the page loads"
581
  msgstr ""
582
 
583
+ #: admin/settings.php:254
584
  msgid "\"None\" - the video should not be loaded when the page loads"
585
  msgstr ""
586
 
587
+ #: admin/settings.php:258
588
  msgid "Auto"
589
  msgstr ""
590
 
591
+ #: admin/settings.php:259
592
  msgid "Metadata"
593
  msgstr ""
594
 
595
+ #: admin/settings.php:260
596
  msgid "None"
597
  msgstr ""
598
 
599
+ #: admin/settings.php:266 blocks/blocks.php:117 includes/functions.php:583
600
  #: widgets/forms/video.php:65
601
  msgid "Player Controls"
602
  msgstr ""
603
 
604
+ #: admin/settings.php:270 blocks/blocks.php:118 includes/functions.php:587
605
  #: widgets/forms/video.php:69
606
  msgid "Play / Pause"
607
  msgstr ""
608
 
609
+ #: admin/settings.php:271 blocks/blocks.php:119 includes/functions.php:594
610
  #: widgets/forms/video.php:74
611
  msgid "Current Time"
612
  msgstr ""
613
 
614
+ #: admin/settings.php:272 blocks/blocks.php:120 includes/functions.php:601
615
  #: widgets/forms/video.php:79
616
  msgid "Progressbar"
617
  msgstr ""
618
 
619
+ #: admin/settings.php:274 admin/videos.php:143 includes/functions.php:615
620
  #: widgets/forms/video.php:89
621
  msgid "Subtitles"
622
  msgstr ""
623
 
624
+ #: admin/settings.php:275 blocks/blocks.php:122 includes/functions.php:622
625
  #: widgets/forms/video.php:94
626
  msgid "Volume"
627
  msgstr ""
628
 
629
+ #: admin/settings.php:276 blocks/blocks.php:123 includes/functions.php:629
630
  #: widgets/forms/video.php:99
631
  msgid "Fullscreen"
632
  msgstr ""
633
 
634
+ #: admin/settings.php:282
635
  msgid "Use Native Controls"
636
  msgstr ""
637
 
638
+ #: admin/settings.php:283
639
  msgid ""
640
  "Enables native player controls on the selected source types. For example, "
641
  "uses YouTube Player for playing YouTube videos & Vimeo Player for playing "
643
  "selected sources."
644
  msgstr ""
645
 
646
+ #: admin/settings.php:298
647
  #, php-format
648
  msgid "Always 100% of its enclosing container/html element."
649
  msgstr ""
650
 
651
+ #: admin/settings.php:305
652
  msgid ""
653
  "In percentage. 1 to 100. Calculate images's height using the ratio value "
654
  "entered."
655
  msgstr ""
656
 
657
+ #: admin/settings.php:313 admin/settings.php:388 blocks/blocks.php:76
658
+ #: includes/functions.php:251 includes/functions.php:353
659
+ #: includes/functions.php:643 widgets/forms/categories.php:39
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:255
665
  #: widgets/forms/categories.php:43
666
  msgid "Grid"
667
  msgstr ""
668
 
669
+ #: admin/settings.php:318 blocks/blocks.php:78 includes/functions.php:256
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:277 includes/functions.php:435
676
  #: widgets/forms/categories.php:55
677
  msgid "Columns"
678
  msgstr ""
679
 
680
+ #: admin/settings.php:325
681
  msgid "Enter the number of columns you like to have in your categories page."
682
  msgstr ""
683
 
684
+ #: admin/settings.php:334
685
  msgid "Order by"
686
  msgstr ""
687
 
688
+ #: admin/settings.php:339 blocks/blocks.php:82 includes/functions.php:292
689
  #: widgets/forms/categories.php:65
690
  msgid "Count"
691
  msgstr ""
692
 
693
+ #: admin/settings.php:340 blocks/blocks.php:83 includes/functions.php:293
694
  #: widgets/forms/categories.php:66
695
  msgid "Name"
696
  msgstr ""
697
 
698
+ #: admin/settings.php:341 blocks/blocks.php:84 includes/functions.php:294
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:300 includes/functions.php:398
705
  #: widgets/forms/categories.php:78
706
  msgid "Order"
707
  msgstr ""
708
 
709
+ #: admin/settings.php:351 admin/settings.php:430
710
  msgid "Ascending"
711
  msgstr ""
712
 
713
+ #: admin/settings.php:352 admin/settings.php:431
714
  msgid "Descending"
715
  msgstr ""
716
 
717
+ #: admin/settings.php:358 blocks/blocks.php:88 includes/functions.php:311
718
  #: widgets/forms/categories.php:95
719
  msgid "Show Hierarchy"
720
  msgstr ""
721
 
722
+ #: admin/settings.php:359
723
  msgid "Check this to show the child categories"
724
  msgstr ""
725
 
726
+ #: admin/settings.php:365 blocks/blocks.php:89 includes/functions.php:318
727
  #: widgets/forms/categories.php:100
728
  msgid "Show Description"
729
  msgstr ""
730
 
731
+ #: admin/settings.php:366
732
  msgid "Check this to show the categories description"
733
  msgstr ""
734
 
735
+ #: admin/settings.php:372 blocks/blocks.php:90 includes/functions.php:325
736
+ #: includes/functions.php:456 widgets/forms/categories.php:105
737
  msgid "Show Videos Count"
738
  msgstr ""
739
 
740
+ #: admin/settings.php:373
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:332
745
  #: widgets/forms/categories.php:110
746
  msgid "Hide Empty Categories"
747
  msgstr ""
748
 
749
+ #: admin/settings.php:380
750
  msgid "Check this to hide categories with no videos"
751
  msgstr ""
752
 
753
+ #: admin/settings.php:389 includes/functions.php:354
754
  #, php-format
755
  msgid ""
756
  "<a href=\"%s\" target=\"_blank\">Upgrade Pro</a> for more templates (Popup, "
757
  "Slider, etc.)"
758
  msgstr ""
759
 
760
+ #: admin/settings.php:397
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:375
765
  msgid "Limit (per page)"
766
  msgstr ""
767
 
768
+ #: admin/settings.php:407
769
  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:287
774
+ #: includes/functions.php:385 widgets/forms/categories.php:60
775
  msgid "Order By"
776
  msgstr ""
777
 
778
+ #: admin/settings.php:417 includes/functions.php:244 includes/functions.php:346
779
+ #: includes/functions.php:389 premium/public/templates/user-dashboard.php:65
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:390
786
  msgid "Date Posted"
787
  msgstr ""
788
 
789
+ #: admin/settings.php:419 admin/settings.php:456 admin/settings.php:480
790
+ #: includes/functions.php:391
791
  msgid "Views Count"
792
  msgstr ""
793
 
794
+ #: admin/settings.php:420 includes/functions.php:392
795
  msgid "Random"
796
  msgstr ""
797
 
798
+ #: admin/settings.php:437 includes/functions.php:445
799
  msgid "Thumbnail Style"
800
  msgstr ""
801
 
802
+ #: admin/settings.php:441 includes/functions.php:449
803
  msgid "Image Top Aligned"
804
  msgstr ""
805
 
806
+ #: admin/settings.php:442 includes/functions.php:450
807
  msgid "Image Left Aligned"
808
  msgstr ""
809
 
810
+ #: admin/settings.php:448 admin/settings.php:473
811
  msgid "Show / Hide"
812
  msgstr ""
813
 
814
+ #: admin/settings.php:452
815
  msgid "Videos Count"
816
  msgstr ""
817
 
818
+ #: admin/settings.php:453 admin/settings.php:477
819
  msgid "Category Name"
820
  msgstr ""
821
 
822
+ #: admin/settings.php:454 admin/settings.php:478
823
  msgid "Date Added"
824
  msgstr ""
825
 
826
+ #: admin/settings.php:455 admin/settings.php:479
827
  msgid "Author Name"
828
  msgstr ""
829
 
830
+ #: admin/settings.php:457
831
  msgid "Video Duration"
832
  msgstr ""
833
 
834
+ #: admin/settings.php:458
835
  msgid "Video Excerpt"
836
  msgstr ""
837
 
838
+ #: admin/settings.php:464 includes/functions.php:505
839
  msgid "Excerpt Length"
840
  msgstr ""
841
 
842
+ #: admin/settings.php:465
843
  msgid "Number of characters."
844
  msgstr ""
845
 
846
+ #: admin/settings.php:481 includes/functions.php:416
847
  msgid "Related Videos"
848
  msgstr ""
849
 
850
+ #: admin/settings.php:487
851
  msgid "Enable Comments"
852
  msgstr ""
853
 
854
+ #: admin/settings.php:488
855
  msgid ""
856
  "Allow visitors to comment videos using the standard WordPress comment form. "
857
  "Comments are public"
858
  msgstr ""
859
 
860
+ #: admin/settings.php:496
861
  msgid "Video Detail Page"
862
  msgstr ""
863
 
864
+ #: admin/settings.php:497
865
  msgid "Replaces the SLUG value used by custom post type \"aiovg_videos\"."
866
  msgstr ""
867
 
868
+ #: admin/settings.php:505
869
  msgid "Enable Services"
870
  msgstr ""
871
 
872
+ #: admin/settings.php:510 includes/functions.php:1589
873
  msgid "Twitter"
874
  msgstr ""
875
 
876
+ #: admin/settings.php:511
877
  msgid "Google Plus"
878
  msgstr ""
879
 
880
+ #: admin/settings.php:512 includes/functions.php:1599
881
  msgid "Linkedin"
882
  msgstr ""
883
 
884
+ #: admin/settings.php:513
885
  msgid "Pinterest"
886
  msgstr ""
887
 
888
+ #: admin/settings.php:521
889
  msgid "Single Category Page"
890
  msgstr ""
891
 
892
+ #: admin/settings.php:522
893
  msgid ""
894
  "This is the page where the videos from a particular category is displayed. "
895
  "The [aiovg_category] short code must be on this page."
896
  msgstr ""
897
 
898
+ #: admin/settings.php:528
899
  msgid "Search Page"
900
  msgstr ""
901
 
902