All-in-One Video Gallery - Version 1.5.2

Version Description

  • New: Compatible with GDPR.
  • Tweak: Disabled the default context menu, and added a custom one.
Download this release

Release Info

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

Code changes from version 1.5.1 to 1.5.2

Files changed (36) hide show
  1. README.txt +22 -11
  2. admin/class-aiovg-admin-settings.php +34 -4
  3. admin/class-aiovg-admin-welcome.php +4 -4
  4. admin/class-aiovg-admin.php +32 -3
  5. admin/templates/shortcode-builder.php +1 -1
  6. admin/templates/welcome.php +1 -1
  7. all-in-one-video-gallery.php +4 -4
  8. includes/class-aiovg-activator.php +6 -1
  9. includes/class-aiovg.php +4 -3
  10. includes/functions.php +68 -3
  11. languages/all-in-one-video-gallery.pot +190 -150
  12. public/assets/css/aiovg-public.css +46 -0
  13. public/assets/js/aiovg-public.js +31 -0
  14. public/assets/mediaelement/lang/ms.js +90 -0
  15. public/assets/mediaelement/mediaelement-and-player.js +23 -9
  16. public/assets/mediaelement/mediaelement-and-player.min.js +1 -1
  17. public/assets/mediaelement/mediaelement.js +2 -2
  18. public/assets/mediaelement/mediaelement.min.js +1 -1
  19. public/assets/mediaelement/plugins/context-menu/context-menu-i18n.js +107 -0
  20. public/assets/mediaelement/plugins/context-menu/context-menu.css +35 -0
  21. public/assets/mediaelement/plugins/context-menu/context-menu.js +187 -0
  22. public/assets/mediaelement/plugins/context-menu/context-menu.min.css +1 -0
  23. public/assets/mediaelement/plugins/context-menu/context-menu.min.js +12 -0
  24. public/assets/mediaelement/plugins/index.html +1 -0
  25. public/assets/mediaelement/renderers/dailymotion.min.js +1 -1
  26. public/assets/mediaelement/renderers/facebook.js +1 -1
  27. public/assets/mediaelement/renderers/facebook.min.js +1 -1
  28. public/assets/mediaelement/renderers/soundcloud.min.js +1 -1
  29. public/assets/mediaelement/renderers/twitch.min.js +1 -1
  30. public/assets/mediaelement/renderers/vimeo.js +3 -3
  31. public/assets/mediaelement/renderers/vimeo.min.js +1 -1
  32. public/class-aiovg-public-video.php +5 -30
  33. public/class-aiovg-public.php +17 -0
  34. public/templates/player.php +106 -6
  35. uninstall.php +3 -2
  36. widgets/video/class-aiovg-widget-video.php +2 -1
README.txt CHANGED
@@ -1,12 +1,12 @@
1
- === All in One Video Gallery ===
2
- Plugin URI: https://plugins360.com
3
Contributors: plugins360
4
Donate link: https://plugins360.com
5
- Tags: video, player, gallery, mp4, webm, ogv, youtube, vimeo, dailymotion, hls, dash, adaptive, live, stream, popup, carousel, slider
6
Requires at least: 4.4.0
7
Tested up to: 4.9
8
Requires PHP: 5.3.0
9
- Stable tag: 1.5.1
10
License: GPLv2 or later
11
License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
@@ -16,13 +16,13 @@ Responsive & Lightweight Video gallery plugin. HTML5 with FLASH fallbacks. Suppo
16
17
Add a single video or build a complete video gallery in minutes.
18
19
- "All in One Video Gallery" is a lightweight responsive video gallery plugin. Supports any browser & video formats such as MP4, WebM, OGV and embeddable players like YouTube, Vimeo, Dailymotion, Facebook, etc. Works with ANY properly coded WordPress theme and you can use it on new or existing site.
20
21
**Links**
22
23
- * [WordPress Video Gallery Plugin](https://plugins360.com) - official site.
24
- * [View Demo](https://demo.plugins360.com/) - see plugin frontend.
25
- * [Documentation](https://plugins360.com/documentation/) - mainly for users.
26
27
https://www.youtube.com/watch?v=w47PU9ppuF8
28
@@ -40,12 +40,13 @@ https://www.youtube.com/watch?v=w47PU9ppuF8
40
* Comment on videos.
41
* Sharing of videos through Facebook, Twitter, Google Plus, Linkedin & Pinterest.
42
* Search videos by title, description or category.
43
- * Widgets to list categories, videos, display a video player with a selective video and to search videos.
44
* Detailed user and developer documentation.
45
46
**Translations**
47
48
- This is a brand new plugin and currently available only in English. But, the plugin is translation ready and you can translate [All in One Video Gallery](https://plugins360.com/documentation/translate/) to your language on [translate.wordpress.org](https://translate.wordpress.org/projects/wp-plugins/all-in-one-video-gallery).
49
50
**Get Involved**
51
@@ -62,7 +63,7 @@ This is a brand new plugin and currently available only in English. But, the plu
62
4. Use the browse button to select the plugin zip file that was downloaded, and then click on Install Now.
63
5. Once installed, click "Activate".
64
65
- For more detailed instructions visit plugin [documentation](https://plugins360.com/documentation/)
66
67
== Frequently Asked Questions ==
68
@@ -84,6 +85,11 @@ Most likely rewrite rules were not registered properly for some reason. Go to "W
84
85
== Changelog ==
86
87
= 1.5.1 =
88
89
* Tweak: README.txt updated.
@@ -116,6 +122,11 @@ Most likely rewrite rules were not registered properly for some reason. Go to "W
116
117
== Upgrade Notice ==
118
119
= 1.5.1 =
120
121
* Tweak: README.txt updated.
1
+ === All-in-One Video Gallery ===
2
+ Plugin URI: https://plugins360.com/all-in-one-video-gallery/
3
Contributors: plugins360
4
Donate link: https://plugins360.com
5
+ Tags: video, player, gallery, gdpr, mp4, webm, ogv, youtube, vimeo, dailymotion, hls, dash, adaptive, live, stream, popup, carousel, slider
6
Requires at least: 4.4.0
7
Tested up to: 4.9
8
Requires PHP: 5.3.0
9
+ Stable tag: 1.5.2
10
License: GPLv2 or later
11
License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
16
17
Add a single video or build a complete video gallery in minutes.
18
19
+ "All-in-One Video Gallery" is a lightweight responsive video gallery plugin. Supports any browser & video formats such as MP4, WebM, OGV and embeddable players like YouTube, Vimeo, Dailymotion, Facebook, etc. Works with ANY properly coded WordPress theme and you can use it on new or existing site.
20
21
**Links**
22
23
+ * [WordPress Video Gallery Plugin](https://plugins360.com/all-in-one-video-gallery/) - official site.
24
+ * [View Demo](https://demo.plugins360.com/all-in-one-video-gallery/) - see plugin frontend.
25
+ * [Documentation](https://plugins360.com/all-in-one-video-gallery/documentation/) - mainly for users.
26
27
https://www.youtube.com/watch?v=w47PU9ppuF8
28
40
* Comment on videos.
41
* Sharing of videos through Facebook, Twitter, Google Plus, Linkedin & Pinterest.
42
* Search videos by title, description or category.
43
+ * Widgets to list categories, videos, display a video player with a selective video and to search videos.
44
+ * Show GDPR consent.
45
* Detailed user and developer documentation.
46
47
**Translations**
48
49
+ This is a brand new plugin and currently available only in English. But, the plugin is translation ready and you can translate [All-in-One Video Gallery](https://plugins360.com/all-in-one-video-gallery/translate/) to your language on [translate.wordpress.org](https://translate.wordpress.org/projects/wp-plugins/all-in-one-video-gallery).
50
51
**Get Involved**
52
63
4. Use the browse button to select the plugin zip file that was downloaded, and then click on Install Now.
64
5. Once installed, click "Activate".
65
66
+ For more detailed instructions visit plugin [documentation](https://plugins360.com/all-in-one-video-gallery/documentation/)
67
68
== Frequently Asked Questions ==
69
85
86
== Changelog ==
87
88
+ = 1.5.2 =
89
+
90
+ * New: Compatible with GDPR.
91
+ * Tweak: Disabled the default context menu, and added a custom one.
92
+
93
= 1.5.1 =
94
95
* Tweak: README.txt updated.
122
123
== Upgrade Notice ==
124
125
+ = 1.5.2 =
126
+
127
+ * New: Compatible with GDPR.
128
+ * Tweak: Disabled the default context menu, and added a custom one.
129
+
130
= 1.5.1 =
131
132
* Tweak: README.txt updated.
admin/class-aiovg-admin-settings.php CHANGED
@@ -106,6 +106,7 @@ class AIOVG_Admin_Settings {
106
$tabs = array(
107
'general' => __( 'General', 'all-in-one-video-gallery' ),
108
'display' => __( 'Display', 'all-in-one-video-gallery' ),
109
'advanced' => __( 'Advanced', 'all-in-one-video-gallery' )
110
);
111
@@ -151,6 +152,12 @@ class AIOVG_Admin_Settings {
151
'id' => 'aiovg_video_settings',
152
'title' => __( 'Single Video Page', 'all-in-one-video-gallery' ),
153
'tab' => 'display'
154
),
155
array(
156
'id' => 'aiovg_permalink_settings',
@@ -168,7 +175,7 @@ class AIOVG_Admin_Settings {
168
'id' => 'aiovg_page_settings',
169
'title' => __( 'Page Settings', 'all-in-one-video-gallery' ),
170
'tab' => 'advanced'
171
- )
172
);
173
174
return apply_filters( 'aiovg_settings_sections', $sections );
@@ -188,7 +195,7 @@ class AIOVG_Admin_Settings {
188
array(
189
'name' => 'bootstrap',
190
'label' => __( 'Bootstrap Options', 'all-in-one-video-gallery' ),
191
- 'description' => __( 'All in One Video Gallery uses Bootstrap version 3. Disable this option if your theme already include the "Bootstrap" library files.', 'all-in-one-video-gallery' ),
192
'type' => 'multicheck',
193
'options' => array(
194
'css' => __( 'Include Bootstrap CSS', 'all-in-one-video-gallery' )
@@ -445,7 +452,30 @@ class AIOVG_Admin_Settings {
445
'type' => 'checkbox',
446
'sanitize_callback' => 'intval'
447
)
448
- ),
449
'aiovg_permalink_settings' => array(
450
array(
451
'name' => 'video',
@@ -500,7 +530,7 @@ class AIOVG_Admin_Settings {
500
'type' => 'pages',
501
'sanitize_callback' => 'sanitize_key'
502
)
503
- )
504
);
505
506
return apply_filters( 'aiovg_settings_fields', $fields );
106
$tabs = array(
107
'general' => __( 'General', 'all-in-one-video-gallery' ),
108
'display' => __( 'Display', 'all-in-one-video-gallery' ),
109
+ 'privacy' => __( 'Privacy', 'all-in-one-video-gallery' ),
110
'advanced' => __( 'Advanced', 'all-in-one-video-gallery' )
111
);
112
152
'id' => 'aiovg_video_settings',
153
'title' => __( 'Single Video Page', 'all-in-one-video-gallery' ),
154
'tab' => 'display'
155
+ ),
156
+ array(
157
+ 'id' => 'aiovg_privacy_settings',
158
+ 'title' => __( 'Privacy Settings', 'all-in-one-video-gallery' ),
159
+ 'description' => __( 'These options will help with privacy restrictions such as GDPR and the EU Cookie Law.', 'all-in-one-video-gallery' ),
160
+ 'tab' => 'privacy'
161
),
162
array(
163
'id' => 'aiovg_permalink_settings',
175
'id' => 'aiovg_page_settings',
176
'title' => __( 'Page Settings', 'all-in-one-video-gallery' ),
177
'tab' => 'advanced'
178
+ )
179
);
180
181
return apply_filters( 'aiovg_settings_sections', $sections );
195
array(
196
'name' => 'bootstrap',
197
'label' => __( 'Bootstrap Options', 'all-in-one-video-gallery' ),
198
+ 'description' => __( 'All-in-One Video Gallery uses Bootstrap version 3. Disable this option if your theme already include the "Bootstrap" library files.', 'all-in-one-video-gallery' ),
199
'type' => 'multicheck',
200
'options' => array(
201
'css' => __( 'Include Bootstrap CSS', 'all-in-one-video-gallery' )
452
'type' => 'checkbox',
453
'sanitize_callback' => 'intval'
454
)
455
+ ),
456
+ 'aiovg_privacy_settings' => array(
457
+ array(
458
+ 'name' => 'show_consent',
459
+ 'label' => __( 'GDPR - Show Consent', 'all-in-one-video-gallery' ),
460
+ 'description' => __( 'Ask for consent before loading YouTube/Vimeo content.', 'all-in-one-video-gallery' ),
461
+ 'type' => 'checkbox',
462
+ 'sanitize_callback' => 'intval'
463
+ ),
464
+ array(
465
+ 'name' => 'consent_message',
466
+ 'label' => __( 'GDPR - Consent Message', 'all-in-one-video-gallery' ),
467
+ 'description' => '',
468
+ 'type' => 'wysiwyg',
469
+ 'sanitize_callback' => 'wp_kses_post'
470
+ ),
471
+ array(
472
+ 'name' => 'consent_button_label',
473
+ 'label' => __( 'GDPR - Consent Button Label', 'all-in-one-video-gallery' ),
474
+ 'description' => '',
475
+ 'type' => 'text',
476
+ 'sanitize_callback' => 'sanitize_text_field'
477
+ )
478
+ ),
479
'aiovg_permalink_settings' => array(
480
array(
481
'name' => 'video',
530
'type' => 'pages',
531
'sanitize_callback' => 'sanitize_key'
532
)
533
+ )
534
);
535
536
return apply_filters( 'aiovg_settings_fields', $fields );
admin/class-aiovg-admin-welcome.php CHANGED
@@ -30,16 +30,16 @@ class AIOVG_Admin_Welcome {
30
public function add_welcome_menus() {
31
32
add_dashboard_page(
33
- __( 'About - All in One Video Gallery', 'all-in-one-video-gallery' ),
34
- __( 'About - All in One Video Gallery', 'all-in-one-video-gallery' ),
35
'manage_aiovg_options',
36
'aiovg_about',
37
array( $this, 'display_welcome_content' )
38
);
39
40
add_dashboard_page(
41
- __( 'Support - All in One Video Gallery', 'all-in-one-video-gallery' ),
42
- __( 'Support - All in One Video Gallery', 'all-in-one-video-gallery' ),
43
'manage_aiovg_options',
44
'aiovg_support',
45
array( $this, 'display_welcome_content' )
30
public function add_welcome_menus() {
31
32
add_dashboard_page(
33
+ __( 'About - All-in-One Video Gallery', 'all-in-one-video-gallery' ),
34
+ __( 'About - All-in-One Video Gallery', 'all-in-one-video-gallery' ),
35
'manage_aiovg_options',
36
'aiovg_about',
37
array( $this, 'display_welcome_content' )
38
);
39
40
add_dashboard_page(
41
+ __( 'Support - All-in-One Video Gallery', 'all-in-one-video-gallery' ),
42
+ __( 'Support - All-in-One Video Gallery', 'all-in-one-video-gallery' ),
43
'manage_aiovg_options',
44
'aiovg_support',
45
array( $this, 'display_welcome_content' )
admin/class-aiovg-admin.php CHANGED
@@ -22,6 +22,35 @@ if ( ! defined( 'WPINC' ) ) {
22
*/
23
class AIOVG_Admin {
24
25
/**
26
* Register the stylesheets for the admin area.
27
*
@@ -76,11 +105,11 @@ class AIOVG_Admin {
76
77
if ( false == get_option( 'aiovg_admin_notice_dismissed' ) ) : ?>
78
<div id="aiovg-admin-notice" class="notice notice-info is-dismissible" data-security="<?php echo wp_create_nonce( 'aiovg_admin_notice_nonce' ); ?>">
79
- <p><strong><?php _e( 'All in One Video Gallery', 'all-in-one-video-gallery' ); ?></strong></p>
80
<p>
81
- <a href="https://plugins360.com/documentation/" target="_blank"><?php _e( 'Online Documentation', 'all-in-one-video-gallery' ); ?></a> |
82
<a href="https://plugins360.com/support/" target="_blank"><?php _e( 'Contact Support', 'all-in-one-video-gallery' ); ?></a> |
83
- <a href="https://plugins360.com/add-ons/" target="_blank"><?php _e( 'Premium Add-ons', 'all-in-one-video-gallery' ); ?></a>
84
</p>
85
</div>
86
<?php endif;
22
*/
23
class AIOVG_Admin {
24
25
+ /**
26
+ * Check and update plugin options to the latest version.
27
+ *
28
+ * @since 1.5.2
29
+ */
30
+ public function manage_upgrades() {
31
+
32
+ if ( AIOVG_PLUGIN_VERSION !== get_option( 'aiovg_version' ) ) {
33
+
34
+ // Insert privacy settings
35
+ if ( false == get_option( 'aiovg_privacy_settings' ) ) {
36
+
37
+ $defaults = array(
38
+ 'show_consent' => 0,
39
+ 'consent_message' => __( '<strong>Please accept cookies to play this video</strong>. By accepting you will be accessing content from a service provided by an external third party.', 'all-in-one-video-gallery' ),
40
+ 'consent_button_label' => __( 'Accept', 'all-in-one-video-gallery' )
41
+ );
42
+
43
+ add_option( 'aiovg_privacy_settings', $defaults );
44
+
45
+ }
46
+
47
+ // Update plugin version
48
+ update_option( 'aiovg_version', AIOVG_PLUGIN_VERSION );
49
+
50
+ }
51
+
52
+ }
53
+
54
/**
55
* Register the stylesheets for the admin area.
56
*
105
106
if ( false == get_option( 'aiovg_admin_notice_dismissed' ) ) : ?>
107
<div id="aiovg-admin-notice" class="notice notice-info is-dismissible" data-security="<?php echo wp_create_nonce( 'aiovg_admin_notice_nonce' ); ?>">
108
+ <p><strong><?php _e( 'All-in-One Video Gallery', 'all-in-one-video-gallery' ); ?></strong></p>
109
<p>
110
+ <a href="https://plugins360.com/all-in-one-video-gallery/documentation/" target="_blank"><?php _e( 'Online Documentation', 'all-in-one-video-gallery' ); ?></a> |
111
<a href="https://plugins360.com/support/" target="_blank"><?php _e( 'Contact Support', 'all-in-one-video-gallery' ); ?></a> |
112
+ <a href="https://plugins360.com/all-in-one-video-gallery/add-ons/" target="_blank"><?php _e( 'Premium Add-ons', 'all-in-one-video-gallery' ); ?></a>
113
</p>
114
</div>
115
<?php endif;
admin/templates/shortcode-builder.php CHANGED
@@ -14,7 +14,7 @@
14
<div id="aiovg-shortcode-builder" class="aiovg-shortcode-builder mfp-hide">
15
16
<div id="aiovg-shortcode" class="aiovg-shortcode">
17
- <p><?php echo __( 'Use the form below to insert "All in One Video Gallery" plugin shortcodes.', 'all-in-one-video-gallery' ); ?></p>
18
19
<!-- Shortcodes -->
20
<div class="aiovg-shortcode-selector">
14
<div id="aiovg-shortcode-builder" class="aiovg-shortcode-builder mfp-hide">
15
16
<div id="aiovg-shortcode" class="aiovg-shortcode">
17
+ <p><?php echo __( 'Use the form below to insert "All-in-One Video Gallery" plugin shortcodes.', 'all-in-one-video-gallery' ); ?></p>
18
19
<!-- Shortcodes -->
20
<div class="aiovg-shortcode-selector">
admin/templates/welcome.php CHANGED
@@ -13,7 +13,7 @@
13
14
<div id="aiovg-welcome" class="wrap about-wrap full-width-layout aiovg-welcome">
15
16
- <h1><?php printf( __( 'Welcome to "All in One Video Gallery - %s"', 'all-in-one-video-gallery' ), AIOVG_PLUGIN_VERSION ); ?></h1>
17
18
<p class="about-text">
19
<?php _e( 'Responsive & Lightweight Video gallery plugin. HTML5 with FLASH fallbacks. Supports any browser & video formats such as MP4, WebM, OGV and embeddable players like YouTube, Vimeo, Dailymotion, Facebook, etc.', 'all-in-one-video-gallery' ); ?>
13
14
<div id="aiovg-welcome" class="wrap about-wrap full-width-layout aiovg-welcome">
15
16
+ <h1><?php printf( __( 'Welcome to "All-in-One Video Gallery - %s"', 'all-in-one-video-gallery' ), AIOVG_PLUGIN_VERSION ); ?></h1>
17
18
<p class="about-text">
19
<?php _e( 'Responsive & Lightweight Video gallery plugin. HTML5 with FLASH fallbacks. Supports any browser & video formats such as MP4, WebM, OGV and embeddable players like YouTube, Vimeo, Dailymotion, Facebook, etc.', 'all-in-one-video-gallery' ); ?>
all-in-one-video-gallery.php CHANGED
@@ -8,10 +8,10 @@
8
* @package AIOVG
9
*
10
* @wordpress-plugin
11
- * Plugin Name: All in One Video Gallery
12
- * Plugin URI: https://plugins360.com
13
* Description: Responsive & Lightweight Video gallery plugin. HTML5 with FLASH fallbacks. Supports any browser & video formats such as MP4, WebM, OGV and embeddable players like YouTube, Vimeo, Dailymotion, Facebook, etc.
14
- * Version: 1.5.1
15
* Author: Team Plugins360
16
* License: GPL-2.0+
17
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
@@ -26,7 +26,7 @@ if ( ! defined( 'WPINC' ) ) {
26
27
// The current version of the plugin
28
if ( ! defined( 'AIOVG_PLUGIN_VERSION' ) ) {
29
- define( 'AIOVG_PLUGIN_VERSION', '1.5.1' );
30
}
31
32
// The unique identifier of the plugin
8
* @package AIOVG
9
*
10
* @wordpress-plugin
11
+ * Plugin Name: All-in-One Video Gallery
12
+ * Plugin URI: https://plugins360.com/all-in-one-video-gallery/
13
* Description: Responsive & Lightweight Video gallery plugin. HTML5 with FLASH fallbacks. Supports any browser & video formats such as MP4, WebM, OGV and embeddable players like YouTube, Vimeo, Dailymotion, Facebook, etc.
14
+ * Version: 1.5.2
15
* Author: Team Plugins360
16
* License: GPL-2.0+
17
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
26
27
// The current version of the plugin
28
if ( ! defined( 'AIOVG_PLUGIN_VERSION' ) ) {
29
+ define( 'AIOVG_PLUGIN_VERSION', '1.5.2' );
30
}
31
32
// The unique identifier of the plugin
includes/class-aiovg-activator.php CHANGED
@@ -91,6 +91,11 @@ class AIOVG_Activator {
91
),
92
'has_comments' => 1
93
),
94
'aiovg_permalink_settings' => array(
95
'video' => 'aiovg_videos'
96
),
@@ -104,7 +109,7 @@ class AIOVG_Activator {
104
)
105
),
106
'aiovg_page_settings' => array(
107
- )
108
);
109
110
foreach ( $options as $option_name => $defaults ) {
91
),
92
'has_comments' => 1
93
),
94
+ 'aiovg_privacy_settings' => array(
95
+ 'show_consent' => 0,
96
+ 'consent_message' => __( '<strong>Please accept cookies to play this video</strong>. By accepting you will be accessing content from a service provided by an external third party.', 'all-in-one-video-gallery' ),
97
+ 'consent_button_label' => __( 'Accept', 'all-in-one-video-gallery' )
98
+ ),
99
'aiovg_permalink_settings' => array(
100
'video' => 'aiovg_videos'
101
),
109
)
110
),
111
'aiovg_page_settings' => array(
112
+ )
113
);
114
115
foreach ( $options as $option_name => $defaults ) {
includes/class-aiovg.php CHANGED
@@ -144,6 +144,7 @@ class AIOVG {
144
// Hooks common to all admin pages
145
$plugin_admin = new AIOVG_Admin();
146
147
$this->loader->add_action( 'admin_enqueue_scripts', $plugin_admin, 'enqueue_styles' );
148
$this->loader->add_action( 'admin_enqueue_scripts', $plugin_admin, 'enqueue_scripts' );
149
$this->loader->add_action( 'admin_notices', $plugin_admin, 'admin_notice' );
@@ -224,6 +225,8 @@ class AIOVG {
224
$this->loader->add_action( 'wp_enqueue_scripts', $plugin_public, 'enqueue_scripts' );
225
$this->loader->add_action( 'wp_title', $plugin_public, 'wp_title', 99, 3 );
226
$this->loader->add_action( 'wp_head', $plugin_public, 'og_metatags' );
227
228
$this->loader->add_filter( 'pre_get_document_title', $plugin_public, 'pre_get_document_title', 999 );
229
$this->loader->add_filter( 'document_title_parts', $plugin_public, 'document_title_parts' );
@@ -245,9 +248,7 @@ class AIOVG {
245
$this->loader->add_action( 'template_include', $plugin_public_video, 'template_include' );
246
$this->loader->add_action( 'the_content', $plugin_public_video, 'the_content', 20 );
247
$this->loader->add_action( 'wp_ajax_aiovg_update_views_count', $plugin_public_video, 'ajax_callback_update_views_count' );
248
- $this->loader->add_action( 'wp_ajax_nopriv_aiovg_update_views_count', $plugin_public_video, 'ajax_callback_update_views_count' );
249
-
250
- $this->loader->add_filter( 'aiovg_player_page_url', $plugin_public_video, 'get_player_page_url', 10, 3 );
251
252
// Hooks specific to the search form
253
$plugin_public_search = new AIOVG_Public_Search();
144
// Hooks common to all admin pages
145
$plugin_admin = new AIOVG_Admin();
146
147
+ $this->loader->add_action( 'wp_loaded', $plugin_admin, 'manage_upgrades' );
148
$this->loader->add_action( 'admin_enqueue_scripts', $plugin_admin, 'enqueue_styles' );
149
$this->loader->add_action( 'admin_enqueue_scripts', $plugin_admin, 'enqueue_scripts' );
150
$this->loader->add_action( 'admin_notices', $plugin_admin, 'admin_notice' );
225
$this->loader->add_action( 'wp_enqueue_scripts', $plugin_public, 'enqueue_scripts' );
226
$this->loader->add_action( 'wp_title', $plugin_public, 'wp_title', 99, 3 );
227
$this->loader->add_action( 'wp_head', $plugin_public, 'og_metatags' );
228
+ $this->loader->add_action( 'wp_ajax_aiovg_set_cookie', $plugin_public, 'set_cookie' );
229
+ $this->loader->add_action( 'wp_ajax_nopriv_aiovg_set_cookie', $plugin_public, 'set_cookie' );
230
231
$this->loader->add_filter( 'pre_get_document_title', $plugin_public, 'pre_get_document_title', 999 );
232
$this->loader->add_filter( 'document_title_parts', $plugin_public, 'document_title_parts' );
248
$this->loader->add_action( 'template_include', $plugin_public_video, 'template_include' );
249
$this->loader->add_action( 'the_content', $plugin_public_video, 'the_content', 20 );
250
$this->loader->add_action( 'wp_ajax_aiovg_update_views_count', $plugin_public_video, 'ajax_callback_update_views_count' );
251
+ $this->loader->add_action( 'wp_ajax_nopriv_aiovg_update_views_count', $plugin_public_video, 'ajax_callback_update_views_count' );
252
253
// Hooks specific to the search form
254
$plugin_public_search = new AIOVG_Public_Search();
includes/functions.php CHANGED
@@ -485,16 +485,63 @@ function aiovg_get_player_html( $post_id = 0, $atts = array() ) {
485
// Process output
486
$html = '';
487
488
- if ( ! empty( $url ) ) {
489
- $iframe = sprintf( '<iframe width="560" height="315" src="%s" frameborder="0" allowfullscreen></iframe>', esc_url( $url ) );
490
$html = sprintf(
491
'<div class="aiovg-player-container" style="max-width: %s;"><div class="aiovg-player" style="padding-bottom: %s;">%s</div></div>',
492
! empty( $attributes['width'] ) ? (int) $attributes['width'] . 'px' : '100%',
493
! empty( $attributes['ratio'] ) ? (float) $attributes['ratio'] . '%' : '56.25%',
494
$iframe
495
- );
496
}
497
498
return $html;
499
500
}
@@ -558,7 +605,25 @@ function aiovg_get_player_page_url( $post_id = 0, $atts = array() ) {
558
if ( ! empty( $query_args ) ) {
559
$url = add_query_arg( $query_args, $url );
560
}
561
562
return apply_filters( 'aiovg_player_page_url', $url, $post_id, $atts );
563
564
}
485
// Process output
486
$html = '';
487
488
+ if ( ! empty( $url ) ) {
489
+
490
+ $url = esc_url( $url );
491
+ $iframe = sprintf( '<iframe width="560" height="315" src="%s" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>', $url );
492
+
493
+ if ( $post_id > 0 ) {
494
+
495
+ $post_meta = get_post_meta( $post_id );
496
+
497
+ if ( 'embedcode' == $post_meta['type'][0] ) {
498
+
499
+ $is_youtube = ( false !== strpos( $url, 'youtube.com' ) );
500
+ $is_vimeo = ( false !== strpos( $url, 'vimeo.com' ) );
501
+ $is_dailymotion = ( false !== strpos( $url, 'dailymotion.com' ) );
502
+ $is_facebook = ( false !== strpos( $url, 'facebook.com' ) );
503
+
504
+ if ( $is_youtube || $is_vimeo || $is_dailymotion || $is_facebook ) {
505
+
506
+ $privacy_settings = get_option( 'aiovg_privacy_settings' );
507
+
508
+ $show_consent = 1;
509
+
510
+ if ( isset( $_COOKIE['aiovg_gdpr_consent'] ) || empty( $privacy_settings['show_consent'] ) || empty( $privacy_settings['consent_message'] ) || empty( $privacy_settings['consent_button_label'] ) ) {
511
+ $show_consent = 0;
512
+ }
513
+
514
+ if ( $show_consent ) {
515
+
516
+ $video = add_query_arg( 'autoplay', 1, $url );
517
+ $image = aiovg_get_image_url( $post_meta['image_id'][0], 'large', $post_meta['image'][0], 'player' );
518
+
519
+ $iframe = sprintf( '<iframe width="560" height="315" data-src="%s" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>', $video );
520
+ $iframe .= sprintf( '<div class="aiovg-privacy-wrapper" style="background-image: url(%s);">', $image );
521
+ $iframe .= '<div class="aiovg-privacy-consent-block">';
522
+ $iframe .= sprintf( '<div class="aiovg-privacy-consent-message">%s</div>', wp_kses_post( $privacy_settings['consent_message'] ) );
523
+ $iframe .= sprintf( '<div class="aiovg-privacy-consent-button">%s</div>', sanitize_text_field( $privacy_settings['consent_button_label'] ) );
524
+ $iframe .= '</div>';
525
+ $iframe .= '</div>';
526
+
527
+ }
528
+
529
+ }
530
+
531
+ }
532
+
533
+ }
534
+
535
$html = sprintf(
536
'<div class="aiovg-player-container" style="max-width: %s;"><div class="aiovg-player" style="padding-bottom: %s;">%s</div></div>',
537
! empty( $attributes['width'] ) ? (int) $attributes['width'] . 'px' : '100%',
538
! empty( $attributes['ratio'] ) ? (float) $attributes['ratio'] . '%' : '56.25%',
539
$iframe
540
+ );
541
+
542
}
543
544
+ // Return
545
return $html;
546
547
}
605
if ( ! empty( $query_args ) ) {
606
$url = add_query_arg( $query_args, $url );
607
}
608
+
609
+ // Parse URL from iframe embedcode
610
+ if ( $post_id > 0 ) {
611
+
612
+ $type = get_post_meta( $post_id, 'type', true );
613
+
614
+ if ( 'embedcode' == $type ) {
615
+ $embedcode = get_post_meta( $post_id, 'embedcode', true );
616
+
617
+ $document = new DOMDocument();
618
+ $document->loadHTML( $embedcode );
619
+
620
+ $iframes = $document->getElementsByTagName( 'iframe' );
621
+ $url = $iframes->item(0)->getAttribute( 'src' );
622
+ }
623
+
624
+ }
625
626
+ // Return
627
return apply_filters( 'aiovg_player_page_url', $url, $post_id, $atts );
628
629
}
languages/all-in-one-video-gallery.pot CHANGED
@@ -1,15 +1,15 @@
1
msgid ""
2
msgstr ""
3
- "Project-Id-Version: All in One Video Gallery\n"
4
- "POT-Creation-Date: 2018-02-25 16:48+0530\n"
5
- "PO-Revision-Date: 2018-02-25 16:48+0530\n"
6
"Last-Translator: \n"
7
"Language-Team: \n"
8
"Language: en_US\n"
9
"MIME-Version: 1.0\n"
10
"Content-Type: text/plain; charset=UTF-8\n"
11
"Content-Transfer-Encoding: 8bit\n"
12
- "X-Generator: Poedit 2.0.6\n"
13
"X-Poedit-Basepath: ..\n"
14
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
15
"X-Poedit-SourceCharset: UTF-8\n"
@@ -96,7 +96,7 @@ msgid "Categories list navigation"
96
msgstr ""
97
98
#: admin/class-aiovg-admin-categories.php:137
99
- #: admin/class-aiovg-admin-settings.php:320
100
#: admin/class-aiovg-admin-shortcode.php:104
101
#: admin/class-aiovg-admin-videos.php:433
102
#: widgets/categories/templates/admin.php:43
@@ -104,7 +104,7 @@ msgid "ID"
104
msgstr ""
105
106
#: admin/class-aiovg-admin-settings.php:61
107
- #: admin/class-aiovg-admin-settings.php:62 admin/class-aiovg-admin.php:63
108
#: admin/templates/welcome.php:45
109
msgid "Settings"
110
msgstr ""
@@ -118,354 +118,368 @@ msgid "Display"
118
msgstr ""
119
120
#: admin/class-aiovg-admin-settings.php:109
121
msgid "Advanced"
122
msgstr ""
123
124
- #: admin/class-aiovg-admin-settings.php:127
125
msgid "General Settings"
126
msgstr ""
127
128
- #: admin/class-aiovg-admin-settings.php:132
129
msgid "Player Settings"
130
msgstr ""
131
132
- #: admin/class-aiovg-admin-settings.php:137
133
msgid "Image Settings"
134
msgstr ""
135
136
- #: admin/class-aiovg-admin-settings.php:142
137
msgid "Categories Page"
138
msgstr ""
139
140
- #: admin/class-aiovg-admin-settings.php:147
141
msgid "Video Gallery Pages"
142
msgstr ""
143
144
- #: admin/class-aiovg-admin-settings.php:152
145
msgid "Single Video Page"
146
msgstr ""
147
148
- #: admin/class-aiovg-admin-settings.php:157
149
msgid "Permalink Slugs"
150
msgstr ""
151
152
- #: admin/class-aiovg-admin-settings.php:158
153
msgid ""
154
"NOTE: Just make sure that, after updating the fields in this section, you "
155
"flush the rewrite rules by visiting \"Settings > Permalinks\". Otherwise "
156
"you'll still see the old links."
157
msgstr ""
158
159
- #: admin/class-aiovg-admin-settings.php:163
160
msgid "Socialshare Buttons"
161
msgstr ""
162
163
- #: admin/class-aiovg-admin-settings.php:164
164
msgid "Select social share buttons displayed in the single video pages."
165
msgstr ""
166
167
- #: admin/class-aiovg-admin-settings.php:169
168
msgid "Page Settings"
169
msgstr ""
170
171
- #: admin/class-aiovg-admin-settings.php:190
172
msgid "Bootstrap Options"
173
msgstr ""
174
175
- #: admin/class-aiovg-admin-settings.php:191
176
msgid ""
177
- "All in One Video Gallery uses Bootstrap version 3. Disable this option if "
178
"your theme already include the \"Bootstrap\" library files."
179
msgstr ""
180
181
- #: admin/class-aiovg-admin-settings.php:194
182
msgid "Include Bootstrap CSS"
183
msgstr ""
184
185
- #: admin/class-aiovg-admin-settings.php:200
186
msgid "Font Awesome"
187
msgstr ""
188
189
- #: admin/class-aiovg-admin-settings.php:201
190
msgid ""
191
"Include Font Awesome. Disable this option if your theme already include the "
192
"\"Font Awesome\" library files"
193
msgstr ""
194
195
- #: admin/class-aiovg-admin-settings.php:207
196
msgid "Remove data on uninstall?"
197
msgstr ""
198
199
- #: admin/class-aiovg-admin-settings.php:208
200
msgid ""
201
"Check this box to delete all of the plugin data( database stored content, "
202
"uploaded media files, etc... ) when uninstalled"
203
msgstr ""
204
205
- #: admin/class-aiovg-admin-settings.php:216
206
- #: admin/class-aiovg-admin-settings.php:290
207
#: admin/class-aiovg-admin-shortcode.php:279
208
#: widgets/video/templates/admin.php:46
209
msgid "Width"
210
msgstr ""
211
212
- #: admin/class-aiovg-admin-settings.php:217
213
#, php-format
214
msgid ""
215
"In pixels. Maximum width of the player. Leave this field empty to scale "
216
"100% of its enclosing container/html element."
217
msgstr ""
218
219
- #: admin/class-aiovg-admin-settings.php:223
220
- #: admin/class-aiovg-admin-settings.php:297
221
#: admin/class-aiovg-admin-shortcode.php:286
222
#: widgets/video/templates/admin.php:51
223
msgid "Ratio"
224
msgstr ""
225
226
- #: admin/class-aiovg-admin-settings.php:226
227
msgid ""
228
"In percentage. 1 to 100. Calculate player's height using the ratio value "
229
"entered."
230
msgstr ""
231
232
- #: admin/class-aiovg-admin-settings.php:227
233
msgid "Examples"
234
msgstr ""
235
236
- #: admin/class-aiovg-admin-settings.php:228
237
msgid "Wide Screen TV"
238
msgstr ""
239
240
- #: admin/class-aiovg-admin-settings.php:229
241
msgid "Monitor Screens"
242
msgstr ""
243
244
- #: admin/class-aiovg-admin-settings.php:230
245
msgid "Classic TV"
246
msgstr ""
247
248
- #: admin/class-aiovg-admin-settings.php:231
249
msgid "Photo Camera"
250
msgstr ""
251
252
- #: admin/class-aiovg-admin-settings.php:232
253
msgid "Square"
254
msgstr ""
255
256
- #: admin/class-aiovg-admin-settings.php:233
257
msgid "Cinemascope"
258
msgstr ""
259
260
- #: admin/class-aiovg-admin-settings.php:240
261
#: admin/class-aiovg-admin-shortcode.php:293
262
#: widgets/video/templates/admin.php:57
263
msgid "Autoplay"
264
msgstr ""
265
266
- #: admin/class-aiovg-admin-settings.php:241
267
msgid "Check this to start playing the video as soon as it is ready"
268
msgstr ""
269
270
- #: admin/class-aiovg-admin-settings.php:247
271
#: admin/class-aiovg-admin-shortcode.php:300
272
#: widgets/video/templates/admin.php:62
273
msgid "Loop"
274
msgstr ""
275
276
- #: admin/class-aiovg-admin-settings.php:248
277
msgid ""
278
"Check this, so that the video will start over again, every time it is "
279
"finished"
280
msgstr ""
281
282
- #: admin/class-aiovg-admin-settings.php:254
283
msgid "Preload"
284
msgstr ""
285
286
- #: admin/class-aiovg-admin-settings.php:257
287
msgid "Specifies if and how the video should be loaded when the page loads."
288
msgstr ""
289
290
- #: admin/class-aiovg-admin-settings.php:258
291
msgid "\"Auto\" - the video should be loaded entirely when the page loads"
292
msgstr ""
293
294
- #: admin/class-aiovg-admin-settings.php:259
295
msgid "\"Metadata\" - only metadata should be loaded when the page loads"
296
msgstr ""
297
298
- #: admin/class-aiovg-admin-settings.php:260
299
msgid "\"None\" - the video should not be loaded when the page loads"
300
msgstr ""
301
302
- #: admin/class-aiovg-admin-settings.php:264
303
msgid "Auto"
304
msgstr ""
305
306
- #: admin/class-aiovg-admin-settings.php:265
307
msgid "Metadata"
308
msgstr ""
309
310
- #: admin/class-aiovg-admin-settings.php:266
311
msgid "None"
312
msgstr ""
313
314
- #: admin/class-aiovg-admin-settings.php:272
315
#: admin/class-aiovg-admin-shortcode.php:307
316
#: widgets/video/templates/admin.php:65
317
msgid "Show / Hide Player Controls"
318
msgstr ""
319
320
- #: admin/class-aiovg-admin-settings.php:276
321
#: admin/class-aiovg-admin-shortcode.php:312
322
#: widgets/video/templates/admin.php:69
323
msgid "Play / Pause"
324
msgstr ""
325
326
- #: admin/class-aiovg-admin-settings.php:277
327
#: admin/class-aiovg-admin-shortcode.php:319
328
#: widgets/video/templates/admin.php:74
329
msgid "Current Time"
330
msgstr ""
331
332
- #: admin/class-aiovg-admin-settings.php:278
333
#: admin/class-aiovg-admin-shortcode.php:326
334
#: widgets/video/templates/admin.php:79
335
msgid "Progressbar"
336
msgstr ""
337
338
- #: admin/class-aiovg-admin-settings.php:279
339
#: admin/class-aiovg-admin-shortcode.php:333
340
#: admin/templates/video-sources.php:161 admin/templates/video-sources.php:164
341
#: widgets/video/templates/admin.php:84
342
msgid "Duration"
343
msgstr ""
344
345
- #: admin/class-aiovg-admin-settings.php:280
346
#: admin/class-aiovg-admin-shortcode.php:340
347
#: admin/class-aiovg-admin-videos.php:150 widgets/video/templates/admin.php:89
348
msgid "Subtitles"
349
msgstr ""
350
351
- #: admin/class-aiovg-admin-settings.php:281
352
#: admin/class-aiovg-admin-shortcode.php:347
353
#: widgets/video/templates/admin.php:94
354
msgid "Volume"
355
msgstr ""
356
357
- #: admin/class-aiovg-admin-settings.php:282
358
#: admin/class-aiovg-admin-shortcode.php:354
359
#: widgets/video/templates/admin.php:99
360
msgid "Fullscreen"
361
msgstr ""
362
363
- #: admin/class-aiovg-admin-settings.php:291
364
#, php-format
365
msgid "Always 100% of its enclosing container/html element."
366
msgstr ""
367
368
- #: admin/class-aiovg-admin-settings.php:298
369
msgid ""
370
"In percentage. 1 to 100. Calculate images's height using the ratio value "
371
"entered."
372
msgstr ""
373
374
- #: admin/class-aiovg-admin-settings.php:306
375
- #: admin/class-aiovg-admin-settings.php:363
376
#: admin/class-aiovg-admin-shortcode.php:94
377
#: admin/class-aiovg-admin-shortcode.php:156
378
#: widgets/videos/templates/admin.php:50
379
msgid "Number of Columns"
380
msgstr ""
381
382
- #: admin/class-aiovg-admin-settings.php:307
383
msgid "Enter the number of columns you like to have in your categories page."
384
msgstr ""
385
386
- #: admin/class-aiovg-admin-settings.php:316
387
#: admin/class-aiovg-admin-shortcode.php:114
388
msgid "Order Categories by"
389
msgstr ""
390
391
- #: admin/class-aiovg-admin-settings.php:321
392
#: admin/class-aiovg-admin-shortcode.php:105
393
#: widgets/categories/templates/admin.php:44
394
msgid "Count"
395
msgstr ""
396
397
- #: admin/class-aiovg-admin-settings.php:322
398
#: admin/class-aiovg-admin-shortcode.php:106
399
#: widgets/categories/templates/admin.php:45
400
msgid "Name"
401
msgstr ""
402
403
- #: admin/class-aiovg-admin-settings.php:323
404
#: admin/class-aiovg-admin-shortcode.php:107
405
#: widgets/categories/templates/admin.php:46
406
msgid "Slug"
407
msgstr ""
408
409
- #: admin/class-aiovg-admin-settings.php:329
410
#: admin/class-aiovg-admin-shortcode.php:101
411
msgid "Sort Categories by"
412
msgstr ""
413
414
- #: admin/class-aiovg-admin-settings.php:333
415
- #: admin/class-aiovg-admin-settings.php:397
416
msgid "Ascending"
417
msgstr ""
418
419
- #: admin/class-aiovg-admin-settings.php:334
420
- #: admin/class-aiovg-admin-settings.php:398
421
msgid "Descending"
422
msgstr ""
423
424
- #: admin/class-aiovg-admin-settings.php:340
425
#: admin/class-aiovg-admin-shortcode.php:125
426
msgid "Show Description?"
427
msgstr ""
428
429
- #: admin/class-aiovg-admin-settings.php:341
430
msgid "Check this to show the categories description"
431
msgstr ""
432
433
- #: admin/class-aiovg-admin-settings.php:347
434
#: admin/class-aiovg-admin-shortcode.php:132
435
msgid "Show Videos Count?"
436
msgstr ""
437
438
- #: admin/class-aiovg-admin-settings.php:348
439
msgid "Check this to show the videos count next to the category name"
440
msgstr ""
441
442
- #: admin/class-aiovg-admin-settings.php:354
443
#: admin/class-aiovg-admin-shortcode.php:139
444
msgid "Hide Empty Categories?"
445
msgstr ""
446
447
- #: admin/class-aiovg-admin-settings.php:355
448
msgid "Check this to hide categories with no videos"
449
msgstr ""
450
451
- #: admin/class-aiovg-admin-settings.php:364
452
msgid "Enter the number of columns you like to have in the gallery view."
453
msgstr ""
454
455
- #: admin/class-aiovg-admin-settings.php:373
456
msgid "Videos per Page"
457
msgstr ""
458
459
- #: admin/class-aiovg-admin-settings.php:374
460
msgid ""
461
"Number of videos to show per page. Use a value of \"0\" to show all videos."
462
msgstr ""
463
464
- #: admin/class-aiovg-admin-settings.php:380
465
msgid "Order Videos by"
466
msgstr ""
467
468
- #: admin/class-aiovg-admin-settings.php:384
469
#: admin/class-aiovg-admin-shortcode.php:173
470
#: widgets/categories/templates/admin.php:15
471
#: widgets/search/templates/admin.php:15 widgets/video/templates/admin.php:15
@@ -473,174 +487,190 @@ msgstr ""
473
msgid "Title"
474
msgstr ""
475
476
- #: admin/class-aiovg-admin-settings.php:385
477
#: admin/class-aiovg-admin-shortcode.php:174
478
#: widgets/videos/templates/admin.php:65
479
msgid "Date Posted"
480
msgstr ""
481
482
- #: admin/class-aiovg-admin-settings.php:386
483
- #: admin/class-aiovg-admin-settings.php:412
484
- #: admin/class-aiovg-admin-settings.php:436
485
#: admin/class-aiovg-admin-shortcode.php:175
486
#: admin/class-aiovg-admin-shortcode.php:241
487
#: widgets/videos/templates/admin.php:66 widgets/videos/templates/admin.php:124
488
msgid "Views Count"
489
msgstr ""
490
491
- #: admin/class-aiovg-admin-settings.php:387
492
#: admin/class-aiovg-admin-shortcode.php:176
493
#: widgets/videos/templates/admin.php:67
494
msgid "Random"
495
msgstr ""
496
497
- #: admin/class-aiovg-admin-settings.php:393
498
msgid "Sort Videos by"
499
msgstr ""
500
501
- #: admin/class-aiovg-admin-settings.php:404
502
- #: admin/class-aiovg-admin-settings.php:429
503
#: admin/class-aiovg-admin-shortcode.php:208
504
#: widgets/videos/templates/admin.php:105
505
msgid "Show / Hide"
506
msgstr ""
507
508
- #: admin/class-aiovg-admin-settings.php:408
509
#: admin/class-aiovg-admin-shortcode.php:213
510
msgid "Videos Count"
511
msgstr ""
512
513
- #: admin/class-aiovg-admin-settings.php:409
514
- #: admin/class-aiovg-admin-settings.php:433
515
#: admin/class-aiovg-admin-shortcode.php:220
516
#: widgets/videos/templates/admin.php:109
517
msgid "Category Name"
518
msgstr ""
519
520
- #: admin/class-aiovg-admin-settings.php:410
521
- #: admin/class-aiovg-admin-settings.php:434
522
#: admin/class-aiovg-admin-shortcode.php:227
523
#: widgets/videos/templates/admin.php:114
524
msgid "Date Added"
525
msgstr ""
526
527
- #: admin/class-aiovg-admin-settings.php:411
528
- #: admin/class-aiovg-admin-settings.php:435
529
#: admin/class-aiovg-admin-shortcode.php:234
530
msgid "Author Name"
531
msgstr ""
532
533
- #: admin/class-aiovg-admin-settings.php:413
534
#: admin/class-aiovg-admin-shortcode.php:248
535
#: widgets/videos/templates/admin.php:129
536
msgid "Video Duration"
537
msgstr ""
538
539
- #: admin/class-aiovg-admin-settings.php:414
540
msgid "Excerpt ( Short Description )"
541
msgstr ""
542
543
- #: admin/class-aiovg-admin-settings.php:420
544
msgid "Excerpt Length"
545
msgstr ""
546
547
- #: admin/class-aiovg-admin-settings.php:421
548
msgid "Number of characters."
549
msgstr ""
550
551
- #: admin/class-aiovg-admin-settings.php:437
552
#: admin/class-aiovg-admin-shortcode.php:201
553
#: widgets/videos/templates/admin.php:101
554
msgid "Related Videos"
555
msgstr ""
556
557
- #: admin/class-aiovg-admin-settings.php:443
558
msgid "Enable Comments"
559
msgstr ""
560
561
- #: admin/class-aiovg-admin-settings.php:444
562
msgid ""
563
"Allow visitors to comment videos using the standard WordPress comment form. "
564
"Comments are public"
565
msgstr ""
566
567
- #: admin/class-aiovg-admin-settings.php:452
568
msgid "Video Detail Page"
569
msgstr ""
570
571
- #: admin/class-aiovg-admin-settings.php:453
572
msgid "Replaces the SLUG value used by custom post type \"aiovg_videos\"."
573
msgstr ""
574
575
- #: admin/class-aiovg-admin-settings.php:461
576
msgid "Enable Services"
577
msgstr ""
578
579
- #: admin/class-aiovg-admin-settings.php:465
580
#: admin/templates/video-sources.php:126 admin/templates/video-sources.php:129
581
- #: includes/functions.php:627 includes/functions.php:1038
582
msgid "Facebook"
583
msgstr ""
584
585
- #: admin/class-aiovg-admin-settings.php:466 includes/functions.php:1043
586
msgid "Twitter"
587
msgstr ""
588
589
- #: admin/class-aiovg-admin-settings.php:467
590
msgid "Google Plus"
591
msgstr ""
592
593
- #: admin/class-aiovg-admin-settings.php:468 includes/functions.php:1053
594
msgid "Linkedin"
595
msgstr ""
596
597
- #: admin/class-aiovg-admin-settings.php:469
598
msgid "Pinterest"
599
msgstr ""
600
601
- #: admin/class-aiovg-admin-settings.php:477
602
msgid "Single Category Page"
603
msgstr ""
604
605
- #: admin/class-aiovg-admin-settings.php:478
606
msgid ""
607
"This is the page where the videos from a particular category is displayed. "
608
"The [aiovg_category] short code must be on this page."
609
msgstr ""
610
611
- #: admin/class-aiovg-admin-settings.php:484
612
msgid "Search Page"
613
msgstr ""
614
615
- #: admin/class-aiovg-admin-settings.php:485
616
msgid ""
617
"This is the page where the search results are displayed. The [aiovg_search] "
618
"short code must be on this page."
619
msgstr ""
620
621
- #: admin/class-aiovg-admin-settings.php:491
622
msgid "User Videos Page"
623
msgstr ""
624
625
- #: admin/class-aiovg-admin-settings.php:492
626
msgid ""
627
"This is the page where the videos from an user is displayed. The "
628
"[aiovg_user_videos] short code must be on this page."
629
msgstr ""
630
631
- #: admin/class-aiovg-admin-settings.php:498
632
msgid "Player Page"
633
msgstr ""
634
635
- #: admin/class-aiovg-admin-settings.php:499
636
msgid "This is the page used to show the video player."
637
msgstr ""
638
639
- #: admin/class-aiovg-admin-settings.php:785
640
msgid "Choose File"
641
msgstr ""
642
643
- #: admin/class-aiovg-admin-settings.php:840
644
msgid "Select a page"
645
msgstr ""
646
@@ -881,12 +911,12 @@ msgstr ""
881
882
#: admin/class-aiovg-admin-welcome.php:33
883
#: admin/class-aiovg-admin-welcome.php:34
884
- msgid "About - All in One Video Gallery"
885
msgstr ""
886
887
#: admin/class-aiovg-admin-welcome.php:41
888
#: admin/class-aiovg-admin-welcome.php:42
889
- msgid "Support - All in One Video Gallery"
890
msgstr ""
891
892
#: admin/class-aiovg-admin-welcome.php:62
@@ -897,19 +927,29 @@ msgstr ""
897
msgid "Support"
898
msgstr ""
899
900
- #: admin/class-aiovg-admin.php:79
901
- msgid "All in One Video Gallery"
902
msgstr ""
903
904
- #: admin/class-aiovg-admin.php:81
905
msgid "Online Documentation"
906
msgstr ""
907
908
- #: admin/class-aiovg-admin.php:82
909
msgid "Contact Support"
910
msgstr ""
911
912
- #: admin/class-aiovg-admin.php:83
913
msgid "Premium Add-ons"
914
msgstr ""
915
@@ -928,7 +968,7 @@ msgstr ""
928
929
#: admin/templates/shortcode-builder.php:17
930
msgid ""
931
- "Use the form below to insert \"All in One Video Gallery\" plugin shortcodes."
932
msgstr ""
933
934
#: admin/templates/shortcode-builder.php:21
@@ -977,7 +1017,7 @@ msgid "OGV"
977
msgstr ""
978
979
#: admin/templates/video-sources.php:93 admin/templates/video-sources.php:96
980
- #: includes/functions.php:624
981
msgid "YouTube"
982
msgstr ""
983
@@ -986,7 +1026,7 @@ msgid "Example: https://www.youtube.com/watch?v=twYp6W6vt2U"
986
msgstr ""
987
988
#: admin/templates/video-sources.php:104 admin/templates/video-sources.php:107
989
- #: includes/functions.php:625
990
msgid "Vimeo"
991
msgstr ""
992
@@ -995,7 +1035,7 @@ msgid "Example: https://vimeo.com/108018156"
995
msgstr ""
996
997
#: admin/templates/video-sources.php:115 admin/templates/video-sources.php:118
998
- #: includes/functions.php:626
999
msgid "Dailymotion"
1000
msgstr ""
1001
@@ -1064,7 +1104,7 @@ msgstr ""
1064
1065
#: admin/templates/welcome.php:16
1066
#, php-format
1067
- msgid "Welcome to \"All in One Video Gallery - %s\""
1068
msgstr ""
1069
1070
#: admin/templates/welcome.php:19
@@ -1176,52 +1216,52 @@ msgstr ""
1176
msgid "No Items found."
1177
msgstr ""
1178
1179
- #: includes/functions.php:623
1180
msgid "Self Hosted"
1181
msgstr ""
1182
1183
- #: includes/functions.php:623
1184
msgid "External URL"
1185
msgstr ""
1186
1187
- #: includes/functions.php:628
1188
msgid "Iframe Embed Code"
1189
msgstr ""
1190
1191
- #: includes/functions.php:771
1192
msgid "Video Category"
1193
msgstr ""
1194
1195
- #: includes/functions.php:775 widgets/search/class-aiovg-widget-search.php:117
1196
msgid "Search Videos"
1197
msgstr ""
1198
1199
- #: includes/functions.php:779
1200
msgid "User Videos"
1201
msgstr ""
1202
1203
- #: includes/functions.php:783
1204
msgid "Player Embed"
1205
msgstr ""
1206
1207
- #: includes/functions.php:954
1208
msgid "&laquo;"
1209
msgstr ""
1210
1211
- #: includes/functions.php:955
1212
msgid "&raquo;"
1213
msgstr ""
1214
1215
- #: includes/functions.php:979
1216
#, php-format
1217
msgid "Page %d of %d"
1218
msgstr ""
1219
1220
- #: includes/functions.php:1048
1221
msgid "Google+"
1222
msgstr ""
1223
1224
- #: includes/functions.php:1058
1225
msgid "Pin It"
1226
msgstr ""
1227
@@ -1229,7 +1269,7 @@ msgstr ""
1229
msgid "Sub Categories"
1230
msgstr ""
1231
1232
- #: public/class-aiovg-public.php:328
1233
#, php-format
1234
msgid "Showing results for \"%s\""
1235
msgstr ""
@@ -1327,7 +1367,7 @@ msgid "Select Template"
1327
msgstr ""
1328
1329
#: widgets/video/class-aiovg-widget-video.php:45
1330
- msgid "Displays video added using \"All in One Video Gallery\" plugin."
1331
msgstr ""
1332
1333
#: widgets/video/class-aiovg-widget-video.php:48
1
msgid ""
2
msgstr ""
3
+ "Project-Id-Version: All-in-One Video Gallery\n"
4
+ "POT-Creation-Date: 2018-06-10 15:40+0530\n"
5
+ "PO-Revision-Date: 2018-06-10 15:40+0530\n"
6
"Last-Translator: \n"
7
"Language-Team: \n"
8
"Language: en_US\n"
9
"MIME-Version: 1.0\n"
10
"Content-Type: text/plain; charset=UTF-8\n"
11
"Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 2.0.8\n"
13
"X-Poedit-Basepath: ..\n"
14
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
15
"X-Poedit-SourceCharset: UTF-8\n"
96
msgstr ""
97
98
#: admin/class-aiovg-admin-categories.php:137
99
+ #: admin/class-aiovg-admin-settings.php:327
100
#: admin/class-aiovg-admin-shortcode.php:104
101
#: admin/class-aiovg-admin-videos.php:433
102
#: widgets/categories/templates/admin.php:43
104
msgstr ""
105
106
#: admin/class-aiovg-admin-settings.php:61
107
+ #: admin/class-aiovg-admin-settings.php:62 admin/class-aiovg-admin.php:92
108
#: admin/templates/welcome.php:45
109
msgid "Settings"
110
msgstr ""
118
msgstr ""
119
120
#: admin/class-aiovg-admin-settings.php:109
121
+ msgid "Privacy"
122
+ msgstr ""
123
+
124
+ #: admin/class-aiovg-admin-settings.php:110
125
msgid "Advanced"
126
msgstr ""
127
128
+ #: admin/class-aiovg-admin-settings.php:128
129
msgid "General Settings"
130
msgstr ""
131
132
+ #: admin/class-aiovg-admin-settings.php:133
133
msgid "Player Settings"
134
msgstr ""
135
136
+ #: admin/class-aiovg-admin-settings.php:138
137
msgid "Image Settings"
138
msgstr ""
139
140
+ #: admin/class-aiovg-admin-settings.php:143
141
msgid "Categories Page"
142
msgstr ""
143
144
+ #: admin/class-aiovg-admin-settings.php:148
145
msgid "Video Gallery Pages"
146
msgstr ""
147
148
+ #: admin/class-aiovg-admin-settings.php:153
149
msgid "Single Video Page"
150
msgstr ""
151
152
+ #: admin/class-aiovg-admin-settings.php:158
153
+ msgid "Privacy Settings"
154
+ msgstr ""
155
+
156
+ #: admin/class-aiovg-admin-settings.php:159
157
+ msgid ""
158
+ "These options will help with privacy restrictions such as GDPR and the EU "
159
+ "Cookie Law."
160
+ msgstr ""
161
+
162
+ #: admin/class-aiovg-admin-settings.php:164
163
msgid "Permalink Slugs"
164
msgstr ""
165
166
+ #: admin/class-aiovg-admin-settings.php:165
167
msgid ""
168
"NOTE: Just make sure that, after updating the fields in this section, you "
169
"flush the rewrite rules by visiting \"Settings > Permalinks\". Otherwise "
170
"you'll still see the old links."
171
msgstr ""
172
173
+ #: admin/class-aiovg-admin-settings.php:170
174
msgid "Socialshare Buttons"
175
msgstr ""
176
177
+ #: admin/class-aiovg-admin-settings.php:171
178
msgid "Select social share buttons displayed in the single video pages."
179
msgstr ""
180
181
+ #: admin/class-aiovg-admin-settings.php:176
182
msgid "Page Settings"
183
msgstr ""
184
185
+ #: admin/class-aiovg-admin-settings.php:197
186
msgid "Bootstrap Options"
187
msgstr ""
188
189
+ #: admin/class-aiovg-admin-settings.php:198
190
msgid ""
191
+ "All-in-One Video Gallery uses Bootstrap version 3. Disable this option if "
192
"your theme already include the \"Bootstrap\" library files."
193
msgstr ""
194
195
+ #: admin/class-aiovg-admin-settings.php:201
196
msgid "Include Bootstrap CSS"
197
msgstr ""
198
199
+ #: admin/class-aiovg-admin-settings.php:207
200
msgid "Font Awesome"
201
msgstr ""
202
203
+ #: admin/class-aiovg-admin-settings.php:208
204
msgid ""
205
"Include Font Awesome. Disable this option if your theme already include the "
206
"\"Font Awesome\" library files"
207
msgstr ""
208
209
+ #: admin/class-aiovg-admin-settings.php:214
210
msgid "Remove data on uninstall?"
211
msgstr ""
212
213
+ #: admin/class-aiovg-admin-settings.php:215
214
msgid ""
215
"Check this box to delete all of the plugin data( database stored content, "
216
"uploaded media files, etc... ) when uninstalled"
217
msgstr ""
218
219
+ #: admin/class-aiovg-admin-settings.php:223
220
+ #: admin/class-aiovg-admin-settings.php:297
221
#: admin/class-aiovg-admin-shortcode.php:279
222
#: widgets/video/templates/admin.php:46
223
msgid "Width"
224
msgstr ""
225
226
+ #: admin/class-aiovg-admin-settings.php:224
227
#, php-format
228
msgid ""
229
"In pixels. Maximum width of the player. Leave this field empty to scale "
230
"100% of its enclosing container/html element."
231
msgstr ""
232
233
+ #: admin/class-aiovg-admin-settings.php:230
234
+ #: admin/class-aiovg-admin-settings.php:304
235
#: admin/class-aiovg-admin-shortcode.php:286
236
#: widgets/video/templates/admin.php:51
237
msgid "Ratio"
238
msgstr ""
239
240
+ #: admin/class-aiovg-admin-settings.php:233
241
msgid ""
242
"In percentage. 1 to 100. Calculate player's height using the ratio value "
243
"entered."
244
msgstr ""
245
246
+ #: admin/class-aiovg-admin-settings.php:234
247
msgid "Examples"
248
msgstr ""
249
250
+ #: admin/class-aiovg-admin-settings.php:235
251
msgid "Wide Screen TV"
252
msgstr ""
253
254
+ #: admin/class-aiovg-admin-settings.php:236
255
msgid "Monitor Screens"
256
msgstr ""
257
258
+ #: admin/class-aiovg-admin-settings.php:237
259
msgid "Classic TV"
260
msgstr ""
261
262
+ #: admin/class-aiovg-admin-settings.php:238
263
msgid "Photo Camera"
264
msgstr ""
265
266
+ #: admin/class-aiovg-admin-settings.php:239
267
msgid "Square"
268
msgstr ""
269
270
+ #: admin/class-aiovg-admin-settings.php:240
271
msgid "Cinemascope"
272
msgstr ""
273
274
+ #: admin/class-aiovg-admin-settings.php:247
275
#: admin/class-aiovg-admin-shortcode.php:293
276
#: widgets/video/templates/admin.php:57
277
msgid "Autoplay"
278
msgstr ""
279
280
+ #: admin/class-aiovg-admin-settings.php:248
281
msgid "Check this to start playing the video as soon as it is ready"
282
msgstr ""
283
284
+ #: admin/class-aiovg-admin-settings.php:254
285
#: admin/class-aiovg-admin-shortcode.php:300
286
#: widgets/video/templates/admin.php:62
287
msgid "Loop"
288
msgstr ""
289
290
+ #: admin/class-aiovg-admin-settings.php:255
291
msgid ""
292
"Check this, so that the video will start over again, every time it is "
293
"finished"
294
msgstr ""
295
296
+ #: admin/class-aiovg-admin-settings.php:261
297
msgid "Preload"
298
msgstr ""
299
300
+ #: admin/class-aiovg-admin-settings.php:264
301
msgid "Specifies if and how the video should be loaded when the page loads."
302
msgstr ""
303
304
+ #: admin/class-aiovg-admin-settings.php:265
305
msgid "\"Auto\" - the video should be loaded entirely when the page loads"
306
msgstr ""
307
308
+ #: admin/class-aiovg-admin-settings.php:266
309
msgid "\"Metadata\" - only metadata should be loaded when the page loads"
310
msgstr ""
311
312
+ #: admin/class-aiovg-admin-settings.php:267
313
msgid "\"None\" - the video should not be loaded when the page loads"
314
msgstr ""
315
316
+ #: admin/class-aiovg-admin-settings.php:271
317
msgid "Auto"
318
msgstr ""
319
320
+ #: admin/class-aiovg-admin-settings.php:272
321
msgid "Metadata"
322
msgstr ""
323
324
+ #: admin/class-aiovg-admin-settings.php:273
325
msgid "None"
326
msgstr ""
327
328
+ #: admin/class-aiovg-admin-settings.php:279
329
#: admin/class-aiovg-admin-shortcode.php:307
330
#: widgets/video/templates/admin.php:65
331
msgid "Show / Hide Player Controls"
332
msgstr ""
333
334
+ #: admin/class-aiovg-admin-settings.php:283
335
#: admin/class-aiovg-admin-shortcode.php:312
336
#: widgets/video/templates/admin.php:69
337
msgid "Play / Pause"
338
msgstr ""
339
340
+ #: admin/class-aiovg-admin-settings.php:284
341
#: admin/class-aiovg-admin-shortcode.php:319
342
#: widgets/video/templates/admin.php:74
343
msgid "Current Time"
344
msgstr ""
345
346
+ #: admin/class-aiovg-admin-settings.php:285
347
#: admin/class-aiovg-admin-shortcode.php:326
348
#: widgets/video/templates/admin.php:79
349
msgid "Progressbar"
350
msgstr ""
351
352
+ #: admin/class-aiovg-admin-settings.php:286
353
#: admin/class-aiovg-admin-shortcode.php:333
354
#: admin/templates/video-sources.php:161 admin/templates/video-sources.php:164
355
#: widgets/video/templates/admin.php:84
356
msgid "Duration"
357
msgstr ""
358
359
+ #: admin/class-aiovg-admin-settings.php:287
360
#: admin/class-aiovg-admin-shortcode.php:340
361
#: admin/class-aiovg-admin-videos.php:150 widgets/video/templates/admin.php:89
362
msgid "Subtitles"
363
msgstr ""
364
365
+ #: admin/class-aiovg-admin-settings.php:288
366
#: admin/class-aiovg-admin-shortcode.php:347
367
#: widgets/video/templates/admin.php:94
368
msgid "Volume"
369
msgstr ""
370
371
+ #: admin/class-aiovg-admin-settings.php:289
372
#: admin/class-aiovg-admin-shortcode.php:354
373
#: widgets/video/templates/admin.php:99
374
msgid "Fullscreen"
375
msgstr ""
376
377
+ #: admin/class-aiovg-admin-settings.php:298
378
#, php-format
379
msgid "Always 100% of its enclosing container/html element."
380
msgstr ""
381
382
+ #: admin/class-aiovg-admin-settings.php:305
383
msgid ""
384
"In percentage. 1 to 100. Calculate images's height using the ratio value "
385
"entered."
386
msgstr ""
387
388
+ #: admin/class-aiovg-admin-settings.php:313
389
+ #: admin/class-aiovg-admin-settings.php:370
390
#: admin/class-aiovg-admin-shortcode.php:94
391
#: admin/class-aiovg-admin-shortcode.php:156
392
#: widgets/videos/templates/admin.php:50
393
msgid "Number of Columns"
394
msgstr ""
395
396
+ #: admin/class-aiovg-admin-settings.php:314
397
msgid "Enter the number of columns you like to have in your categories page."
398
msgstr ""
399
400
+ #: admin/class-aiovg-admin-settings.php:323
401
#: admin/class-aiovg-admin-shortcode.php:114
402
msgid "Order Categories by"
403
msgstr ""
404
405
+ #: admin/class-aiovg-admin-settings.php:328
406
#: admin/class-aiovg-admin-shortcode.php:105
407
#: widgets/categories/templates/admin.php:44
408
msgid "Count"
409
msgstr ""
410
411
+ #: admin/class-aiovg-admin-settings.php:329
412
#: admin/class-aiovg-admin-shortcode.php:106
413
#: widgets/categories/templates/admin.php:45
414
msgid "Name"
415
msgstr ""
416
417
+ #: admin/class-aiovg-admin-settings.php:330
418
#: admin/class-aiovg-admin-shortcode.php:107
419
#: widgets/categories/templates/admin.php:46
420
msgid "Slug"
421
msgstr ""
422
423
+ #: admin/class-aiovg-admin-settings.php:336
424
#: admin/class-aiovg-admin-shortcode.php:101
425
msgid "Sort Categories by"
426
msgstr ""
427
428
+ #: admin/class-aiovg-admin-settings.php:340
429
+ #: admin/class-aiovg-admin-settings.php:404
430
msgid "Ascending"
431
msgstr ""
432
433
+ #: admin/class-aiovg-admin-settings.php:341
434
+ #: admin/class-aiovg-admin-settings.php:405
435
msgid "Descending"
436
msgstr ""
437
438
+ #: admin/class-aiovg-admin-settings.php:347
439
#: admin/class-aiovg-admin-shortcode.php:125
440
msgid "Show Description?"
441
msgstr ""
442
443
+ #: admin/class-aiovg-admin-settings.php:348
444
msgid "Check this to show the categories description"
445
msgstr ""
446
447
+ #: admin/class-aiovg-admin-settings.php:354
448
#: admin/class-aiovg-admin-shortcode.php:132
449
msgid "Show Videos Count?"
450
msgstr ""
451
452
+ #: admin/class-aiovg-admin-settings.php:355
453
msgid "Check this to show the videos count next to the category name"
454
msgstr ""
455
456
+ #: admin/class-aiovg-admin-settings.php:361
457
#: admin/class-aiovg-admin-shortcode.php:139
458
msgid "Hide Empty Categories?"
459
msgstr ""
460
461
+ #: admin/class-aiovg-admin-settings.php:362
462
msgid "Check this to hide categories with no videos"
463
msgstr ""
464
465
+ #: admin/class-aiovg-admin-settings.php:371
466
msgid "Enter the number of columns you like to have in the gallery view."
467
msgstr ""
468
469
+ #: admin/class-aiovg-admin-settings.php:380
470
msgid "Videos per Page"
471
msgstr ""
472
473
+ #: admin/class-aiovg-admin-settings.php:381
474
msgid ""
475
"Number of videos to show per page. Use a value of \"0\" to show all videos."
476
msgstr ""
477
478
+ #: admin/class-aiovg-admin-settings.php:387
479
msgid "Order Videos by"
480
msgstr ""
481
482
+ #: admin/class-aiovg-admin-settings.php:391
483
#: admin/class-aiovg-admin-shortcode.php:173
484
#: widgets/categories/templates/admin.php:15
485
#: widgets/search/templates/admin.php:15 widgets/video/templates/admin.php:15
487
msgid "Title"
488
msgstr ""
489
490
+ #: admin/class-aiovg-admin-settings.php:392
491
#: admin/class-aiovg-admin-shortcode.php:174
492
#: widgets/videos/templates/admin.php:65
493
msgid "Date Posted"
494
msgstr ""
495
496
+ #: admin/class-aiovg-admin-settings.php:393
497
+ #: admin/class-aiovg-admin-settings.php:419
498
+ #: admin/class-aiovg-admin-settings.php:443
499
#: admin/class-aiovg-admin-shortcode.php:175
500
#: admin/class-aiovg-admin-shortcode.php:241
501
#: widgets/videos/templates/admin.php:66 widgets/videos/templates/admin.php:124
502
msgid "Views Count"
503
msgstr ""
504
505
+ #: admin/class-aiovg-admin-settings.php:394
506
#: admin/class-aiovg-admin-shortcode.php:176
507
#: widgets/videos/templates/admin.php:67
508
msgid "Random"
509
msgstr ""
510
511
+ #: admin/class-aiovg-admin-settings.php:400
512
msgid "Sort Videos by"
513
msgstr ""
514
515
+ #: admin/class-aiovg-admin-settings.php:411
516
+ #: admin/class-aiovg-admin-settings.php:436
517
#: admin/class-aiovg-admin-shortcode.php:208
518
#: widgets/videos/templates/admin.php:105
519
msgid "Show / Hide"
520
msgstr ""
521
522
+ #: admin/class-aiovg-admin-settings.php:415
523
#: admin/class-aiovg-admin-shortcode.php:213
524
msgid "Videos Count"
525
msgstr ""
526
527
+ #: admin/class-aiovg-admin-settings.php:416
528
+ #: admin/class-aiovg-admin-settings.php:440
529
#: admin/class-aiovg-admin-shortcode.php:220
530
#: widgets/videos/templates/admin.php:109
531
msgid "Category Name"
532
msgstr ""
533
534
+ #: admin/class-aiovg-admin-settings.php:417
535
+ #: admin/class-aiovg-admin-settings.php:441
536
#: admin/class-aiovg-admin-shortcode.php:227
537
#: widgets/videos/templates/admin.php:114
538
msgid "Date Added"
539
msgstr ""
540
541
+ #: admin/class-aiovg-admin-settings.php:418
542
+ #: admin/class-aiovg-admin-settings.php:442
543
#: admin/class-aiovg-admin-shortcode.php:234
544
msgid "Author Name"
545
msgstr ""
546
547
+ #: admin/class-aiovg-admin-settings.php:420
548
#: admin/class-aiovg-admin-shortcode.php:248
549
#: widgets/videos/templates/admin.php:129
550
msgid "Video Duration"
551
msgstr ""
552
553
+ #: admin/class-aiovg-admin-settings.php:421
554
msgid "Excerpt ( Short Description )"
555
msgstr ""
556
557
+ #: admin/class-aiovg-admin-settings.php:427
558
msgid "Excerpt Length"
559
msgstr ""
560
561
+ #: admin/class-aiovg-admin-settings.php:428
562
msgid "Number of characters."
563
msgstr ""
564
565
+ #: admin/class-aiovg-admin-settings.php:444
566
#: admin/class-aiovg-admin-shortcode.php:201
567
#: widgets/videos/templates/admin.php:101
568
msgid "Related Videos"
569
msgstr ""
570
571
+ #: admin/class-aiovg-admin-settings.php:450
572
msgid "Enable Comments"
573
msgstr ""
574
575
+ #: admin/class-aiovg-admin-settings.php:451
576
msgid ""
577
"Allow visitors to comment videos using the standard WordPress comment form. "
578
"Comments are public"
579
msgstr ""
580
581
+ #: admin/class-aiovg-admin-settings.php:459
582
+ msgid "GDPR - Show Consent"
583
+ msgstr ""
584
+
585
+ #: admin/class-aiovg-admin-settings.php:460
586
+ msgid "Ask for consent before loading YouTube/Vimeo content."
587
+ msgstr ""
588
+
589
+ #: admin/class-aiovg-admin-settings.php:466
590
+ msgid "GDPR - Consent Message"
591
+ msgstr ""
592
+
593
+ #: admin/class-aiovg-admin-settings.php:473
594
+ msgid "GDPR - Consent Button Label"
595
+ msgstr ""
596
+
597
+ #: admin/class-aiovg-admin-settings.php:482
598
msgid "Video Detail Page"
599
msgstr ""
600
601
+ #: admin/class-aiovg-admin-settings.php:483
602
msgid "Replaces the SLUG value used by custom post type \"aiovg_videos\"."
603
msgstr ""
604
605
+ #: admin/class-aiovg-admin-settings.php:491
606
msgid "Enable Services"
607
msgstr ""
608
609
+ #: admin/class-aiovg-admin-settings.php:495
610
#: admin/templates/video-sources.php:126 admin/templates/video-sources.php:129
611
+ #: includes/functions.php:692 includes/functions.php:1103
612
msgid "Facebook"
613
msgstr ""
614
615
+ #: admin/class-aiovg-admin-settings.php:496 includes/functions.php:1108
616
msgid "Twitter"
617
msgstr ""
618
619
+ #: admin/class-aiovg-admin-settings.php:497
620
msgid "Google Plus"
621
msgstr ""
622
623
+ #: admin/class-aiovg-admin-settings.php:498 includes/functions.php:1118
624
msgid "Linkedin"
625
msgstr ""
626
627
+ #: admin/class-aiovg-admin-settings.php:499
628
msgid "Pinterest"
629
msgstr ""
630
631
+ #: admin/class-aiovg-admin-settings.php:507
632
msgid "Single Category Page"
633
msgstr ""
634
635
+ #: admin/class-aiovg-admin-settings.php:508
636
msgid ""
637
"This is the page where the videos from a particular category is displayed. "
638
"The [aiovg_category] short code must be on this page."
639
msgstr ""
640
641
+ #: admin/class-aiovg-admin-settings.php:514
642
msgid "Search Page"
643
msgstr ""
644
645
+ #: admin/class-aiovg-admin-settings.php:515
646
msgid ""
647
"This is the page where the search results are displayed. The [aiovg_search] "
648
"short code must be on this page."
649
msgstr ""
650
651
+ #: admin/class-aiovg-admin-settings.php:521
652
msgid "User Videos Page"
653
msgstr ""
654
655
+ #: admin/class-aiovg-admin-settings.php:522
656
msgid ""
657
"This is the page where the videos from an user is displayed. The "
658
"[aiovg_user_videos] short code must be on this page."
659
msgstr ""
660
661
+ #: admin/class-aiovg-admin-settings.php:528
662
msgid "Player Page"
663
msgstr ""
664
665
+ #: admin/class-aiovg-admin-settings.php:529
666
msgid "This is the page used to show the video player."
667
msgstr ""
668
669
+ #: admin/class-aiovg-admin-settings.php:815
670
msgid "Choose File"
671
msgstr ""
672
673
+ #: admin/class-aiovg-admin-settings.php:870
674
msgid "Select a page"
675
msgstr ""
676
911
912
#: admin/class-aiovg-admin-welcome.php:33
913
#: admin/class-aiovg-admin-welcome.php:34
914
+ msgid "About - All-in-One Video Gallery"
915
msgstr ""
916
917
#: admin/class-aiovg-admin-welcome.php:41
918
#: admin/class-aiovg-admin-welcome.php:42
919
+ msgid "Support - All-in-One Video Gallery"
920
msgstr ""
921
922
#: admin/class-aiovg-admin-welcome.php:62
927
msgid "Support"
928
msgstr ""
929
930
+ #: admin/class-aiovg-admin.php:39 includes/class-aiovg-activator.php:96
931
+ msgid ""
932
+ "<strong>Please accept cookies to play this video</strong>. By accepting you "
933
+ "will be accessing content from a service provided by an external third party."
934
+ msgstr ""
935
+
936
+ #: admin/class-aiovg-admin.php:40 includes/class-aiovg-activator.php:97
937
+ msgid "Accept"
938
+ msgstr ""
939
+
940
+ #: admin/class-aiovg-admin.php:108
941
+ msgid "All-in-One Video Gallery"
942
msgstr ""
943
944
+ #: admin/class-aiovg-admin.php:110
945
msgid "Online Documentation"
946
msgstr ""
947
948
+ #: admin/class-aiovg-admin.php:111
949
msgid "Contact Support"
950
msgstr ""
951
952
+ #: admin/class-aiovg-admin.php:112
953
msgid "Premium Add-ons"
954
msgstr ""
955
968
969
#: admin/templates/shortcode-builder.php:17
970
msgid ""
971
+ "Use the form below to insert \"All-in-One Video Gallery\" plugin shortcodes."
972
msgstr ""
973
974
#: admin/templates/shortcode-builder.php:21
1017
msgstr ""
1018
1019
#: admin/templates/video-sources.php:93 admin/templates/video-sources.php:96
1020
+ #: includes/functions.php:689
1021
msgid "YouTube"
1022
msgstr ""
1023
1026
msgstr ""
1027
1028
#: admin/templates/video-sources.php:104 admin/templates/video-sources.php:107
1029
+ #: includes/functions.php:690
1030
msgid "Vimeo"
1031
msgstr ""
1032
1035
msgstr ""
1036
1037
#: admin/templates/video-sources.php:115 admin/templates/video-sources.php:118
1038
+ #: includes/functions.php:691
1039
msgid "Dailymotion"
1040
msgstr ""
1041
1104
1105
#: admin/templates/welcome.php:16
1106
#, php-format
1107
+ msgid "Welcome to \"All-in-One Video Gallery - %s\""
1108
msgstr ""
1109
1110
#: admin/templates/welcome.php:19
1216
msgid "No Items found."
1217
msgstr ""
1218
1219
+ #: includes/functions.php:688
1220
msgid "Self Hosted"
1221
msgstr ""
1222
1223
+ #: includes/functions.php:688
1224
msgid "External URL"
1225
msgstr ""
1226
1227
+ #: includes/functions.php:693
1228
msgid "Iframe Embed Code"
1229
msgstr ""
1230
1231
+ #: includes/functions.php:836
1232
msgid "Video Category"
1233
msgstr ""
1234
1235
+ #: includes/functions.php:840 widgets/search/class-aiovg-widget-search.php:117
1236
msgid "Search Videos"
1237
msgstr ""
1238
1239
+ #: includes/functions.php:844
1240
msgid "User Videos"
1241
msgstr ""
1242
1243
+ #: includes/functions.php:848
1244
msgid "Player Embed"
1245
msgstr ""
1246
1247
+ #: includes/functions.php:1019
1248
msgid "&laquo;"
1249
msgstr ""
1250
1251
+ #: includes/functions.php:1020
1252
msgid "&raquo;"
1253
msgstr ""
1254
1255
+ #: includes/functions.php:1044
1256
#, php-format
1257
msgid "Page %d of %d"
1258
msgstr ""
1259
1260
+ #: includes/functions.php:1113
1261
msgid "Google+"
1262
msgstr ""
1263
1264
+ #: includes/functions.php:1123
1265
msgid "Pin It"
1266
msgstr ""
1267
1269
msgid "Sub Categories"
1270
msgstr ""
1271
1272
+ #: public/class-aiovg-public.php:333
1273
#, php-format
1274
msgid "Showing results for \"%s\""
1275
msgstr ""
1367
msgstr ""
1368
1369
#: widgets/video/class-aiovg-widget-video.php:45
1370
+ msgid "Displays video added using \"All-in-One Video Gallery\" plugin."
1371
msgstr ""
1372
1373
#: widgets/video/class-aiovg-widget-video.php:48
public/assets/css/aiovg-public.css CHANGED
@@ -16,6 +16,52 @@
16
margin: 10px 0;
17
}
18
19
/*----------------------------------------------------------------------------------------------
20
*
21
* Gallery
16
margin: 10px 0;
17
}
18
19
+ /*----------------------------------------------------------------------------------------------
20
+ *
21
+ * GDPR
22
+ *
23
+ *--------------------------------------------------------------------------------------------*/
24
+ .aiovg-privacy-wrapper {
25
+ position: absolute;
26
+ width: 100%;
27
+ height: 100%;
28
+ top: 0;
29
+ left: 0;
30
+ background-color: #222;
31
+ background-size: cover;
32
+ background-position: center;
33
+ background-repeat: no-repeat;
34
+ color: #FFF;
35
+ text-align: center;
36
+ z-index: 9;
37
+ }
38
+
39
+ .aiovg-privacy-consent-block {
40
+ position: relative;
41
+ margin: 15px;
42
+ padding: 15px;
43
+ top: 50%;
44
+ background: #000;
45
+ border-radius: 3px;
46
+ opacity: 0.9;
47
+ transform: translateY( -50% );
48
+ -ms-transform: translateY(- 50% );
49
+ -webkit-transform: translateY( -50% );
50
+ }
51
+
52
+ .aiovg-privacy-consent-button {
53
+ display: inline-block;
54
+ margin-top: 10px;
55
+ padding: 5px 15px;
56
+ background: #F00;
57
+ border-radius: 3px;
58
+ cursor: pointer;
59
+ }
60
+
61
+ .aiovg-privacy-consent-button:hover {
62
+ opacity: 0.8;
63
+ }
64
+
65
/*----------------------------------------------------------------------------------------------
66
*
67
* Gallery
public/assets/js/aiovg-public.js CHANGED
@@ -1,6 +1,23 @@
1
(function( $ ) {
2
'use strict';
3
4
/**
5
* Called when the page has loaded.
6
*
@@ -8,6 +25,20 @@
8
*/
9
$(function() {
10
11
});
12
13
})( jQuery );
1
(function( $ ) {
2
'use strict';
3
4
+ /**
5
+ * Set cookie for accepting the privacy consent.
6
+ *
7
+ * @since 1.0.0
8
+ */
9
+ function aiovg_set_cookie() {
10
+
11
+ var data = {
12
+ 'action': 'aiovg_set_cookie'
13
+ };
14
+
15
+ $.post( aiovg.ajax_url, data, function( response ) {
16
+ // console.log( 'Cookie stored!' );
17
+ });
18
+
19
+ }
20
+
21
/**
22
* Called when the page has loaded.
23
*
25
*/
26
$(function() {
27
28
+ $( '.aiovg-privacy-consent-button' ).on( 'click', function() {
29
+
30
+ aiovg_set_cookie();
31
+
32
+ var container = $( this ).closest( '.aiovg-player' );
33
+
34
+ var iframe = container.find( 'iframe' ).clone();
35
+ var src = iframe.data( 'src' );
36
+ iframe.attr( 'src', src );
37
+
38
+ container.html( iframe );
39
+
40
+ });
41
+
42
});
43
44
})( jQuery );
public/assets/mediaelement/lang/ms.js ADDED
@@ -0,0 +1,90 @@
1
+ 'use strict';/*!
2
+ * This is a `i18n` language object.
3
+ *
4
+ * Malay (for inter-country use - see the countries mentioned in infobox`s `native to` at https://en.wikipedia.org/wiki/Malay_language)
5
+ *
6
+ * @author
7
+ * muhdnurhidayat (Twitter: @mnh48com)
8
+ * Sascha Greuel (Twitter: @SoftCreatR)
9
+ *
10
+ * @see core/i18n.js
11
+ */
12
+ (function (exports) {
13
+ if (exports.ms === undefined) {
14
+ exports.ms = {
15
+ 'mejs.plural-form': 0,
16
+ 'mejs.download-file': 'Muat Turun Fail',
17
+ 'mejs.install-flash': 'Anda sedang menggunakan pelayar internet yang tidak mempunyai pemain Flash. Sila aktifkan pemalam pemain Flash anda atau muat turun versi terbaru dari https://get.adobe.com/flashplayer/',
18
+ 'mejs.fullscreen': 'Skrin penuh',
19
+ 'mejs.play': 'Main',
20
+ 'mejs.pause': 'Jeda',
21
+ 'mejs.time-slider': 'Lungsur Masa',
22
+ 'mejs.time-help-text': 'Gunakan kekunci Anak Panah Kiri/Kanan untuk bergerak satu saat, Anak Panah Atas/Bawah untuk bergerak sepuluh saat.',
23
+ 'mejs.live-broadcast' : 'Siaran Langsung',
24
+ 'mejs.volume-help-text': 'Gunakan kekunci Anak Panah Atas/Bawah untuk menguatkan atau memperlahankan bunyi.',
25
+ 'mejs.unmute': 'Nyahsenyap',
26
+ 'mejs.mute': 'Senyap',
27
+ 'mejs.volume-slider': 'Lungsur Bunyi',
28
+ 'mejs.video-player': 'Pemain Video',
29
+ 'mejs.audio-player': 'Pemain Audio',
30
+ 'mejs.captions-subtitles': 'Sarikata',
31
+ 'mejs.captions-chapters': 'Bab',
32
+ 'mejs.none': 'Tiada',
33
+ 'mejs.afrikaans': 'Bahasa Afrikaans',
34
+ 'mejs.albanian': 'Bahasa Albania',
35
+ 'mejs.arabic': 'Bahasa Arab',
36
+ 'mejs.belarusian': 'Bahasa Belarus',
37
+ 'mejs.bulgarian': 'Bahasa Bulgaria',
38
+ 'mejs.catalan': 'Bahasa Catalonia',
39
+ 'mejs.chinese': 'Bahasa Cina',
40
+ 'mejs.chinese-simplified': 'Bahasa Cina (Ringkas)',
41
+ 'mejs.chinese-traditional': 'Bahasa Cina (Tradisional)',
42
+ 'mejs.croatian': 'Bahasa Croatia',
43
+ 'mejs.czech': 'Bahasa Czech',
44
+ 'mejs.danish': 'Bahasa Denmark',
45
+ 'mejs.dutch': 'Bahasa Belanda',
46
+ 'mejs.english': 'Bahasa Inggeris',
47
+ 'mejs.estonian': 'Bahasa Estonia',
48
+ 'mejs.filipino': 'Bahasa Filipino',
49
+ 'mejs.finnish': 'Bahasa Finland',
50
+ 'mejs.french': 'Bahasa Perancis',
51
+ 'mejs.galician': 'Bahasa Galicia',
52
+ 'mejs.german': 'Bahasa Jerman',
53
+ 'mejs.greek': 'Bahasa Greek',
54
+ 'mejs.haitian-creole': 'Bahasa Kreol Haiti',
55
+ 'mejs.hebrew': 'Bahasa Ibrani',
56
+ 'mejs.hindi': 'Bahasa Hindi',
57
+ 'mejs.hungarian': 'Bahasa Hungary',
58
+ 'mejs.icelandic': 'Bahasa Iceland',
59
+ 'mejs.indonesian': 'Bahasa Indonesia',
60
+ 'mejs.irish': 'Bahasa Ireland',
61
+ 'mejs.italian': 'Bahasa Itali',
62
+ 'mejs.japanese': 'Bahasa Jepun',
63
+ 'mejs.korean': 'Bahasa Korea',
64
+ 'mejs.latvian': 'Bahasa Latvia',
65
+ 'mejs.lithuanian': 'Bahasa Lithuania',
66
+ 'mejs.macedonian': 'Bahasa Macedonia',
67
+ 'mejs.malay': 'Bahasa Melayu',
68
+ 'mejs.maltese': 'Bahasa Malta',
69
+ 'mejs.norwegian': 'Bahasa Norway',
70
+ 'mejs.persian': 'Bahasa Parsi',
71
+ 'mejs.polish': 'Bahasa Poland',
72
+ 'mejs.portuguese': 'Bahasa Portugis',
73
+ 'mejs.romanian': 'Bahasa Romania',
74
+ 'mejs.russian': 'Bahasa Rusia',
75
+ 'mejs.serbian': 'Bahasa Serbia',
76
+ 'mejs.slovak': 'Bahasa Slovak',
77
+ 'mejs.slovenian': 'Bahasa Slovene',
78
+ 'mejs.spanish': 'Bahasa Sepanyol',
79
+ 'mejs.swahili': 'Bahasa Swahili',
80
+ 'mejs.swedish': 'Bahasa Sweden',
81
+ 'mejs.tagalog': 'Bahasa Tagalog',
82
+ 'mejs.thai': 'Bahasa Thai',
83
+ 'mejs.turkish': 'Bahasa Turki',
84
+ 'mejs.ukrainian': 'Bahasa Ukraine',
85
+ 'mejs.vietnamese': 'Bahasa Vietnam',
86
+ 'mejs.welsh': 'Bahasa Wales',
87
+ 'mejs.yiddish': 'Bahasa Yiddish'
88
+ };
89
+ }
90
+ })(mejs.i18n);
public/assets/mediaelement/mediaelement-and-player.js CHANGED
@@ -1017,7 +1017,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
1017
1018
var mejs = {};
1019
1020
- mejs.version = '4.2.8';
1021
1022
mejs.html5media = {
1023
properties: ['volume', 'src', 'currentTime', 'muted', 'duration', 'paused', 'ended', 'buffered', 'error', 'networkState', 'readyState', 'seeking', 'seekable', 'currentSrc', 'preload', 'bufferedBytes', 'bufferedTime', 'initialTime', 'startOffsetTime', 'defaultPlaybackRate', 'playbackRate', 'played', 'autoplay', 'loop', 'controls'],
@@ -1248,7 +1248,7 @@ Object.assign(_player2.default.prototype, {
1248
1249
t.exitFullscreenCallback = function (e) {
1250
var key = e.which || e.keyCode || 0;
1251
- if (key === 27 && (Features.HAS_TRUE_NATIVE_FULLSCREEN && Features.IS_FULLSCREEN || t.isFullScreen)) {
1252
player.exitFullScreen();
1253
}
1254
};
@@ -1302,6 +1302,10 @@ Object.assign(_player2.default.prototype, {
1302
isNative = t.media.rendererName !== null && /(html5|native)/i.test(t.media.rendererName),
1303
containerStyles = getComputedStyle(t.getElement(t.container));
1304
1305
if (t.options.useFakeFullscreen === false && Features.IS_IOS && Features.HAS_IOS_FULLSCREEN && typeof t.media.originalNode.webkitEnterFullscreen === 'function' && t.media.originalNode.canPlayType((0, _media.getTypeFromFile)(t.media.getSrc()))) {
1306
t.media.originalNode.webkitEnterFullscreen();
1307
return;
@@ -1390,6 +1394,10 @@ Object.assign(_player2.default.prototype, {
1390
var t = this,
1391
isNative = t.media.rendererName !== null && /(native|html5)/i.test(t.media.rendererName);
1392
1393
clearTimeout(t.containerSizeTimeout);
1394
1395
if (Features.HAS_TRUE_NATIVE_FULLSCREEN && (Features.IS_FULLSCREEN || t.isFullScreen)) {
@@ -1778,7 +1786,7 @@ Object.assign(_player2.default.prototype, {
1778
handleMouseup = function handleMouseup() {
1779
if (mouseIsDown && t.getCurrentTime() !== null && t.newTime.toFixed(4) !== t.getCurrentTime().toFixed(4)) {
1780
t.setCurrentTime(t.newTime);
1781
- t.setCurrentRail();
1782
t.updateCurrent(t.newTime);
1783
}
1784
if (t.forcedHandlePause) {
@@ -1799,7 +1807,7 @@ Object.assign(_player2.default.prototype, {
1799
startedPaused = t.paused;
1800
}
1801
1802
- if (t.options.keyActions.length) {
1803
1804
var keyCode = e.which || e.keyCode || 0,
1805
duration = t.getDuration(),
@@ -2178,7 +2186,7 @@ Object.assign(_player2.default.prototype, {
2178
2179
var duration = t.getDuration();
2180
2181
- if (isNaN(duration) || duration === Infinity || duration < 0) {
2182
t.media.duration = t.options.duration = duration = 0;
2183
}
2184
@@ -3218,7 +3226,7 @@ Object.assign(_player2.default.prototype, {
3218
mouseIsOver = false;
3219
});
3220
mute.addEventListener('keydown', function (e) {
3221
- if (t.options.keyActions.length) {
3222
var keyCode = e.which || e.keyCode || 0,
3223
volume = media.volume;
3224
@@ -5167,11 +5175,12 @@ var MediaElementPlayer = function () {
5167
5168
delete t.node.autoplay;
5169
5170
if (t.media.canPlayType((0, _media.getTypeFromFile)(src)) !== '') {
5171
t.node.setAttribute('src', src);
5172
}
5173
5174
- if (~rendererName.indexOf('iframe')) {
5175
var layer = _document2.default.getElementById(t.media.id + '-iframe-overlay');
5176
layer.remove();
5177
}
@@ -5218,7 +5227,7 @@ var MediaElementPlayer = function () {
5218
t.getElement(t.container).parentNode.insertBefore(t.node, t.getElement(t.container));
5219
}
5220
5221
- if (typeof t.media.renderer.destroy === 'function') {
5222
t.media.renderer.destroy();
5223
}
5224
@@ -5443,6 +5452,11 @@ var DefaultPlayer = function () {
5443
get: function get() {
5444
return this.getDuration();
5445
}
5446
}, {
5447
key: 'volume',
5448
set: function set(volume) {
@@ -7473,7 +7487,7 @@ var SUPPORT_POINTER_EVENTS = exports.SUPPORT_POINTER_EVENTS = function () {
7473
element.style.pointerEvents = 'auto';
7474
element.style.pointerEvents = 'x';
7475
documentElement.appendChild(element);
7476
- var supports = getComputedStyle && getComputedStyle(element, '').pointerEvents === 'auto';
7477
element.remove();
7478
return !!supports;
7479
}();
1017
1018
var mejs = {};
1019
1020
+ mejs.version = '4.2.9';
1021
1022
mejs.html5media = {
1023
properties: ['volume', 'src', 'currentTime', 'muted', 'duration', 'paused', 'ended', 'buffered', 'error', 'networkState', 'readyState', 'seeking', 'seekable', 'currentSrc', 'preload', 'bufferedBytes', 'bufferedTime', 'initialTime', 'startOffsetTime', 'defaultPlaybackRate', 'playbackRate', 'played', 'autoplay', 'loop', 'controls'],
1248
1249
t.exitFullscreenCallback = function (e) {
1250
var key = e.which || e.keyCode || 0;
1251
+ if (t.options.enableKeyboard && key === 27 && (Features.HAS_TRUE_NATIVE_FULLSCREEN && Features.IS_FULLSCREEN || t.isFullScreen)) {
1252
player.exitFullScreen();
1253
}
1254
};
1302
isNative = t.media.rendererName !== null && /(html5|native)/i.test(t.media.rendererName),
1303
containerStyles = getComputedStyle(t.getElement(t.container));
1304
1305
+ if (!t.isVideo) {
1306
+ return;
1307
+ }
1308
+
1309
if (t.options.useFakeFullscreen === false && Features.IS_IOS && Features.HAS_IOS_FULLSCREEN && typeof t.media.originalNode.webkitEnterFullscreen === 'function' && t.media.originalNode.canPlayType((0, _media.getTypeFromFile)(t.media.getSrc()))) {
1310
t.media.originalNode.webkitEnterFullscreen();
1311
return;
1394
var t = this,
1395
isNative = t.media.rendererName !== null && /(native|html5)/i.test(t.media.rendererName);
1396
1397
+ if (!t.isVideo) {
1398
+ return;
1399
+ }
1400
+
1401
clearTimeout(t.containerSizeTimeout);
1402
1403
if (Features.HAS_TRUE_NATIVE_FULLSCREEN && (Features.IS_FULLSCREEN || t.isFullScreen)) {
1786
handleMouseup = function handleMouseup() {
1787
if (mouseIsDown && t.getCurrentTime() !== null && t.newTime.toFixed(4) !== t.getCurrentTime().toFixed(4)) {
1788
t.setCurrentTime(t.newTime);
1789
+ t.setCurrentRailHandle(t.newTime);
1790
t.updateCurrent(t.newTime);
1791
}
1792
if (t.forcedHandlePause) {
1807
startedPaused = t.paused;
1808
}
1809
1810
+ if (t.options.enableKeyboard && t.options.keyActions.length) {
1811
1812
var keyCode = e.which || e.keyCode || 0,
1813
duration = t.getDuration(),
2186
2187
var duration = t.getDuration();
2188
2189
+ if (t.media !== undefined && (isNaN(duration) || duration === Infinity || duration < 0)) {
2190
t.media.duration = t.options.duration = duration = 0;
2191
}
2192
3226
mouseIsOver = false;
3227
});
3228
mute.addEventListener('keydown', function (e) {
3229
+ if (t.options.enableKeyboard && t.options.keyActions.length) {
3230
var keyCode = e.which || e.keyCode || 0,
3231
volume = media.volume;
3232
5175
5176
delete t.node.autoplay;
5177
5178
+ t.node.setAttribute('src', '');
5179
if (t.media.canPlayType((0, _media.getTypeFromFile)(src)) !== '') {
5180
t.node.setAttribute('src', src);
5181
}
5182
5183
+ if (rendererName && rendererName.indexOf('iframe') > -1) {
5184
var layer = _document2.default.getElementById(t.media.id + '-iframe-overlay');
5185
layer.remove();
5186
}
5227
t.getElement(t.container).parentNode.insertBefore(t.node, t.getElement(t.container));
5228
}
5229
5230
+ if (t.media.renderer && typeof t.media.renderer.destroy === 'function') {
5231
t.media.renderer.destroy();
5232
}
5233
5452
get: function get() {
5453
return this.getDuration();
5454
}
5455
+ }, {
5456
+ key: 'remainingTime',
5457
+ get: function get() {
5458
+ return this.getDuration() - this.currentTime();
5459
+ }
5460
}, {
5461
key: 'volume',
5462
set: function set(volume) {
7487
element.style.pointerEvents = 'auto';
7488
element.style.pointerEvents = 'x';
7489
documentElement.appendChild(element);
7490
+ var supports = getComputedStyle && (getComputedStyle(element, '') || {}).pointerEvents === 'auto';
7491
element.remove();
7492
return !!supports;
7493
}();
public/assets/mediaelement/mediaelement-and-player.min.js CHANGED
@@ -9,4 +9,4 @@
9
* License: MIT
10
*
11
*/
12
- !function e(t,n,i){function o(a,s){if(!n[a]){if(!t[a]){var l="function"==typeof require&&require;if(!s&&l)return l(a,!0);if(r)return r(a,!0);var d=new Error("Cannot find module '"+a+"'");throw d.code="MODULE_NOT_FOUND",d}var u=n[a]={exports:{}};t[a][0].call(u.exports,function(e){var n=t[a][1][e];return o(n||e)},u,u.exports,e,t,n,i)}return n[a].exports}for(var r="function"==typeof require&&require,a=0;a<i.length;a++)o(i[a]);return o}({1:[function(e,t,n){},{}],2:[function(e,t,n){(function(n){var i,o=void 0!==n?n:"undefined"!=typeof window?window:{},r=e(1);"undefined"!=typeof document?i=document:(i=o["__GLOBAL_DOCUMENT_CACHE@4"])||(i=o["__GLOBAL_DOCUMENT_CACHE@4"]=r),t.exports=i}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{1:1}],3:[function(e,t,n){(function(e){var n;n="undefined"!=typeof window?window:void 0!==e?e:"undefined"!=typeof self?self:{},t.exports=n}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],4:[function(e,t,n){!function(e){function n(){}function i(e){if("object"!=typeof this)throw new TypeError("Promises must be constructed via new");if("function"!=typeof e)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],l(e,this)}function o(e,t){for(;3===e._state;)e=e._value;0!==e._state?(e._handled=!0,i._immediateFn(function(){var n=1===e._state?t.onFulfilled:t.onRejected;if(null!==n){var i;try{i=n(e._value)}catch(e){return void a(t.promise,e)}r(t.promise,i)}else(1===e._state?r:a)(t.promise,e._value)})):e._deferreds.push(t)}function r(e,t){try{if(t===e)throw new TypeError("A promise cannot be resolved with itself.");if(t&&("object"==typeof t||"function"==typeof t)){var n=t.then;if(t instanceof i)return e._state=3,e._value=t,void s(e);if("function"==typeof n)return void l(function(e,t){return function(){e.apply(t,arguments)}}(n,t),e)}e._state=1,e._value=t,s(e)}catch(t){a(e,t)}}function a(e,t){e._state=2,e._value=t,s(e)}function s(e){2===e._state&&0===e._deferreds.length&&i._immediateFn(function(){e._handled||i._unhandledRejectionFn(e._value)});for(var t=0,n=e._deferreds.length;t<n;t++)o(e,e._deferreds[t]);e._deferreds=null}function l(e,t){var n=!1;try{e(function(e){n||(n=!0,r(t,e))},function(e){n||(n=!0,a(t,e))})}catch(e){if(n)return;n=!0,a(t,e)}}var d=setTimeout;i.prototype.catch=function(e){return this.then(null,e)},i.prototype.then=function(e,t){var i=new this.constructor(n);return o(this,new function(e,t,n){this.onFulfilled="function"==typeof e?e:null,this.onRejected="function"==typeof t?t:null,this.promise=n}(e,t,i)),i},i.all=function(e){var t=Array.prototype.slice.call(e);return new i(function(e,n){function i(r,a){try{if(a&&("object"==typeof a||"function"==typeof a)){var s=a.then;if("function"==typeof s)return void s.call(a,function(e){i(r,e)},n)}t[r]=a,0==--o&&e(t)}catch(e){n(e)}}if(0===t.length)return e([]);for(var o=t.length,r=0;r<t.length;r++)i(r,t[r])})},i.resolve=function(e){return e&&"object"==typeof e&&e.constructor===i?e:new i(function(t){t(e)})},i.reject=function(e){return new i(function(t,n){n(e)})},i.race=function(e){return new i(function(t,n){for(var i=0,o=e.length;i<o;i++)e[i].then(t,n)})},i._immediateFn="function"==typeof setImmediate&&function(e){setImmediate(e)}||function(e){d(e,0)},i._unhandledRejectionFn=function(e){"undefined"!=typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",e)},i._setImmediateFn=function(e){i._immediateFn=e},i._setUnhandledRejectionFn=function(e){i._unhandledRejectionFn=e},void 0!==t&&t.exports?t.exports=i:e.Promise||(e.Promise=i)}(this)},{}],5:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=function(e){return e&&e.__esModule?e:{default:e}}(e(7)),r=e(15),a=e(27),s={lang:"en",en:r.EN};s.language=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];if(null!==t&&void 0!==t&&t.length){if("string"!=typeof t[0])throw new TypeError("Language code must be a string value");if(!/^[a-z]{2,3}((\-|_)[a-z]{2})?#x2F;i.test(t[0]))throw new TypeError("Language code must have format 2-3 letters and. optionally, hyphen, underscore followed by 2 more letters");s.lang=t[0],void 0===s[t[0]]?(t[1]=null!==t[1]&&void 0!==t[1]&&"object"===i(t[1])?t[1]:{},s[t[0]]=(0,a.isObjectEmpty)(t[1])?r.EN:t[1]):null!==t[1]&&void 0!==t[1]&&"object"===i(t[1])&&(s[t[0]]=t[1])}return s.lang},s.t=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if("string"==typeof e&&e.length){var n=void 0,o=void 0,r=s.language(),l=function(e,t,n){if("object"!==(void 0===e?"undefined":i(e))||"number"!=typeof t||"number"!=typeof n)return e;return[function(){return arguments.length<=1?void 0:arguments[1]},function(){return 1===(arguments.length<=0?void 0:arguments[0])?arguments.length<=1?void 0:arguments[1]:arguments.length<=2?void 0:arguments[2]},function(){return 0===(arguments.length<=0?void 0:arguments[0])||1===(arguments.length<=0?void 0:arguments[0])?arguments.length<=1?void 0:arguments[1]:arguments.length<=2?void 0:arguments[2]},function(){return(arguments.length<=0?void 0:arguments[0])%10==1&&(arguments.length<=0?void 0:arguments[0])%100!=11?arguments.length<=1?void 0:arguments[1]:0!==(arguments.length<=0?void 0:arguments[0])?arguments.length<=2?void 0:arguments[2]:arguments.length<=3?void 0:arguments[3]},function(){return 1===(arguments.length<=0?void 0:arguments[0])||11===(arguments.length<=0?void 0:arguments[0])?arguments.length<=1?void 0:arguments[1]:2===(arguments.length<=0?void 0:arguments[0])||12===(arguments.length<=0?void 0:arguments[0])?arguments.length<=2?void 0:arguments[2]:(arguments.length<=0?void 0:arguments[0])>2&&(arguments.length<=0?void 0:arguments[0])<20?arguments.length<=3?void 0:arguments[3]:arguments.length<=4?void 0:arguments[4]},function(){return 1===(arguments.length<=0?void 0:arguments[0])?arguments.length<=1?void 0:arguments[1]:0===(arguments.length<=0?void 0:arguments[0])||(arguments.length<=0?void 0:arguments[0])%100>0&&(arguments.length<=0?void 0:arguments[0])%100<20?arguments.length<=2?void 0:arguments[2]:arguments.length<=3?void 0:arguments[3]},function(){return(arguments.length<=0?void 0:arguments[0])%10==1&&(arguments.length<=0?void 0:arguments[0])%100!=11?arguments.length<=1?void 0:arguments[1]:(arguments.length<=0?void 0:arguments[0])%10>=2&&((arguments.length<=0?void 0:arguments[0])%100<10||(arguments.length<=0?void 0:arguments[0])%100>=20)?arguments.length<=2?void 0:arguments[2]:[3]},function(){return(arguments.length<=0?void 0:arguments[0])%10==1&&(arguments.length<=0?void 0:arguments[0])%100!=11?arguments.length<=1?void 0:arguments[1]:(arguments.length<=0?void 0:arguments[0])%10>=2&&(arguments.length<=0?void 0:arguments[0])%10<=4&&((arguments.length<=0?void 0:arguments[0])%100<10||(arguments.length<=0?void 0:arguments[0])%100>=20)?arguments.length<=2?void 0:arguments[2]:arguments.length<=3?void 0:arguments[3]},function(){return 1===(arguments.length<=0?void 0:arguments[0])?arguments.length<=1?void 0:arguments[1]:(arguments.length<=0?void 0:arguments[0])>=2&&(arguments.length<=0?void 0:arguments[0])<=4?arguments.length<=2?void 0:arguments[2]:arguments.length<=3?void 0:arguments[3]},function(){return 1===(arguments.length<=0?void 0:arguments[0])?arguments.length<=1?void 0:arguments[1]:(arguments.length<=0?void 0:arguments[0])%10>=2&&(arguments.length<=0?void 0:arguments[0])%10<=4&&((arguments.length<=0?void 0:arguments[0])%100<10||(arguments.length<=0?void 0:arguments[0])%100>=20)?arguments.length<=2?void 0:arguments[2]:arguments.length<=3?void 0:arguments[3]},function(){return(arguments.length<=0?void 0:arguments[0])%100==1?arguments.length<=2?void 0:arguments[2]:(arguments.length<=0?void 0:arguments[0])%100==2?arguments.length<=3?void 0:arguments[3]:(arguments.length<=0?void 0:arguments[0])%100==3||(arguments.length<=0?void 0:arguments[0])%100==4?arguments.length<=4?void 0:arguments[4]:arguments.length<=1?void 0:arguments[1]},function(){return 1===(arguments.length<=0?void 0:arguments[0])?arguments.length<=1?void 0:arguments[1]:2===(arguments.length<=0?void 0:arguments[0])?arguments.length<=2?void 0:arguments[2]:(arguments.length<=0?void 0:arguments[0])>2&&(arguments.length<=0?void 0:arguments[0])<7?arguments.length<=3?void 0:arguments[3]:(arguments.length<=0?void 0:arguments[0])>6&&(arguments.length<=0?void 0:arguments[0])<11?arguments.length<=4?void 0:arguments[4]:arguments.length<=5?void 0:arguments[5]},function(){return 0===(arguments.length<=0?void 0:arguments[0])?arguments.length<=1?void 0:arguments[1]:1===(arguments.length<=0?void 0:arguments[0])?arguments.length<=2?void 0:arguments[2]:2===(arguments.length<=0?void 0:arguments[0])?arguments.length<=3?void 0:arguments[3]:(arguments.length<=0?void 0:arguments[0])%100>=3&&(arguments.length<=0?void 0:arguments[0])%100<=10?arguments.length<=4?void 0:arguments[4]:(arguments.length<=0?void 0:arguments[0])%100>=11?arguments.length<=5?void 0:arguments[5]:arguments.length<=6?void 0:arguments[6]},function(){return 1===(arguments.length<=0?void 0:arguments[0])?arguments.length<=1?void 0:arguments[1]:0===(arguments.length<=0?void 0:arguments[0])||(arguments.length<=0?void 0:arguments[0])%100>1&&(arguments.length<=0?void 0:arguments[0])%100<11?arguments.length<=2?void 0:arguments[2]:(arguments.length<=0?void 0:arguments[0])%100>10&&(arguments.length<=0?void 0:arguments[0])%100<20?arguments.length<=3?void 0:arguments[3]:arguments.length<=4?void 0:arguments[4]},function(){return(arguments.length<=0?void 0:arguments[0])%10==1?arguments.length<=1?void 0:arguments[1]:(arguments.length<=0?void 0:arguments[0])%10==2?arguments.length<=2?void 0:arguments[2]:arguments.length<=3?void 0:arguments[3]},function(){return 11!==(arguments.length<=0?void 0:arguments[0])&&(arguments.length<=0?void 0:arguments[0])%10==1?arguments.length<=1?void 0:arguments[1]:arguments.length<=2?void 0:arguments[2]},function(){return 1===(arguments.length<=0?void 0:arguments[0])?arguments.length<=1?void 0:arguments[1]:(arguments.length<=0?void 0:arguments[0])%10>=2&&(arguments.length<=0?void 0:arguments[0])%10<=4&&((arguments.length<=0?void 0:arguments[0])%100<10||(arguments.length<=0?void 0:arguments[0])%100>=20)?arguments.length<=2?void 0:arguments[2]:arguments.length<=3?void 0:arguments[3]},function(){return 1===(arguments.length<=0?void 0:arguments[0])?arguments.length<=1?void 0:arguments[1]:2===(arguments.length<=0?void 0:arguments[0])?arguments.length<=2?void 0:arguments[2]:8!==(arguments.length<=0?void 0:arguments[0])&&11!==(arguments.length<=0?void 0:arguments[0])?arguments.length<=3?void 0:arguments[3]:arguments.length<=4?void 0:arguments[4]},function(){return 0===(arguments.length<=0?void 0:arguments[0])?arguments.length<=1?void 0:arguments[1]:arguments.length<=2?void 0:arguments[2]},function(){return 1===(arguments.length<=0?void 0:arguments[0])?arguments.length<=1?void 0:arguments[1]:2===(arguments.length<=0?void 0:arguments[0])?arguments.length<=2?void 0:arguments[2]:3===(arguments.length<=0?void 0:arguments[0])?arguments.length<=3?void 0:arguments[3]:arguments.length<=4?void 0:arguments[4]},function(){return 0===(arguments.length<=0?void 0:arguments[0])?arguments.length<=1?void 0:arguments[1]:1===(arguments.length<=0?void 0:arguments[0])?arguments.length<=2?void 0:arguments[2]:arguments.length<=3?void 0:arguments[3]}][n].apply(null,[t].concat(e))};return void 0!==s[r]&&(n=s[r][e],null!==t&&"number"==typeof t&&(o=s[r]["mejs.plural-form"],n=l.apply(null,[n,t,o]))),!n&&s.en&&(n=s.en[e],null!==t&&"number"==typeof t&&(o=s.en["mejs.plural-form"],n=l.apply(null,[n,t,o]))),n=n||e,null!==t&&"number"==typeof t&&(n=n.replace("%1",t)),(0,a.escapeHTML)(n)}return e},o.default.i18n=s,"undefined"!=typeof mejsL10n&&o.default.i18n.language(mejsL10n.language,mejsL10n.strings),n.default=s},{15:15,27:27,7:7}],6:[function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0});var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r=i(e(3)),a=i(e(2)),s=i(e(7)),l=e(27),d=e(28),u=e(8),c=e(25),f=function e(t,n,i){var f=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e);var p=this;i=Array.isArray(i)?i:null,p.defaults={renderers:[],fakeNodeName:"mediaelementwrapper",pluginPath:"build/",shimScriptAccess:"sameDomain"},n=Object.assign(p.defaults,n),p.mediaElement=a.default.createElement(n.fakeNodeName);var m=t,h=!1;if("string"==typeof t?p.mediaElement.originalNode=a.default.getElementById(t):(p.mediaElement.originalNode=t,m=t.id),void 0===p.mediaElement.originalNode||null===p.mediaElement.originalNode)return null;p.mediaElement.options=n,m=m||"mejs_"+Math.random().toString().slice(2),p.mediaElement.originalNode.setAttribute("id",m+"_from_mejs");var v=p.mediaElement.originalNode.tagName.toLowerCase();["video","audio"].indexOf(v)>-1&&!p.mediaElement.originalNode.getAttribute("preload")&&p.mediaElement.originalNode.setAttribute("preload","none"),p.mediaElement.originalNode.parentNode.insertBefore(p.mediaElement,p.mediaElement.originalNode),p.mediaElement.appendChild(p.mediaElement.originalNode);var g=function(e,t){if("https:"===r.default.location.protocol&&0===e.indexOf("http:")&&c.IS_IOS&&s.default.html5media.mediaTypes.indexOf(t)>-1){var n=new XMLHttpRequest;n.onreadystatechange=function(){if(4===this.readyState&&200===this.status){var t=(r.default.URL||r.default.webkitURL).createObjectURL(this.response);return p.mediaElement.originalNode.setAttribute("src",t),t}return e},n.open("GET",e),n.responseType="blob",n.send()}return e},y=void 0;if(null!==i)y=i;else if(null!==p.mediaElement.originalNode)switch(y=[],p.mediaElement.originalNode.nodeName.toLowerCase()){case"iframe":y.push({type:"",src:p.mediaElement.originalNode.getAttribute("src")});break;case"audio":case"video":var E=p.mediaElement.originalNode.children.length,b=p.mediaElement.originalNode.getAttribute("src");if(b){var S=p.mediaElement.originalNode,x=(0,d.formatType)(b,S.getAttribute("type"));y.push({type:x,src:g(b,x)})}for(var w=0;w<E;w++){var P=p.mediaElement.originalNode.children[w];if("source"===P.tagName.toLowerCase()){var T=P.getAttribute("src"),C=(0,d.formatType)(T,P.getAttribute("type"));y.push({type:C,src:g(T,C)})}}}p.mediaElement.id=m,p.mediaElement.renderers={},p.mediaElement.events={},p.mediaElement.promises=[],p.mediaElement.renderer=null,p.mediaElement.rendererName=null,p.mediaElement.changeRenderer=function(e,t){var n=f,i=Object.keys(t[0]).length>2?t[0]:t[0].src;if(void 0!==n.mediaElement.renderer&&null!==n.mediaElement.renderer&&n.mediaElement.renderer.name===e)return n.mediaElement.renderer.pause(),n.mediaElement.renderer.stop&&n.mediaElement.renderer.stop(),n.mediaElement.renderer.show(),n.mediaElement.renderer.setSrc(i),!0;void 0!==n.mediaElement.renderer&&null!==n.mediaElement.renderer&&(n.mediaElement.renderer.pause(),n.mediaElement.renderer.stop&&n.mediaElement.renderer.stop(),n.mediaElement.renderer.hide());var o=n.mediaElement.renderers[e],r=null;if(void 0!==o&&null!==o)return o.show(),o.setSrc(i),n.mediaElement.renderer=o,n.mediaElement.rendererName=e,!0;for(var a=n.mediaElement.options.renderers.length?n.mediaElement.options.renderers:u.renderer.order,s=0,l=a.length;s<l;s++){var d=a[s];if(d===e){r=u.renderer.renderers[d];var c=Object.assign(r.options,n.mediaElement.options);return o=r.create(n.mediaElement,c,t),o.name=e,n.mediaElement.renderers[r.name]=o,n.mediaElement.renderer=o,n.mediaElement.rendererName=e,o.show(),!0}}return!1},p.mediaElement.setSize=function(e,t){void 0!==p.mediaElement.renderer&&null!==p.mediaElement.renderer&&p.mediaElement.renderer.setSize(e,t)},p.mediaElement.generateError=function(e,t){e=e||"",t=Array.isArray(t)?t:[];var n=(0,l.createEvent)("error",p.mediaElement);n.message=e,n.urls=t,p.mediaElement.dispatchEvent(n),h=!0};var k=s.default.html5media.properties,_=s.default.html5media.methods,N=function(e,t,n,i){var o=e[t];Object.defineProperty(e,t,{get:function(){return n.apply(e,[o])},set:function(t){return o=i.apply(e,[t])}})},A=function(e){if("src"!==e){var t=""+e.substring(0,1).toUpperCase()+e.substring(1),n=function(){return void 0!==p.mediaElement.renderer&&null!==p.mediaElement.renderer&&"function"==typeof p.mediaElement.renderer["get"+t]?p.mediaElement.renderer["get"+t]():null},i=function(e){void 0!==p.mediaElement.renderer&&null!==p.mediaElement.renderer&&"function"==typeof p.mediaElement.renderer["set"+t]&&p.mediaElement.renderer["set"+t](e)};N(p.mediaElement,e,n,i),p.mediaElement["get"+t]=n,p.mediaElement["set"+t]=i}},L=function(){return void 0!==p.mediaElement.renderer&&null!==p.mediaElement.renderer?p.mediaElement.renderer.getSrc():null},F=function(e){var t=[];if("string"==typeof e)t.push({src:e,type:e?(0,d.getTypeFromFile)(e):""});else if("object"===(void 0===e?"undefined":o(e))&&void 0!==e.src){var n=(0,d.absolutizeUrl)(e.src),i=e.type,r=Object.assign(e,{src:n,type:""!==i&&null!==i&&void 0!==i||!n?i:(0,d.getTypeFromFile)(n)});t.push(r)}else if(Array.isArray(e))for(var a=0,s=e.length;a<s;a++){var c=(0,d.absolutizeUrl)(e[a].src),f=e[a].type,m=Object.assign(e[a],{src:c,type:""!==f&&null!==f&&void 0!==f||!c?f:(0,d.getTypeFromFile)(c)});t.push(m)}var h=u.renderer.select(t,p.mediaElement.options.renderers.length?p.mediaElement.options.renderers:[]),v=void 0;if(p.mediaElement.paused||(p.mediaElement.pause(),v=(0,l.createEvent)("pause",p.mediaElement),p.mediaElement.dispatchEvent(v)),p.mediaElement.originalNode.src=t[0].src||"",null!==h||!t[0].src)return t[0].src?p.mediaElement.changeRenderer(h.rendererName,t):null;p.mediaElement.generateError("No renderer found",t)},j=function(e,t){try{if("play"===e&&"native_dash"===p.mediaElement.rendererName){var n=p.mediaElement.renderer[e](t);n&&"function"==typeof n.then&&n.catch(function(){p.mediaElement.paused&&setTimeout(function(){var e=p.mediaElement.renderer.play();void 0!==e&&e.catch(function(){p.mediaElement.renderer.paused||p.mediaElement.renderer.pause()})},150)})}else p.mediaElement.renderer[e](t)}catch(e){p.mediaElement.generateError(e,y)}},I=function(e){p.mediaElement[e]=function(){for(var t=arguments.length,n=Array(t),i=0;i<t;i++)n[i]=arguments[i];return void 0!==p.mediaElement.renderer&&null!==p.mediaElement.renderer&&"function"==typeof p.mediaElement.renderer[e]&&(p.mediaElement.promises.length?Promise.all(p.mediaElement.promises).then(function(){j(e,n)}).catch(function(e){p.mediaElement.generateError(e,y)}):j(e,n)),null}};N(p.mediaElement,"src",L,F),p.mediaElement.getSrc=L,p.mediaElement.setSrc=F;for(var M=0,O=k.length;M<O;M++)A(k[M]);for(var D=0,V=_.length;D<V;D++)I(_[D]);return p.mediaElement.addEventListener=function(e,t){p.mediaElement.events[e]=p.mediaElement.events[e]||[],p.mediaElement.events[e].push(t)},p.mediaElement.removeEventListener=function(e,t){if(!e)return p.mediaElement.events={},!0;var n=p.mediaElement.events[e];if(!n)return!0;if(!t)return p.mediaElement.events[e]=[],!0;for(var i=0;i<n.length;i++)if(n[i]===t)return p.mediaElement.events[e].splice(i,1),!0;return!1},p.mediaElement.dispatchEvent=function(e){var t=p.mediaElement.events[e.type];if(t)for(var n=0;n<t.length;n++)t[n].apply(null,[e])},p.mediaElement.destroy=function(){var e=p.mediaElement.originalNode.cloneNode(!0),t=p.mediaElement.parentElement;e.removeAttribute("id"),e.remove(),p.mediaElement.remove(),t.append(e)},y.length&&(p.mediaElement.src=y),p.mediaElement.promises.length?Promise.all(p.mediaElement.promises).then(function(){p.mediaElement.options.success&&p.mediaElement.options.success(p.mediaElement,p.mediaElement.originalNode)}).catch(function(){h&&p.mediaElement.options.error&&p.mediaElement.options.error(p.mediaElement,p.mediaElement.originalNode)}):(p.mediaElement.options.success&&p.mediaElement.options.success(p.mediaElement,p.mediaElement.originalNode),h&&p.mediaElement.options.error&&p.mediaElement.options.error(p.mediaElement,p.mediaElement.originalNode)),p.mediaElement};r.default.MediaElement=f,s.default.MediaElement=f,n.default=f},{2:2,25:25,27:27,28:28,3:3,7:7,8:8}],7:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var i=function(e){return e&&e.__esModule?e:{default:e}}(e(3)),o={};o.version="4.2.8",o.html5media={properties:["volume","src","currentTime","muted","duration","paused","ended","buffered","error","networkState","readyState","seeking","seekable","currentSrc","preload","bufferedBytes","bufferedTime","initialTime","startOffsetTime","defaultPlaybackRate","playbackRate","played","autoplay","loop","controls"],readOnlyProperties:["duration","paused","ended","buffered","error","networkState","readyState","seeking","seekable"],methods:["load","play","pause","canPlayType"],events:["loadstart","durationchange","loadedmetadata","loadeddata","progress","canplay","canplaythrough","suspend","abort","error","emptied","stalled","play","playing","pause","waiting","seeking","seeked","timeupdate","ended","ratechange","volumechange"],mediaTypes:["audio/mp3","audio/ogg","audio/oga","audio/wav","audio/x-wav","audio/wave","audio/x-pn-wav","audio/mpeg","audio/mp4","video/mp4","video/webm","video/ogg","video/ogv"]},i.default.mejs=o,n.default=o},{3:3}],8:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.renderer=void 0;var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=function(e){return e&&e.__esModule?e:{default:e}}(e(7)),a=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.renderers={},this.order=[]}return o(e,[{key:"add",value:function(e){if(void 0===e.name)throw new TypeError("renderer must contain at least `name` property");this.renderers[e.name]=e,this.order.push(e.name)}},{key:"select",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=t.length;if(t=t.length?t:this.order,!n){var i=[/^(html5|native)/i,/^flash/i,/iframe#x2F;i],o=function(e){for(var t=0,n=i.length;t<n;t++)if(i[t].test(e))return t;return i.length};t.sort(function(e,t){return o(e)-o(t)})}for(var r=0,a=t.length;r<a;r++){var s=t[r],l=this.renderers[s];if(null!==l&&void 0!==l)for(var d=0,u=e.length;d<u;d++)if("function"==typeof l.canPlayType&&"string"==typeof e[d].type&&l.canPlayType(e[d].type))return{rendererName:l.name,src:e[d].src}}return null}},{key:"order",set:function(e){if(!Array.isArray(e))throw new TypeError("order must be an array of strings.");this._order=e},get:function(){return this._order}},{key:"renderers",set:function(e){if(null!==e&&"object"!==(void 0===e?"undefined":i(e)))throw new TypeError("renderers must be an array of objects.");this._renderers=e},get:function(){return this._renderers}}]),e}(),s=n.renderer=new a;r.default.Renderers=s},{7:7}],9:[function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}var o=i(e(3)),r=i(e(2)),a=i(e(5)),s=e(16),l=i(s),d=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(e(25)),u=e(27),c=e(26),f=e(28);Object.assign(s.config,{usePluginFullScreen:!0,fullscreenText:null,useFakeFullscreen:!1}),Object.assign(l.default.prototype,{isFullScreen:!1,isNativeFullScreen:!1,isInIframe:!1,isPluginClickThroughCreated:!1,fullscreenMode:"",containerSizeTimeout:null,buildfullscreen:function(e){if(e.isVideo){e.isInIframe=o.default.location!==o.default.parent.location,e.detectFullscreenMode();var t=this,n=(0,u.isString)(t.options.fullscreenText)?t.options.fullscreenText:a.default.t("mejs.fullscreen"),i=r.default.createElement("div");if(i.className=t.options.classPrefix+"button "+t.options.classPrefix+"fullscreen-button",i.innerHTML='<button type="button" aria-controls="'+t.id+'" title="'+n+'" aria-label="'+n+'" tabindex="0"></button>',t.addControlElement(i,"fullscreen"),i.addEventListener("click",function(){d.HAS_TRUE_NATIVE_FULLSCREEN&&d.IS_FULLSCREEN||e.isFullScreen?e.exitFullScreen():e.enterFullScreen()}),e.fullscreenBtn=i,t.options.keyActions.push({keys:[70],action:function(e,t,n,i){i.ctrlKey||void 0!==e.enterFullScreen&&(e.isFullScreen?e.exitFullScreen():e.enterFullScreen())}}),t.exitFullscreenCallback=function(n){27===(n.which||n.keyCode||0)&&(d.HAS_TRUE_NATIVE_FULLSCREEN&&d.IS_FULLSCREEN||t.isFullScreen)&&e.exitFullScreen()},t.globalBind("keydown",t.exitFullscreenCallback),t.normalHeight=0,t.normalWidth=0,d.HAS_TRUE_NATIVE_FULLSCREEN){e.globalBind(d.FULLSCREEN_EVENT_NAME,function(){e.isFullScreen&&(d.isFullScreen()?(e.isNativeFullScreen=!0,e.setControlsSize()):(e.isNativeFullScreen=!1,e.exitFullScreen()))})}}},cleanfullscreen:function(e){e.exitFullScreen(),e.globalUnbind("keydown",e.exitFullscreenCallback)},detectFullscreenMode:function(){var e=null!==this.media.rendererName&&/(native|html5)/i.test(this.media.rendererName),t="";return d.HAS_TRUE_NATIVE_FULLSCREEN&&e?t="native-native":d.HAS_TRUE_NATIVE_FULLSCREEN&&!e?t="plugin-native":this.usePluginFullScreen&&d.SUPPORT_POINTER_EVENTS&&(t="plugin-click"),this.fullscreenMode=t,t},enterFullScreen:function(){var e=this,t=null!==e.media.rendererName&&/(html5|native)/i.test(e.media.rendererName),n=getComputedStyle(e.getElement(e.container));if(!1===e.options.useFakeFullscreen&&d.IS_IOS&&d.HAS_IOS_FULLSCREEN&&"function"==typeof e.media.originalNode.webkitEnterFullscreen&&e.media.originalNode.canPlayType((0,f.getTypeFromFile)(e.media.getSrc())))e.media.originalNode.webkitEnterFullscreen();else{if((0,c.addClass)(r.default.documentElement,e.options.classPrefix+"fullscreen"),(0,c.addClass)(e.getElement(e.container),e.options.classPrefix+"container-fullscreen"),e.normalHeight=parseFloat(n.height),e.normalWidth=parseFloat(n.width),"native-native"!==e.fullscreenMode&&"plugin-native"!==e.fullscreenMode||(d.requestFullScreen(e.getElement(e.container)),e.isInIframe&&setTimeout(function t(){if(e.isNativeFullScreen){var n=o.default.innerWidth||r.default.documentElement.clientWidth||r.default.body.clientWidth,i=screen.width;Math.abs(i-n)>.002*i?e.exitFullScreen():setTimeout(t,500)}},1e3)),e.getElement(e.container).style.width="100%",e.getElement(e.container).style.height="100%",e.containerSizeTimeout=setTimeout(function(){e.getElement(e.container).style.width="100%",e.getElement(e.container).style.height="100%",e.setControlsSize()},500),t)e.node.style.width="100%",e.node.style.height="100%";else for(var i=e.getElement(e.container).querySelectorAll("embed, object, video"),a=i.length,s=0;s<a;s++)i[s].style.width="100%",i[s].style.height="100%";e.options.setDimensions&&"function"==typeof e.media.setSize&&e.media.setSize(screen.width,screen.height);for(var l=e.getElement(e.layers).children,p=l.length,m=0;m<p;m++)l[m].style.width="100%",l[m].style.height="100%";e.fullscreenBtn&&((0,c.removeClass)(e.fullscreenBtn,e.options.classPrefix+"fullscreen"),(0,c.addClass)(e.fullscreenBtn,e.options.classPrefix+"unfullscreen")),e.setControlsSize(),e.isFullScreen=!0;var h=Math.min(screen.width/e.width,screen.height/e.height),v=e.getElement(e.container).querySelector("."+e.options.classPrefix+"captions-text");v&&(v.style.fontSize=100*h+"%",v.style.lineHeight="normal",e.getElement(e.container).querySelector("."+e.options.classPrefix+"captions-position").style.bottom=(screen.height-e.normalHeight)/2-e.getElement(e.controls).offsetHeight/2+h+15+"px");var g=(0,u.createEvent)("enteredfullscreen",e.getElement(e.container));e.getElement(e.container).dispatchEvent(g)}},exitFullScreen:function(){var e=null!==this.media.rendererName&&/(native|html5)/i.test(this.media.rendererName);if(clearTimeout(this.containerSizeTimeout),d.HAS_TRUE_NATIVE_FULLSCREEN&&(d.IS_FULLSCREEN||this.isFullScreen)&&d.cancelFullScreen(),(0,c.removeClass)(r.default.documentElement,this.options.classPrefix+"fullscreen"),(0,c.removeClass)(this.getElement(this.container),this.options.classPrefix+"container-fullscreen"),this.options.setDimensions){if(this.getElement(this.container).style.width=this.normalWidth+"px",this.getElement(this.container).style.height=this.normalHeight+"px",e)this.node.style.width=this.normalWidth+"px",this.node.style.height=this.normalHeight+"px";else for(var t=this.getElement(this.container).querySelectorAll("embed, object, video"),n=t.length,i=0;i<n;i++)t[i].style.width=this.normalWidth+"px",t[i].style.height=this.normalHeight+"px";"function"==typeof this.media.setSize&&this.media.setSize(this.normalWidth,this.normalHeight);for(var o=this.getElement(this.layers).children,a=o.length,s=0;s<a;s++)o[s].style.width=this.normalWidth+"px",o[s].style.height=this.normalHeight+"px"}this.fullscreenBtn&&((0,c.removeClass)(this.fullscreenBtn,this.options.classPrefix+"unfullscreen"),(0,c.addClass)(this.fullscreenBtn,this.options.classPrefix+"fullscreen")),this.setControlsSize(),this.isFullScreen=!1;var l=this.getElement(this.container).querySelector("."+this.options.classPrefix+"captions-text");l&&(l.style.fontSize="",l.style.lineHeight="",this.getElement(this.container).querySelector("."+this.options.classPrefix+"captions-position").style.bottom="");var f=(0,u.createEvent)("exitedfullscreen",this.getElement(this.container));this.getElement(this.container).dispatchEvent(f)}})},{16:16,2:2,25:25,26:26,27:27,28:28,3:3,5:5}],10:[function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}var o=i(e(2)),r=e(16),a=i(r),s=i(e(5)),l=e(27),d=e(26);Object.assign(r.config,{playText:null,pauseText:null}),Object.assign(a.default.prototype,{buildplaypause:function(e,t,n,i){function r(e){"play"===e?((0,d.removeClass)(p,a.options.classPrefix+"play"),(0,d.removeClass)(p,a.options.classPrefix+"replay"),(0,d.addClass)(p,a.options.classPrefix+"pause"),m.setAttribute("title",f),m.setAttribute("aria-label",f)):((0,d.removeClass)(p,a.options.classPrefix+"pause"),(0,d.removeClass)(p,a.options.classPrefix+"replay"),(0,d.addClass)(p,a.options.classPrefix+"play"),m.setAttribute("title",c),m.setAttribute("aria-label",c))}var a=this,u=a.options,c=(0,l.isString)(u.playText)?u.playText:s.default.t("mejs.play"),f=(0,l.isString)(u.pauseText)?u.pauseText:s.default.t("mejs.pause"),p=o.default.createElement("div");p.className=a.options.classPrefix+"button "+a.options.classPrefix+"playpause-button "+a.options.classPrefix+"play",p.innerHTML='<button type="button" aria-controls="'+a.id+'" title="'+c+'" aria-label="'+f+'" tabindex="0"></button>',p.addEventListener("click",function(){a.paused?a.play():a.pause()});var m=p.querySelector("button");a.addControlElement(p,"playpause"),r("pse"),i.addEventListener("loadedmetadata",function(){-1===i.rendererName.indexOf("flash")&&r("pse")}),i.addEventListener("play",function(){r("play")}),i.addEventListener("playing",function(){r("play")}),i.addEventListener("pause",function(){r("pse")}),i.addEventListener("ended",function(){e.options.loop||((0,d.removeClass)(p,a.options.classPrefix+"pause"),(0,d.removeClass)(p,a.options.classPrefix+"play"),(0,d.addClass)(p,a.options.classPrefix+"replay"),m.setAttribute("title",c),m.setAttribute("aria-label",c))})}})},{16:16,2:2,26:26,27:27,5:5}],11:[function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}var o=i(e(2)),r=e(16),a=i(r),s=i(e(5)),l=e(25),d=e(30),u=e(26);Object.assign(r.config,{enableProgressTooltip:!0,useSmoothHover:!0,forceLive:!1}),Object.assign(a.default.prototype,{buildprogress:function(e,t,n,i){var a=0,c=!1,f=!1,p=this,m=e.options.autoRewind,h=e.options.enableProgressTooltip?'<span class="'+p.options.classPrefix+'time-float"><span class="'+p.options.classPrefix+'time-float-current">00:00</span><span class="'+p.options.classPrefix+'time-float-corner"></span></span>':"",v=o.default.createElement("div");v.className=p.options.classPrefix+"time-rail",v.innerHTML='<span class="'+p.options.classPrefix+"time-total "+p.options.classPrefix+'time-slider"><span class="'+p.options.classPrefix+'time-buffering"></span><span class="'+p.options.classPrefix+'time-loaded"></span><span class="'+p.options.classPrefix+'time-current"></span><span class="'+p.options.classPrefix+'time-hovered no-hover"></span><span class="'+p.options.classPrefix+'time-handle"><span class="'+p.options.classPrefix+'time-handle-content"></span></span>'+h+"</span>",p.addControlElement(v,"progress"),p.options.keyActions.push({keys:[37,227],action:function(e){if(!isNaN(e.duration)&&e.duration>0){e.isVideo&&(e.showControls(),e.startControlsTimer()),e.getElement(e.container).querySelector("."+r.config.classPrefix+"time-total").focus();var t=Math.max(e.currentTime-e.options.defaultSeekBackwardInterval(e),0);e.setCurrentTime(t)}}},{keys:[39,228],action:function(e){if(!isNaN(e.duration)&&e.duration>0){e.isVideo&&(e.showControls(),e.startControlsTimer()),e.getElement(e.container).querySelector("."+r.config.classPrefix+"time-total").focus();var t=Math.min(e.currentTime+e.options.defaultSeekForwardInterval(e),e.duration);e.setCurrentTime(t)}}}),p.rail=t.querySelector("."+p.options.classPrefix+"time-rail"),p.total=t.querySelector("."+p.options.classPrefix+"time-total"),p.loaded=t.querySelector("."+p.options.classPrefix+"time-loaded"),p.current=t.querySelector("."+p.options.classPrefix+"time-current"),p.handle=t.querySelector("."+p.options.classPrefix+"time-handle"),p.timefloat=t.querySelector("."+p.options.classPrefix+"time-float"),p.timefloatcurrent=t.querySelector("."+p.options.classPrefix+"time-float-current"),p.slider=t.querySelector("."+p.options.classPrefix+"time-slider"),p.hovered=t.querySelector("."+p.options.classPrefix+"time-hovered"),p.buffer=t.querySelector("."+p.options.classPrefix+"time-buffering"),p.newTime=0,p.forcedHandlePause=!1,p.setTransformStyle=function(e,t){e.style.transform=t,e.style.webkitTransform=t,e.style.MozTransform=t,e.style.msTransform=t,e.style.OTransform=t},p.buffer.style.display="none";var g=function(t){var n=getComputedStyle(p.total),i=(0,u.offset)(p.total),o=p.total.offsetWidth,r=void 0!==n.webkitTransform?"webkitTransform":void 0!==n.mozTransform?"mozTransform ":void 0!==n.oTransform?"oTransform":void 0!==n.msTransform?"msTransform":"transform",a="WebKitCSSMatrix"in window?"WebKitCSSMatrix":"MSCSSMatrix"in window?"MSCSSMatrix":"CSSMatrix"in window?"CSSMatrix":void 0,s=0,f=0,m=0,h=void 0;if(h=t.originalEvent&&t.originalEvent.changedTouches?t.originalEvent.changedTouches[0].pageX:t.changedTouches?t.changedTouches[0].pageX:t.pageX,p.getDuration()){if(h<i.left?h=i.left:h>o+i.left&&(h=o+i.left),m=h-i.left,s=m/o,p.newTime=s<=.02?0:s*p.getDuration(),c&&null!==p.getCurrentTime()&&p.newTime.toFixed(4)!==p.getCurrentTime().toFixed(4)&&(p.setCurrentRailHandle(p.newTime),p.updateCurrent(p.newTime)),!l.IS_IOS&&!l.IS_ANDROID){if(m<0&&(m=0),p.options.useSmoothHover&&null!==a&&void 0!==window[a]){var v=new window[a](getComputedStyle(p.handle)[r]).m41,g=m/parseFloat(getComputedStyle(p.total).width)-v/parseFloat(getComputedStyle(p.total).width);p.hovered.style.left=v+"px",p.setTransformStyle(p.hovered,"scaleX("+g+")"),p.hovered.setAttribute("pos",m),g>=0?(0,u.removeClass)(p.hovered,"negative"):(0,u.addClass)(p.hovered,"negative")}if(p.timefloat){var y=p.timefloat.offsetWidth/2,E=mejs.Utils.offset(p.getElement(p.container)),b=getComputedStyle(p.timefloat);f=h-E.left<p.timefloat.offsetWidth?y:h-E.left>=p.getElement(p.container).offsetWidth-y?p.total.offsetWidth-y:m,(0,u.hasClass)(p.getElement(p.container),p.options.classPrefix+"long-video")&&(f+=parseFloat(b.marginLeft)/2+p.timefloat.offsetWidth/2),p.timefloat.style.left=f+"px",p.timefloatcurrent.innerHTML=(0,d.secondsToTimeCode)(p.newTime,e.options.alwaysShowHours,e.options.showTimecodeFrameCount,e.options.framesPerSecond,e.options.secondsDecimalLength,e.options.timeFormat),p.timefloat.style.display="block"}}}else l.IS_IOS||l.IS_ANDROID||!p.timefloat||(f=p.timefloat.offsetWidth+o>=p.getElement(p.container).offsetWidth?p.timefloat.offsetWidth/2:0,p.timefloat.style.left=f+"px",p.timefloat.style.left=f+"px",p.timefloat.style.display="block")},y=function(){new Date-a>=1e3&&p.play()},E=function(){c&&null!==p.getCurrentTime()&&p.newTime.toFixed(4)!==p.getCurrentTime().toFixed(4)&&(p.setCurrentTime(p.newTime),p.setCurrentRail(),p.updateCurrent(p.newTime)),p.forcedHandlePause&&(p.slider.focus(),p.play()),p.forcedHandlePause=!1};p.slider.addEventListener("focus",function(){e.options.autoRewind=!1}),p.slider.addEventListener("blur",function(){e.options.autoRewind=m}),p.slider.addEventListener("keydown",function(t){if(new Date-a>=1e3&&(f=p.paused),p.options.keyActions.length){var n=t.which||t.keyCode||0,o=p.getDuration(),r=e.options.defaultSeekForwardInterval(i),s=e.options.defaultSeekBackwardInterval(i),d=p.getCurrentTime(),u=p.getElement(p.container).querySelector("."+p.options.classPrefix+"volume-slider");if(38===n||40===n){u&&(u.style.display="block"),p.isVideo&&(p.showControls(),p.startControlsTimer());var c=38===n?Math.min(p.volume+.1,1):Math.max(p.volume-.1,0),m=c<=0;return p.setVolume(c),void p.setMuted(m)}switch(u&&(u.style.display="none"),n){case 37:p.getDuration()!==1/0&&(d-=s);break;case 39:p.getDuration()!==1/0&&(d+=r);break;case 36:d=0;break;case 35:d=o;break;case 13:case 32:return void(l.IS_FIREFOX&&(p.paused?p.play():p.pause()));default:return}d=d<0?0:d>=o?o:Math.floor(d),a=new Date,f||e.pause(),d<p.getDuration()&&!f&&setTimeout(y,1100),p.setCurrentTime(d),e.showControls(),t.preventDefault(),t.stopPropagation()}});var b=["mousedown","touchstart"];p.slider.addEventListener("dragstart",function(){return!1});for(var S=0,x=b.length;S<x;S++)p.slider.addEventListener(b[S],function(e){if(p.forcedHandlePause=!1,p.getDuration()!==1/0&&(1===e.which||0===e.which)){p.paused||(p.pause(),p.forcedHandlePause=!0),c=!0,g(e);for(var t=["mouseup","touchend"],n=0,i=t.length;n<i;n++)p.getElement(p.container).addEventListener(t[n],function(e){var t=e.target;(t===p.slider||t.closest("."+p.options.classPrefix+"time-slider"))&&g(e)});p.globalBind("mouseup.dur touchend.dur",function(){E(),c=!1,p.timefloat&&(p.timefloat.style.display="none")})}},!(!l.SUPPORT_PASSIVE_EVENT||"touchstart"!==b[S])&&{passive:!0});p.slider.addEventListener("mouseenter",function(e){e.target===p.slider&&p.getDuration()!==1/0&&(p.getElement(p.container).addEventListener("mousemove",function(e){var t=e.target;(t===p.slider||t.closest("."+p.options.classPrefix+"time-slider"))&&g(e)}),!p.timefloat||l.IS_IOS||l.IS_ANDROID||(p.timefloat.style.display="block"),p.hovered&&!l.IS_IOS&&!l.IS_ANDROID&&p.options.useSmoothHover&&(0,u.removeClass)(p.hovered,"no-hover"))}),p.slider.addEventListener("mouseleave",function(){p.getDuration()!==1/0&&(c||(p.timefloat&&(p.timefloat.style.display="none"),p.hovered&&p.options.useSmoothHover&&(0,u.addClass)(p.hovered,"no-hover")))}),p.broadcastCallback=function(n){var r=t.querySelector("."+p.options.classPrefix+"broadcast");if(p.options.forceLive||p.getDuration()===1/0){if(!r||p.options.forceLive){var a=o.default.createElement("span");a.className=p.options.classPrefix+"broadcast",a.innerText=s.default.t("mejs.live-broadcast"),p.slider.style.display="none",p.rail.appendChild(a)}}else r&&(p.slider.style.display="",r.remove()),e.setProgressRail(n),p.forcedHandlePause||e.setCurrentRail(n),function(){var t=p.getCurrentTime(),n=s.default.t("mejs.time-slider"),o=(0,d.secondsToTimeCode)(t,e.options.alwaysShowHours,e.options.showTimecodeFrameCount,e.options.framesPerSecond,e.options.secondsDecimalLength,e.options.timeFormat),r=p.getDuration();p.slider.setAttribute("role","slider"),p.slider.tabIndex=0,i.paused?(p.slider.setAttribute("aria-label",n),p.slider.setAttribute("aria-valuemin",0),p.slider.setAttribute("aria-valuemax",r),p.slider.setAttribute("aria-valuenow",t),p.slider.setAttribute("aria-valuetext",o)):(p.slider.removeAttribute("aria-label"),p.slider.removeAttribute("aria-valuemin"),p.slider.removeAttribute("aria-valuemax"),p.slider.removeAttribute("aria-valuenow"),p.slider.removeAttribute("aria-valuetext"))}()},i.addEventListener("progress",p.broadcastCallback),i.addEventListener("timeupdate",p.broadcastCallback),i.addEventListener("play",function(){p.buffer.style.display="none"}),i.addEventListener("playing",function(){p.buffer.style.display="none"}),i.addEventListener("seeking",function(){p.buffer.style.display=""}),i.addEventListener("seeked",function(){p.buffer.style.display="none"}),i.addEventListener("pause",function(){p.buffer.style.display="none"}),i.addEventListener("waiting",function(){p.buffer.style.display=""}),i.addEventListener("loadeddata",function(){p.buffer.style.display=""}),i.addEventListener("canplay",function(){p.buffer.style.display="none"}),i.addEventListener("error",function(){p.buffer.style.display="none"}),p.getElement(p.container).addEventListener("controlsresize",function(t){p.getDuration()!==1/0&&(e.setProgressRail(t),p.forcedHandlePause||e.setCurrentRail(t))})},cleanprogress:function(e,t,n,i){i.removeEventListener("progress",e.broadcastCallback),i.removeEventListener("timeupdate",e.broadcastCallback),e.rail&&e.rail.remove()},setProgressRail:function(e){var t=void 0!==e?e.detail.target||e.target:this.media,n=null;t&&t.buffered&&t.buffered.length>0&&t.buffered.end&&this.getDuration()?n=t.buffered.end(t.buffered.length-1)/this.getDuration():t&&void 0!==t.bytesTotal&&t.bytesTotal>0&&void 0!==t.bufferedBytes?n=t.bufferedBytes/t.bytesTotal:e&&e.lengthComputable&&0!==e.total&&(n=e.loaded/e.total),null!==n&&(n=Math.min(1,Math.max(0,n)),this.loaded&&this.setTransformStyle(this.loaded,"scaleX("+n+")"))},setCurrentRailHandle:function(e){this.setCurrentRailMain(this,e)},setCurrentRail:function(){this.setCurrentRailMain(this)},setCurrentRailMain:function(e,t){if(void 0!==e.getCurrentTime()&&e.getDuration()){var n=void 0===t?e.getCurrentTime():t;if(e.total&&e.handle){var i=parseFloat(getComputedStyle(e.total).width),o=Math.round(i*n/e.getDuration()),r=o-Math.round(e.handle.offsetWidth/2);if(r=r<0?0:r,e.setTransformStyle(e.current,"scaleX("+o/i+")"),e.setTransformStyle(e.handle,"translateX("+r+"px)"),e.options.useSmoothHover&&!(0,u.hasClass)(e.hovered,"no-hover")){var a=parseInt(e.hovered.getAttribute("pos"),10),s=(a=isNaN(a)?0:a)/i-r/i;e.hovered.style.left=r+"px",e.setTransformStyle(e.hovered,"scaleX("+s+")"),s>=0?(0,u.removeClass)(e.hovered,"negative"):(0,u.addClass)(e.hovered,"negative")}}}}})},{16:16,2:2,25:25,26:26,30:30,5:5}],12:[function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}var o=i(e(2)),r=e(16),a=i(r),s=e(30),l=e(26);Object.assign(r.config,{duration:0,timeAndDurationSeparator:"<span> | </span>"}),Object.assign(a.default.prototype,{buildcurrent:function(e,t,n,i){var r=this,a=o.default.createElement("div");a.className=r.options.classPrefix+"time",a.setAttribute("role","timer"),a.setAttribute("aria-live","off"),a.innerHTML='<span class="'+r.options.classPrefix+'currenttime">'+(0,s.secondsToTimeCode)(0,e.options.alwaysShowHours,e.options.showTimecodeFrameCount,e.options.framesPerSecond,e.options.secondsDecimalLength,e.options.timeFormat)+"</span>",r.addControlElement(a,"current"),e.updateCurrent(),r.updateTimeCallback=function(){r.controlsAreVisible&&e.updateCurrent()},i.addEventListener("timeupdate",r.updateTimeCallback)},cleancurrent:function(e,t,n,i){i.removeEventListener("timeupdate",e.updateTimeCallback)},buildduration:function(e,t,n,i){var r=this;if(t.lastChild.querySelector("."+r.options.classPrefix+"currenttime"))t.querySelector("."+r.options.classPrefix+"time").innerHTML+=r.options.timeAndDurationSeparator+'<span class="'+r.options.classPrefix+'duration">'+(0,s.secondsToTimeCode)(r.options.duration,r.options.alwaysShowHours,r.options.showTimecodeFrameCount,r.options.framesPerSecond,r.options.secondsDecimalLength,r.options.timeFormat)+"</span>";else{t.querySelector("."+r.options.classPrefix+"currenttime")&&(0,l.addClass)(t.querySelector("."+r.options.classPrefix+"currenttime").parentNode,r.options.classPrefix+"currenttime-container");var a=o.default.createElement("div");a.className=r.options.classPrefix+"time "+r.options.classPrefix+"duration-container",a.innerHTML='<span class="'+r.options.classPrefix+'duration">'+(0,s.secondsToTimeCode)(r.options.duration,r.options.alwaysShowHours,r.options.showTimecodeFrameCount,r.options.framesPerSecond,r.options.secondsDecimalLength,r.options.timeFormat)+"</span>",r.addControlElement(a,"duration")}r.updateDurationCallback=function(){r.controlsAreVisible&&e.updateDuration()},i.addEventListener("timeupdate",r.updateDurationCallback)},cleanduration:function(e,t,n,i){i.removeEventListener("timeupdate",e.updateDurationCallback)},updateCurrent:function(){var e=this.getCurrentTime();isNaN(e)&&(e=0);var t=(0,s.secondsToTimeCode)(e,this.options.alwaysShowHours,this.options.showTimecodeFrameCount,this.options.framesPerSecond,this.options.secondsDecimalLength,this.options.timeFormat);t.length>5?(0,l.addClass)(this.getElement(this.container),this.options.classPrefix+"long-video"):(0,l.removeClass)(this.getElement(this.container),this.options.classPrefix+"long-video"),this.getElement(this.controls).querySelector("."+this.options.classPrefix+"currenttime")&&(this.getElement(this.controls).querySelector("."+this.options.classPrefix+"currenttime").innerText=t)},updateDuration:function(){var e=this.getDuration();(isNaN(e)||e===1/0||e<0)&&(this.media.duration=this.options.duration=e=0),this.options.duration>0&&(e=this.options.duration);var t=(0,s.secondsToTimeCode)(e,this.options.alwaysShowHours,this.options.showTimecodeFrameCount,this.options.framesPerSecond,this.options.secondsDecimalLength,this.options.timeFormat);t.length>5?(0,l.addClass)(this.getElement(this.container),this.options.classPrefix+"long-video"):(0,l.removeClass)(this.getElement(this.container),this.options.classPrefix+"long-video"),this.getElement(this.controls).querySelector("."+this.options.classPrefix+"duration")&&e>0&&(this.getElement(this.controls).querySelector("."+this.options.classPrefix+"duration").innerHTML=t)}})},{16:16,2:2,26:26,30:30}],13:[function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}var o=i(e(2)),r=i(e(7)),a=i(e(5)),s=e(16),l=i(s),d=e(30),u=e(27),c=e(26);Object.assign(s.config,{startLanguage:"",tracksText:null,chaptersText:null,tracksAriaLive:!1,hideCaptionsButtonWhenEmpty:!0,toggleCaptionsButtonWhenOnlyOne:!1,slidesSelector:""}),Object.assign(l.default.prototype,{hasChapters:!1,buildtracks:function(e,t,n,i){if(this.findTracks(),e.tracks.length||e.trackFiles&&0!==!e.trackFiles.length){var r=this,s=r.options.tracksAriaLive?' role="log" aria-live="assertive" aria-atomic="false"':"",l=(0,u.isString)(r.options.tracksText)?r.options.tracksText:a.default.t("mejs.captions-subtitles"),d=(0,u.isString)(r.options.chaptersText)?r.options.chaptersText:a.default.t("mejs.captions-chapters"),f=null===e.trackFiles?e.tracks.length:e.trackFiles.length;if(r.domNode.textTracks)for(var p=r.domNode.textTracks.length-1;p>=0;p--)r.domNode.textTracks[p].mode="hidden";r.cleartracks(e),e.captions=o.default.createElement("div"),e.captions.className=r.options.classPrefix+"captions-layer "+r.options.classPrefix+"layer",e.captions.innerHTML='<div class="'+r.options.classPrefix+"captions-position "+r.options.classPrefix+'captions-position-hover"'+s+'><span class="'+r.options.classPrefix+'captions-text"></span></div>',e.captions.style.display="none",n.insertBefore(e.captions,n.firstChild),e.captionsText=e.captions.querySelector("."+r.options.classPrefix+"captions-text"),e.captionsButton=o.default.createElement("div"),e.captionsButton.className=r.options.classPrefix+"button "+r.options.classPrefix+"captions-button",e.captionsButton.innerHTML='<button type="button" aria-controls="'+r.id+'" title="'+l+'" aria-label="'+l+'" tabindex="0"></button><div class="'+r.options.classPrefix+"captions-selector "+r.options.classPrefix+'offscreen"><ul class="'+r.options.classPrefix+'captions-selector-list"><li class="'+r.options.classPrefix+'captions-selector-list-item"><input type="radio" class="'+r.options.classPrefix+'captions-selector-input" name="'+e.id+'_captions" id="'+e.id+'_captions_none" value="none" checked disabled><label class="'+r.options.classPrefix+"captions-selector-label "+r.options.classPrefix+'captions-selected" for="'+e.id+'_captions_none">'+a.default.t("mejs.none")+"</label></li></ul></div>",r.addControlElement(e.captionsButton,"tracks"),e.captionsButton.querySelector("."+r.options.classPrefix+"captions-selector-input").disabled=!1,e.chaptersButton=o.default.createElement("div"),e.chaptersButton.className=r.options.classPrefix+"button "+r.options.classPrefix+"chapters-button",e.chaptersButton.innerHTML='<button type="button" aria-controls="'+r.id+'" title="'+d+'" aria-label="'+d+'" tabindex="0"></button><div class="'+r.options.classPrefix+"chapters-selector "+r.options.classPrefix+'offscreen"><ul class="'+r.options.classPrefix+'chapters-selector-list"></ul></div>';for(var m=0,h=0;h<f;h++){var v=e.tracks[h].kind;e.tracks[h].src.trim()&&("subtitles"===v||"captions"===v?m++:"chapters"!==v||t.querySelector("."+r.options.classPrefix+"chapter-selector")||e.captionsButton.parentNode.insertBefore(e.chaptersButton,e.captionsButton))}e.trackToLoad=-1,e.selectedTrack=null,e.isLoadingTrack=!1;for(var g=0;g<f;g++){var y=e.tracks[g].kind;!e.tracks[g].src.trim()||"subtitles"!==y&&"captions"!==y||e.addTrackButton(e.tracks[g].trackId,e.tracks[g].srclang,e.tracks[g].label)}e.loadNextTrack();var E=["mouseenter","focusin"],b=["mouseleave","focusout"];if(r.options.toggleCaptionsButtonWhenOnlyOne&&1===m)e.captionsButton.addEventListener("click",function(t){var n="none";null===e.selectedTrack&&(n=e.tracks[0].trackId);var i=t.keyCode||t.which;e.setTrack(n,void 0!==i)});else{for(var S=e.captionsButton.querySelectorAll("."+r.options.classPrefix+"captions-selector-label"),x=e.captionsButton.querySelectorAll("input[type=radio]"),w=0,P=E.length;w<P;w++)e.captionsButton.addEventListener(E[w],function(){(0,c.removeClass)(this.querySelector("."+r.options.classPrefix+"captions-selector"),r.options.classPrefix+"offscreen")});for(var T=0,C=b.length;T<C;T++)e.captionsButton.addEventListener(b[T],function(){(0,c.addClass)(this.querySelector("."+r.options.classPrefix+"captions-selector"),r.options.classPrefix+"offscreen")});for(var k=0,_=x.length;k<_;k++)x[k].addEventListener("click",function(t){var n=t.keyCode||t.which;e.setTrack(this.value,void 0!==n)});for(var N=0,A=S.length;N<A;N++)S[N].addEventListener("click",function(e){var t=(0,c.siblings)(this,function(e){return"INPUT"===e.tagName})[0],n=(0,u.createEvent)("click",t);t.dispatchEvent(n),e.preventDefault()});e.captionsButton.addEventListener("keydown",function(e){e.stopPropagation()})}for(var L=0,F=E.length;L<F;L++)e.chaptersButton.addEventListener(E[L],function(){this.querySelector("."+r.options.classPrefix+"chapters-selector-list").children.length&&(0,c.removeClass)(this.querySelector("."+r.options.classPrefix+"chapters-selector"),r.options.classPrefix+"offscreen")});for(var j=0,I=b.length;j<I;j++)e.chaptersButton.addEventListener(b[j],function(){(0,c.addClass)(this.querySelector("."+r.options.classPrefix+"chapters-selector"),r.options.classPrefix+"offscreen")});e.chaptersButton.addEventListener("keydown",function(e){e.stopPropagation()}),e.options.alwaysShowControls?(0,c.addClass)(e.getElement(e.container).querySelector("."+r.options.classPrefix+"captions-position"),r.options.classPrefix+"captions-position-hover"):(e.getElement(e.container).addEventListener("controlsshown",function(){(0,c.addClass)(e.getElement(e.container).querySelector("."+r.options.classPrefix+"captions-position"),r.options.classPrefix+"captions-position-hover")}),e.getElement(e.container).addEventListener("controlshidden",function(){i.paused||(0,c.removeClass)(e.getElement(e.container).querySelector("."+r.options.classPrefix+"captions-position"),r.options.classPrefix+"captions-position-hover")})),i.addEventListener("timeupdate",function(){e.displayCaptions()}),""!==e.options.slidesSelector&&(e.slidesContainer=o.default.querySelectorAll(e.options.slidesSelector),i.addEventListener("timeupdate",function(){e.displaySlides()}))}},cleartracks:function(e){e&&(e.captions&&e.captions.remove(),e.chapters&&e.chapters.remove(),e.captionsText&&e.captionsText.remove(),e.captionsButton&&e.captionsButton.remove(),e.chaptersButton&&e.chaptersButton.remove())},rebuildtracks:function(){this.findTracks(),this.buildtracks(this,this.getElement(this.controls),this.getElement(this.layers),this.media)},findTracks:function(){var e=null===this.trackFiles?this.node.querySelectorAll("track"):this.trackFiles,t=e.length;this.tracks=[];for(var n=0;n<t;n++){var i=e[n],o=i.getAttribute("srclang").toLowerCase()||"",r=this.id+"_track_"+n+"_"+i.getAttribute("kind")+"_"+o;this.tracks.push({trackId:r,srclang:o,src:i.getAttribute("src"),kind:i.getAttribute("kind"),label:i.getAttribute("label")||"",entries:[],isLoaded:!1})}},setTrack:function(e,t){for(var n=this,i=n.captionsButton.querySelectorAll('input[type="radio"]'),o=n.captionsButton.querySelectorAll("."+n.options.classPrefix+"captions-selected"),r=n.captionsButton.querySelector('input[value="'+e+'"]'),a=0,s=i.length;a<s;a++)i[a].checked=!1;for(var l=0,d=o.length;l<d;l++)(0,c.removeClass)(o[l],n.options.classPrefix+"captions-selected");r.checked=!0;for(var f=(0,c.siblings)(r,function(e){return(0,c.hasClass)(e,n.options.classPrefix+"captions-selector-label")}),p=0,m=f.length;p<m;p++)(0,c.addClass)(f[p],n.options.classPrefix+"captions-selected");if("none"===e)n.selectedTrack=null,(0,c.removeClass)(n.captionsButton,n.options.classPrefix+"captions-enabled");else for(var h=0,v=n.tracks.length;h<v;h++){var g=n.tracks[h];if(g.trackId===e){null===n.selectedTrack&&(0,c.addClass)(n.captionsButton,n.options.classPrefix+"captions-enabled"),n.selectedTrack=g,n.captions.setAttribute("lang",n.selectedTrack.srclang),n.displayCaptions();break}}var y=(0,u.createEvent)("captionschange",n.media);y.detail.caption=n.selectedTrack,n.media.dispatchEvent(y),t||setTimeout(function(){n.getElement(n.container).focus()},500)},loadNextTrack:function(){this.trackToLoad++,this.trackToLoad<this.tracks.length?(this.isLoadingTrack=!0,this.loadTrack(this.trackToLoad)):(this.isLoadingTrack=!1,this.checkForTracks())},loadTrack:function(e){var t=this,n=t.tracks[e];void 0===n||void 0===n.src&&""===n.src||(0,c.ajax)(n.src,"text",function(e){n.entries="string"==typeof e&&/<tt\s+xml/gi.exec(e)?r.default.TrackFormatParser.dfxp.parse(e):r.default.TrackFormatParser.webvtt.parse(e),n.isLoaded=!0,t.enableTrackButton(n),t.loadNextTrack(),"slides"===n.kind?t.setupSlides(n):"chapters"!==n.kind||t.hasChapters||(t.drawChapters(n),t.hasChapters=!0)},function(){t.removeTrackButton(n.trackId),t.loadNextTrack()})},enableTrackButton:function(e){var t=this,n=e.srclang,i=o.default.getElementById(""+e.trackId);if(i){var s=e.label;""===s&&(s=a.default.t(r.default.language.codes[n])||n),i.disabled=!1;for(var l=(0,c.siblings)(i,function(e){return(0,c.hasClass)(e,t.options.classPrefix+"captions-selector-label")}),d=0,f=l.length;d<f;d++)l[d].innerHTML=s;if(t.options.startLanguage===n){i.checked=!0;var p=(0,u.createEvent)("click",i);i.dispatchEvent(p)}}},removeTrackButton:function(e){var t=o.default.getElementById(""+e);if(t){var n=t.closest("li");n&&n.remove()}},addTrackButton:function(e,t,n){""===n&&(n=a.default.t(r.default.language.codes[t])||t),this.captionsButton.querySelector("ul").innerHTML+='<li class="'+this.options.classPrefix+'captions-selector-list-item"><input type="radio" class="'+this.options.classPrefix+'captions-selector-input" name="'+this.id+'_captions" id="'+e+'" value="'+e+'" disabled><label class="'+this.options.classPrefix+'captions-selector-label"for="'+e+'">'+n+" (loading)</label></li>"},checkForTracks:function(){var e=!1;if(this.options.hideCaptionsButtonWhenEmpty){for(var t=0,n=this.tracks.length;t<n;t++){var i=this.tracks[t].kind;if(("subtitles"===i||"captions"===i)&&this.tracks[t].isLoaded){e=!0;break}}this.captionsButton.style.display=e?"":"none",this.setControlsSize()}},displayCaptions:function(){if(void 0!==this.tracks){var e=this.selectedTrack;if(null!==e&&e.isLoaded){var t=this.searchTrackPosition(e.entries,this.media.currentTime);if(t>-1)return this.captionsText.innerHTML=function(e){var t=o.default.createElement("div");t.innerHTML=e;for(var n=t.getElementsByTagName("script"),i=n.length;i--;)n[i].remove();for(var r=t.getElementsByTagName("*"),a=0,s=r.length;a<s;a++)for(var l=r[a].attributes,d=Array.prototype.slice.call(l),u=0,c=d.length;u<c;u++)d[u].name.startsWith("on")||d[u].value.startsWith("javascript")?r[a].remove():"style"===d[u].name&&r[a].removeAttribute(d[u].name);return t.innerHTML}(e.entries[t].text),this.captionsText.className=this.options.classPrefix+"captions-text "+(e.entries[t].identifier||""),this.captions.style.display="",void(this.captions.style.height="0px");this.captions.style.display="none"}else this.captions.style.display="none"}},setupSlides:function(e){this.slides=e,this.slides.entries.imgs=[this.slides.entries.length],this.showSlide(0)},showSlide:function(e){var t=this,n=this;if(void 0!==n.tracks&&void 0!==n.slidesContainer){var i=n.slides.entries[e].text,r=n.slides.entries[e].imgs;if(void 0===r||void 0===r.fadeIn){var a=o.default.createElement("img");a.src=i,a.addEventListener("load",function(){var e=t,i=(0,c.siblings)(e,function(e){return i(e)});e.style.display="none",n.slidesContainer.innerHTML+=e.innerHTML,(0,c.fadeIn)(n.slidesContainer.querySelector(a));for(var o=0,r=i.length;o<r;o++)(0,c.fadeOut)(i[o],400)}),n.slides.entries[e].imgs=r=a}else if(!(0,c.visible)(r)){var s=(0,c.siblings)(self,function(e){return s(e)});(0,c.fadeIn)(n.slidesContainer.querySelector(r));for(var l=0,d=s.length;l<d;l++)(0,c.fadeOut)(s[l])}}},displaySlides:function(){if(void 0!==this.slides){var e=this.slides,t=this.searchTrackPosition(e.entries,this.media.currentTime);t>-1&&this.showSlide(t)}},drawChapters:function(e){var t=this,n=e.entries.length;if(n){t.chaptersButton.querySelector("ul").innerHTML="";for(var i=0;i<n;i++)t.chaptersButton.querySelector("ul").innerHTML+='<li class="'+t.options.classPrefix+'chapters-selector-list-item" role="menuitemcheckbox" aria-live="polite" aria-disabled="false" aria-checked="false"><input type="radio" class="'+t.options.classPrefix+'captions-selector-input" name="'+t.id+'_chapters" id="'+t.id+"_chapters_"+i+'" value="'+e.entries[i].start+'" disabled><label class="'+t.options.classPrefix+'chapters-selector-label"for="'+t.id+"_chapters_"+i+'">'+e.entries[i].text+"</label></li>";for(var o=t.chaptersButton.querySelectorAll('input[type="radio"]'),r=t.chaptersButton.querySelectorAll("."+t.options.classPrefix+"chapters-selector-label"),a=0,s=o.length;a<s;a++)o[a].disabled=!1,o[a].checked=!1,o[a].addEventListener("click",function(e){var n=t.chaptersButton.querySelectorAll("li"),i=(0,c.siblings)(this,function(e){return(0,c.hasClass)(e,t.options.classPrefix+"chapters-selector-label")})[0];this.checked=!0,this.parentNode.setAttribute("aria-checked",!0),(0,c.addClass)(i,t.options.classPrefix+"chapters-selected"),(0,c.removeClass)(t.chaptersButton.querySelector("."+t.options.classPrefix+"chapters-selected"),t.options.classPrefix+"chapters-selected");for(var o=0,r=n.length;o<r;o++)n[o].setAttribute("aria-checked",!1);void 0===(e.keyCode||e.which)&&setTimeout(function(){t.getElement(t.container).focus()},500),t.media.setCurrentTime(parseFloat(this.value)),t.media.paused&&t.media.play()});for(var l=0,d=r.length;l<d;l++)r[l].addEventListener("click",function(e){var t=(0,c.siblings)(this,function(e){return"INPUT"===e.tagName})[0],n=(0,u.createEvent)("click",t);t.dispatchEvent(n),e.preventDefault()})}},searchTrackPosition:function(e,t){for(var n=0,i=e.length-1,o=void 0,r=void 0,a=void 0;n<=i;){if(o=n+i>>1,r=e[o].start,a=e[o].stop,t>=r&&t<a)return o;r<t?n=o+1:r>t&&(i=o-1)}return-1}}),r.default.language={codes:{af:"mejs.afrikaans",sq:"mejs.albanian",ar:"mejs.arabic",be:"mejs.belarusian",bg:"mejs.bulgarian",ca:"mejs.catalan",zh:"mejs.chinese","zh-cn":"mejs.chinese-simplified","zh-tw":"mejs.chines-traditional",hr:"mejs.croatian",cs:"mejs.czech",da:"mejs.danish",nl:"mejs.dutch",en:"mejs.english",et:"mejs.estonian",fl:"mejs.filipino",fi:"mejs.finnish",fr:"mejs.french",gl:"mejs.galician",de:"mejs.german",el:"mejs.greek",ht:"mejs.haitian-creole",iw:"mejs.hebrew",hi:"mejs.hindi",hu:"mejs.hungarian",is:"mejs.icelandic",id:"mejs.indonesian",ga:"mejs.irish",it:"mejs.italian",ja:"mejs.japanese",ko:"mejs.korean",lv:"mejs.latvian",lt:"mejs.lithuanian",mk:"mejs.macedonian",ms:"mejs.malay",mt:"mejs.maltese",no:"mejs.norwegian",fa:"mejs.persian",pl:"mejs.polish",pt:"mejs.portuguese",ro:"mejs.romanian",ru:"mejs.russian",sr:"mejs.serbian",sk:"mejs.slovak",sl:"mejs.slovenian",es:"mejs.spanish",sw:"mejs.swahili",sv:"mejs.swedish",tl:"mejs.tagalog",th:"mejs.thai",tr:"mejs.turkish",uk:"mejs.ukrainian",vi:"mejs.vietnamese",cy:"mejs.welsh",yi:"mejs.yiddish"}},r.default.TrackFormatParser={webvtt:{pattern:/^((?:[0-9]{1,2}:)?[0-9]{2}:[0-9]{2}([,.][0-9]{1,3})?) --\> ((?:[0-9]{1,2}:)?[0-9]{2}:[0-9]{2}([,.][0-9]{3})?)(.*)#x2F;,parse:function(e){for(var t=e.split(/\r?\n/),n=[],i=void 0,o=void 0,r=void 0,a=0,s=t.length;a<s;a++){if((i=this.pattern.exec(t[a]))&&a<t.length){for(a-1>=0&&""!==t[a-1]&&(r=t[a-1]),o=t[++a],a++;""!==t[a]&&a<t.length;)o=o+"\n"+t[a],a++;o=o.trim().replace(/(\b(https?|ftp|file):\/\/[-A-Z0-9+&@#\/%?=~_|!:,.;]*[-A-Z0-9+&@#\/%=~_|])/gi,"<a href='$1' target='_blank'>$1</a>"),n.push({identifier:r,start:0===(0,d.convertSMPTEtoSeconds)(i[1])?.2:(0,d.convertSMPTEtoSeconds)(i[1]),stop:(0,d.convertSMPTEtoSeconds)(i[3]),text:o,settings:i[5]})}r=""}return n}},dfxp:{parse:function(e){var t=(e=$(e).filter("tt")).firstChild,n=t.querySelectorAll("p"),i=e.getElementById(""+t.attr("style")),o=[],r=void 0;if(i.length){i.removeAttribute("id");var a=i.attributes;if(a.length){r={};for(var s=0,l=a.length;s<l;s++)r[a[s].name.split(":")[1]]=a[s].value}}for(var u=0,c=n.length;u<c;u++){var f=void 0,p={start:null,stop:null,style:null,text:null};if(n.eq(u).attr("begin")&&(p.start=(0,d.convertSMPTEtoSeconds)(n.eq(u).attr("begin"))),!p.start&&n.eq(u-1).attr("end")&&(p.start=(0,d.convertSMPTEtoSeconds)(n.eq(u-1).attr("end"))),n.eq(u).attr("end")&&(p.stop=(0,d.convertSMPTEtoSeconds)(n.eq(u).attr("end"))),!p.stop&&n.eq(u+1).attr("begin")&&(p.stop=(0,d.convertSMPTEtoSeconds)(n.eq(u+1).attr("begin"))),r){f="";for(var m in r)f+=m+":"+r[m]+";"}f&&(p.style=f),0===p.start&&(p.start=.2),p.text=n.eq(u).innerHTML.trim().replace(/(\b(https?|ftp|file):\/\/[-A-Z0-9+&@#\/%?=~_|!:,.;]*[-A-Z0-9+&@#\/%=~_|])/gi,"<a href='$1' target='_blank'>$1</a>"),o.push(p)}return o}}}},{16:16,2:2,26:26,27:27,30:30,5:5,7:7}],14:[function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}var o=i(e(2)),r=e(16),a=i(r),s=i(e(5)),l=e(25),d=e(27),u=e(26);Object.assign(r.config,{muteText:null,unmuteText:null,allyVolumeControlText:null,hideVolumeOnTouchDevices:!0,audioVolume:"horizontal",videoVolume:"vertical",startVolume:.8}),Object.assign(a.default.prototype,{buildvolume:function(e,t,n,i){if(!l.IS_ANDROID&&!l.IS_IOS||!this.options.hideVolumeOnTouchDevices){var a=this,c=a.isVideo?a.options.videoVolume:a.options.audioVolume,f=(0,d.isString)(a.options.muteText)?a.options.muteText:s.default.t("mejs.mute"),p=(0,d.isString)(a.options.unmuteText)?a.options.unmuteText:s.default.t("mejs.unmute"),m=(0,d.isString)(a.options.allyVolumeControlText)?a.options.allyVolumeControlText:s.default.t("mejs.volume-help-text"),h=o.default.createElement("div");if(h.className=a.options.classPrefix+"button "+a.options.classPrefix+"volume-button "+a.options.classPrefix+"mute",h.innerHTML="horizontal"===c?'<button type="button" aria-controls="'+a.id+'" title="'+f+'" aria-label="'+f+'" tabindex="0"></button>':'<button type="button" aria-controls="'+a.id+'" title="'+f+'" aria-label="'+f+'" tabindex="0"></button><a href="javascript:void(0);" class="'+a.options.classPrefix+'volume-slider" aria-label="'+s.default.t("mejs.volume-slider")+'" aria-valuemin="0" aria-valuemax="100" role="slider" aria-orientation="vertical"><span class="'+a.options.classPrefix+'offscreen">'+m+'</span><div class="'+a.options.classPrefix+'volume-total"><div class="'+a.options.classPrefix+'volume-current"></div><div class="'+a.options.classPrefix+'volume-handle"></div></div></a>',a.addControlElement(h,"volume"),a.options.keyActions.push({keys:[38],action:function(e){var t=e.getElement(e.container).querySelector("."+r.config.classPrefix+"volume-slider");(t||e.getElement(e.container).querySelector("."+r.config.classPrefix+"volume-slider").matches(":focus"))&&(t.style.display="block"),e.isVideo&&(e.showControls(),e.startControlsTimer());var n=Math.min(e.volume+.1,1);e.setVolume(n),n>0&&e.setMuted(!1)}},{keys:[40],action:function(e){var t=e.getElement(e.container).querySelector("."+r.config.classPrefix+"volume-slider");t&&(t.style.display="block"),e.isVideo&&(e.showControls(),e.startControlsTimer());var n=Math.max(e.volume-.1,0);e.setVolume(n),n<=.1&&e.setMuted(!0)}},{keys:[77],action:function(e){e.getElement(e.container).querySelector("."+r.config.classPrefix+"volume-slider").style.display="block",e.isVideo&&(e.showControls(),e.startControlsTimer()),e.media.muted?e.setMuted(!1):e.setMuted(!0)}}),"horizontal"===c){var v=o.default.createElement("a");v.className=a.options.classPrefix+"horizontal-volume-slider",v.href="javascript:void(0);",v.setAttribute("aria-label",s.default.t("mejs.volume-slider")),v.setAttribute("aria-valuemin",0),v.setAttribute("aria-valuemax",100),v.setAttribute("role","slider"),v.innerHTML+='<span class="'+a.options.classPrefix+'offscreen">'+m+'</span><div class="'+a.options.classPrefix+'horizontal-volume-total"><div class="'+a.options.classPrefix+'horizontal-volume-current"></div><div class="'+a.options.classPrefix+'horizontal-volume-handle"></div></div>',h.parentNode.insertBefore(v,h.nextSibling)}var g=!1,y=!1,E=!1,b="vertical"===c?a.getElement(a.container).querySelector("."+a.options.classPrefix+"volume-slider"):a.getElement(a.container).querySelector("."+a.options.classPrefix+"horizontal-volume-slider"),S="vertical"===c?a.getElement(a.container).querySelector("."+a.options.classPrefix+"volume-total"):a.getElement(a.container).querySelector("."+a.options.classPrefix+"horizontal-volume-total"),x="vertical"===c?a.getElement(a.container).querySelector("."+a.options.classPrefix+"volume-current"):a.getElement(a.container).querySelector("."+a.options.classPrefix+"horizontal-volume-current"),w="vertical"===c?a.getElement(a.container).querySelector("."+a.options.classPrefix+"volume-handle"):a.getElement(a.container).querySelector("."+a.options.classPrefix+"horizontal-volume-handle"),P=function(e){if(null!==e&&!isNaN(e)&&void 0!==e){if(e=Math.max(0,e),0===(e=Math.min(e,1))){(0,u.removeClass)(h,a.options.classPrefix+"mute"),(0,u.addClass)(h,a.options.classPrefix+"unmute");var t=h.firstElementChild;t.setAttribute("title",p),t.setAttribute("aria-label",p)}else{(0,u.removeClass)(h,a.options.classPrefix+"unmute"),(0,u.addClass)(h,a.options.classPrefix+"mute");var n=h.firstElementChild;n.setAttribute("title",f),n.setAttribute("aria-label",f)}var i=100*e+"%",o=getComputedStyle(w);"vertical"===c?(x.style.bottom=0,x.style.height=i,w.style.bottom=i,w.style.marginBottom=-parseFloat(o.height)/2+"px"):(x.style.left=0,x.style.width=i,w.style.left=i,w.style.marginLeft=-parseFloat(o.width)/2+"px")}},T=function(e){var t=(0,u.offset)(S),n=getComputedStyle(S);E=!0;var i=null;if("vertical"===c){var o=parseFloat(n.height);if(i=(o-(e.pageY-t.top))/o,0===t.top||0===t.left)return}else{var r=parseFloat(n.width);i=(e.pageX-t.left)/r}i=Math.max(0,i),i=Math.min(i,1),P(i),a.setMuted(0===i),a.setVolume(i),e.preventDefault(),e.stopPropagation()},C=function(){a.muted?(P(0),(0,u.removeClass)(h,a.options.classPrefix+"mute"),(0,u.addClass)(h,a.options.classPrefix+"unmute")):(P(i.volume),(0,u.removeClass)(h,a.options.classPrefix+"unmute"),(0,u.addClass)(h,a.options.classPrefix+"mute"))};e.getElement(e.container).addEventListener("keydown",function(e){!!e.target.closest("."+a.options.classPrefix+"container")||"vertical"!==c||(b.style.display="none")}),h.addEventListener("mouseenter",function(e){e.target===h&&(b.style.display="block",y=!0,e.preventDefault(),e.stopPropagation())}),h.addEventListener("focusin",function(){b.style.display="block",y=!0}),h.addEventListener("focusout",function(e){e.relatedTarget&&(!e.relatedTarget||e.relatedTarget.matches("."+a.options.classPrefix+"volume-slider"))||"vertical"!==c||(b.style.display="none")}),h.addEventListener("mouseleave",function(){y=!1,g||"vertical"!==c||(b.style.display="none")}),h.addEventListener("focusout",function(){y=!1}),h.addEventListener("keydown",function(e){if(a.options.keyActions.length){var t=e.which||e.keyCode||0,n=i.volume;switch(t){case 38:n=Math.min(n+.1,1);break;case 40:n=Math.max(0,n-.1);break;default:return!0}g=!1,P(n),i.setVolume(n),e.preventDefault(),e.stopPropagation()}}),h.querySelector("button").addEventListener("click",function(){i.setMuted(!i.muted);var e=(0,d.createEvent)("volumechange",i);i.dispatchEvent(e)}),b.addEventListener("dragstart",function(){return!1}),b.addEventListener("mouseover",function(){y=!0}),b.addEventListener("focusin",function(){b.style.display="block",y=!0}),b.addEventListener("focusout",function(){y=!1,g||"vertical"!==c||(b.style.display="none")}),b.addEventListener("mousedown",function(e){T(e),a.globalBind("mousemove.vol",function(e){var t=e.target;g&&(t===b||t.closest("vertical"===c?"."+a.options.classPrefix+"volume-slider":"."+a.options.classPrefix+"horizontal-volume-slider"))&&T(e)}),a.globalBind("mouseup.vol",function(){g=!1,y||"vertical"!==c||(b.style.display="none")}),g=!0,e.preventDefault(),e.stopPropagation()}),i.addEventListener("volumechange",function(e){g||C(),function(){var e=Math.floor(100*i.volume);b.setAttribute("aria-valuenow",e),b.setAttribute("aria-valuetext",e+"%")}()});var k=!1;i.addEventListener("rendererready",function(){E||setTimeout(function(){k=!0,(0===e.options.startVolume||i.originalNode.muted)&&(i.setMuted(!0),e.options.startVolume=0),i.setVolume(e.options.startVolume),a.setControlsSize()},250)}),i.addEventListener("loadedmetadata",function(){setTimeout(function(){E||k||((0===e.options.startVolume||i.originalNode.muted)&&i.setMuted(!0),i.setVolume(e.options.startVolume),a.setControlsSize()),k=!1},250)}),(0===e.options.startVolume||i.originalNode.muted)&&(i.setMuted(!0),e.options.startVolume=0,C()),a.getElement(a.container).addEventListener("controlsresize",function(){C()})}}})},{16:16,2:2,25:25,26:26,27:27,5:5}],15:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});n.EN={"mejs.plural-form":1,"mejs.download-file":"Download File","mejs.install-flash":"You are using a browser that does not have Flash player enabled or installed. Please turn on your Flash player plugin or download the latest version from https://get.adobe.com/flashplayer/","mejs.fullscreen":"Fullscreen","mejs.play":"Play","mejs.pause":"Pause","mejs.time-slider":"Time Slider","mejs.time-help-text":"Use Left/Right Arrow keys to advance one second, Up/Down arrows to advance ten seconds.","mejs.live-broadcast":"Live Broadcast","mejs.volume-help-text":"Use Up/Down Arrow keys to increase or decrease volume.","mejs.unmute":"Unmute","mejs.mute":"Mute","mejs.volume-slider":"Volume Slider","mejs.video-player":"Video Player","mejs.audio-player":"Audio Player","mejs.captions-subtitles":"Captions/Subtitles","mejs.captions-chapters":"Chapters","mejs.none":"None","mejs.afrikaans":"Afrikaans","mejs.albanian":"Albanian","mejs.arabic":"Arabic","mejs.belarusian":"Belarusian","mejs.bulgarian":"Bulgarian","mejs.catalan":"Catalan","mejs.chinese":"Chinese","mejs.chinese-simplified":"Chinese (Simplified)","mejs.chinese-traditional":"Chinese (Traditional)","mejs.croatian":"Croatian","mejs.czech":"Czech","mejs.danish":"Danish","mejs.dutch":"Dutch","mejs.english":"English","mejs.estonian":"Estonian","mejs.filipino":"Filipino","mejs.finnish":"Finnish","mejs.french":"French","mejs.galician":"Galician","mejs.german":"German","mejs.greek":"Greek","mejs.haitian-creole":"Haitian Creole","mejs.hebrew":"Hebrew","mejs.hindi":"Hindi","mejs.hungarian":"Hungarian","mejs.icelandic":"Icelandic","mejs.indonesian":"Indonesian","mejs.irish":"Irish","mejs.italian":"Italian","mejs.japanese":"Japanese","mejs.korean":"Korean","mejs.latvian":"Latvian","mejs.lithuanian":"Lithuanian","mejs.macedonian":"Macedonian","mejs.malay":"Malay","mejs.maltese":"Maltese","mejs.norwegian":"Norwegian","mejs.persian":"Persian","mejs.polish":"Polish","mejs.portuguese":"Portuguese","mejs.romanian":"Romanian","mejs.russian":"Russian","mejs.serbian":"Serbian","mejs.slovak":"Slovak","mejs.slovenian":"Slovenian","mejs.spanish":"Spanish","mejs.swahili":"Swahili","mejs.swedish":"Swedish","mejs.tagalog":"Tagalog","mejs.thai":"Thai","mejs.turkish":"Turkish","mejs.ukrainian":"Ukrainian","mejs.vietnamese":"Vietnamese","mejs.welsh":"Welsh","mejs.yiddish":"Yiddish"}},{}],16:[function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.config=void 0;var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),a=i(e(3)),s=i(e(2)),l=i(e(7)),d=i(e(6)),u=i(e(17)),c=i(e(5)),f=e(25),p=e(27),m=e(30),h=e(28),v=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(e(26));l.default.mepIndex=0,l.default.players={};var g=n.config={poster:"",showPosterWhenEnded:!1,showPosterWhenPaused:!1,defaultVideoWidth:480,defaultVideoHeight:270,videoWidth:-1,videoHeight:-1,defaultAudioWidth:400,defaultAudioHeight:40,defaultSeekBackwardInterval:function(e){return.05*e.getDuration()},defaultSeekForwardInterval:function(e){return.05*e.getDuration()},setDimensions:!0,audioWidth:-1,audioHeight:-1,loop:!1,autoRewind:!0,enableAutosize:!0,timeFormat:"",alwaysShowHours:!1,showTimecodeFrameCount:!1,framesPerSecond:25,alwaysShowControls:!1,hideVideoControlsOnLoad:!1,hideVideoControlsOnPause:!1,clickToPlayPause:!0,controlsTimeoutDefault:1500,controlsTimeoutMouseEnter:2500,controlsTimeoutMouseLeave:1e3,iPadUseNativeControls:!1,iPhoneUseNativeControls:!1,AndroidUseNativeControls:!1,features:["playpause","current","progress","duration","tracks","volume","fullscreen"],useDefaultControls:!1,isVideo:!0,stretching:"auto",classPrefix:"mejs__",enableKeyboard:!0,pauseOtherPlayers:!0,secondsDecimalLength:0,customError:null,keyActions:[{keys:[32,179],action:function(e){f.IS_FIREFOX||(e.paused||e.ended?e.play():e.pause())}}]};l.default.MepDefaults=g;var y=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e);var i="string"==typeof t?s.default.getElementById(t):t;if(!(this instanceof e))return new e(i,n);if(this.node=this.media=i,this.node){if(this.media.player)return this.media.player;if(this.hasFocus=!1,this.controlsAreVisible=!0,this.controlsEnabled=!0,this.controlsTimer=null,this.currentMediaTime=0,this.proxy=null,void 0===n){var o=this.node.getAttribute("data-mejsoptions");n=o?JSON.parse(o):{}}return this.options=Object.assign({},g,n),this.options.loop&&!this.media.getAttribute("loop")?(this.media.loop=!0,this.node.loop=!0):this.media.loop&&(this.options.loop=!0),this.options.timeFormat||(this.options.timeFormat="mm:ss",this.options.alwaysShowHours&&(this.options.timeFormat="hh:mm:ss"),this.options.showTimecodeFrameCount&&(this.options.timeFormat+=":ff")),(0,m.calculateTimeFormat)(0,this.options,this.options.framesPerSecond||25),this.id="mep_"+l.default.mepIndex++,l.default.players[this.id]=this,this.init(),this}}return r(e,[{key:"getElement",value:function(e){return e}},{key:"init",value:function(){var e=this,t=Object.assign({},e.options,{success:function(t,n){e._meReady(t,n)},error:function(t){e._handleError(t)}}),n=e.node.tagName.toLowerCase();if(e.isDynamic="audio"!==n&&"video"!==n&&"iframe"!==n,e.isVideo=e.isDynamic?e.options.isVideo:"audio"!==n&&e.options.isVideo,e.mediaFiles=null,e.trackFiles=null,f.IS_IPAD&&e.options.iPadUseNativeControls||f.IS_IPHONE&&e.options.iPhoneUseNativeControls)e.node.setAttribute("controls",!0),f.IS_IPAD&&e.node.getAttribute("autoplay")&&e.play();else if(!e.isVideo&&(e.isVideo||!e.options.features.length&&!e.options.useDefaultControls)||f.IS_ANDROID&&e.options.AndroidUseNativeControls)e.isVideo||e.options.features.length||e.options.useDefaultControls||(e.node.style.display="none");else{e.node.removeAttribute("controls");var i=e.isVideo?c.default.t("mejs.video-player"):c.default.t("mejs.audio-player"),o=s.default.createElement("span");if(o.className=e.options.classPrefix+"offscreen",o.innerText=i,e.media.parentNode.insertBefore(o,e.media),e.container=s.default.createElement("div"),e.getElement(e.container).id=e.id,e.getElement(e.container).className=e.options.classPrefix+"container "+e.options.classPrefix+"container-keyboard-inactive "+e.media.className,e.getElement(e.container).tabIndex=0,e.getElement(e.container).setAttribute("role","application"),e.getElement(e.container).setAttribute("aria-label",i),e.getElement(e.container).innerHTML='<div class="'+e.options.classPrefix+'inner"><div class="'+e.options.classPrefix+'mediaelement"></div><div class="'+e.options.classPrefix+'layers"></div><div class="'+e.options.classPrefix+'controls"></div></div>',e.getElement(e.container).addEventListener("focus",function(t){if(!e.controlsAreVisible&&!e.hasFocus&&e.controlsEnabled){e.showControls(!0);var n=(0,p.isNodeAfter)(t.relatedTarget,e.getElement(e.container))?"."+e.options.classPrefix+"controls ."+e.options.classPrefix+"button:last-child > button":"."+e.options.classPrefix+"playpause-button > button";e.getElement(e.container).querySelector(n).focus()}}),e.node.parentNode.insertBefore(e.getElement(e.container),e.node),e.options.features.length||e.options.useDefaultControls||(e.getElement(e.container).style.background="transparent",e.getElement(e.container).querySelector("."+e.options.classPrefix+"controls").style.display="none"),e.isVideo&&"fill"===e.options.stretching&&!v.hasClass(e.getElement(e.container).parentNode,e.options.classPrefix+"fill-container")){e.outerContainer=e.media.parentNode;var r=s.default.createElement("div");r.className=e.options.classPrefix+"fill-container",e.getElement(e.container).parentNode.insertBefore(r,e.getElement(e.container)),r.appendChild(e.getElement(e.container))}if(f.IS_ANDROID&&v.addClass(e.getElement(e.container),e.options.classPrefix+"android"),f.IS_IOS&&v.addClass(e.getElement(e.container),e.options.classPrefix+"ios"),f.IS_IPAD&&v.addClass(e.getElement(e.container),e.options.classPrefix+"ipad"),f.IS_IPHONE&&v.addClass(e.getElement(e.container),e.options.classPrefix+"iphone"),v.addClass(e.getElement(e.container),e.isVideo?e.options.classPrefix+"video":e.options.classPrefix+"audio"),f.IS_SAFARI&&!f.IS_IOS){v.addClass(e.getElement(e.container),e.options.classPrefix+"hide-cues");for(var a=e.node.cloneNode(),u=e.node.children,m=[],g=[],y=0,E=u.length;y<E;y++){var b=u[y];!function(){switch(b.tagName.toLowerCase()){case"source":var e={};Array.prototype.slice.call(b.attributes).forEach(function(t){e[t.name]=t.value}),e.type=(0,h.formatType)(e.src,e.type),m.push(e);break;case"track":b.mode="hidden",g.push(b);break;default:a.appendChild(b)}}()}e.node.remove(),e.node=e.media=a,m.length&&(e.mediaFiles=m),g.length&&(e.trackFiles=g)}e.getElement(e.container).querySelector("."+e.options.classPrefix+"mediaelement").appendChild(e.node),e.media.player=e,e.controls=e.getElement(e.container).querySelector("."+e.options.classPrefix+"controls"),e.layers=e.getElement(e.container).querySelector("."+e.options.classPrefix+"layers");var S=e.isVideo?"video":"audio",x=S.substring(0,1).toUpperCase()+S.substring(1);e.options[S+"Width"]>0||e.options[S+"Width"].toString().indexOf("%")>-1?e.width=e.options[S+"Width"]:""!==e.node.style.width&&null!==e.node.style.width?e.width=e.node.style.width:e.node.getAttribute("width")?e.width=e.node.getAttribute("width"):e.width=e.options["default"+x+"Width"],e.options[S+"Height"]>0||e.options[S+"Height"].toString().indexOf("%")>-1?e.height=e.options[S+"Height"]:""!==e.node.style.height&&null!==e.node.style.height?e.height=e.node.style.height:e.node.getAttribute("height")?e.height=e.node.getAttribute("height"):e.height=e.options["default"+x+"Height"],e.initialAspectRatio=e.height>=e.width?e.width/e.height:e.height/e.width,e.setPlayerSize(e.width,e.height),t.pluginWidth=e.width,t.pluginHeight=e.height}if(l.default.MepDefaults=t,new d.default(e.media,t,e.mediaFiles),void 0!==e.getElement(e.container)&&e.options.features.length&&e.controlsAreVisible&&!e.options.hideVideoControlsOnLoad){var w=(0,p.createEvent)("controlsshown",e.getElement(e.container));e.getElement(e.container).dispatchEvent(w)}}},{key:"showControls",value:function(e){var t=this;if(e=void 0===e||e,!t.controlsAreVisible&&t.isVideo){if(e)!function(){v.fadeIn(t.getElement(t.controls),200,function(){v.removeClass(t.getElement(t.controls),t.options.classPrefix+"offscreen");var e=(0,p.createEvent)("controlsshown",t.getElement(t.container));t.getElement(t.container).dispatchEvent(e)});for(var e=t.getElement(t.container).querySelectorAll("."+t.options.classPrefix+"control"),n=function(n,i){v.fadeIn(e[n],200,function(){v.removeClass(e[n],t.options.classPrefix+"offscreen")})},i=0,o=e.length;i<o;i++)n(i)}();else{v.removeClass(t.getElement(t.controls),t.options.classPrefix+"offscreen"),t.getElement(t.controls).style.display="",t.getElement(t.controls).style.opacity=1;for(var n=t.getElement(t.container).querySelectorAll("."+t.options.classPrefix+"control"),i=0,o=n.length;i<o;i++)v.removeClass(n[i],t.options.classPrefix+"offscreen"),n[i].style.display="";var r=(0,p.createEvent)("controlsshown",t.getElement(t.container));t.getElement(t.container).dispatchEvent(r)}t.controlsAreVisible=!0,t.setControlsSize()}}},{key:"hideControls",value:function(e,t){var n=this;if(e=void 0===e||e,!0===t||!(!n.controlsAreVisible||n.options.alwaysShowControls||n.paused&&4===n.readyState&&(!n.options.hideVideoControlsOnLoad&&n.currentTime<=0||!n.options.hideVideoControlsOnPause&&n.currentTime>0)||n.isVideo&&!n.options.hideVideoControlsOnLoad&&!n.readyState||n.ended)){if(e)!function(){v.fadeOut(n.getElement(n.controls),200,function(){v.addClass(n.getElement(n.controls),n.options.classPrefix+"offscreen"),n.getElement(n.controls).style.display="";var e=(0,p.createEvent)("controlshidden",n.getElement(n.container));n.getElement(n.container).dispatchEvent(e)});for(var e=n.getElement(n.container).querySelectorAll("."+n.options.classPrefix+"control"),t=function(t,i){v.fadeOut(e[t],200,function(){v.addClass(e[t],n.options.classPrefix+"offscreen"),e[t].style.display=""})},i=0,o=e.length;i<o;i++)t(i)}();else{v.addClass(n.getElement(n.controls),n.options.classPrefix+"offscreen"),n.getElement(n.controls).style.display="",n.getElement(n.controls).style.opacity=0;for(var i=n.getElement(n.container).querySelectorAll("."+n.options.classPrefix+"control"),o=0,r=i.length;o<r;o++)v.addClass(i[o],n.options.classPrefix+"offscreen"),i[o].style.display="";var a=(0,p.createEvent)("controlshidden",n.getElement(n.container));n.getElement(n.container).dispatchEvent(a)}n.controlsAreVisible=!1}}},{key:"startControlsTimer",value:function(e){var t=this;e=void 0!==e?e:t.options.controlsTimeoutDefault,t.killControlsTimer("start"),t.controlsTimer=setTimeout(function(){t.hideControls(),t.killControlsTimer("hide")},e)}},{key:"killControlsTimer",value:function(){null!==this.controlsTimer&&(clearTimeout(this.controlsTimer),delete this.controlsTimer,this.controlsTimer=null)}},{key:"disableControls",value:function(){this.killControlsTimer(),this.controlsEnabled=!1,this.hideControls(!1,!0)}},{key:"enableControls",value:function(){this.controlsEnabled=!0,this.showControls(!1)}},{key:"_setDefaultPlayer",value:function(){var e=this;e.proxy&&e.proxy.pause(),e.proxy=new u.default(e),e.media.addEventListener("loadedmetadata",function(){e.getCurrentTime()>0&&e.currentMediaTime>0&&(e.setCurrentTime(e.currentMediaTime),f.IS_IOS||f.IS_ANDROID||e.play())})}},{key:"_meReady",value:function(e,t){var n=this,i=t.getAttribute("autoplay"),o=!(void 0===i||null===i||"false"===i),r=null!==e.rendererName&&/(native|html5)/i.test(n.media.rendererName);if(n.getElement(n.controls)&&n.enableControls(),n.getElement(n.container)&&n.getElement(n.container).querySelector("."+n.options.classPrefix+"overlay-play")&&(n.getElement(n.container).querySelector("."+n.options.classPrefix+"overlay-play").style.display=""),!n.created){if(n.created=!0,n.media=e,n.domNode=t,!(f.IS_ANDROID&&n.options.AndroidUseNativeControls||f.IS_IPAD&&n.options.iPadUseNativeControls||f.IS_IPHONE&&n.options.iPhoneUseNativeControls)){if(!n.isVideo&&!n.options.features.length&&!n.options.useDefaultControls)return o&&r&&n.play(),void(n.options.success&&("string"==typeof n.options.success?a.default[n.options.success](n.media,n.domNode,n):n.options.success(n.media,n.domNode,n)));if(n.featurePosition={},n._setDefaultPlayer(),n.buildposter(n,n.getElement(n.controls),n.getElement(n.layers),n.media),n.buildkeyboard(n,n.getElement(n.controls),n.getElement(n.layers),n.media),n.buildoverlays(n,n.getElement(n.controls),n.getElement(n.layers),n.media),n.options.useDefaultControls){var d=["playpause","current","progress","duration","tracks","volume","fullscreen"];n.options.features=d.concat(n.options.features.filter(function(e){return-1===d.indexOf(e)}))}n.buildfeatures(n,n.getElement(n.controls),n.getElement(n.layers),n.media);var u=(0,p.createEvent)("controlsready",n.getElement(n.container));n.getElement(n.container).dispatchEvent(u),n.setPlayerSize(n.width,n.height),n.setControlsSize(),n.isVideo&&(n.clickToPlayPauseCallback=function(){if(n.options.clickToPlayPause){var e=n.getElement(n.container).querySelector("."+n.options.classPrefix+"overlay-button"),t=e.getAttribute("aria-pressed");n.paused&&t?n.pause():n.paused?n.play():n.pause(),e.setAttribute("aria-pressed",!t),n.getElement(n.container).focus()}},n.createIframeLayer(),n.media.addEventListener("click",n.clickToPlayPauseCallback),!f.IS_ANDROID&&!f.IS_IOS||n.options.alwaysShowControls?(n.getElement(n.container).addEventListener("mouseenter",function(){n.controlsEnabled&&(n.options.alwaysShowControls||(n.killControlsTimer("enter"),n.showControls(),n.startControlsTimer(n.options.controlsTimeoutMouseEnter)))}),n.getElement(n.container).addEventListener("mousemove",function(){n.controlsEnabled&&(n.controlsAreVisible||n.showControls(),n.options.alwaysShowControls||n.startControlsTimer(n.options.controlsTimeoutMouseEnter))}),n.getElement(n.container).addEventListener("mouseleave",function(){n.controlsEnabled&&(n.paused||n.options.alwaysShowControls||n.startControlsTimer(n.options.controlsTimeoutMouseLeave))})):n.node.addEventListener("touchstart",function(){n.controlsAreVisible?n.hideControls(!1):n.controlsEnabled&&n.showControls(!1)},!!f.SUPPORT_PASSIVE_EVENT&&{passive:!0}),n.options.hideVideoControlsOnLoad&&n.hideControls(!1),n.options.enableAutosize&&n.media.addEventListener("loadedmetadata",function(e){var t=void 0!==e?e.detail.target||e.target:n.media;n.options.videoHeight<=0&&!n.domNode.getAttribute("height")&&!n.domNode.style.height&&null!==t&&!isNaN(t.videoHeight)&&(n.setPlayerSize(t.videoWidth,t.videoHeight),n.setControlsSize(),n.media.setSize(t.videoWidth,t.videoHeight))})),n.media.addEventListener("play",function(){n.hasFocus=!0;for(var e in l.default.players)if(l.default.players.hasOwnProperty(e)){var t=l.default.players[e];t.id===n.id||!n.options.pauseOtherPlayers||t.paused||t.ended||(t.pause(),t.hasFocus=!1)}f.IS_ANDROID||f.IS_IOS||n.options.alwaysShowControls||!n.isVideo||n.hideControls()}),n.media.addEventListener("ended",function(){if(n.options.autoRewind)try{n.setCurrentTime(0),setTimeout(function(){var e=n.getElement(n.container).querySelector("."+n.options.classPrefix+"overlay-loading");e&&e.parentNode&&(e.parentNode.style.display="none")},20)}catch(e){}"function"==typeof n.media.renderer.stop?n.media.renderer.stop():n.pause(),n.setProgressRail&&n.setProgressRail(),n.setCurrentRail&&n.setCurrentRail(),n.options.loop?n.play():!n.options.alwaysShowControls&&n.controlsEnabled&&n.showControls()}),n.media.addEventListener("loadedmetadata",function(){(0,m.calculateTimeFormat)(n.getDuration(),n.options,n.options.framesPerSecond||25),n.updateDuration&&n.updateDuration(),n.updateCurrent&&n.updateCurrent(),n.isFullScreen||(n.setPlayerSize(n.width,n.height),n.setControlsSize())});var c=null;n.media.addEventListener("timeupdate",function(){isNaN(n.getDuration())||c===n.getDuration()||(c=n.getDuration(),(0,m.calculateTimeFormat)(c,n.options,n.options.framesPerSecond||25),n.updateDuration&&n.updateDuration(),n.updateCurrent&&n.updateCurrent(),n.setControlsSize())}),n.getElement(n.container).addEventListener("click",function(e){v.addClass(e.currentTarget,n.options.classPrefix+"container-keyboard-inactive")}),n.getElement(n.container).addEventListener("focusin",function(e){v.removeClass(e.currentTarget,n.options.classPrefix+"container-keyboard-inactive"),!n.isVideo||f.IS_ANDROID||f.IS_IOS||!n.controlsEnabled||n.options.alwaysShowControls||(n.killControlsTimer("enter"),n.showControls(),n.startControlsTimer(n.options.controlsTimeoutMouseEnter))}),n.getElement(n.container).addEventListener("focusout",function(e){setTimeout(function(){e.relatedTarget&&n.keyboardAction&&!e.relatedTarget.closest("."+n.options.classPrefix+"container")&&(n.keyboardAction=!1,!n.isVideo||n.options.alwaysShowControls||n.paused||n.startControlsTimer(n.options.controlsTimeoutMouseLeave))},0)}),setTimeout(function(){n.setPlayerSize(n.width,n.height),n.setControlsSize()},0),n.globalResizeCallback=function(){n.isFullScreen||f.HAS_TRUE_NATIVE_FULLSCREEN&&s.default.webkitIsFullScreen||n.setPlayerSize(n.width,n.height),n.setControlsSize()},n.globalBind("resize",n.globalResizeCallback)}o&&r&&n.play(),n.options.success&&("string"==typeof n.options.success?a.default[n.options.success](n.media,n.domNode,n):n.options.success(n.media,n.domNode,n))}}},{key:"_handleError",value:function(e,t,n){var i=this.getElement(this.layers).querySelector("."+this.options.classPrefix+"overlay-play");i&&(i.style.display="none"),this.options.error&&this.options.error(e,t,n),this.getElement(this.container).querySelector("."+this.options.classPrefix+"cannotplay")&&this.getElement(this.container).querySelector("."+this.options.classPrefix+"cannotplay").remove();var o=s.default.createElement("div");o.className=this.options.classPrefix+"cannotplay",o.style.width="100%",o.style.height="100%";var r="function"==typeof this.options.customError?this.options.customError(this.media,this.media.originalNode):this.options.customError,a="";if(!r){var d=this.media.originalNode.getAttribute("poster");if(d&&(a='<img src="'+d+'" alt="'+l.default.i18n.t("mejs.download-file")+'">'),e.message&&(r="<p>"+e.message+"</p>"),e.urls)for(var u=0,c=e.urls.length;u<c;u++){var f=e.urls[u];r+='<a href="'+f.src+'" data-type="'+f.type+'"><span>'+l.default.i18n.t("mejs.download-file")+": "+f.src+"</span></a>"}}r&&this.getElement(this.layers).querySelector("."+this.options.classPrefix+"overlay-error")&&(o.innerHTML=r,this.getElement(this.layers).querySelector("."+this.options.classPrefix+"overlay-error").innerHTML=""+a+o.outerHTML,this.getElement(this.layers).querySelector("."+this.options.classPrefix+"overlay-error").parentNode.style.display="block"),this.controlsEnabled&&this.disableControls()}},{key:"setPlayerSize",value:function(e,t){if(!this.options.setDimensions)return!1;switch(void 0!==e&&(this.width=e),void 0!==t&&(this.height=t),this.options.stretching){case"fill":this.isVideo?this.setFillMode():this.setDimensions(this.width,this.height);break;case"responsive":this.setResponsiveMode();break;case"none":this.setDimensions(this.width,this.height);break;default:!0===this.hasFluidMode()?this.setResponsiveMode():this.setDimensions(this.width,this.height)}}},{key:"hasFluidMode",value:function(){return-1!==this.height.toString().indexOf("%")||this.node&&this.node.style.maxWidth&&"none"!==this.node.style.maxWidth&&this.node.style.maxWidth!==this.width||this.node&&this.node.currentStyle&&"100%"===this.node.currentStyle.maxWidth}},{key:"setResponsiveMode",value:function(){var e=this,t=function(){for(var t=void 0,n=e.getElement(e.container);n;){try{if(f.IS_FIREFOX&&"html"===n.tagName.toLowerCase()&&a.default.self!==a.default.top&&null!==a.default.frameElement)return a.default.frameElement;t=n.parentElement}catch(e){t=n.parentElement}if(t&&v.visible(t))return t;n=t}return null}(),n=t?getComputedStyle(t,null):getComputedStyle(s.default.body,null),i=e.isVideo?e.node.videoWidth&&e.node.videoWidth>0?e.node.videoWidth:e.node.getAttribute("width")?e.node.getAttribute("width"):e.options.defaultVideoWidth:e.options.defaultAudioWidth,o=e.isVideo?e.node.videoHeight&&e.node.videoHeight>0?e.node.videoHeight:e.node.getAttribute("height")?e.node.getAttribute("height"):e.options.defaultVideoHeight:e.options.defaultAudioHeight,r=function(){var t=1;return e.isVideo?(t=e.node.videoWidth&&e.node.videoWidth>0&&e.node.videoHeight&&e.node.videoHeight>0?e.height>=e.width?e.node.videoWidth/e.node.videoHeight:e.node.videoHeight/e.node.videoWidth:e.initialAspectRatio,(isNaN(t)||t<.01||t>100)&&(t=1),t):t}(),l=parseFloat(n.height),d=void 0,u=parseFloat(n.width);if(d=e.isVideo?"100%"===e.height?parseFloat(u*o/i,10):e.height>=e.width?parseFloat(u/r,10):parseFloat(u*r,10):o,isNaN(d)&&(d=l),e.getElement(e.container).parentNode.length>0&&"body"===e.getElement(e.container).parentNode.tagName.toLowerCase()&&(u=a.default.innerWidth||s.default.documentElement.clientWidth||s.default.body.clientWidth,d=a.default.innerHeight||s.default.documentElement.clientHeight||s.default.body.clientHeight),d&&u){e.getElement(e.container).style.width=u+"px",e.getElement(e.container).style.height=d+"px",e.node.style.width="100%",e.node.style.height="100%",e.isVideo&&e.media.setSize&&e.media.setSize(u,d);for(var c=e.getElement(e.layers).children,p=0,m=c.length;p<m;p++)c[p].style.width="100%",c[p].style.height="100%"}}},{key:"setFillMode",value:function(){var e=this,t=a.default.self!==a.default.top&&null!==a.default.frameElement,n=function(){for(var t=void 0,n=e.getElement(e.container);n;){try{if(f.IS_FIREFOX&&"html"===n.tagName.toLowerCase()&&a.default.self!==a.default.top&&null!==a.default.frameElement)return a.default.frameElement;t=n.parentElement}catch(e){t=n.parentElement}if(t&&v.visible(t))return t;n=t}return null}(),i=n?getComputedStyle(n,null):getComputedStyle(s.default.body,null);"none"!==e.node.style.height&&e.node.style.height!==e.height&&(e.node.style.height="auto"),"none"!==e.node.style.maxWidth&&e.node.style.maxWidth!==e.width&&(e.node.style.maxWidth="none"),"none"!==e.node.style.maxHeight&&e.node.style.maxHeight!==e.height&&(e.node.style.maxHeight="none"),e.node.currentStyle&&("100%"===e.node.currentStyle.height&&(e.node.currentStyle.height="auto"),"100%"===e.node.currentStyle.maxWidth&&(e.node.currentStyle.maxWidth="none"),"100%"===e.node.currentStyle.maxHeight&&(e.node.currentStyle.maxHeight="none")),t||parseFloat(i.width)||(n.style.width=e.media.offsetWidth+"px"),t||parseFloat(i.height)||(n.style.height=e.media.offsetHeight+"px"),i=getComputedStyle(n);var o=parseFloat(i.width),r=parseFloat(i.height);e.setDimensions("100%","100%");var l=e.getElement(e.container).querySelector("."+e.options.classPrefix+"poster>img");l&&(l.style.display="");for(var d=e.getElement(e.container).querySelectorAll("object, embed, iframe, video"),u=e.height,c=e.width,p=o,m=u*o/c,h=c*r/u,g=r,y=h>o==!1,E=y?Math.floor(p):Math.floor(h),b=y?Math.floor(m):Math.floor(g),S=y?o+"px":E+"px",x=y?b+"px":r+"px",w=0,P=d.length;w<P;w++)d[w].style.height=x,d[w].style.width=S,e.media.setSize&&e.media.setSize(S,x),d[w].style.marginLeft=Math.floor((o-E)/2)+"px",d[w].style.marginTop=0}},{key:"setDimensions",value:function(e,t){e=(0,p.isString)(e)&&e.indexOf("%")>-1?e:parseFloat(e)+"px",t=(0,p.isString)(t)&&t.indexOf("%")>-1?t:parseFloat(t)+"px",this.getElement(this.container).style.width=e,this.getElement(this.container).style.height=t;for(var n=this.getElement(this.layers).children,i=0,o=n.length;i<o;i++)n[i].style.width=e,n[i].style.height=t}},{key:"setControlsSize",value:function(){var e=this;if(v.visible(e.getElement(e.container)))if(e.rail&&v.visible(e.rail)){for(var t=e.total?getComputedStyle(e.total,null):null,n=t?parseFloat(t.marginLeft)+parseFloat(t.marginRight):0,i=getComputedStyle(e.rail),o=parseFloat(i.marginLeft)+parseFloat(i.marginRight),r=0,a=v.siblings(e.rail,function(t){return t!==e.rail}),s=a.length,l=0;l<s;l++)r+=a[l].offsetWidth;r+=n+(0===n?2*o:o)+1,e.getElement(e.container).style.minWidth=r+"px";var d=(0,p.createEvent)("controlsresize",e.getElement(e.container));e.getElement(e.container).dispatchEvent(d)}else{for(var u=e.getElement(e.controls).children,c=0,f=0,m=u.length;f<m;f++)c+=u[f].offsetWidth;e.getElement(e.container).style.minWidth=c+"px"}}},{key:"addControlElement",value:function(e,t){if(void 0!==this.featurePosition[t]){var n=this.getElement(this.controls).children[this.featurePosition[t]-1];n.parentNode.insertBefore(e,n.nextSibling)}else{this.getElement(this.controls).appendChild(e);for(var i=this.getElement(this.controls).children,o=0,r=i.length;o<r;o++)if(e===i[o]){this.featurePosition[t]=o;break}}}},{key:"createIframeLayer",value:function(){var e=this;if(e.isVideo&&null!==e.media.rendererName&&e.media.rendererName.indexOf("iframe")>-1&&!s.default.getElementById(e.media.id+"-iframe-overlay")){var t=s.default.createElement("div"),n=s.default.getElementById(e.media.id+"_"+e.media.rendererName);t.id=e.media.id+"-iframe-overlay",t.className=e.options.classPrefix+"iframe-overlay",t.addEventListener("click",function(t){e.options.clickToPlayPause&&(e.paused?e.play():e.pause(),t.preventDefault(),t.stopPropagation())}),n.parentNode.insertBefore(t,n)}}},{key:"resetSize",value:function(){var e=this;setTimeout(function(){e.setPlayerSize(e.width,e.height),e.setControlsSize()},50)}},{key:"setPoster",value:function(e){if(this.getElement(this.container)){var t=this.getElement(this.container).querySelector("."+this.options.classPrefix+"poster");t||((t=s.default.createElement("div")).className=this.options.classPrefix+"poster "+this.options.classPrefix+"layer",this.getElement(this.layers).appendChild(t));var n=t.querySelector("img");!n&&e&&((n=s.default.createElement("img")).className=this.options.classPrefix+"poster-img",n.width="100%",n.height="100%",t.style.display="",t.appendChild(n)),e?(n.setAttribute("src",e),t.style.backgroundImage='url("'+e+'")',t.style.display=""):n?(t.style.backgroundImage="none",t.style.display="none",n.remove()):t.style.display="none"}else(f.IS_IPAD&&this.options.iPadUseNativeControls||f.IS_IPHONE&&this.options.iPhoneUseNativeControls||f.IS_ANDROID&&this.options.AndroidUseNativeControls)&&(this.media.originalNode.poster=e)}},{key:"changeSkin",value:function(e){this.getElement(this.container).className=this.options.classPrefix+"container "+e,this.setPlayerSize(this.width,this.height),this.setControlsSize()}},{key:"globalBind",value:function(e,t){var n=this.node?this.node.ownerDocument:s.default;if((e=(0,p.splitEvents)(e,this.id)).d)for(var i=e.d.split(" "),o=0,r=i.length;o<r;o++)i[o].split(".").reduce(function(e,i){return n.addEventListener(i,t,!1),i},"");if(e.w)for(var l=e.w.split(" "),d=0,u=l.length;d<u;d++)l[d].split(".").reduce(function(e,n){return a.default.addEventListener(n,t,!1),n},"")}},{key:"globalUnbind",value:function(e,t){var n=this.node?this.node.ownerDocument:s.default;if((e=(0,p.splitEvents)(e,this.id)).d)for(var i=e.d.split(" "),o=0,r=i.length;o<r;o++)i[o].split(".").reduce(function(e,i){return n.removeEventListener(i,t,!1),i},"");if(e.w)for(var l=e.w.split(" "),d=0,u=l.length;d<u;d++)l[d].split(".").reduce(function(e,n){return a.default.removeEventListener(n,t,!1),n},"")}},{key:"buildfeatures",value:function(e,t,n,i){for(var o=0,r=this.options.features.length;o<r;o++){var a=this.options.features[o];if(this["build"+a])try{this["build"+a](e,t,n,i)}catch(e){console.error("error building "+a,e)}}}},{key:"buildposter",value:function(e,t,n,i){var o=s.default.createElement("div");o.className=this.options.classPrefix+"poster "+this.options.classPrefix+"layer",n.appendChild(o);var r=i.originalNode.getAttribute("poster");""!==e.options.poster&&(r&&f.IS_IOS&&i.originalNode.removeAttribute("poster"),r=e.options.poster),r?this.setPoster(r):null!==this.media.renderer&&"function"==typeof this.media.renderer.getPosterUrl?this.setPoster(this.media.renderer.getPosterUrl()):o.style.display="none",i.addEventListener("play",function(){o.style.display="none"}),i.addEventListener("playing",function(){o.style.display="none"}),e.options.showPosterWhenEnded&&e.options.autoRewind&&i.addEventListener("ended",function(){o.style.display=""}),i.addEventListener("error",function(){o.style.display="none"}),e.options.showPosterWhenPaused&&i.addEventListener("pause",function(){e.ended||(o.style.display="")})}},{key:"buildoverlays",value:function(e,t,n,i){if(e.isVideo){var o=this,r=s.default.createElement("div"),a=s.default.createElement("div"),l=s.default.createElement("div");r.style.display="none",r.className=o.options.classPrefix+"overlay "+o.options.classPrefix+"layer",r.innerHTML='<div class="'+o.options.classPrefix+'overlay-loading"><span class="'+o.options.classPrefix+'overlay-loading-bg-img"></span></div>',n.appendChild(r),a.style.display="none",a.className=o.options.classPrefix+"overlay "+o.options.classPrefix+"layer",a.innerHTML='<div class="'+o.options.classPrefix+'overlay-error"></div>',n.appendChild(a),l.className=o.options.classPrefix+"overlay "+o.options.classPrefix+"layer "+o.options.classPrefix+"overlay-play",l.innerHTML='<div class="'+o.options.classPrefix+'overlay-button" role="button" tabindex="0" aria-label="'+c.default.t("mejs.play")+'" aria-pressed="false"></div>',l.addEventListener("click",function(){if(o.options.clickToPlayPause){var e=o.getElement(o.container).querySelector("."+o.options.classPrefix+"overlay-button"),t=e.getAttribute("aria-pressed");o.paused?o.play():o.pause(),e.setAttribute("aria-pressed",!!t),o.getElement(o.container).focus()}}),l.addEventListener("keydown",function(e){var t=e.keyCode||e.which||0;if(13===t||f.IS_FIREFOX&&32===t){var n=(0,p.createEvent)("click",l);return l.dispatchEvent(n),!1}}),n.appendChild(l),null!==o.media.rendererName&&(/(youtube|facebook)/i.test(o.media.rendererName)&&!(o.media.originalNode.getAttribute("poster")||e.options.poster||"function"==typeof o.media.renderer.getPosterUrl&&o.media.renderer.getPosterUrl())||f.IS_STOCK_ANDROID||o.media.originalNode.getAttribute("autoplay"))&&(l.style.display="none");var d=!1;i.addEventListener("play",function(){l.style.display="none",r.style.display="none",a.style.display="none",d=!1}),i.addEventListener("playing",function(){l.style.display="none",r.style.display="none",a.style.display="none",d=!1}),i.addEventListener("seeking",function(){l.style.display="none",r.style.display="",d=!1}),i.addEventListener("seeked",function(){l.style.display=o.paused&&!f.IS_STOCK_ANDROID?"":"none",r.style.display="none",d=!1}),i.addEventListener("pause",function(){r.style.display="none",f.IS_STOCK_ANDROID||d||(l.style.display=""),d=!1}),i.addEventListener("waiting",function(){r.style.display="",d=!1}),i.addEventListener("loadeddata",function(){r.style.display="",f.IS_ANDROID&&(i.canplayTimeout=setTimeout(function(){if(s.default.createEvent){var e=s.default.createEvent("HTMLEvents");return e.initEvent("canplay",!0,!0),i.dispatchEvent(e)}},300)),d=!1}),i.addEventListener("canplay",function(){r.style.display="none",clearTimeout(i.canplayTimeout),d=!1}),i.addEventListener("error",function(e){o._handleError(e,o.media,o.node),r.style.display="none",l.style.display="none",d=!0}),i.addEventListener("loadedmetadata",function(){o.controlsEnabled||o.enableControls()}),i.addEventListener("keydown",function(t){o.onkeydown(e,i,t),d=!1})}}},{key:"buildkeyboard",value:function(e,t,n,i){var o=this;o.getElement(o.container).addEventListener("keydown",function(){o.keyboardAction=!0}),o.globalKeydownCallback=function(t){var n=s.default.activeElement.closest("."+o.options.classPrefix+"container"),r=o.media.closest("."+o.options.classPrefix+"container");return o.hasFocus=!(!n||!r||n.id!==r.id),o.onkeydown(e,i,t)},o.globalClickCallback=function(e){o.hasFocus=!!e.target.closest("."+o.options.classPrefix+"container")},o.globalBind("keydown",o.globalKeydownCallback),o.globalBind("click",o.globalClickCallback)}},{key:"onkeydown",value:function(e,t,n){if(e.hasFocus&&e.options.enableKeyboard)for(var i=0,o=e.options.keyActions.length;i<o;i++)for(var r=e.options.keyActions[i],a=0,s=r.keys.length;a<s;a++)if(n.keyCode===r.keys[a])return r.action(e,t,n.keyCode,n),n.preventDefault(),void n.stopPropagation();return!0}},{key:"play",value:function(){this.proxy.play()}},{key:"pause",value:function(){this.proxy.pause()}},{key:"load",value:function(){this.proxy.load()}},{key:"setCurrentTime",value:function(e){this.proxy.setCurrentTime(e)}},{key:"getCurrentTime",value:function(){return this.proxy.currentTime}},{key:"getDuration",value:function(){return this.proxy.duration}},{key:"setVolume",value:function(e){this.proxy.volume=e}},{key:"getVolume",value:function(){return this.proxy.getVolume()}},{key:"setMuted",value:function(e){this.proxy.setMuted(e)}},{key:"setSrc",value:function(e){this.controlsEnabled||this.enableControls(),this.proxy.setSrc(e)}},{key:"getSrc",value:function(){return this.proxy.getSrc()}},{key:"canPlayType",value:function(e){return this.proxy.canPlayType(e)}},{key:"remove",value:function(){var e=this,t=e.media.rendererName,n=e.media.originalNode.src;for(var i in e.options.features){var r=e.options.features[i];if(e["clean"+r])try{e["clean"+r](e,e.getElement(e.layers),e.getElement(e.controls),e.media)}catch(e){console.error("error cleaning "+r,e)}}var a=e.node.getAttribute("width"),d=e.node.getAttribute("height");if(a?-1===a.indexOf("%")&&(a+="px"):a="auto",d?-1===d.indexOf("%")&&(d+="px"):d="auto",e.node.style.width=a,e.node.style.height=d,e.setPlayerSize(0,0),e.isDynamic?e.getElement(e.container).parentNode.insertBefore(e.node,e.getElement(e.container)):function(){e.node.setAttribute("controls",!0),e.node.setAttribute("id",e.node.getAttribute("id").replace("_"+t,"").replace("_from_mejs",""));var i=e.getElement(e.container).querySelector("."+e.options.classPrefix+"poster>img");if(i&&e.node.setAttribute("poster",i.src),delete e.node.autoplay,""!==e.media.canPlayType((0,h.getTypeFromFile)(n))&&e.node.setAttribute("src",n),~t.indexOf("iframe")){s.default.getElementById(e.media.id+"-iframe-overlay").remove()}var o=e.node.cloneNode();if(o.style.display="",e.getElement(e.container).parentNode.insertBefore(o,e.getElement(e.container)),e.node.remove(),e.mediaFiles)for(var r=0,a=e.mediaFiles.length;r<a;r++){var l=s.default.createElement("source");l.setAttribute("src",e.mediaFiles[r].src),l.setAttribute("type",e.mediaFiles[r].type),o.appendChild(l)}if(e.trackFiles)for(var d=function(t,n){var i=e.trackFiles[t],r=s.default.createElement("track");r.kind=i.kind,r.label=i.label,r.srclang=i.srclang,r.src=i.src,o.appendChild(r),r.addEventListener("load",function(){this.mode="showing",o.textTracks[t].mode="showing"})},u=0,c=e.trackFiles.length;u<c;u++)d(u);delete e.node,delete e.mediaFiles,delete e.trackFiles}(),"function"==typeof e.media.renderer.destroy&&e.media.renderer.destroy(),delete l.default.players[e.id],"object"===o(e.getElement(e.container))){e.getElement(e.container).parentNode.querySelector("."+e.options.classPrefix+"offscreen").remove(),e.getElement(e.container).remove()}e.globalUnbind("resize",e.globalResizeCallback),e.globalUnbind("keydown",e.globalKeydownCallback),e.globalUnbind("click",e.globalClickCallback),delete e.media.player}},{key:"paused",get:function(){return this.proxy.paused}},{key:"muted",get:function(){return this.proxy.muted},set:function(e){this.setMuted(e)}},{key:"ended",get:function(){return this.proxy.ended}},{key:"readyState",get:function(){return this.proxy.readyState}},{key:"currentTime",set:function(e){this.setCurrentTime(e)},get:function(){return this.getCurrentTime()}},{key:"duration",get:function(){return this.getDuration()}},{key:"volume",set:function(e){this.setVolume(e)},get:function(){return this.getVolume()}},{key:"src",set:function(e){this.setSrc(e)},get:function(){return this.getSrc()}}]),e}();a.default.MediaElementPlayer=y,l.default.MediaElementPlayer=y,n.default=y},{17:17,2:2,25:25,26:26,27:27,28:28,3:3,30:30,5:5,6:6,7:7}],17:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),o=function(e){return e&&e.__esModule?e:{default:e}}(e(3)),r=function(){function e(t){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.media=t.media,this.isVideo=t.isVideo,this.classPrefix=t.options.classPrefix,this.createIframeLayer=function(){return t.createIframeLayer()},this.setPoster=function(e){return t.setPoster(e)},this}return i(e,[{key:"play",value:function(){this.media.play()}},{key:"pause",value:function(){this.media.pause()}},{key:"load",value:function(){this.isLoaded||this.media.load(),this.isLoaded=!0}},{key:"setCurrentTime",value:function(e){this.media.setCurrentTime(e)}},{key:"getCurrentTime",value:function(){return this.media.currentTime}},{key:"getDuration",value:function(){return this.media.getDuration()}},{key:"setVolume",value:function(e){this.media.setVolume(e)}},{key:"getVolume",value:function(){return this.media.getVolume()}},{key:"setMuted",value:function(e){this.media.setMuted(e)}},{key:"setSrc",value:function(e){var t=document.getElementById(this.media.id+"-iframe-overlay");t&&t.remove(),this.media.setSrc(e),this.createIframeLayer(),null!==this.media.renderer&&"function"==typeof this.media.renderer.getPosterUrl&&this.setPoster(this.media.renderer.getPosterUrl())}},{key:"getSrc",value:function(){return this.media.getSrc()}},{key:"canPlayType",value:function(e){return this.media.canPlayType(e)}},{key:"paused",get:function(){return this.media.paused}},{key:"muted",set:function(e){this.setMuted(e)},get:function(){return this.media.muted}},{key:"ended",get:function(){return this.media.ended}},{key:"readyState",get:function(){return this.media.readyState}},{key:"currentTime",set:function(e){this.setCurrentTime(e)},get:function(){return this.getCurrentTime()}},{key:"duration",get:function(){return this.getDuration()}},{key:"volume",set:function(e){this.setVolume(e)},get:function(){return this.getVolume()}},{key:"src",set:function(e){this.setSrc(e)},get:function(){return this.getSrc()}}]),e}();n.default=r,o.default.DefaultPlayer=r},{3:3}],18:[function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}var o=i(e(3)),r=i(e(7)),a=i(e(16));"undefined"!=typeof jQuery?r.default.$=o.default.jQuery=o.default.$=jQuery:"undefined"!=typeof Zepto?r.default.$=o.default.Zepto=o.default.$=Zepto:"undefined"!=typeof ender&&(r.default.$=o.default.ender=o.default.$=ender),function(e){void 0!==e&&(e.fn.mediaelementplayer=function(t){return!1===t?this.each(function(){var t=e(this).data("mediaelementplayer");t&&t.remove(),e(this).removeData("mediaelementplayer")}):this.each(function(){e(this).data("mediaelementplayer",new a.default(this,t))}),this},e(document).ready(function(){e("."+r.default.MepDefaults.classPrefix+"player").mediaelementplayer()}))}(r.default.$)},{16:16,3:3,7:7}],19:[function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r=i(e(3)),a=i(e(7)),s=e(8),l=e(27),d=e(28),u=e(25),c=e(26),f={promise:null,load:function(e){return"undefined"!=typeof dashjs?f.promise=new Promise(function(e){e()}).then(function(){f._createPlayer(e)}):(e.options.path="string"==typeof e.options.path?e.options.path:"https://cdn.dashjs.org/latest/dash.all.min.js",f.promise=f.promise||(0,c.loadScript)(e.options.path),f.promise.then(function(){f._createPlayer(e)})),f.promise},_createPlayer:function(e){var t=dashjs.MediaPlayer().create();return r.default["__ready__"+e.id](t),t}},p={name:"native_dash",options:{prefix:"native_dash",dash:{path:"https://cdn.dashjs.org/latest/dash.all.min.js",debug:!1,drm:{},robustnessLevel:""}},canPlayType:function(e){return u.HAS_MSE&&["application/dash+xml"].indexOf(e.toLowerCase())>-1},create:function(e,t,n){var i=e.originalNode,d=e.id+"_"+t.prefix,u=i.autoplay,c=i.children,p=null,m=null;i.removeAttribute("type");for(var h=0,v=c.length;h<v;h++)c[h].removeAttribute("type");p=i.cloneNode(!0),t=Object.assign(t,e.options);for(var g=a.default.html5media.properties,y=a.default.html5media.events.concat(["click","mouseover","mouseout"]).filter(function(e){return"error"!==e}),E=function(t){var n=(0,l.createEvent)(t.type,e);e.dispatchEvent(n)},b=function(e){var n=""+e.substring(0,1).toUpperCase()+e.substring(1);p["get"+n]=function(){return null!==m?p[e]:null},p["set"+n]=function(n){if(-1===a.default.html5media.readOnlyProperties.indexOf(e))if("src"===e){var i="object"===(void 0===n?"undefined":o(n))&&n.src?n.src:n;if(p[e]=i,null!==m){m.reset();for(var r=0,s=y.length;r<s;r++)p.removeEventListener(y[r],E);m=f._createPlayer({options:t.dash,id:d}),n&&"object"===(void 0===n?"undefined":o(n))&&"object"===o(n.drm)&&(m.setProtectionData(n.drm),(0,l.isString)(t.dash.robustnessLevel)&&t.dash.robustnessLevel&&m.getProtectionController().setRobustnessLevel(t.dash.robustnessLevel)),m.attachSource(i),u&&m.play()}}else p[e]=n}},S=0,x=g.length;S<x;S++)b(g[S]);if(r.default["__ready__"+d]=function(n){e.dashPlayer=m=n;for(var i=dashjs.MediaPlayer.events,r=function(e){"loadedmetadata"===e&&(m.getDebug().setLogToBrowserConsole(t.dash.debug),m.initialize(),m.setScheduleWhilePaused(!1),m.setFastSwitchEnabled(!0),m.attachView(p),m.setAutoPlay(!1),"object"!==o(t.dash.drm)||a.default.Utils.isObjectEmpty(t.dash.drm)||(m.setProtectionData(t.dash.drm),(0,l.isString)(t.dash.robustnessLevel)&&t.dash.robustnessLevel&&m.getProtectionController().setRobustnessLevel(t.dash.robustnessLevel)),m.attachSource(p.getSrc())),p.addEventListener(e,E)},s=0,d=y.length;s<d;s++)r(y[s]);var u=function(t){if("error"===t.type.toLowerCase())e.generateError(t.message,p.src),console.error(t);else{var n=(0,l.createEvent)(t.type,e);n.data=t,e.dispatchEvent(n)}};for(var c in i)i.hasOwnProperty(c)&&m.on(i[c],function(e){return u(e)})},n&&n.length>0)for(var w=0,P=n.length;w<P;w++)if(s.renderer.renderers[t.prefix].canPlayType(n[w].type)){p.setAttribute("src",n[w].src),void 0!==n[w].drm&&(t.dash.drm=n[w].drm);break}p.setAttribute("id",d),i.parentNode.insertBefore(p,i),i.autoplay=!1,i.style.display="none",p.setSize=function(e,t){return p.style.width=e+"px",p.style.height=t+"px",p},p.hide=function(){return p.pause(),p.style.display="none",p},p.show=function(){return p.style.display="",p},p.destroy=function(){null!==m&&m.reset()};var T=(0,l.createEvent)("rendererready",p);return e.dispatchEvent(T),e.promises.push(f.load({options:t.dash,id:d})),p}};d.typeChecks.push(function(e){return~e.toLowerCase().indexOf(".mpd")?"application/dash+xml":null}),s.renderer.add(p)},{25:25,26:26,27:27,28:28,3:3,7:7,8:8}],20:[function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.PluginDetector=void 0;var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r=i(e(3)),a=i(e(2)),s=i(e(7)),l=i(e(5)),d=e(8),u=e(27),c=e(25),f=e(28),p=n.PluginDetector={plugins:[],hasPluginVersion:function(e,t){var n=p.plugins[e];return t[1]=t[1]||0,t[2]=t[2]||0,n[0]>t[0]||n[0]===t[0]&&n[1]>t[1]||n[0]===t[0]&&n[1]===t[1]&&n[2]>=t[2]},addPlugin:function(e,t,n,i,o){p.plugins[e]=p.detectPlugin(t,n,i,o)},detectPlugin:function(e,t,n,i){var a=[0,0,0],s=void 0,l=void 0;if(null!==c.NAV.plugins&&void 0!==c.NAV.plugins&&"object"===o(c.NAV.plugins[e])){if((s=c.NAV.plugins[e].description)&&(void 0===c.NAV.mimeTypes||!c.NAV.mimeTypes[t]||c.NAV.mimeTypes[t].enabledPlugin))for(var d=0,u=(a=s.replace(e,"").replace(/^\s+/,"").replace(/\sr/gi,".").split(".")).length;d<u;d++)a[d]=parseInt(a[d].match(/\d+/),10)}else if(void 0!==r.default.ActiveXObject)try{(l=new ActiveXObject(n))&&(a=i(l))}catch(e){}return a}};p.addPlugin("flash","Shockwave Flash","application/x-shockwave-flash","ShockwaveFlash.ShockwaveFlash",function(e){var t=[],n=e.GetVariable("$version");return n&&(n=n.split(" ")[1].split(","),t=[parseInt(n[0],10),parseInt(n[1],10),parseInt(n[2],10)]),t});var m=function(e,t,n){var i={},o=!1;i.options=t,i.id=e.id+"_"+i.options.prefix,i.mediaElement=e,i.flashState={},i.flashApi=null,i.flashApiStack=[];for(var p=s.default.html5media.properties,m=function(e){i.flashState[e]=null;var t=""+e.substring(0,1).toUpperCase()+e.substring(1);i["get"+t]=function(){if(null!==i.flashApi){if("function"==typeof i.flashApi["get_"+e]){var t=i.flashApi["get_"+e]();return"buffered"===e?{start:function(){return 0},end:function(){return t},length:1}:t}return null}return null},i["set"+t]=function(t){if("src"===e&&(t=(0,f.absolutizeUrl)(t)),null!==i.flashApi&&void 0!==i.flashApi["set_"+e])try{i.flashApi["set_"+e](t)}catch(e){}else i.flashApiStack.push({type:"set",propName:e,value:t})}},h=0,v=p.length;h<v;h++)m(p[h]);var g=s.default.html5media.methods,y=function(e){i[e]=function(){if(o)if(null!==i.flashApi){if(i.flashApi["fire_"+e])try{i.flashApi["fire_"+e]()}catch(e){}}else i.flashApiStack.push({type:"call",methodName:e})}};g.push("stop");for(var E=0,b=g.length;E<b;E++)y(g[E]);for(var S=["rendererready"],x=0,w=S.length;x<w;x++){var P=(0,u.createEvent)(S[x],i);e.dispatchEvent(P)}r.default["__ready__"+i.id]=function(){if(i.flashReady=!0,i.flashApi=a.default.getElementById("__"+i.id),i.flashApiStack.length)for(var e=0,t=i.flashApiStack.length;e<t;e++){var n=i.flashApiStack[e];if("set"===n.type){var o=n.propName,r=""+o.substring(0,1).toUpperCase()+o.substring(1);i["set"+r](n.value)}else"call"===n.type&&i[n.methodName]()}},r.default["__event__"+i.id]=function(e,t){var n=(0,u.createEvent)(e,i);if(t)try{n.data=JSON.parse(t),n.details.data=JSON.parse(t)}catch(e){n.message=t}i.mediaElement.dispatchEvent(n)},i.flashWrapper=a.default.createElement("div"),-1===["always","sameDomain"].indexOf(i.options.shimScriptAccess)&&(i.options.shimScriptAccess="sameDomain");var T=e.originalNode.autoplay,C=["uid="+i.id,"autoplay="+T,"allowScriptAccess="+i.options.shimScriptAccess,"preload="+(e.originalNode.getAttribute("preload")||"")],k=null!==e.originalNode&&"video"===e.originalNode.tagName.toLowerCase(),_=k?e.originalNode.height:1,N=k?e.originalNode.width:1;e.originalNode.getAttribute("src")&&C.push("src="+e.originalNode.getAttribute("src")),!0===i.options.enablePseudoStreaming&&(C.push("pseudostreamstart="+i.options.pseudoStreamingStartQueryParam),C.push("pseudostreamtype="+i.options.pseudoStreamingType)),i.options.streamDelimiter&&C.push("streamdelimiter="+encodeURIComponent(i.options.streamDelimiter)),i.options.proxyType&&C.push("proxytype="+i.options.proxyType),e.appendChild(i.flashWrapper),e.originalNode.style.display="none";var A=[];if(c.IS_IE||c.IS_EDGE){var L=a.default.createElement("div");i.flashWrapper.appendChild(L),A=c.IS_EDGE?['type="application/x-shockwave-flash"','data="'+i.options.pluginPath+i.options.filename+'"','id="__'+i.id+'"','width="'+N+'"','height="'+_+"'\""]:['classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"','codebase="//download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab"','id="__'+i.id+'"','width="'+N+'"','height="'+_+'"'],k||A.push('style="clip: rect(0 0 0 0); position: absolute;"'),L.outerHTML="<object "+A.join(" ")+'><param name="movie" value="'+i.options.pluginPath+i.options.filename+"?x="+new Date+'" /><param name="flashvars" value="'+C.join("&amp;")+'" /><param name="quality" value="high" /><param name="bgcolor" value="#000000" /><param name="wmode" value="transparent" /><param name="allowScriptAccess" value="'+i.options.shimScriptAccess+'" /><param name="allowFullScreen" value="true" /><div>'+l.default.t("mejs.install-flash")+"</div>