Changeset 3826337
- Timestamp:
- 11/26/2026 10:02:49 AM (less than one hour ago)
- Location:
- all-in-one-video-gallery/trunk
- Files:
-
- 9 edited
-
README.txt (modified) (3 diffs)
-
admin/videos.php (modified) (3 diffs)
-
all-in-one-video-gallery.php (modified) (2 diffs)
-
includes/helpers/functions.php (modified) (3 diffs)
-
languages/all-in-one-video-gallery.pot (modified) (132 diffs)
-
public/assets/js/vidstack.js (modified) (1 diff)
-
public/assets/js/vidstack.min.js (modified) (1 diff)
-
public/templates/player-vidstack.php (modified) (1 diff)
-
public/video.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
all-in-one-video-gallery/trunk/README.txt
r3804420 r3826337 5 5 Tags: video gallery, video player, youtube, vimeo, html5 video 6 6 Requires at least: 6.3 7 Tested up to: 7. 17 Tested up to: 7.2 8 8 Requires PHP: 7.4 9 Stable tag: 5.2. 09 Stable tag: 5.2.1 10 10 License: GPLv2 or later 11 11 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 230 230 == Changelog == 231 231 232 = 5.2.1 = 233 234 * Security Fix: "Authenticated (Subscriber+) Stored Cross-Site Scripting via 'embedcode' Video Metabox Field" issue that was discovered by [Jacek Sowiński (dzaku)](https://www.wordfence.com/threat-intel/vulnerabilities/researchers/id/7842), and reported responsibly to us by [Wordfence](https://www.wordfence.com/). 235 * Security Fix: "Authenticated (Subscriber+) Stored Cross-Site Scripting via 'content' Shortcode" issue that was discovered by [UKO - Korea univ.](https://www.wordfence.com/threat-intel/vulnerabilities/researchers/id/6017), and reported responsibly to us by [Wordfence](https://www.wordfence.com/). 236 * Tweak: Premium - Automations now accept YouTube handle URLs (youtube.com/@name) and show "No new videos found" when a run finds nothing new. 237 * Fix: Premium - Automations: a new upload no longer ends a first import early, and other import issues are fixed, including duplicate or missed Vimeo videos, the "Exclude URLs" list, and runs that time out. 238 * Fix: Various performance and security improvements. 239 232 240 = 5.2.0 = 233 241 … … 365 373 == Upgrade Notice == 366 374 367 = 5.2. 0=368 369 Security, performance and code quality improvements. After updating, we recommend clearing your site and CDN caches so your visitors get the latest files. [See changelog](https://wordpress.org/plugins/all-in-one-video-gallery/#developers)375 = 5.2.1 = 376 377 Fixes two security issues, one of them in the free plugin, and an Automations bug where a new upload could end a channel's first import early. Recommended for all users. [See changelog](https://wordpress.org/plugins/all-in-one-video-gallery/#developers) -
all-in-one-video-gallery/trunk/admin/videos.php
r3804420 r3826337 404 404 405 405 $type = isset( $_POST['type'] ) ? sanitize_text_field( wp_unslash( $_POST['type'] ) ) : 'default'; 406 407 // Same rule as the form, which offers this type only to these users 408 $can_use_embedcode = current_user_can( 'unfiltered_html' ); 409 if ( 'embedcode' === $type && ! $can_use_embedcode ) { 410 $type = 'default'; 411 } 412 406 413 update_post_meta( $post_id, 'type', $type ); 407 414 … … 489 496 update_post_meta( $post_id, 'facebook', $facebook ); 490 497 491 $embedcode = isset( $_POST['embedcode'] ) ? trim( wp_unslash( $_POST['embedcode'] ) ) : ''; // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- Sanitized by aiovg_sanitize_embedcode() below. 492 493 if ( $embedcode && filter_var( $embedcode, FILTER_VALIDATE_URL ) ) { 494 $parsed = wp_parse_url( $embedcode ); 495 496 // Allow only http / https URLs 497 if ( isset( $parsed['scheme'] ) && in_array( $parsed['scheme'], array( 'http', 'https' ) ) ) { 498 $embedcode = sprintf( 499 '<iframe src="%s" width="560" height="315" frameborder="0" scrolling="no" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>', 500 esc_url( $embedcode ) 501 ); 502 } 503 } 504 505 $embedcode = aiovg_sanitize_embedcode( $embedcode ); 506 update_post_meta( $post_id, 'embedcode', $embedcode ); 498 $embedcode = ''; 499 500 // Others leave the stored code untouched 501 if ( $can_use_embedcode ) { 502 $embedcode = isset( $_POST['embedcode'] ) ? trim( wp_unslash( $_POST['embedcode'] ) ) : ''; // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- Sanitized by aiovg_sanitize_embedcode() below. 503 504 if ( $embedcode && filter_var( $embedcode, FILTER_VALIDATE_URL ) ) { 505 $parsed = wp_parse_url( $embedcode ); 506 507 // Allow only http / https URLs 508 if ( isset( $parsed['scheme'] ) && in_array( $parsed['scheme'], array( 'http', 'https' ) ) ) { 509 $embedcode = sprintf( 510 '<iframe src="%s" width="560" height="315" frameborder="0" scrolling="no" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>', 511 esc_url( $embedcode ) 512 ); 513 } 514 } 515 516 $embedcode = aiovg_sanitize_embedcode( $embedcode ); 517 update_post_meta( $post_id, 'embedcode', $embedcode ); 518 } 507 519 508 520 $duration = ''; … … 686 698 // OK to save meta data 687 699 $trailer_type = isset( $_POST['trailer_type'] ) ? sanitize_text_field( wp_unslash( $_POST['trailer_type'] ) ) : ''; 700 701 // Same rule as the form, which offers this type only to these users 702 if ( 'embedcode' === $trailer_type && ! current_user_can( 'unfiltered_html' ) ) { 703 $trailer_type = ''; 704 } 705 688 706 update_post_meta( $post_id, 'trailer_type', $trailer_type ); 689 707 -
all-in-one-video-gallery/trunk/all-in-one-video-gallery.php
r3804420 r3826337 4 4 * The plugin bootstrap file. 5 5 * 6 * @link https://plugins360.com7 * @since 1.0.08 * @package All_In_One_Video_Gallery6 * @link https://plugins360.com 7 * @since 1.0.0 8 * @package All_In_One_Video_Gallery 9 9 * 10 10 * @wordpress-plugin 11 * Plugin Name: All-in-One Video Gallery12 * Plugin URI: https://plugins360.com/all-in-one-video-gallery/13 * Description: An ultimate video player and video gallery plugin – no coding required. Suitable for YouTubers, Video Bloggers, Course Creators, Podcasters, Sales & Marketing Professionals, and anyone using video on a website.14 * Version: 5.2.011 * Plugin Name: All-in-One Video Gallery 12 * Plugin URI: https://plugins360.com/all-in-one-video-gallery/ 13 * Description: An ultimate video player and video gallery plugin – no coding required. Suitable for YouTubers, Video Bloggers, Course Creators, Podcasters, Sales & Marketing Professionals, and anyone using video on a website. 14 * Version: 5.2.1 15 15 * Requires at least: 6.3 16 * Requires PHP: 7.417 * Author: Team Plugins36018 * Author URI: https://plugins360.com19 * License: GPL-2.0+20 * License URI: http://www.gnu.org/licenses/gpl-2.0.txt21 * Text Domain: all-in-one-video-gallery22 * Domain Path: /languages16 * Requires PHP: 7.4 17 * Author: Team Plugins360 18 * Author URI: https://plugins360.com 19 * License: GPL-2.0+ 20 * License URI: http://www.gnu.org/licenses/gpl-2.0.txt 21 * Text Domain: all-in-one-video-gallery 22 * Domain Path: /languages 23 23 * 24 24 */ … … 73 73 // The current version of the plugin 74 74 if ( !defined( 'AIOVG_PLUGIN_VERSION' ) ) { 75 define( 'AIOVG_PLUGIN_VERSION', '5.2. 0' );75 define( 'AIOVG_PLUGIN_VERSION', '5.2.1' ); 76 76 } 77 77 // The unique identifier of the plugin -
all-in-one-video-gallery/trunk/includes/helpers/functions.php
r3804420 r3826337 868 868 */ 869 869 function aiovg_get_default_settings() { 870 static $defaults = null; 871 872 if ( null !== $defaults ) { 873 return $defaults; 870 static $cached = null; 871 static $is_building = false; 872 873 if ( null !== $cached ) { 874 return $cached; 874 875 } 875 876 … … 884 885 break; 885 886 } 886 } 887 888 $defaults = array( 887 } 888 889 // Creating the pages runs queries whose hooks may read our settings and call back in here. 890 // Those nested calls get no pages rather than creating them again, and are not cached (5.2.1) 891 $is_nested = $is_building; 892 893 if ( $is_nested ) { 894 $page_settings = array(); 895 } else { 896 $is_building = true; 897 $page_settings = aiovg_insert_custom_pages(); 898 $is_building = false; 899 } 900 901 $defaults = array( 889 902 'aiovg_player_settings' => array( 890 903 'player' => 'videojs', … … 1080 1093 'token_expiry' => 3600 1081 1094 ), 1082 'aiovg_page_settings' => aiovg_insert_custom_pages()1095 'aiovg_page_settings' => $page_settings 1083 1096 ); 1084 1085 return $defaults; 1097 1098 if ( ! $is_nested ) { 1099 $cached = $defaults; 1100 } 1101 1102 return $defaults; 1086 1103 } 1087 1104 -
all-in-one-video-gallery/trunk/languages/all-in-one-video-gallery.pot
r3804420 r3826337 2 2 msgstr "" 3 3 "Project-Id-Version: All-in-One Video Gallery\n" 4 "POT-Creation-Date: 2026-11- 10 20:14+0530\n"5 "PO-Revision-Date: 2026-11- 10 20:14+0530\n"4 "POT-Creation-Date: 2026-11-26 10:54+0530\n" 5 "PO-Revision-Date: 2026-11-26 10:54+0530\n" 6 6 "Last-Translator: \n" 7 7 "Language-Team: \n" … … 18 18 "X-Poedit-SearchPath-0: .\n" 19 19 20 #: admin/admin.php:267 public/video.php:60 220 #: admin/admin.php:267 public/video.php:601 21 21 msgid "You may also like" 22 22 msgstr "" … … 26 26 msgstr "" 27 27 28 #: admin/admin.php:503 admin/videos.php:77 includes/helpers/functions.php:18 1428 #: admin/admin.php:503 admin/videos.php:77 includes/helpers/functions.php:1831 29 29 #: widgets/videos.php:540 30 30 msgid "Video Gallery" … … 107 107 108 108 #: admin/admin.php:918 admin/settings.php:1204 109 #: includes/helpers/functions.php:10 41includes/player/base.php:744109 #: includes/helpers/functions.php:1054 includes/player/base.php:744 110 110 #: public/templates/player-videojs.php:547 111 111 #: public/templates/player-vidstack.php:584 … … 173 173 174 174 #: admin/admin.php:1002 blocks/blocks.php:108 175 #: includes/helpers/functions.php:23 57widgets/forms/search.php:89175 #: includes/helpers/functions.php:2374 widgets/forms/search.php:89 176 176 msgid "Search Results Page" 177 177 msgstr "" … … 218 218 219 219 #: admin/categories.php:33 admin/categories.php:66 admin/import-export.php:2659 220 #: admin/partials/import-export.php:149 admin/videos.php:8 53220 #: admin/partials/import-export.php:149 admin/videos.php:871 221 221 #: premium/admin/partials/automations-video-options.php:66 222 222 #: widgets/categories.php:54 … … 224 224 msgstr "" 225 225 226 #: admin/categories.php:67 admin/videos.php:10 48226 #: admin/categories.php:67 admin/videos.php:1066 227 227 #: premium/admin/automations.php:228 public/videos.php:99 228 228 msgid "All Categories" … … 277 277 msgstr "" 278 278 279 #: admin/categories.php:80 includes/helpers/functions.php:13 21279 #: admin/categories.php:80 includes/helpers/functions.php:1338 280 280 msgid "No categories found" 281 281 msgstr "" … … 294 294 295 295 #: admin/categories.php:175 admin/settings.php:907 admin/tags.php:125 296 #: admin/videos.php:12 05blocks/blocks.php:82297 #: includes/helpers/functions.php:22 38widgets/forms/categories.php:81296 #: admin/videos.php:1223 blocks/blocks.php:82 297 #: includes/helpers/functions.php:2255 widgets/forms/categories.php:81 298 298 msgid "ID" 299 299 msgstr "" … … 530 530 msgstr "" 531 531 532 #: admin/import-export.php:2654 admin/settings.php:842 admin/videos.php:8 14533 #: includes/helpers/email-capture.php:120 includes/helpers/functions.php:19 62532 #: admin/import-export.php:2654 admin/settings.php:842 admin/videos.php:832 533 #: includes/helpers/email-capture.php:120 includes/helpers/functions.php:1979 534 534 #: premium/admin/partials/automations-video-options.php:26 535 535 #: premium/admin/slider.php:61 premium/public/slider.php:81 … … 544 544 545 545 #: admin/import-export.php:2656 admin/partials/video-image.php:39 546 #: admin/videos.php:8 42blocks/blocks.php:124546 #: admin/videos.php:860 blocks/blocks.php:124 547 547 msgid "Poster Image" 548 548 msgstr "" 549 549 550 #: admin/import-export.php:2657 admin/videos.php:113 admin/videos.php:8 21550 #: admin/import-export.php:2657 admin/videos.php:113 admin/videos.php:839 551 551 #: premium/admin/partials/automations-video-options.php:38 552 552 #: premium/admin/slider.php:62 premium/public/slider.php:89 … … 560 560 561 561 #: admin/import-export.php:2660 admin/partials/import-export.php:172 562 #: admin/tags.php:33 admin/tags.php:75 admin/videos.php:8 60562 #: admin/tags.php:33 admin/tags.php:75 admin/videos.php:878 563 563 #: premium/admin/partials/automations-video-options.php:88 564 564 msgid "Video Tags" … … 566 566 567 567 #: admin/import-export.php:2661 admin/partials/video-metabox.php:38 568 #: admin/settings.php:426 includes/helpers/functions.php:17 41568 #: admin/settings.php:426 includes/helpers/functions.php:1758 569 569 #: widgets/forms/video.php:147 570 570 msgid "Subtitles" … … 572 572 573 573 #: admin/import-export.php:2662 admin/partials/video-metabox.php:44 574 #: admin/settings.php:427 includes/helpers/functions.php:17 48574 #: admin/settings.php:427 includes/helpers/functions.php:1765 575 575 #: widgets/forms/video.php:154 576 576 msgid "Chapters" … … 578 578 579 579 #: admin/import-export.php:2663 admin/partials/video-additional-info.php:25 580 #: admin/settings.php:851 includes/helpers/functions.php:20 25580 #: admin/settings.php:851 includes/helpers/functions.php:2042 581 581 msgid "Video Duration" 582 582 msgstr "" … … 584 584 #: admin/import-export.php:2664 admin/partials/video-additional-info.php:30 585 585 #: admin/settings.php:805 admin/settings.php:847 admin/settings.php:992 586 #: admin/settings.php:1046 includes/helpers/functions.php:18 70587 #: includes/helpers/functions.php: 1997586 #: admin/settings.php:1046 includes/helpers/functions.php:1887 587 #: includes/helpers/functions.php:2014 588 588 #: premium/admin/partials/automations-sources.php:194 589 589 msgid "Views Count" … … 592 592 #: admin/import-export.php:2665 admin/partials/video-additional-info.php:35 593 593 #: admin/settings.php:806 admin/settings.php:848 admin/settings.php:1047 594 #: includes/helpers/functions.php:18 71 includes/helpers/functions.php:2004594 #: includes/helpers/functions.php:1888 includes/helpers/functions.php:2021 595 595 msgid "Likes Count" 596 596 msgstr "" … … 598 598 #: admin/import-export.php:2666 admin/partials/video-additional-info.php:40 599 599 #: admin/settings.php:807 admin/settings.php:849 admin/settings.php:1048 600 #: includes/helpers/functions.php:18 72 includes/helpers/functions.php:2011600 #: includes/helpers/functions.php:1889 includes/helpers/functions.php:2028 601 601 msgid "Dislikes Count" 602 602 msgstr "" … … 607 607 608 608 #: admin/import-export.php:2668 admin/partials/video-submitbox.php:23 609 #: admin/videos.php:12 79609 #: admin/videos.php:1297 610 610 msgid "Featured" 611 611 msgstr "" … … 613 613 #: admin/import-export.php:2669 admin/partials/import-export.php:232 614 614 #: admin/partials/video-metabox.php:52 admin/settings.php:183 615 #: blocks/blocks.php:141 includes/helpers/functions.php:23 77616 #: premium/admin/partials/automations-video-options.php:19 4615 #: blocks/blocks.php:141 includes/helpers/functions.php:2394 616 #: premium/admin/partials/automations-video-options.php:196 617 617 #: widgets/forms/video.php:217 618 618 msgid "Email & Lead Capture" … … 625 625 #: admin/import-export.php:2671 admin/partials/import-export.php:263 626 626 #: admin/partials/video-restrictions.php:23 admin/settings.php:1110 627 #: premium/admin/partials/automations-video-options.php:2 28627 #: premium/admin/partials/automations-video-options.php:230 628 628 msgid "Access Control" 629 629 msgstr "" … … 631 631 #: admin/import-export.php:2672 admin/partials/import-export.php:293 632 632 #: admin/partials/video-restrictions.php:51 admin/settings.php:1122 633 #: premium/admin/partials/automations-video-options.php:26 1633 #: premium/admin/partials/automations-video-options.php:263 634 634 msgid "Allowed User Roles" 635 635 msgstr "" … … 640 640 641 641 #: admin/import-export.php:2674 642 #: premium/admin/partials/automations-video-options.php:16 5642 #: premium/admin/partials/automations-video-options.php:167 643 643 msgid "Video Status" 644 644 msgstr "" 645 645 646 646 #: admin/import-export.php:2675 647 #: premium/admin/partials/automations-video-options.php:14 6647 #: premium/admin/partials/automations-video-options.php:148 648 648 msgid "Video Author" 649 649 msgstr "" … … 654 654 655 655 #: admin/partials/category-fields.php:20 admin/partials/category-fields.php:47 656 #: includes/helpers/functions.php:16 66656 #: includes/helpers/functions.php:1683 657 657 msgid "Image" 658 658 msgstr "" … … 843 843 844 844 #: admin/partials/import-export.php:188 845 #: premium/admin/partials/automations-video-options.php:11 3845 #: premium/admin/partials/automations-video-options.php:115 846 846 msgid "Assign tags to the imported videos." 847 847 msgstr "" … … 877 877 #: admin/partials/import-export.php:238 878 878 #: admin/partials/video-email-capture.php:32 blocks/blocks.php:146 879 #: includes/helpers/functions.php:2 385880 #: premium/admin/partials/automations-video-options.php:20 0879 #: includes/helpers/functions.php:2402 880 #: premium/admin/partials/automations-video-options.php:202 881 881 #: widgets/forms/video.php:226 882 882 msgid "Default" … … 885 885 #: admin/partials/import-export.php:239 886 886 #: admin/partials/video-email-capture.php:33 blocks/blocks.php:147 887 #: includes/helpers/functions.php:2 386888 #: premium/admin/partials/automations-video-options.php:20 1887 #: includes/helpers/functions.php:2403 888 #: premium/admin/partials/automations-video-options.php:203 889 889 #: widgets/forms/video.php:227 890 890 msgid "Enable" … … 893 893 #: admin/partials/import-export.php:240 894 894 #: admin/partials/video-email-capture.php:34 blocks/blocks.php:148 895 #: includes/helpers/functions.php:2 387896 #: premium/admin/partials/automations-video-options.php:20 2895 #: includes/helpers/functions.php:2404 896 #: premium/admin/partials/automations-video-options.php:204 897 897 #: widgets/forms/video.php:228 898 898 msgid "Disable" … … 900 900 901 901 #: admin/partials/import-export.php:254 902 #: premium/admin/partials/automations-video-options.php:21 7902 #: premium/admin/partials/automations-video-options.php:219 903 903 msgid "Show an email collection form on the imported videos to capture leads." 904 904 msgstr "" … … 906 906 #: admin/partials/import-export.php:269 907 907 #: admin/partials/video-restrictions.php:28 908 #: premium/admin/partials/automations-video-options.php:23 4908 #: premium/admin/partials/automations-video-options.php:236 909 909 msgid "Global" 910 910 msgstr "" … … 912 912 #: admin/partials/import-export.php:270 913 913 #: admin/partials/video-restrictions.php:29 admin/settings.php:1114 914 #: premium/admin/partials/automations-video-options.php:23 5914 #: premium/admin/partials/automations-video-options.php:237 915 915 msgid "Everyone" 916 916 msgstr "" … … 918 918 #: admin/partials/import-export.php:271 919 919 #: admin/partials/video-restrictions.php:30 admin/settings.php:1115 920 #: premium/admin/partials/automations-video-options.php:23 6920 #: premium/admin/partials/automations-video-options.php:238 921 921 msgid "Logged out users" 922 922 msgstr "" … … 924 924 #: admin/partials/import-export.php:272 925 925 #: admin/partials/video-restrictions.php:31 admin/settings.php:1116 926 #: premium/admin/partials/automations-video-options.php:23 7926 #: premium/admin/partials/automations-video-options.php:239 927 927 msgid "Logged in users" 928 928 msgstr "" 929 929 930 930 #: admin/partials/import-export.php:286 931 #: premium/admin/partials/automations-video-options.php:25 2931 #: premium/admin/partials/automations-video-options.php:254 932 932 msgid "Select who can access the imported videos." 933 933 msgstr "" … … 935 935 #: admin/partials/import-export.php:311 936 936 #: admin/partials/video-restrictions.php:68 937 #: premium/admin/partials/automations-video-options.php:2 79937 #: premium/admin/partials/automations-video-options.php:281 938 938 msgid "" 939 939 "If no roles are selected, the global setting will be used. Users with " … … 1174 1174 1175 1175 #: admin/partials/shortcode-builder.php:163 blocks/blocks.php:74 1176 #: includes/helpers/functions.php:2 185widgets/forms/categories.php:481176 #: includes/helpers/functions.php:2202 widgets/forms/categories.php:48 1177 1177 #: widgets/forms/categories.php:51 1178 1178 msgid "Select Parent" … … 1412 1412 1413 1413 #: admin/partials/video-email-capture.php:27 admin/settings.php:486 1414 #: admin/videos.php:13 03blocks/blocks.php:1421415 #: includes/helpers/functions.php:23 81widgets/forms/video.php:2221414 #: admin/videos.php:1321 blocks/blocks.php:142 1415 #: includes/helpers/functions.php:2398 widgets/forms/video.php:222 1416 1416 msgid "Email Capture" 1417 1417 msgstr "" … … 1486 1486 1487 1487 #: admin/partials/video-metabox.php:32 admin/settings.php:223 1488 #: blocks/blocks.php:116 includes/helpers/functions.php:1 5871489 #: includes/helpers/functions.php:18 17 includes/helpers/functions.php:21621490 #: includes/helpers/functions.php:23 001488 #: blocks/blocks.php:116 includes/helpers/functions.php:1604 1489 #: includes/helpers/functions.php:1834 includes/helpers/functions.php:2179 1490 #: includes/helpers/functions.php:2317 1491 1491 msgid "General" 1492 1492 msgstr "" … … 1501 1501 1502 1502 #: admin/partials/video-metabox.php:82 admin/partials/video-trailer.php:30 1503 #: admin/videos.php:8 28 includes/helpers/functions.php:15981503 #: admin/videos.php:846 includes/helpers/functions.php:1615 1504 1504 #: premium/admin/automations.php:986 1505 1505 #: premium/admin/partials/automations-sources.php:57 … … 1563 1563 #: admin/partials/video-sources.php:223 admin/partials/video-sources.php:228 1564 1564 #: admin/partials/video-sources.php:233 admin/partials/video-sources.php:249 1565 #: admin/partials/video-sources.php:254 includes/helpers/functions.php:16 141566 #: includes/helpers/functions.php:16 21 includes/helpers/functions.php:16281567 #: includes/helpers/functions.php:16 35 includes/helpers/functions.php:16421568 #: includes/helpers/functions.php:16 53 includes/helpers/functions.php:16601565 #: admin/partials/video-sources.php:254 includes/helpers/functions.php:1631 1566 #: includes/helpers/functions.php:1638 includes/helpers/functions.php:1645 1567 #: includes/helpers/functions.php:1652 includes/helpers/functions.php:1659 1568 #: includes/helpers/functions.php:1670 includes/helpers/functions.php:1677 1569 1569 #: premium/admin/partials/automations-sources.php:92 1570 1570 #: premium/admin/partials/automations-sources.php:108 … … 1605 1605 msgstr "" 1606 1606 1607 #: admin/partials/video-sources.php:239 includes/helpers/functions.php:16 441607 #: admin/partials/video-sources.php:239 includes/helpers/functions.php:1661 1608 1608 #, php-format 1609 1609 msgid "" … … 1676 1676 msgstr "" 1677 1677 1678 #: admin/partials/video-trailer.php:37 includes/helpers/functions.php:24 671678 #: admin/partials/video-trailer.php:37 includes/helpers/functions.php:2484 1679 1679 msgid "Third-Party Player Code" 1680 1680 msgstr "" … … 1727 1727 1728 1728 #: admin/settings.php:133 admin/settings.php:993 admin/settings.php:1017 1729 #: includes/helpers/functions.php:10 13 includes/helpers/functions.php:18981729 #: includes/helpers/functions.php:1026 includes/helpers/functions.php:1915 1730 1730 msgid "Related Videos" 1731 1731 msgstr "" … … 1748 1748 1749 1749 #: admin/settings.php:162 admin/settings.php:1067 1750 #: includes/helpers/functions.php:20 531750 #: includes/helpers/functions.php:2070 1751 1751 msgid "Pagination" 1752 1752 msgstr "" … … 1900 1900 1901 1901 #: admin/settings.php:336 blocks/blocks.php:117 1902 #: includes/helpers/functions.php:16 73premium/widgets/forms/companion.php:221902 #: includes/helpers/functions.php:1690 premium/widgets/forms/companion.php:22 1903 1903 #: widgets/forms/video.php:80 1904 1904 msgid "Width" … … 1906 1906 1907 1907 #: admin/settings.php:337 blocks/blocks.php:118 1908 #: includes/helpers/functions.php:16 741908 #: includes/helpers/functions.php:1691 1909 1909 msgid "" 1910 1910 "In pixels. Maximum width of the player. Leave this field empty to scale 100% " … … 1913 1913 1914 1914 #: admin/settings.php:343 blocks/blocks.php:119 1915 #: includes/helpers/functions.php:16 80 includes/helpers/functions.php:19101916 #: includes/helpers/functions.php:22 07widgets/forms/video.php:851915 #: includes/helpers/functions.php:1697 includes/helpers/functions.php:1927 1916 #: includes/helpers/functions.php:2224 widgets/forms/video.php:85 1917 1917 msgid "Height (Ratio)" 1918 1918 msgstr "" 1919 1919 1920 1920 #: admin/settings.php:346 blocks/blocks.php:120 1921 #: includes/helpers/functions.php:16 811921 #: includes/helpers/functions.php:1698 1922 1922 msgid "" 1923 1923 "In percentage. Calculates the player’s height based on the entered ratio." … … 1961 1961 1962 1962 #: admin/settings.php:362 blocks/blocks.php:121 1963 #: includes/helpers/functions.php:1 687widgets/forms/video.php:921963 #: includes/helpers/functions.php:1704 widgets/forms/video.php:92 1964 1964 msgid "Autoplay" 1965 1965 msgstr "" … … 1970 1970 1971 1971 #: admin/settings.php:369 blocks/blocks.php:122 1972 #: includes/helpers/functions.php:1 694widgets/forms/video.php:991972 #: includes/helpers/functions.php:1711 widgets/forms/video.php:99 1973 1973 msgid "Loop" 1974 1974 msgstr "" … … 1981 1981 1982 1982 #: admin/settings.php:376 blocks/blocks.php:123 1983 #: includes/helpers/functions.php:17 01widgets/forms/video.php:1061983 #: includes/helpers/functions.php:1718 widgets/forms/video.php:106 1984 1984 msgid "Muted" 1985 1985 msgstr "" … … 2013 2013 msgstr "" 2014 2014 2015 #: admin/settings.php:394 admin/videos.php:12 042015 #: admin/settings.php:394 admin/videos.php:1222 2016 2016 msgid "Metadata" 2017 2017 msgstr "" … … 2039 2039 2040 2040 #: admin/settings.php:415 blocks/blocks.php:128 2041 #: includes/helpers/functions.php:17 09widgets/forms/video.php:1122041 #: includes/helpers/functions.php:1726 widgets/forms/video.php:112 2042 2042 msgid "Player Controls" 2043 2043 msgstr "" … … 2049 2049 2050 2050 #: admin/settings.php:422 blocks/blocks.php:129 2051 #: includes/helpers/functions.php:17 13widgets/forms/video.php:1192051 #: includes/helpers/functions.php:1730 widgets/forms/video.php:119 2052 2052 msgid "Play / Pause" 2053 2053 msgstr "" 2054 2054 2055 2055 #: admin/settings.php:423 admin/settings.php:653 blocks/blocks.php:130 2056 #: includes/helpers/functions.php:17 20premium/admin/user.php:2702056 #: includes/helpers/functions.php:1737 premium/admin/user.php:270 2057 2057 #: premium/admin/user.php:300 widgets/forms/video.php:126 2058 2058 msgid "Current Time" … … 2060 2060 2061 2061 #: admin/settings.php:424 blocks/blocks.php:131 2062 #: includes/helpers/functions.php:17 27widgets/forms/video.php:1332062 #: includes/helpers/functions.php:1744 widgets/forms/video.php:133 2063 2063 msgid "Progressbar" 2064 2064 msgstr "" 2065 2065 2066 2066 #: admin/settings.php:425 blocks/blocks.php:132 2067 #: includes/helpers/functions.php:17 342067 #: includes/helpers/functions.php:1751 2068 2068 #: premium/includes/vimeo-api/resource-objects.php:148 2069 2069 #: widgets/forms/video.php:140 … … 2072 2072 2073 2073 #: admin/settings.php:428 blocks/blocks.php:133 2074 #: includes/helpers/functions.php:17 55widgets/forms/video.php:1612074 #: includes/helpers/functions.php:1772 widgets/forms/video.php:161 2075 2075 msgid "Speed Control" 2076 2076 msgstr "" 2077 2077 2078 2078 #: admin/settings.php:429 blocks/blocks.php:134 2079 #: includes/helpers/functions.php:17 62widgets/forms/video.php:1682079 #: includes/helpers/functions.php:1779 widgets/forms/video.php:168 2080 2080 msgid "Quality Selector" 2081 2081 msgstr "" 2082 2082 2083 2083 #: admin/settings.php:430 blocks/blocks.php:135 2084 #: includes/helpers/functions.php:17 69widgets/forms/video.php:1752084 #: includes/helpers/functions.php:1786 widgets/forms/video.php:175 2085 2085 msgid "Volume Button" 2086 2086 msgstr "" 2087 2087 2088 2088 #: admin/settings.php:431 blocks/blocks.php:136 2089 #: includes/helpers/functions.php:17 76widgets/forms/video.php:1822089 #: includes/helpers/functions.php:1793 widgets/forms/video.php:182 2090 2090 msgid "Picture-in-Picture Button" 2091 2091 msgstr "" 2092 2092 2093 2093 #: admin/settings.php:432 blocks/blocks.php:137 2094 #: includes/helpers/functions.php:1 783widgets/forms/video.php:1892094 #: includes/helpers/functions.php:1800 widgets/forms/video.php:189 2095 2095 msgid "Fullscreen Button" 2096 2096 msgstr "" 2097 2097 2098 2098 #: admin/settings.php:433 admin/settings.php:994 blocks/blocks.php:138 2099 #: includes/helpers/functions.php:1 790widgets/forms/video.php:1962099 #: includes/helpers/functions.php:1807 widgets/forms/video.php:196 2100 2100 msgid "Share Buttons" 2101 2101 msgstr "" 2102 2102 2103 2103 #: admin/settings.php:434 blocks/blocks.php:139 2104 #: includes/helpers/functions.php:1 797widgets/forms/video.php:2032104 #: includes/helpers/functions.php:1814 widgets/forms/video.php:203 2105 2105 msgid "Embed Button" 2106 2106 msgstr "" 2107 2107 2108 2108 #: admin/settings.php:435 blocks/blocks.php:140 2109 #: includes/helpers/functions.php:18 04widgets/forms/video.php:2102109 #: includes/helpers/functions.php:1821 widgets/forms/video.php:210 2110 2110 msgid "Download Button" 2111 2111 msgstr "" … … 2124 2124 msgstr "" 2125 2125 2126 #: admin/settings.php:445 includes/helpers/functions.php:16 272127 #: includes/helpers/functions.php:24 59premium/includes/functions.php:1712126 #: admin/settings.php:445 includes/helpers/functions.php:1644 2127 #: includes/helpers/functions.php:2476 premium/includes/functions.php:171 2128 2128 msgid "YouTube" 2129 2129 msgstr "" 2130 2130 2131 #: admin/settings.php:446 includes/helpers/functions.php:16 342132 #: includes/helpers/functions.php:24 60premium/includes/functions.php:1722131 #: admin/settings.php:446 includes/helpers/functions.php:1651 2132 #: includes/helpers/functions.php:2477 premium/includes/functions.php:172 2133 2133 msgid "Vimeo" 2134 2134 msgstr "" … … 2200 2200 msgstr "" 2201 2201 2202 #: admin/settings.php:490 admin/videos.php:1 294premium/admin/ads.php:902202 #: admin/settings.php:490 admin/videos.php:1312 premium/admin/ads.php:90 2203 2203 msgid "Disabled" 2204 2204 msgstr "" … … 2369 2369 2370 2370 #: admin/settings.php:577 includes/helpers/email-capture.php:515 2371 #: includes/helpers/functions.php:9 282371 #: includes/helpers/functions.php:941 2372 2372 #: public/templates/player-email-capture.php:68 2373 2373 msgid "Enter your email to continue watching" … … 2394 2394 2395 2395 #: admin/settings.php:592 includes/helpers/email-capture.php:517 2396 #: includes/helpers/functions.php:9 302396 #: includes/helpers/functions.php:943 2397 2397 #: public/templates/player-email-capture.php:70 2398 2398 msgid "Submit" … … 2410 2410 2411 2411 #: admin/settings.php:600 includes/helpers/email-capture.php:518 2412 #: includes/helpers/functions.php:9 312412 #: includes/helpers/functions.php:944 2413 2413 #: public/templates/player-email-capture.php:71 2414 2414 msgid "Skip" … … 2653 2653 msgstr "" 2654 2654 2655 #: admin/settings.php:745 includes/helpers/functions.php:16 592656 #: includes/helpers/functions.php:24 63includes/helpers/render.php:5612655 #: admin/settings.php:745 includes/helpers/functions.php:1676 2656 #: includes/helpers/functions.php:2480 includes/helpers/render.php:561 2657 2657 #: includes/player/base.php:789 public/templates/player-videojs.php:386 2658 2658 #: public/templates/player-vidstack.php:451 … … 2715 2715 2716 2716 #: admin/settings.php:774 admin/settings.php:874 blocks/blocks.php:75 2717 #: includes/helpers/functions.php:18 28 includes/helpers/functions.php:21732718 #: includes/helpers/functions.php:23 04widgets/forms/categories.php:262717 #: includes/helpers/functions.php:1845 includes/helpers/functions.php:2190 2718 #: includes/helpers/functions.php:2321 widgets/forms/categories.php:26 2719 2719 #: widgets/forms/search.php:26 2720 2720 msgid "Select Template" 2721 2721 msgstr "" 2722 2722 2723 #: admin/settings.php:775 includes/helpers/functions.php:18 292723 #: admin/settings.php:775 includes/helpers/functions.php:1846 2724 2724 #, php-format 2725 2725 msgid "" … … 2729 2729 2730 2730 #: admin/settings.php:782 admin/settings.php:886 admin/settings.php:1023 2731 #: blocks/blocks.php:79 includes/helpers/functions.php:19 172732 #: includes/helpers/functions.php:22 14widgets/forms/categories.php:672731 #: blocks/blocks.php:79 includes/helpers/functions.php:1934 2732 #: includes/helpers/functions.php:2231 widgets/forms/categories.php:67 2733 2733 msgid "Columns" 2734 2734 msgstr "" … … 2739 2739 2740 2740 #: admin/settings.php:792 admin/settings.php:896 admin/settings.php:1033 2741 #: blocks/blocks.php:80 includes/helpers/functions.php:19 272742 #: includes/helpers/functions.php:22 24widgets/forms/categories.php:722741 #: blocks/blocks.php:80 includes/helpers/functions.php:1944 2742 #: includes/helpers/functions.php:2241 widgets/forms/categories.php:72 2743 2743 msgid "Limit (per page)" 2744 2744 msgstr "" … … 2750 2750 2751 2751 #: admin/settings.php:799 admin/settings.php:903 admin/settings.php:1040 2752 #: blocks/blocks.php:81 includes/helpers/functions.php:18 642753 #: includes/helpers/functions.php:22 342752 #: blocks/blocks.php:81 includes/helpers/functions.php:1881 2753 #: includes/helpers/functions.php:2251 2754 2754 #: premium/admin/partials/automations-sources.php:185 2755 2755 #: widgets/forms/categories.php:77 … … 2758 2758 2759 2759 #: admin/settings.php:803 admin/settings.php:1015 admin/settings.php:1044 2760 #: includes/helpers/functions.php:18 21 includes/helpers/functions.php:18682761 #: includes/helpers/functions.php:21 662760 #: includes/helpers/functions.php:1838 includes/helpers/functions.php:1885 2761 #: includes/helpers/functions.php:2183 2762 2762 #: premium/admin/partials/automations-sources.php:193 2763 2763 #: widgets/forms/categories.php:21 widgets/forms/search.php:21 … … 2767 2767 2768 2768 #: admin/settings.php:804 admin/settings.php:845 admin/settings.php:990 2769 #: admin/settings.php:1045 includes/helpers/functions.php:18 692770 #: includes/helpers/functions.php: 19832769 #: admin/settings.php:1045 includes/helpers/functions.php:1886 2770 #: includes/helpers/functions.php:2000 2771 2771 msgid "Date Added" 2772 2772 msgstr "" 2773 2773 2774 2774 #: admin/settings.php:808 admin/settings.php:1049 2775 #: includes/helpers/functions.php:18 732775 #: includes/helpers/functions.php:1890 2776 2776 msgid "Random" 2777 2777 msgstr "" 2778 2778 2779 2779 #: admin/settings.php:809 admin/settings.php:911 admin/settings.php:1050 2780 #: blocks/blocks.php:86 includes/helpers/functions.php:18 742781 #: includes/helpers/functions.php:22 42widgets/forms/categories.php:852780 #: blocks/blocks.php:86 includes/helpers/functions.php:1891 2781 #: includes/helpers/functions.php:2259 widgets/forms/categories.php:85 2782 2782 msgid "Menu Order" 2783 2783 msgstr "" 2784 2784 2785 2785 #: admin/settings.php:815 admin/settings.php:917 admin/settings.php:1056 2786 #: blocks/blocks.php:87 includes/helpers/functions.php:18 802787 #: includes/helpers/functions.php:22 48widgets/forms/categories.php:1012786 #: blocks/blocks.php:87 includes/helpers/functions.php:1897 2787 #: includes/helpers/functions.php:2265 widgets/forms/categories.php:101 2788 2788 msgid "Order" 2789 2789 msgstr "" … … 2797 2797 msgstr "" 2798 2798 2799 #: admin/settings.php:826 includes/helpers/functions.php:19 372799 #: admin/settings.php:826 includes/helpers/functions.php:1954 2800 2800 msgid "Image Position" 2801 2801 msgstr "" 2802 2802 2803 #: admin/settings.php:830 includes/helpers/functions.php:19 412804 #: includes/helpers/functions.php:21 482803 #: admin/settings.php:830 includes/helpers/functions.php:1958 2804 #: includes/helpers/functions.php:2165 2805 2805 msgid "Top" 2806 2806 msgstr "" 2807 2807 2808 #: admin/settings.php:831 includes/helpers/functions.php:19 422809 #: includes/helpers/functions.php:21 492808 #: admin/settings.php:831 includes/helpers/functions.php:1959 2809 #: includes/helpers/functions.php:2166 2810 2810 msgid "Left" 2811 2811 msgstr "" 2812 2812 2813 #: admin/settings.php:837 includes/helpers/functions.php:19 482813 #: admin/settings.php:837 includes/helpers/functions.php:1965 2814 2814 msgid "Show / Hide (Thumbnails)" 2815 2815 msgstr "" 2816 2816 2817 #: admin/settings.php:841 includes/helpers/functions.php:19 552817 #: admin/settings.php:841 includes/helpers/functions.php:1972 2818 2818 msgid "Videos Count" 2819 2819 msgstr "" 2820 2820 2821 2821 #: admin/settings.php:843 admin/settings.php:988 2822 #: includes/helpers/functions.php:19 692822 #: includes/helpers/functions.php:1986 2823 2823 msgid "Category Name(s)" 2824 2824 msgstr "" 2825 2825 2826 2826 #: admin/settings.php:844 admin/settings.php:989 2827 #: includes/helpers/functions.php:19 762827 #: includes/helpers/functions.php:1993 2828 2828 msgid "Tag Name(s)" 2829 2829 msgstr "" 2830 2830 2831 2831 #: admin/settings.php:846 admin/settings.php:991 2832 #: includes/helpers/functions.php: 19902832 #: includes/helpers/functions.php:2007 2833 2833 msgid "Author Name" 2834 2834 msgstr "" 2835 2835 2836 #: admin/settings.php:850 includes/helpers/functions.php:20 182836 #: admin/settings.php:850 includes/helpers/functions.php:2035 2837 2837 msgid "Comments Count" 2838 2838 msgstr "" 2839 2839 2840 #: admin/settings.php:852 includes/helpers/functions.php:20 322840 #: admin/settings.php:852 includes/helpers/functions.php:2049 2841 2841 msgid "Video Excerpt (Short Description)" 2842 2842 msgstr "" 2843 2843 2844 #: admin/settings.php:858 includes/helpers/functions.php:20 392844 #: admin/settings.php:858 includes/helpers/functions.php:2056 2845 2845 msgid "Title Length" 2846 2846 msgstr "" … … 2850 2850 msgstr "" 2851 2851 2852 #: admin/settings.php:865 includes/helpers/functions.php:20 462852 #: admin/settings.php:865 includes/helpers/functions.php:2063 2853 2853 msgid "Excerpt Length" 2854 2854 msgstr "" 2855 2855 2856 2856 #: admin/settings.php:878 blocks/blocks.php:76 2857 #: includes/helpers/functions.php:21 77widgets/forms/categories.php:302857 #: includes/helpers/functions.php:2194 widgets/forms/categories.php:30 2858 2858 msgid "Grid" 2859 2859 msgstr "" 2860 2860 2861 2861 #: admin/settings.php:879 blocks/blocks.php:77 2862 #: includes/helpers/functions.php:21 78widgets/forms/categories.php:312862 #: includes/helpers/functions.php:2195 widgets/forms/categories.php:31 2863 2863 msgid "List" 2864 2864 msgstr "" 2865 2865 2866 2866 #: admin/settings.php:880 blocks/blocks.php:78 2867 #: includes/helpers/functions.php:21 79widgets/forms/categories.php:322867 #: includes/helpers/functions.php:2196 widgets/forms/categories.php:32 2868 2868 msgid "Dropdown" 2869 2869 msgstr "" … … 2880 2880 2881 2881 #: admin/settings.php:908 blocks/blocks.php:83 2882 #: includes/helpers/functions.php:22 39widgets/forms/categories.php:822882 #: includes/helpers/functions.php:2256 widgets/forms/categories.php:82 2883 2883 msgid "Count" 2884 2884 msgstr "" 2885 2885 2886 2886 #: admin/settings.php:909 blocks/blocks.php:84 2887 #: includes/helpers/email-capture.php:118 includes/helpers/functions.php:22 402887 #: includes/helpers/email-capture.php:118 includes/helpers/functions.php:2257 2888 2888 #: widgets/forms/categories.php:83 2889 2889 msgid "Name" … … 2891 2891 2892 2892 #: admin/settings.php:910 blocks/blocks.php:85 2893 #: includes/helpers/functions.php:22 41widgets/forms/categories.php:842893 #: includes/helpers/functions.php:2258 widgets/forms/categories.php:84 2894 2894 msgid "Slug" 2895 2895 msgstr "" 2896 2896 2897 2897 #: admin/settings.php:928 blocks/blocks.php:90 2898 #: includes/helpers/functions.php:22 59widgets/forms/categories.php:1242898 #: includes/helpers/functions.php:2276 widgets/forms/categories.php:124 2899 2899 msgid "Show Hierarchy" 2900 2900 msgstr "" … … 2905 2905 2906 2906 #: admin/settings.php:935 blocks/blocks.php:91 2907 #: includes/helpers/functions.php:22 66widgets/forms/categories.php:1312907 #: includes/helpers/functions.php:2283 widgets/forms/categories.php:131 2908 2908 msgid "Show Description" 2909 2909 msgstr "" … … 2914 2914 2915 2915 #: admin/settings.php:942 blocks/blocks.php:92 2916 #: includes/helpers/functions.php:22 73widgets/forms/categories.php:1382916 #: includes/helpers/functions.php:2290 widgets/forms/categories.php:138 2917 2917 msgid "Show Videos Count" 2918 2918 msgstr "" … … 2923 2923 2924 2924 #: admin/settings.php:949 blocks/blocks.php:93 2925 #: includes/helpers/functions.php:22 80widgets/forms/categories.php:1452925 #: includes/helpers/functions.php:2297 widgets/forms/categories.php:145 2926 2926 msgid "Hide Empty Categories" 2927 2927 msgstr "" … … 3074 3074 msgstr "" 3075 3075 3076 #: admin/settings.php:1147 includes/helpers/functions.php:10 323076 #: admin/settings.php:1147 includes/helpers/functions.php:1045 3077 3077 msgid "Restricted" 3078 3078 msgstr "" … … 3336 3336 msgstr "" 3337 3337 3338 #: admin/settings.php:1354 premium/includes/vimeo-api/query.php:2 713338 #: admin/settings.php:1354 premium/includes/vimeo-api/query.php:284 3339 3339 #, php-format 3340 3340 msgid "" … … 3588 3588 msgstr "" 3589 3589 3590 #: admin/tags.php:89 includes/helpers/functions.php:13 24public/public.php:2513590 #: admin/tags.php:89 includes/helpers/functions.php:1341 public/public.php:251 3591 3591 #: public/public.php:358 3592 3592 msgid "No tags found" … … 3609 3609 msgstr "" 3610 3610 3611 #: admin/videos.php:33 admin/videos.php:82 admin/videos.php:10 653611 #: admin/videos.php:33 admin/videos.php:82 admin/videos.php:1083 3612 3612 msgid "All Videos" 3613 3613 msgstr "" 3614 3614 3615 3615 #: admin/videos.php:78 admin/videos.php:112 admin/videos.php:292 3616 #: blocks/blocks.php:113 includes/helpers/functions.php:16 063616 #: blocks/blocks.php:113 includes/helpers/functions.php:1623 3617 3617 msgid "Video" 3618 3618 msgstr "" … … 3658 3658 msgstr "" 3659 3659 3660 #: admin/videos.php:91 includes/helpers/functions.php:13 183660 #: admin/videos.php:91 includes/helpers/functions.php:1335 3661 3661 #: premium/admin/partials/playlist-fields.php:63 3662 3662 msgid "No videos found" … … 3703 3703 msgstr "" 3704 3704 3705 #: admin/videos.php:7 54 admin/videos.php:11823705 #: admin/videos.php:772 admin/videos.php:1200 3706 3706 msgid "Export Emails" 3707 3707 msgstr "" 3708 3708 3709 #: admin/videos.php: 796premium/admin/automations.php:9473709 #: admin/videos.php:814 premium/admin/automations.php:947 3710 3710 msgid "Take a Guided Tour" 3711 3711 msgstr "" 3712 3712 3713 #: admin/videos.php: 798premium/admin/automations.php:9493713 #: admin/videos.php:816 premium/admin/automations.php:949 3714 3714 #, php-format 3715 3715 msgid "%1$s of %2$s" 3716 3716 msgstr "" 3717 3717 3718 #: admin/videos.php: 799premium/admin/automations.php:9503718 #: admin/videos.php:817 premium/admin/automations.php:950 3719 3719 msgid "Next →" 3720 3720 msgstr "" 3721 3721 3722 #: admin/videos.php:8 00premium/admin/automations.php:9513722 #: admin/videos.php:818 premium/admin/automations.php:951 3723 3723 msgid "← Previous" 3724 3724 msgstr "" 3725 3725 3726 #: admin/videos.php:8 01premium/admin/automations.php:9523726 #: admin/videos.php:819 premium/admin/automations.php:952 3727 3727 msgid "Done" 3728 3728 msgstr "" 3729 3729 3730 #: admin/videos.php:8 07premium/admin/automations.php:9583730 #: admin/videos.php:825 premium/admin/automations.php:958 3731 3731 msgid "Welcome to the Quick Tour" 3732 3732 msgstr "" 3733 3733 3734 #: admin/videos.php:8 083734 #: admin/videos.php:826 3735 3735 msgid "" 3736 3736 "This form lets you add or edit videos for your gallery.<br><br>Let's walk " … … 3738 3738 msgstr "" 3739 3739 3740 #: admin/videos.php:8 153740 #: admin/videos.php:833 3741 3741 msgid "" 3742 3742 "Start by entering a <strong>clear, descriptive title</strong> for your video." … … 3745 3745 msgstr "" 3746 3746 3747 #: admin/videos.php:8 223747 #: admin/videos.php:840 3748 3748 msgid "" 3749 3749 "Next, add a <strong>description</strong> for your video.<br><br>This is " … … 3753 3753 msgstr "" 3754 3754 3755 #: admin/videos.php:8 223755 #: admin/videos.php:840 3756 3756 msgid "" 3757 3757 "<strong>Do not add your video here.</strong> You will add it in the " … … 3759 3759 msgstr "" 3760 3760 3761 #: admin/videos.php:8 293761 #: admin/videos.php:847 3762 3762 msgid "" 3763 3763 "Choose where your video is hosted — <strong>YouTube</strong>, <strong>Vimeo</" … … 3766 3766 msgstr "" 3767 3767 3768 #: admin/videos.php:8 353768 #: admin/videos.php:853 3769 3769 msgid "Video File Input" 3770 3770 msgstr "" 3771 3771 3772 #: admin/videos.php:8 363772 #: admin/videos.php:854 3773 3773 msgid "" 3774 3774 "Depending on the source you selected, either <strong>upload a video file</" … … 3776 3776 msgstr "" 3777 3777 3778 #: admin/videos.php:8 453778 #: admin/videos.php:863 3779 3779 #, php-format 3780 3780 msgid "" … … 3787 3787 msgstr "" 3788 3788 3789 #: admin/videos.php:8 543789 #: admin/videos.php:872 3790 3790 msgid "" 3791 3791 "Assign your video to <strong>categories</strong> to help visitors find " … … 3794 3794 msgstr "" 3795 3795 3796 #: admin/videos.php:8 613796 #: admin/videos.php:879 3797 3797 msgid "" 3798 3798 "Add <strong>tags</strong> to describe your video in more detail.<br><br>Tags " … … 3800 3800 msgstr "" 3801 3801 3802 #: admin/videos.php:8 673802 #: admin/videos.php:885 3803 3803 msgid "Save Your Video" 3804 3804 msgstr "" 3805 3805 3806 #: admin/videos.php:8 683806 #: admin/videos.php:886 3807 3807 msgid "" 3808 3808 "All set? Great!<br><br>Click <strong>\"Publish\"</strong> to save your video." … … 3810 3810 msgstr "" 3811 3811 3812 #: admin/videos.php:8 74 premium/admin/automations.php:10503812 #: admin/videos.php:892 premium/admin/automations.php:1057 3813 3813 msgid "Next Steps" 3814 3814 msgstr "" 3815 3815 3816 #: admin/videos.php:8 773816 #: admin/videos.php:895 3817 3817 #, php-format 3818 3818 msgid "" … … 3827 3827 msgstr "" 3828 3828 3829 #: admin/videos.php:9 663829 #: admin/videos.php:984 3830 3830 msgid "" 3831 3831 "Video description (optional). Add the video itself in the \"Video\" box " … … 3833 3833 msgstr "" 3834 3834 3835 #: admin/videos.php:10 66 includes/helpers/functions.php:18913835 #: admin/videos.php:1084 includes/helpers/functions.php:1908 3836 3836 msgid "Featured Only" 3837 3837 msgstr "" 3838 3838 3839 #: admin/videos.php:11 603839 #: admin/videos.php:1178 3840 3840 msgid "Copy URL" 3841 3841 msgstr "" 3842 3842 3843 #: admin/videos.php:11 693843 #: admin/videos.php:1187 3844 3844 msgid "Copy Shortcode" 3845 3845 msgstr "" 3846 3846 3847 #: admin/videos.php:12 08 includes/helpers/functions.php:21593847 #: admin/videos.php:1226 includes/helpers/functions.php:2176 3848 3848 #: premium/admin/automations.php:320 3849 3849 msgid "Categories" 3850 3850 msgstr "" 3851 3851 3852 #: admin/videos.php:12 09premium/admin/automations.php:3213852 #: admin/videos.php:1227 premium/admin/automations.php:321 3853 3853 msgid "Tags" 3854 3854 msgstr "" 3855 3855 3856 #: admin/videos.php:12 513856 #: admin/videos.php:1269 3857 3857 msgid "Views" 3858 3858 msgstr "" 3859 3859 3860 #: admin/videos.php:12 60premium/includes/vimeo-api/resource-objects.php:1663860 #: admin/videos.php:1278 premium/includes/vimeo-api/resource-objects.php:166 3861 3861 #: public/public.php:275 public/public.php:359 3862 3862 msgid "Likes" 3863 3863 msgstr "" 3864 3864 3865 #: admin/videos.php:12 69public/public.php:276 public/public.php:3603865 #: admin/videos.php:1287 public/public.php:276 public/public.php:360 3866 3866 msgid "Dislikes" 3867 3867 msgstr "" 3868 3868 3869 #: admin/videos.php:1 292premium/admin/ads.php:883869 #: admin/videos.php:1310 premium/admin/ads.php:88 3870 3870 msgid "Enabled" 3871 3871 msgstr "" 3872 3872 3873 #: admin/videos.php:1 2963873 #: admin/videos.php:1314 3874 3874 msgid "Default (On)" 3875 3875 msgstr "" 3876 3876 3877 #: admin/videos.php:1 2983877 #: admin/videos.php:1316 3878 3878 msgid "Default (Off)" 3879 3879 msgstr "" 3880 3880 3881 #: all-in-one-video-gallery.php:12 43881 #: all-in-one-video-gallery.php:125 3882 3882 msgid "" 3883 3883 "Sorry, this plugin cannot be activated network-wide. Please activate it " … … 3885 3885 msgstr "" 3886 3886 3887 #: all-in-one-video-gallery.php:12 53887 #: all-in-one-video-gallery.php:126 3888 3888 msgid "Network Activation Not Allowed" 3889 3889 msgstr "" … … 3897 3897 msgstr "" 3898 3898 3899 #: blocks/blocks.php:88 includes/helpers/functions.php:1 8843900 #: includes/helpers/functions.php:22 52widgets/forms/categories.php:1053899 #: blocks/blocks.php:88 includes/helpers/functions.php:1901 3900 #: includes/helpers/functions.php:2269 widgets/forms/categories.php:105 3901 3901 msgid "ASC" 3902 3902 msgstr "" 3903 3903 3904 #: blocks/blocks.php:89 includes/helpers/functions.php:1 8853905 #: includes/helpers/functions.php:22 53widgets/forms/categories.php:1063904 #: blocks/blocks.php:89 includes/helpers/functions.php:1902 3905 #: includes/helpers/functions.php:2270 widgets/forms/categories.php:106 3906 3906 msgid "DESC" 3907 3907 msgstr "" 3908 3908 3909 #: blocks/blocks.php:94 includes/helpers/functions.php:2 2873909 #: blocks/blocks.php:94 includes/helpers/functions.php:2304 3910 3910 msgid "Show Pagination" 3911 3911 msgstr "" … … 3931 3931 msgstr "" 3932 3932 3933 #: blocks/blocks.php:100 includes/helpers/functions.php:21 253934 #: includes/helpers/functions.php:23 08widgets/forms/search.php:303933 #: blocks/blocks.php:100 includes/helpers/functions.php:2142 3934 #: includes/helpers/functions.php:2325 widgets/forms/search.php:30 3935 3935 msgid "Vertical" 3936 3936 msgstr "" 3937 3937 3938 #: blocks/blocks.php:101 includes/helpers/functions.php:21 263939 #: includes/helpers/functions.php:23 09widgets/forms/search.php:313938 #: blocks/blocks.php:101 includes/helpers/functions.php:2143 3939 #: includes/helpers/functions.php:2326 widgets/forms/search.php:31 3940 3940 msgid "Horizontal" 3941 3941 msgstr "" 3942 3942 3943 #: blocks/blocks.php:102 includes/helpers/functions.php:23 223943 #: blocks/blocks.php:102 includes/helpers/functions.php:2339 3944 3944 #: widgets/forms/search.php:56 3945 3945 msgid "Search By Categories" 3946 3946 msgstr "" 3947 3947 3948 #: blocks/blocks.php:103 includes/helpers/functions.php:23 153948 #: blocks/blocks.php:103 includes/helpers/functions.php:2332 3949 3949 #: widgets/forms/search.php:49 3950 3950 msgid "Search By Video Title, Description" 3951 3951 msgstr "" 3952 3952 3953 #: blocks/blocks.php:104 includes/helpers/functions.php:23 293953 #: blocks/blocks.php:104 includes/helpers/functions.php:2346 3954 3954 #: widgets/forms/search.php:63 3955 3955 msgid "Search By Tags" 3956 3956 msgstr "" 3957 3957 3958 #: blocks/blocks.php:105 includes/helpers/functions.php:21 073959 #: includes/helpers/functions.php:23 36widgets/forms/search.php:703958 #: blocks/blocks.php:105 includes/helpers/functions.php:2124 3959 #: includes/helpers/functions.php:2353 widgets/forms/search.php:70 3960 3960 msgid "Sort By Dropdown" 3961 3961 msgstr "" 3962 3962 3963 #: blocks/blocks.php:106 includes/helpers/functions.php:23 433963 #: blocks/blocks.php:106 includes/helpers/functions.php:2360 3964 3964 #: widgets/forms/search.php:77 3965 3965 msgid "Search Button" 3966 3966 msgstr "" 3967 3967 3968 #: blocks/blocks.php:107 includes/helpers/functions.php:21 143969 #: includes/helpers/functions.php:23 50widgets/forms/search.php:843968 #: blocks/blocks.php:107 includes/helpers/functions.php:2131 3969 #: includes/helpers/functions.php:2367 widgets/forms/search.php:84 3970 3970 msgid "Reset Button" 3971 3971 msgstr "" 3972 3972 3973 #: blocks/blocks.php:109 includes/helpers/functions.php:23 613973 #: blocks/blocks.php:109 includes/helpers/functions.php:2378 3974 3974 #: widgets/forms/search.php:93 3975 3975 msgid "Use Plugin's Default Search Results Page" 3976 3976 msgstr "" 3977 3977 3978 #: blocks/blocks.php:110 includes/helpers/functions.php:23 623978 #: blocks/blocks.php:110 includes/helpers/functions.php:2379 3979 3979 #: widgets/forms/search.php:94 3980 3980 msgid "Display Results on Current Page" … … 4003 4003 msgstr "" 4004 4004 4005 #: blocks/blocks.php:143 includes/helpers/functions.php:23 824005 #: blocks/blocks.php:143 includes/helpers/functions.php:2399 4006 4006 #: widgets/forms/video.php:242 4007 4007 msgid "" … … 4055 4055 msgstr "" 4056 4056 4057 #: includes/helpers/functions.php:9 374057 #: includes/helpers/functions.php:950 4058 4058 msgid "[{site_name}] New lead captured on \"{video_title}\"" 4059 4059 msgstr "" 4060 4060 4061 #: includes/helpers/functions.php:9 384061 #: includes/helpers/functions.php:951 4062 4062 msgid "" 4063 4063 "A new lead was captured on \"{video_title}\".\n" … … 4073 4073 msgstr "" 4074 4074 4075 #: includes/helpers/functions.php:10 30 includes/helpers/functions.php:15234076 #: public/templates/player.php:68 public/video.php:75 14075 #: includes/helpers/functions.php:1043 includes/helpers/functions.php:1540 4076 #: public/templates/player.php:68 public/video.php:750 4077 4077 msgid "Sorry, but you do not have permission to view this video." 4078 4078 msgstr "" 4079 4079 4080 #: includes/helpers/functions.php:10 474080 #: includes/helpers/functions.php:1060 4081 4081 msgid "" 4082 4082 "<strong>Please accept cookies to play this video</strong>. By accepting you " … … 4084 4084 msgstr "" 4085 4085 4086 #: includes/helpers/functions.php:10 484086 #: includes/helpers/functions.php:1061 4087 4087 msgid "I Agree" 4088 4088 msgstr "" 4089 4089 4090 #: includes/helpers/functions.php:13 274090 #: includes/helpers/functions.php:1344 4091 4091 msgid "Sorry, you need to login to view this content." 4092 4092 msgstr "" 4093 4093 4094 #: includes/helpers/functions.php:15 304094 #: includes/helpers/functions.php:1547 4095 4095 #, php-format 4096 4096 msgid "" … … 4099 4099 msgstr "" 4100 4100 4101 #: includes/helpers/functions.php:15 544101 #: includes/helpers/functions.php:1571 4102 4102 msgid "Title - Ascending" 4103 4103 msgstr "" 4104 4104 4105 #: includes/helpers/functions.php:15 554105 #: includes/helpers/functions.php:1572 4106 4106 msgid "Title - Descending" 4107 4107 msgstr "" 4108 4108 4109 #: includes/helpers/functions.php:15 564109 #: includes/helpers/functions.php:1573 4110 4110 msgid "Newest First" 4111 4111 msgstr "" 4112 4112 4113 #: includes/helpers/functions.php:15 574113 #: includes/helpers/functions.php:1574 4114 4114 msgid "Oldest First" 4115 4115 msgstr "" 4116 4116 4117 #: includes/helpers/functions.php:15 584117 #: includes/helpers/functions.php:1575 4118 4118 msgid "Most Viewed" 4119 4119 msgstr "" 4120 4120 4121 #: includes/helpers/functions.php:15 634121 #: includes/helpers/functions.php:1580 4122 4122 msgid "Most Liked" 4123 4123 msgstr "" 4124 4124 4125 #: includes/helpers/functions.php:1 5844125 #: includes/helpers/functions.php:1601 4126 4126 msgid "Single Video" 4127 4127 msgstr "" 4128 4128 4129 #: includes/helpers/functions.php:1 591widgets/forms/video.php:294129 #: includes/helpers/functions.php:1608 widgets/forms/video.php:29 4130 4130 #: widgets/forms/video.php:45 4131 4131 msgid "Select Video" 4132 4132 msgstr "" 4133 4133 4134 #: includes/helpers/functions.php:16 07 includes/helpers/functions.php:16674134 #: includes/helpers/functions.php:1624 includes/helpers/functions.php:1684 4135 4135 msgid "" 4136 4136 "Enter your direct file URL in the textbox above (OR) upload your file using " … … 4138 4138 msgstr "" 4139 4139 4140 #: includes/helpers/functions.php:16 134140 #: includes/helpers/functions.php:1630 4141 4141 #: premium/public/templates/video-form.php:156 4142 4142 msgid "HLS" 4143 4143 msgstr "" 4144 4144 4145 #: includes/helpers/functions.php:16 204145 #: includes/helpers/functions.php:1637 4146 4146 #: premium/public/templates/video-form.php:156 4147 4147 msgid "MPEG-DASH" 4148 4148 msgstr "" 4149 4149 4150 #: includes/helpers/functions.php:16 41 includes/helpers/functions.php:24614150 #: includes/helpers/functions.php:1658 includes/helpers/functions.php:2478 4151 4151 msgid "Dailymotion" 4152 4152 msgstr "" 4153 4153 4154 #: includes/helpers/functions.php:16 52 includes/helpers/functions.php:24624154 #: includes/helpers/functions.php:1669 includes/helpers/functions.php:2479 4155 4155 msgid "Rumble" 4156 4156 msgstr "" 4157 4157 4158 #: includes/helpers/functions.php:18 364158 #: includes/helpers/functions.php:1853 4159 4159 #: premium/public/templates/video-form.php:242 4160 4160 #: premium/public/templates/video-form.php:249 … … 4164 4164 msgstr "" 4165 4165 4166 #: includes/helpers/functions.php:18 434166 #: includes/helpers/functions.php:1860 4167 4167 #: premium/public/templates/video-form.php:284 4168 4168 #: premium/public/templates/video-form.php:291 … … 4172 4172 msgstr "" 4173 4173 4174 #: includes/helpers/functions.php:18 504174 #: includes/helpers/functions.php:1867 4175 4175 msgid "Include Video ID(s)" 4176 4176 msgstr "" 4177 4177 4178 #: includes/helpers/functions.php:18 574178 #: includes/helpers/functions.php:1874 4179 4179 msgid "Exclude Video ID(s)" 4180 4180 msgstr "" 4181 4181 4182 #: includes/helpers/functions.php:1 8984182 #: includes/helpers/functions.php:1915 4183 4183 msgid "Follow URL" 4184 4184 msgstr "" 4185 4185 4186 #: includes/helpers/functions.php:19 064186 #: includes/helpers/functions.php:1923 4187 4187 msgid "Gallery" 4188 4188 msgstr "" 4189 4189 4190 #: includes/helpers/functions.php:20 604190 #: includes/helpers/functions.php:2077 4191 4191 msgid "More Button" 4192 4192 msgstr "" 4193 4193 4194 #: includes/helpers/functions.php:20 67widgets/forms/categories.php:1574194 #: includes/helpers/functions.php:2084 widgets/forms/categories.php:157 4195 4195 msgid "More Button Label" 4196 4196 msgstr "" 4197 4197 4198 #: includes/helpers/functions.php:20 70widgets/categories.php:674198 #: includes/helpers/functions.php:2087 widgets/categories.php:67 4199 4199 #: widgets/videos.php:478 4200 4200 msgid "Show More" 4201 4201 msgstr "" 4202 4202 4203 #: includes/helpers/functions.php:20 74widgets/forms/categories.php:1624203 #: includes/helpers/functions.php:2091 widgets/forms/categories.php:162 4204 4204 msgid "More Button Link" 4205 4205 msgstr "" 4206 4206 4207 #: includes/helpers/functions.php:20 75widgets/forms/categories.php:1644207 #: includes/helpers/functions.php:2092 widgets/forms/categories.php:164 4208 4208 msgid "Leave this field blank to use Ajax" 4209 4209 msgstr "" 4210 4210 4211 #: includes/helpers/functions.php:20 824211 #: includes/helpers/functions.php:2099 4212 4212 msgid "Filters & Search Form" 4213 4213 msgstr "" 4214 4214 4215 #: includes/helpers/functions.php:2 0864215 #: includes/helpers/functions.php:2103 4216 4216 msgid "Filter By Video Title, Description" 4217 4217 msgstr "" 4218 4218 4219 #: includes/helpers/functions.php:2 0874219 #: includes/helpers/functions.php:2104 4220 4220 msgid "" 4221 4221 "Enable keyword search that allows visitors to filter videos by matching " … … 4223 4223 msgstr "" 4224 4224 4225 #: includes/helpers/functions.php:2 0934225 #: includes/helpers/functions.php:2110 4226 4226 msgid "Filter By Categories" 4227 4227 msgstr "" 4228 4228 4229 #: includes/helpers/functions.php:2 0944229 #: includes/helpers/functions.php:2111 4230 4230 msgid "Allow visitors to filter videos based on assigned categories." 4231 4231 msgstr "" 4232 4232 4233 #: includes/helpers/functions.php:21 004233 #: includes/helpers/functions.php:2117 4234 4234 msgid "Filter By Tags" 4235 4235 msgstr "" 4236 4236 4237 #: includes/helpers/functions.php:21 014237 #: includes/helpers/functions.php:2118 4238 4238 msgid "Allow visitors to filter videos based on assigned tags." 4239 4239 msgstr "" 4240 4240 4241 #: includes/helpers/functions.php:21 084241 #: includes/helpers/functions.php:2125 4242 4242 msgid "" 4243 4243 "Enable a dropdown to let visitors sort videos by options like date, title, " … … 4245 4245 msgstr "" 4246 4246 4247 #: includes/helpers/functions.php:21 154247 #: includes/helpers/functions.php:2132 4248 4248 msgid "Show a reset button to allow visitors to clear all selected filters." 4249 4249 msgstr "" 4250 4250 4251 #: includes/helpers/functions.php:21 214251 #: includes/helpers/functions.php:2138 4252 4252 msgid "Filters Template" 4253 4253 msgstr "" 4254 4254 4255 #: includes/helpers/functions.php:21 224255 #: includes/helpers/functions.php:2139 4256 4256 msgid "" 4257 4257 "Choose how the filters will be displayed — vertically (stacked) or " … … 4259 4259 msgstr "" 4260 4260 4261 #: includes/helpers/functions.php:21 324261 #: includes/helpers/functions.php:2149 4262 4262 msgid "Filters Mode" 4263 4263 msgstr "" 4264 4264 4265 #: includes/helpers/functions.php:21 334265 #: includes/helpers/functions.php:2150 4266 4266 msgid "How should the filter form behave when users interact with it?" 4267 4267 msgstr "" 4268 4268 4269 #: includes/helpers/functions.php:21 364269 #: includes/helpers/functions.php:2153 4270 4270 msgid "Live - Update instantly" 4271 4271 msgstr "" 4272 4272 4273 #: includes/helpers/functions.php:21 374273 #: includes/helpers/functions.php:2154 4274 4274 msgid "Ajax - Update instantly without page reload" 4275 4275 msgstr "" 4276 4276 4277 #: includes/helpers/functions.php:21 384277 #: includes/helpers/functions.php:2155 4278 4278 msgid "Search - Update on button click" 4279 4279 msgstr "" 4280 4280 4281 #: includes/helpers/functions.php:21 444281 #: includes/helpers/functions.php:2161 4282 4282 msgid "Filters Position" 4283 4283 msgstr "" 4284 4284 4285 #: includes/helpers/functions.php:21 454285 #: includes/helpers/functions.php:2162 4286 4286 msgid "" 4287 4287 "Decide where the filters should appear — above the gallery (Top), on the " … … 4289 4289 msgstr "" 4290 4290 4291 #: includes/helpers/functions.php:21 50premium/admin/playlist.php:394291 #: includes/helpers/functions.php:2167 premium/admin/playlist.php:39 4292 4292 #: premium/public/playlist.php:57 4293 4293 msgid "Right" 4294 4294 msgstr "" 4295 4295 4296 #: includes/helpers/functions.php:2 1934296 #: includes/helpers/functions.php:2210 4297 4297 msgid "Include Category ID(s)" 4298 4298 msgstr "" 4299 4299 4300 #: includes/helpers/functions.php:22 004300 #: includes/helpers/functions.php:2217 4301 4301 msgid "Exclude Category ID(s)" 4302 4302 msgstr "" 4303 4303 4304 #: includes/helpers/functions.php:2 2974304 #: includes/helpers/functions.php:2314 4305 4305 msgid "Search Form" 4306 4306 msgstr "" 4307 4307 4308 #: includes/helpers/functions.php:23 58widgets/forms/search.php:1074308 #: includes/helpers/functions.php:2375 widgets/forms/search.php:107 4309 4309 msgid "" 4310 4310 "The selected \"Search Results Page\" must include the [aiovg_search] " … … 4312 4312 msgstr "" 4313 4313 4314 #: includes/helpers/functions.php:24 294314 #: includes/helpers/functions.php:2446 4315 4315 #, php-format 4316 4316 msgid "%s ago" 4317 4317 msgstr "" 4318 4318 4319 #: includes/helpers/functions.php:24 574319 #: includes/helpers/functions.php:2474 4320 4320 msgid "Video File (mp4, webm, ogv, m4v, mov)" 4321 4321 msgstr "" 4322 4322 4323 #: includes/helpers/functions.php:24 584323 #: includes/helpers/functions.php:2475 4324 4324 msgid "HLS / MPEG-DASH" 4325 4325 msgstr "" 4326 4326 4327 #: includes/helpers/functions.php:24 814327 #: includes/helpers/functions.php:2498 4328 4328 msgid "Classic" 4329 4329 msgstr "" … … 4692 4692 4693 4693 #: premium/admin/automations.php:425 4694 #: premium/admin/partials/automations-statistics.php: 694694 #: premium/admin/partials/automations-statistics.php:76 4695 4695 msgid "Next scheduled update" 4696 4696 msgstr "" … … 4708 4708 msgstr "" 4709 4709 4710 #: premium/admin/automations.php:515 premium/admin/automations.php:10 434710 #: premium/admin/automations.php:515 premium/admin/automations.php:1050 4711 4711 msgid "Import Log" 4712 4712 msgstr "" 4713 4713 4714 #: premium/admin/automations.php:867 premium/admin/automations.php:100 04715 msgid "Preview Import"4714 #: premium/admin/automations.php:867 premium/admin/automations.php:1007 4715 msgid "Preview" 4716 4716 msgstr "" 4717 4717 … … 4765 4765 4766 4766 #: premium/admin/automations.php:993 4767 #: premium/admin/partials/automations-sources.php:252 4768 msgid "User ID" 4769 msgstr "" 4770 4771 #: premium/admin/automations.php:994 4772 msgid "" 4773 "Enter the <strong>User ID</strong> of the Vimeo account that owns this " 4774 "source.<br><br>Showcase, Folder and Portfolio imports need it along with " 4775 "their own ID." 4776 msgstr "" 4777 4778 #: premium/admin/automations.php:1000 4767 4779 msgid "Configure Source Input" 4768 4780 msgstr "" 4769 4781 4770 #: premium/admin/automations.php: 9944782 #: premium/admin/automations.php:1001 4771 4783 msgid "" 4772 4784 "Based on the selected <strong>Source Type</strong>, you will see relevant " … … 4776 4788 msgstr "" 4777 4789 4778 #: premium/admin/automations.php:100 14779 msgid "" 4780 "Click <strong>Preview Import</strong> to preview videos from your source."4781 " <br><br>If any errors appear, correct them before proceeding."4782 msgstr "" 4783 4784 #: premium/admin/automations.php:10 074790 #: premium/admin/automations.php:1008 4791 msgid "" 4792 "Click <strong>Preview</strong> to see the videos this automation would " 4793 "import.<br><br>If any errors appear, correct them before proceeding." 4794 msgstr "" 4795 4796 #: premium/admin/automations.php:1014 4785 4797 #: premium/admin/partials/automations-sources.php:450 4786 4798 msgid "Batch Limit" 4787 4799 msgstr "" 4788 4800 4789 #: premium/admin/automations.php:10 084801 #: premium/admin/automations.php:1015 4790 4802 msgid "" 4791 4803 "Set the maximum number of videos to import in each batch.<br><br>For optimal " … … 4793 4805 msgstr "" 4794 4806 4795 #: premium/admin/automations.php:10 144807 #: premium/admin/automations.php:1021 4796 4808 msgid "Schedule Frequency" 4797 4809 msgstr "" 4798 4810 4799 #: premium/admin/automations.php:10 154811 #: premium/admin/automations.php:1022 4800 4812 msgid "" 4801 4813 "Decide how often the plugin should check for new videos.<br><br>Options " … … 4804 4816 msgstr "" 4805 4817 4806 #: premium/admin/automations.php:102 14818 #: premium/admin/automations.php:1028 4807 4819 msgid "Auto-Continue" 4808 4820 msgstr "" 4809 4821 4810 #: premium/admin/automations.php:102 24822 #: premium/admin/automations.php:1029 4811 4823 msgid "" 4812 4824 "Enable this option if you want the plugin to keep checking for new videos " … … 4814 4826 msgstr "" 4815 4827 4816 #: premium/admin/automations.php:10 284828 #: premium/admin/automations.php:1035 4817 4829 msgid "Video Settings" 4818 4830 msgstr "" 4819 4831 4820 #: premium/admin/automations.php:10 294832 #: premium/admin/automations.php:1036 4821 4833 msgid "" 4822 4834 "Decide how imported videos should be handled:<br><br>- Assign " … … 4830 4842 msgstr "" 4831 4843 4832 #: premium/admin/automations.php:10 364844 #: premium/admin/automations.php:1043 4833 4845 msgid "Start Import" 4834 4846 msgstr "" 4835 4847 4836 #: premium/admin/automations.php:10 374848 #: premium/admin/automations.php:1044 4837 4849 msgid "" 4838 4850 "Ready to go?<br><br>Click <strong>Publish & Import</strong> to begin " … … 4842 4854 msgstr "" 4843 4855 4844 #: premium/admin/automations.php:10 444856 #: premium/admin/automations.php:1051 4845 4857 msgid "" 4846 4858 "This section logs every import batch with a timestamp.<br><br>Click any " … … 4848 4860 msgstr "" 4849 4861 4850 #: premium/admin/automations.php:10 534862 #: premium/admin/automations.php:1060 4851 4863 #, php-format 4852 4864 msgid "" … … 4878 4890 4879 4891 #: premium/admin/partials/automations-sources.php:93 4880 msgid "Enter the YouTube Channel ID (or) a YouTube Video URL from the Channel." 4892 msgid "" 4893 "Enter the channel URL (for example, https://www.youtube.com/@name), the " 4894 "channel ID, or the URL of any video from the channel." 4881 4895 msgstr "" 4882 4896 … … 4916 4930 #: premium/admin/partials/automations-sources.php:169 4917 4931 #: premium/admin/partials/automations-sources.php:420 4918 msgid "" 4919 "Enter the list of video URLs those should be excluded during the import. " 4920 "Enter one video per line." 4932 msgid "Videos to skip during import. Enter one URL per line." 4921 4933 msgstr "" 4922 4934 … … 4942 4954 msgstr "" 4943 4955 4944 #: premium/admin/partials/automations-sources.php:2524945 msgid "User ID"4946 msgstr ""4947 4948 4956 #: premium/admin/partials/automations-sources.php:256 4949 4957 msgid "Enter your Vimeo User ID" … … 5024 5032 #: premium/admin/partials/automations-sources.php:454 5025 5033 msgid "" 5026 " Enter the maximum amount of videos to be imported per batch. We recommend"5027 " keeping this value less than500."5034 "The maximum number of videos to import in each batch. We recommend keeping " 5035 "this below 500." 5028 5036 msgstr "" 5029 5037 … … 5053 5061 5054 5062 #: premium/admin/partials/automations-sources.php:484 5055 msgid "Configure how frequent the plugin the plugin should import videos." 5063 msgid "" 5064 "How often to import the next batch. Choose \"Only Once\" to import batches " 5065 "only when you click the button." 5056 5066 msgstr "" 5057 5067 … … 5061 5071 5062 5072 #: premium/admin/partials/automations-sources.php:494 5063 msgid "" 5064 "Check this option if the plugin should check for new videos after the import " 5065 "has been completed." 5073 msgid "Keep checking for new videos after the whole source has been imported." 5066 5074 msgstr "" 5067 5075 … … 5074 5082 msgstr "" 5075 5083 5076 #: premium/admin/partials/automations-statistics.php:74 5084 #: premium/admin/partials/automations-statistics.php:70 5085 msgid "" 5086 "No new videos found. Everything from this source has already been imported." 5087 msgstr "" 5088 5089 #: premium/admin/partials/automations-statistics.php:81 5077 5090 msgid "History" 5078 5091 msgstr "" 5079 5092 5080 #: premium/admin/partials/automations-statistics.php:8 25093 #: premium/admin/partials/automations-statistics.php:89 5081 5094 #, php-format 5082 5095 msgid "Imported %1$d videos on %2$s" 5083 5096 msgstr "" 5084 5097 5085 #: premium/admin/partials/automations-statistics.php:9 05098 #: premium/admin/partials/automations-statistics.php:97 5086 5099 msgid "You have not started importing videos." 5087 5100 msgstr "" … … 5089 5102 #: premium/admin/partials/automations-submitbox.php:21 5090 5103 msgid "" 5091 " We are importing your videos. Please do not refresh or leave this page. This "5092 " can take a few minutes."5104 "Please wait while we process your request. Do not refresh or leave this " 5105 "page. This can take a few minutes." 5093 5106 msgstr "" 5094 5107 5095 5108 #: premium/admin/partials/automations-test-screen.php:27 5096 5109 msgid "" 5097 "Congrats! Your configuration is working. You can publish the form and start"5098 " importing videos."5110 "Congrats! Your source and API connection are working. Below is a sample of " 5111 "videos from this source." 5099 5112 msgstr "" 5100 5113 … … 5148 5161 msgstr "" 5149 5162 5150 #: premium/admin/partials/automations-video-options.php:9 35163 #: premium/admin/partials/automations-video-options.php:94 5151 5164 msgid "Check this box to automatically import tags from the Vimeo website." 5152 5165 msgstr "" 5153 5166 5154 #: premium/admin/partials/automations-video-options.php:1 195167 #: premium/admin/partials/automations-video-options.php:121 5155 5168 msgid "Video Date" 5156 5169 msgstr "" 5157 5170 5158 #: premium/admin/partials/automations-video-options.php:12 55171 #: premium/admin/partials/automations-video-options.php:127 5159 5172 msgid "Original date on the video service" 5160 5173 msgstr "" 5161 5174 5162 #: premium/admin/partials/automations-video-options.php:12 65175 #: premium/admin/partials/automations-video-options.php:128 5163 5176 msgid "Date when the video is imported" 5164 5177 msgstr "" 5165 5178 5166 #: premium/admin/partials/automations-video-options.php:14 05179 #: premium/admin/partials/automations-video-options.php:142 5167 5180 msgid "" 5168 5181 "Select whether to use the original posting date on the video service, or the " … … 5170 5183 msgstr "" 5171 5184 5172 #: premium/admin/partials/automations-video-options.php:1 595185 #: premium/admin/partials/automations-video-options.php:161 5173 5186 msgid "Select the author to whom the video should be assigned." 5174 5187 msgstr "" 5175 5188 5176 #: premium/admin/partials/automations-video-options.php:17 15189 #: premium/admin/partials/automations-video-options.php:173 5177 5190 msgid "Draft" 5178 5191 msgstr "" 5179 5192 5180 #: premium/admin/partials/automations-video-options.php:17 25193 #: premium/admin/partials/automations-video-options.php:174 5181 5194 #: premium/admin/user.php:168 premium/admin/user.php:179 5182 5195 msgid "Pending" 5183 5196 msgstr "" 5184 5197 5185 #: premium/admin/partials/automations-video-options.php:17 35198 #: premium/admin/partials/automations-video-options.php:175 5186 5199 #: premium/admin/user.php:167 premium/admin/user.php:178 5187 5200 msgid "Publish" 5188 5201 msgstr "" 5189 5202 5190 #: premium/admin/partials/automations-video-options.php:18 75203 #: premium/admin/partials/automations-video-options.php:189 5191 5204 msgid "" 5192 5205 "Select the default status of the imported videos. Site admin will be " … … 5879 5892 msgstr "" 5880 5893 5881 #: premium/includes/vimeo-api/query.php:269 5894 #: premium/includes/vimeo-api/query.php:157 5895 #, php-format 5896 msgid "Could not connect to the Vimeo API: %s" 5897 msgstr "" 5898 5899 #: premium/includes/vimeo-api/query.php:282 5882 5900 msgid "Vimeo access token not found." 5883 5901 msgstr "" 5884 5902 5885 #: premium/includes/vimeo-api/query.php:2 775903 #: premium/includes/vimeo-api/query.php:290 5886 5904 #, php-format 5887 5905 msgid "%1$s: %2$s (error code: %3$s)" 5888 5906 msgstr "" 5889 5907 5890 #: premium/includes/vimeo-api/query.php:2 785891 #: premium/includes/vimeo-api/query.php:2 865908 #: premium/includes/vimeo-api/query.php:291 5909 #: premium/includes/vimeo-api/query.php:299 5892 5910 msgid "Vimeo API error encountered" 5893 5911 msgstr "" 5894 5912 5895 #: premium/includes/vimeo-api/query.php: 2905913 #: premium/includes/vimeo-api/query.php:303 5896 5914 msgid "An unknown Vimeo API error has happened. Please try again." 5897 5915 msgstr "" … … 5939 5957 msgstr "" 5940 5958 5941 #: premium/includes/vimeo-import.php:1 315942 #: premium/includes/youtube-api/youtube-api.php:4 475943 #: premium/includes/youtube-api/youtube-api.php: 4975959 #: premium/includes/vimeo-import.php:173 5960 #: premium/includes/youtube-api/youtube-api.php:473 5961 #: premium/includes/youtube-api/youtube-api.php:530 5944 5962 msgid "No videos found matching your query." 5945 5963 msgstr "" … … 5951 5969 #: premium/includes/youtube-api/youtube-api.php:64 5952 5970 msgid "Import source not found." 5971 msgstr "" 5972 5973 #: premium/includes/youtube-api/youtube-api.php:525 5974 #, php-format 5975 msgid "No YouTube channel found for the handle %s. Check the channel URL." 5976 msgstr "" 5977 5978 #: premium/includes/youtube-api/youtube-api.php:672 5979 msgid "" 5980 "The daily YouTube API quota for this API key is used up. It resets at " 5981 "midnight Pacific Time." 5953 5982 msgstr "" 5954 5983 … … 6290 6319 msgstr "" 6291 6320 6292 #: premium/public/thumbnail-generator.php:53 public/video.php:99 26321 #: premium/public/thumbnail-generator.php:53 public/video.php:991 6293 6322 msgid "Invalid file format." 6294 6323 msgstr "" … … 6411 6440 msgstr "" 6412 6441 6413 #: public/video.php:74 7 public/video.php:765 public/video.php:8056414 #: public/video.php:81 1 public/video.php:818 public/video.php:8226442 #: public/video.php:746 public/video.php:764 public/video.php:804 6443 #: public/video.php:810 public/video.php:817 public/video.php:821 6415 6444 msgid "File is not readable or not found." 6416 6445 msgstr "" -
all-in-one-video-gallery/trunk/public/assets/js/vidstack.js
r3804420 r3826337 322 322 this._playerEl.classList.remove( 'aiovg-is-ended' ); 323 323 }); 324 325 // Stream track names come from the playlist and Plyr prints them as HTML 326 if ( this._params.hasOwnProperty( 'hls' ) || this._params.hasOwnProperty( 'dash' ) ) { 327 const addTextTrack = video.addTextTrack.bind( video ); 328 const escape = ( value ) => 'string' === typeof value ? value.replace( /</g, '<' ).replace( />/g, '>' ) : value; 329 330 video.addTextTrack = ( kind, label, language ) => addTextTrack( kind, escape( label ), escape( language ) ); 331 } 324 332 325 333 // HLS -
all-in-one-video-gallery/trunk/public/assets/js/vidstack.min.js
r3804420 r3826337 1 !function(){"use strict";class e extends HTMLElement{constructor(){super(),this._isRendered=!1,this._isCookieConsentLoaded=!1,this._isPlayerLoaded=!1,this._hasVideoStarted=!1,this._player=null,this._playerEl=null,this._cookieConsentEl=null,this._emailCaptureEl=null,this._intersectionObserver=null,this._isInViewport=!1,this._playerId="",this._params={}}connectedCallback(){this._playerId=this.dataset.id||"",this._params=this.dataset.params?JSON.parse(this.dataset.params):{},this._render()}get cookieConsent(){return this.hasAttribute("cookieconsent")}set cookieConsent(e){let t=Boolean(e);t?this.setAttribute("cookieconsent",""):this.removeAttribute("cookieconsent")}get emailCapture(){return this.hasAttribute("emailcapture")}set emailCapture(e){let t=Boolean(e);t?this.setAttribute("emailcapture",""):this.removeAttribute("emailcapture")}_render(){if(this._isRendered)return!1;if(this._params.lazyloading&&!this._isInViewport)return this._initIntersectionObserver(),!1;if(this.emailCapture){if(this._emailCaptureEl=this.querySelector(".aiovg-email-capture"),this._emailCaptureEl){if(parseInt(this._emailCaptureEl.dataset.pre_roll))return this._initPreRollEmailCapture(),!1}else this.emailCapture=!1}if(this.cookieConsent)return this._addCookieConsent(),!1;this._isRendered=!0,this._addPlayer()}_addCookieConsent(){if(this._isCookieConsentLoaded)return!1;if(this._isCookieConsentLoaded=!0,this._cookieConsentEl=this.querySelector(".aiovg-privacy-wrapper"),!this._cookieConsentEl)return this.cookieConsent=!1,this._isRendered=!0,this._addPlayer(),!1;let t=this._cookieConsentEl.getAttribute("data-poster")||"";e.isValidUrl(t)&&(this._cookieConsentEl.style.backgroundImage=`url("${t}")`),this._cookieConsentEl.querySelector(".aiovg-privacy-consent-button").addEventListener("click",()=>this._onCookieConsent())}_onCookieConsent(){this._isRendered=!0,this._cookieConsentEl.remove(),this.cookieConsent=!1,this._params.player.autoplay=!0,this._addPlayer(),this._setCookie();let e=document.querySelectorAll(".aiovg-player-element");for(let t=0;t<e.length;t++)e[t].removeCookieConsent();window.postMessage({message:"aiovg-cookie-consent"},window.location.origin)}_initPreRollEmailCapture(){this.classList.add("aiovg-show-email-capture");let t=this._emailCaptureEl.getAttribute("data-poster")||"";e.isValidUrl(t)&&(this._emailCaptureEl.style.backgroundImage=`url("${t}")`);let a=this._emailCaptureEl.querySelector("input");a&&!a.value&&a.focus(),this._initEmailCaptureForm(e=>{if(!this._emailCaptureEl||this._isRendered||this._emailCaptureEl.classList.contains("aiovg-is-loading"))return!1;this._emailCaptureEl.classList.add("aiovg-is-loading");let t=this._emailCaptureEl.dataset.capture_key||"",a=new XMLHttpRequest;a.onreadystatechange=()=>{if(4==a.readyState){let e=null;if(200==a.status&&a.responseText)try{e=JSON.parse(a.responseText)}catch(i){}if(e&&e.success){this._isRendered=!0,this.classList.remove("aiovg-show-email-capture"),this._emailCaptureEl.remove(),this._emailCaptureEl=null,this.emailCapture=!1,this._params.player.autoplay=!0,this._addPlayer();let s=!(e.data&&!1===e.data.remembered),r=document.querySelectorAll(".aiovg-player-element");for(let l=0;l<r.length;l++)r[l].removeCookieConsent(),s&&r[l].removeEmailCapture(t);window.postMessage(s?{message:"aiovg-email-captured",capture_key:t}:{message:"aiovg-cookie-consent"},window.location.origin)}else{let o=this._emailCaptureEl.querySelector(".aiovg-email-capture-error");return o&&(o.textContent=e&&e.data&&"string"==typeof e.data?e.data:o.getAttribute("data-error_generic"),o.style.display="block"),this._emailCaptureEl.classList.remove("aiovg-is-loading"),!1}}},a.open("POST",this._params.ajax_url+"?action=aiovg_save_email_lead&security="+this._params.ajax_nonce,!0),a.setRequestHeader("Content-type","application/x-www-form-urlencoded"),a.send(e)})}_addPlayer(){if(this._isPlayerLoaded)return!1;this._isPlayerLoaded=!0;let e=this.querySelector("#"+this._playerId);if(!e)return!1;this._player=new Plyr(e,this._params.player),this._playerEl=this.querySelector(".plyr");let t={player:this._player,settings:this._params};if(this.dispatchEvent(new CustomEvent("player.init",{detail:t,bubbles:!0,cancelable:!0})),this._disableYouTubeCaptions(),this._player.on("ready",()=>{let e=this._player.elements.container.querySelector('[data-plyr="restart"]');if(e){let t=document.createElement("div");t.className="plyr__controls__item plyr__spacer",t.setAttribute("aria-hidden","true"),e.parentNode.replaceChild(t,e)}this._initShareEmbed(),this._initLogo(),this._initTrailerBadge(),this._initEmailCapture()}),this._player.on("playing",()=>{this._hasVideoStarted||(this._hasVideoStarted=!0,this._updateViewsCount());let e=document.querySelectorAll(".aiovg-player-element");for(let t=0;t<e.length;t++)e[t]!=this&&e[t].pause();window.postMessage({message:"aiovg-video-playing"},window.location.origin)}),this._player.on("ended",()=>{this._playerEl.className+=" plyr--stopped",this._playerEl.classList.add("aiovg-is-ended")}),this._player.on("play",()=>{this._playerEl.classList.remove("aiovg-is-ended")}),this._params.hasOwnProperty("hls") ){let a=new Hls;a.loadSource(this._params.hls),a.attachMedia(e),this._player.on("languagechange",()=>{setTimeout(()=>a.subtitleTrack=this._player.currentTrack,50)})}if(this._params.hasOwnProperty("dash")){let i=dashjs.MediaPlayer().create();i.initialize(e,this._params.dash,this._params.player.autoplay||!1)}this._player.ads&&this._initAds(),this._params.hasOwnProperty("contextmenu")&&this._initContextMenu()}_disableYouTubeCaptions(){let e=this._params.player.youtube;if(!e||0!==e.cc_load_policy)return;let t=()=>{let e=this._player.embed;if(e&&"function"==typeof e.unloadModule){try{e.setOption("captions","track",{})}catch(t){}try{e.unloadModule("captions")}catch(a){}try{e.unloadModule("cc")}catch(i){}}},a=()=>{[0,300,1200].forEach(e=>setTimeout(t,e))};this._player.on("ready",a),this._player.on("playing",a)}_initAds(){this._player.ads.config.tagUrl=this._getVastUrl();let e=!1;this._player.ads.on("loaded",()=>{if(e)return!1;e=!0;let t=this._player.ads.manager,a=document.createElement("button");a.type="button",a.className="plyr__control plyr__control--overlaid",a.style.display="none",a.innerHTML='<svg aria-hidden="true" focusable="false"><use href="'+this._params.player.iconUrl+'#plyr-play"></use></svg><span class="plyr__sr-only">Play</span>',this.querySelector(".plyr__ads").appendChild(a),a.addEventListener("click",()=>{a.style.display="none",t.resume()}),t.addEventListener(google.ima.AdEvent.Type.STARTED,e=>{this.classList.add("aiovg-ads-playing"),this._params.player.ads.companion&&this._initCompanionAds(e)}),t.addEventListener(google.ima.AdEvent.Type.PAUSED,e=>{a.style.display=""}),t.addEventListener(google.ima.AdEvent.Type.RESUMED,e=>{a.style.display="none"}),t.addEventListener(google.ima.AdEvent.Type.CONTENT_RESUME_REQUESTED,e=>{this.classList.remove("aiovg-ads-playing")})})}_getVastUrl(){let e=this._params.player.ads.tagUrl.replace(/%5B/gi,"[").replace(/%5D/gi,"]");return(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=e.replace("[domain]",encodeURIComponent(this._params.site_url))).replace("[player_width]",this._player.elements.container.offsetWidth)).replace("[player_height]",this._player.elements.container.offsetHeight)).replace("[random_number]",Date.now())).replace("[timestamp]",Date.now())).replace("[page_url]",encodeURIComponent(window.location))).replace("[referrer]",encodeURIComponent(document.referrer))).replace("[ip_address]",this._params.ip_address)).replace("[post_id]",this._params.post_id)).replace("[post_title]",encodeURIComponent(this._params.post_title))).replace("[post_excerpt]",encodeURIComponent(this._params.post_excerpt))).replace("[video_file]",encodeURIComponent(this._player.source))).replace("[video_duration]",this._player.duration||"")).replace("[autoplay]",this._params.player.autoplay||!1)}_initCompanionAds(e){let t=e.getAd(),a=[];try{a=window.AIOVGGetCompanionElements()}catch(i){}if(a.length){let s=new google.ima.CompanionAdSelectionSettings;s.resourceType=google.ima.CompanionAdSelectionSettings.ResourceType.ALL,s.creativeType=google.ima.CompanionAdSelectionSettings.CreativeType.ALL,s.sizeCriteria=google.ima.CompanionAdSelectionSettings.SizeCriteria.SELECT_NEAR_MATCH;for(let r=0;r<a.length;r++){let l=a[r].id,o=a[r].width,n=a[r].height;try{let p=t.getCompanionAds(o,n,s),d=p[0],h=d.getContent();document.getElementById(l).innerHTML=h}catch(c){}}}}_initShareEmbed(){if(!this._params.hasOwnProperty("share")&&!this._params.hasOwnProperty("embed"))return!1;let e=document.createElement("button");e.type="button",e.className="plyr__controls__item plyr__control plyr__share-embed-button aiovg-icon-share",e.innerHTML='<span class="plyr__sr-only">Share</span>',this._playerEl.appendChild(e);let t=this.querySelector(".plyr__share-embed-modal-close-button"),a=this.querySelector(".plyr__share-embed-modal");this._playerEl.appendChild(a),a.style.display="";let i=!1;e.addEventListener("click",()=>{this._player.playing?(i=!0,this._player.pause()):i=!1,e.style.display="none",a.className+=" fadein"}),t.addEventListener("click",()=>{i&&this._player.play(),a.className=a.className.replace(" fadein",""),setTimeout(function(){e.style.display=""},500)}),this._params.hasOwnProperty("embed")&&this.querySelector(".plyr__embed-code-input").addEventListener("focus",function(){this.select(),navigator.clipboard&&navigator.clipboard.writeText?navigator.clipboard.writeText(this.value).catch(()=>{}):document.execCommand("copy")})}_initLogo(){if(!this._params.hasOwnProperty("logo"))return!1;let e="bottom:50px; left:"+this._params.logo.margin+"px;";switch(this._params.logo.position){case"topleft":e="top:"+this._params.logo.margin+"px; left:"+this._params.logo.margin+"px;";break;case"topright":e="top:"+this._params.logo.margin+"px; right:"+this._params.logo.margin+"px;";break;case"bottomright":e="bottom:50px; right:"+this._params.logo.margin+"px;"}let t=document.createElement("div");t.className="plyr__logo",t.innerHTML='<a href="'+this._params.logo.link+'" target="_top" style="'+e+'"><img src="'+this._params.logo.image+'" alt="" /><span class="plyr__sr-only">Logo</span></a>',this._playerEl.appendChild(t)}_initTrailerBadge(){if(!this._params.hasOwnProperty("trailer"))return!1;let e=this._params.trailer,t=document.createElement(e.url?"a":"span");t.className="aiovg-trailer-badge",t.textContent=e.label,e.url&&(t.href=e.url,t.target="_top",this._playerEl.classList.add("aiovg-has-trailer-cta")),this._params.hasOwnProperty("logo")&&"topleft"==this._params.logo.position&&t.classList.add("aiovg-trailer-badge-bottom"),this._playerEl.appendChild(t)}_initEmailCapture(){if(!this.emailCapture||!this._emailCaptureEl)return!1;this._emailCaptureEl.style.backgroundImage="none",this._playerEl.appendChild(this._emailCaptureEl);let e=!1,t=!1,a=()=>{if(!this._emailCaptureEl||e)return!1;e=!0,this._player.ended||(t=!this._player.paused||this._player.seeking,this._player.pause()),this.classList.add("aiovg-show-email-capture");let a=this._emailCaptureEl.querySelector("input");a&&!a.value&&a.focus()},i=()=>{if(!this._emailCaptureEl||!e)return!1;e=!1,this.classList.remove("aiovg-show-email-capture"),this._emailCaptureEl.remove(),this._emailCaptureEl=null,this.emailCapture=!1,t&&this._player.play()},s=e=>{if(!this._emailCaptureEl||this._emailCaptureEl.classList.contains("aiovg-is-loading"))return!1;this._emailCaptureEl.classList.add("aiovg-is-loading");let t=this._emailCaptureEl.dataset.capture_key||"",a=new XMLHttpRequest;a.onreadystatechange=()=>{if(4==a.readyState){let e=null;if(200==a.status&&a.responseText)try{e=JSON.parse(a.responseText)}catch(s){}if(e&&e.success){i();let r=!(e.data&&!1===e.data.remembered),l=document.querySelectorAll(".aiovg-player-element");for(let o=0;o<l.length;o++)l[o].removeCookieConsent(),r&&l[o].removeEmailCapture(t);window.postMessage(r?{message:"aiovg-email-captured",capture_key:t}:{message:"aiovg-cookie-consent"},window.location.origin)}else{let n=this._emailCaptureEl.querySelector(".aiovg-email-capture-error");n&&(n.textContent=e&&e.data&&"string"==typeof e.data?e.data:n.getAttribute("data-error_generic"),n.style.display="block"),this._emailCaptureEl.classList.remove("aiovg-is-loading")}}},a.open("POST",this._params.ajax_url+"?action=aiovg_save_email_lead&security="+this._params.ajax_nonce,!0),a.setRequestHeader("Content-type","application/x-www-form-urlencoded"),a.send(e)},r=parseInt(this._emailCaptureEl.dataset.mid_roll);if(r){let l=!1,o=()=>{if(!this._emailCaptureEl)return this._player.off("timeupdate",o),!1;if(l)return!1;let e=this._player.duration,t=this._player.currentTime;e&&t>=r/100*e&&(l=!0,this._player.off("timeupdate",o),a())};this._player.on("timeupdate",o)}let n=parseInt(this._emailCaptureEl.dataset.post_roll),p=this._params.hasOwnProperty("trailer")&&this._params.trailer.url;n&&!p&&this._player.on("ended",()=>{a()}),this._player.on("play",()=>{if(!this._emailCaptureEl||!e)return!1;t=!0,this._player.pause()}),this._player.on("playing",()=>{if(!this._emailCaptureEl||!e)return!1;t=!0,this._player.pause()}),this._initEmailCaptureForm(e=>s(e))}_initEmailCaptureForm(e){let t=this._emailCaptureEl.querySelector(".aiovg-email-capture-submit"),a=this._emailCaptureEl.querySelector(".aiovg-email-capture-skip"),i=()=>{if("aiovg_videos"==this._params.post_type&&this._params.post_id)return"&video_id="+encodeURIComponent(this._params.post_id);let e="&video_id=0";return this._emailCaptureEl&&this._emailCaptureEl.dataset.video_url&&(e+="&video_url="+encodeURIComponent(this._emailCaptureEl.dataset.video_url)),e};if(t&&t.addEventListener("click",()=>{let t=this._emailCaptureEl.querySelector(".aiovg-email-capture-email"),a=this._emailCaptureEl.querySelector(".aiovg-email-capture-error"),s=t?t.value.trim():"";if(!s||!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(s)){if(a){let r=a.getAttribute("data-invalid_email")||"Please enter a valid email address.";a.textContent=r,a.style.display="block"}return t&&(t.classList.add("aiovg-is-invalid"),t.setAttribute("aria-invalid","true")),!1}a&&(a.style.display="none"),t&&(t.classList.remove("aiovg-is-invalid"),t.removeAttribute("aria-invalid"));let l="email="+encodeURIComponent(s),o=this._emailCaptureEl.querySelector(".aiovg-email-capture-name");o&&o.value.trim()&&(l+="&name="+encodeURIComponent(o.value.trim()));let n=this._emailCaptureEl.querySelector(".aiovg-email-capture-phone");n&&n.value.trim()&&(l+="&phone="+encodeURIComponent(n.value.trim())),l+=i(),e(l+="&page_url="+encodeURIComponent(window.location.href))}),a){let s=()=>e("skipped=1"+i());a.addEventListener("click",s),a.addEventListener("keydown",e=>{(13===e.keyCode||32===e.keyCode)&&(e.preventDefault(),s())})}}_initContextMenu(){if(!window.AIOVGIsContextMenuAdded){window.AIOVGIsContextMenuAdded=!0;let e=document.createElement("div");e.id="aiovg-contextmenu",e.style.display="none",e.innerHTML='<div class="aiovg-contextmenu-content">'+this._params.contextmenu.content+"</div>",document.body.appendChild(e)}let t=document.getElementById("aiovg-contextmenu"),a="";this._playerEl.addEventListener("contextmenu",function(e){if(3==e.keyCode||3==e.which){e.preventDefault(),e.stopPropagation();let i=t.offsetWidth,s=t.offsetHeight,r=e.pageX,l=e.pageY,o=document.documentElement,n=(window.pageXOffset||o.scrollLeft)-(o.clientLeft||0),p=(window.pageYOffset||o.scrollTop)-(o.clientTop||0),d=r+i>window.innerWidth+n?r-i:r,h=l+s>window.innerHeight+p?l-s:l;t.style.display="",t.style.left=d+"px",t.style.top=h+"px",clearTimeout(a),a=setTimeout(function(){t.style.display="none"},1500)}}),document.addEventListener("click",()=>{t.style.display="none"})}_initIntersectionObserver(){if(this._intersectionObserver)return!1;this._intersectionObserver=new IntersectionObserver((e,t)=>{e.forEach(e=>{e.isIntersecting?(this._isInViewport=!0,this._render(),this._isRendered&&t.unobserve(this)):this._isInViewport=!1})},{root:null,rootMargin:"0px",threshold:0}),this._intersectionObserver.observe(this)}async _updateViewsCount(){if(this._params.statistics&&"aiovg_videos"==this._params.post_type){let e=new FormData;e.append("action","aiovg_update_views_count"),e.append("post_id",parseInt(this._params.post_id)),e.append("duration",this._player.duration||0),e.append("security",this._params.ajax_nonce),fetch(this._params.ajax_url,{method:"POST",body:e})}}async _setCookie(){let e=new FormData;e.append("action","aiovg_set_cookie"),e.append("security",this._params.ajax_nonce),fetch(this._params.ajax_url,{method:"POST",body:e})}static isValidUrl(e){if(""===e)return!1;try{return new URL(e),!0}catch(t){return!1}}removeCookieConsent(){if(this._isRendered||!this._cookieConsentEl)return!1;this._cookieConsentEl.remove(),this.cookieConsent=!1,this._render()}removeEmailCapture(e){if(!this._emailCaptureEl||e&&this._emailCaptureEl.dataset.capture_key!==e)return!1;this.classList.remove("aiovg-show-email-capture"),this._emailCaptureEl.remove(),this._emailCaptureEl=null,this.emailCapture=!1,this._isRendered||this._render()}pause(){this._player&&this._player.pause()}seekTo(e){this._player&&(this._player.currentTime=e,this._hasVideoStarted||this._player.play())}}window.AIOVGIsContextMenuAdded=!1,document.addEventListener("DOMContentLoaded",function(){customElements.get("aiovg-video")||customElements.define("aiovg-video",e),window.addEventListener("message",function(e){if(e.origin!=window.location.origin||!e.data.hasOwnProperty("context")||"iframe"!=e.data.context||!e.data.hasOwnProperty("message"))return!1;if("aiovg-cookie-consent"==e.data.message){let t=document.querySelectorAll(".aiovg-player-element");for(let a=0;a<t.length;a++)t[a].removeCookieConsent()}if("aiovg-email-captured"==e.data.message){let i=document.querySelectorAll(".aiovg-player-element");for(let s=0;s<i.length;s++)i[s].removeCookieConsent(),i[s].removeEmailCapture(e.data.capture_key||"")}if("aiovg-video-playing"==e.data.message){let r=document.querySelectorAll("aiovg-video");for(let l=0;l<r.length;l++)r[l].pause()}})})}();1 !function(){"use strict";class e extends HTMLElement{constructor(){super(),this._isRendered=!1,this._isCookieConsentLoaded=!1,this._isPlayerLoaded=!1,this._hasVideoStarted=!1,this._player=null,this._playerEl=null,this._cookieConsentEl=null,this._emailCaptureEl=null,this._intersectionObserver=null,this._isInViewport=!1,this._playerId="",this._params={}}connectedCallback(){this._playerId=this.dataset.id||"",this._params=this.dataset.params?JSON.parse(this.dataset.params):{},this._render()}get cookieConsent(){return this.hasAttribute("cookieconsent")}set cookieConsent(e){let t=Boolean(e);t?this.setAttribute("cookieconsent",""):this.removeAttribute("cookieconsent")}get emailCapture(){return this.hasAttribute("emailcapture")}set emailCapture(e){let t=Boolean(e);t?this.setAttribute("emailcapture",""):this.removeAttribute("emailcapture")}_render(){if(this._isRendered)return!1;if(this._params.lazyloading&&!this._isInViewport)return this._initIntersectionObserver(),!1;if(this.emailCapture){if(this._emailCaptureEl=this.querySelector(".aiovg-email-capture"),this._emailCaptureEl){if(parseInt(this._emailCaptureEl.dataset.pre_roll))return this._initPreRollEmailCapture(),!1}else this.emailCapture=!1}if(this.cookieConsent)return this._addCookieConsent(),!1;this._isRendered=!0,this._addPlayer()}_addCookieConsent(){if(this._isCookieConsentLoaded)return!1;if(this._isCookieConsentLoaded=!0,this._cookieConsentEl=this.querySelector(".aiovg-privacy-wrapper"),!this._cookieConsentEl)return this.cookieConsent=!1,this._isRendered=!0,this._addPlayer(),!1;let t=this._cookieConsentEl.getAttribute("data-poster")||"";e.isValidUrl(t)&&(this._cookieConsentEl.style.backgroundImage=`url("${t}")`),this._cookieConsentEl.querySelector(".aiovg-privacy-consent-button").addEventListener("click",()=>this._onCookieConsent())}_onCookieConsent(){this._isRendered=!0,this._cookieConsentEl.remove(),this.cookieConsent=!1,this._params.player.autoplay=!0,this._addPlayer(),this._setCookie();let e=document.querySelectorAll(".aiovg-player-element");for(let t=0;t<e.length;t++)e[t].removeCookieConsent();window.postMessage({message:"aiovg-cookie-consent"},window.location.origin)}_initPreRollEmailCapture(){this.classList.add("aiovg-show-email-capture");let t=this._emailCaptureEl.getAttribute("data-poster")||"";e.isValidUrl(t)&&(this._emailCaptureEl.style.backgroundImage=`url("${t}")`);let a=this._emailCaptureEl.querySelector("input");a&&!a.value&&a.focus(),this._initEmailCaptureForm(e=>{if(!this._emailCaptureEl||this._isRendered||this._emailCaptureEl.classList.contains("aiovg-is-loading"))return!1;this._emailCaptureEl.classList.add("aiovg-is-loading");let t=this._emailCaptureEl.dataset.capture_key||"",a=new XMLHttpRequest;a.onreadystatechange=()=>{if(4==a.readyState){let e=null;if(200==a.status&&a.responseText)try{e=JSON.parse(a.responseText)}catch(i){}if(e&&e.success){this._isRendered=!0,this.classList.remove("aiovg-show-email-capture"),this._emailCaptureEl.remove(),this._emailCaptureEl=null,this.emailCapture=!1,this._params.player.autoplay=!0,this._addPlayer();let s=!(e.data&&!1===e.data.remembered),r=document.querySelectorAll(".aiovg-player-element");for(let l=0;l<r.length;l++)r[l].removeCookieConsent(),s&&r[l].removeEmailCapture(t);window.postMessage(s?{message:"aiovg-email-captured",capture_key:t}:{message:"aiovg-cookie-consent"},window.location.origin)}else{let o=this._emailCaptureEl.querySelector(".aiovg-email-capture-error");return o&&(o.textContent=e&&e.data&&"string"==typeof e.data?e.data:o.getAttribute("data-error_generic"),o.style.display="block"),this._emailCaptureEl.classList.remove("aiovg-is-loading"),!1}}},a.open("POST",this._params.ajax_url+"?action=aiovg_save_email_lead&security="+this._params.ajax_nonce,!0),a.setRequestHeader("Content-type","application/x-www-form-urlencoded"),a.send(e)})}_addPlayer(){if(this._isPlayerLoaded)return!1;this._isPlayerLoaded=!0;let e=this.querySelector("#"+this._playerId);if(!e)return!1;this._player=new Plyr(e,this._params.player),this._playerEl=this.querySelector(".plyr");let t={player:this._player,settings:this._params};if(this.dispatchEvent(new CustomEvent("player.init",{detail:t,bubbles:!0,cancelable:!0})),this._disableYouTubeCaptions(),this._player.on("ready",()=>{let e=this._player.elements.container.querySelector('[data-plyr="restart"]');if(e){let t=document.createElement("div");t.className="plyr__controls__item plyr__spacer",t.setAttribute("aria-hidden","true"),e.parentNode.replaceChild(t,e)}this._initShareEmbed(),this._initLogo(),this._initTrailerBadge(),this._initEmailCapture()}),this._player.on("playing",()=>{this._hasVideoStarted||(this._hasVideoStarted=!0,this._updateViewsCount());let e=document.querySelectorAll(".aiovg-player-element");for(let t=0;t<e.length;t++)e[t]!=this&&e[t].pause();window.postMessage({message:"aiovg-video-playing"},window.location.origin)}),this._player.on("ended",()=>{this._playerEl.className+=" plyr--stopped",this._playerEl.classList.add("aiovg-is-ended")}),this._player.on("play",()=>{this._playerEl.classList.remove("aiovg-is-ended")}),this._params.hasOwnProperty("hls")||this._params.hasOwnProperty("dash")){let a=e.addTextTrack.bind(e),i=e=>"string"==typeof e?e.replace(/</g,"<").replace(/>/g,">"):e;e.addTextTrack=(e,t,s)=>a(e,i(t),i(s))}if(this._params.hasOwnProperty("hls")){let s=new Hls;s.loadSource(this._params.hls),s.attachMedia(e),this._player.on("languagechange",()=>{setTimeout(()=>s.subtitleTrack=this._player.currentTrack,50)})}if(this._params.hasOwnProperty("dash")){let r=dashjs.MediaPlayer().create();r.initialize(e,this._params.dash,this._params.player.autoplay||!1)}this._player.ads&&this._initAds(),this._params.hasOwnProperty("contextmenu")&&this._initContextMenu()}_disableYouTubeCaptions(){let e=this._params.player.youtube;if(!e||0!==e.cc_load_policy)return;let t=()=>{let e=this._player.embed;if(e&&"function"==typeof e.unloadModule){try{e.setOption("captions","track",{})}catch(t){}try{e.unloadModule("captions")}catch(a){}try{e.unloadModule("cc")}catch(i){}}},a=()=>{[0,300,1200].forEach(e=>setTimeout(t,e))};this._player.on("ready",a),this._player.on("playing",a)}_initAds(){this._player.ads.config.tagUrl=this._getVastUrl();let e=!1;this._player.ads.on("loaded",()=>{if(e)return!1;e=!0;let t=this._player.ads.manager,a=document.createElement("button");a.type="button",a.className="plyr__control plyr__control--overlaid",a.style.display="none",a.innerHTML='<svg aria-hidden="true" focusable="false"><use href="'+this._params.player.iconUrl+'#plyr-play"></use></svg><span class="plyr__sr-only">Play</span>',this.querySelector(".plyr__ads").appendChild(a),a.addEventListener("click",()=>{a.style.display="none",t.resume()}),t.addEventListener(google.ima.AdEvent.Type.STARTED,e=>{this.classList.add("aiovg-ads-playing"),this._params.player.ads.companion&&this._initCompanionAds(e)}),t.addEventListener(google.ima.AdEvent.Type.PAUSED,e=>{a.style.display=""}),t.addEventListener(google.ima.AdEvent.Type.RESUMED,e=>{a.style.display="none"}),t.addEventListener(google.ima.AdEvent.Type.CONTENT_RESUME_REQUESTED,e=>{this.classList.remove("aiovg-ads-playing")})})}_getVastUrl(){let e=this._params.player.ads.tagUrl.replace(/%5B/gi,"[").replace(/%5D/gi,"]");return(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=e.replace("[domain]",encodeURIComponent(this._params.site_url))).replace("[player_width]",this._player.elements.container.offsetWidth)).replace("[player_height]",this._player.elements.container.offsetHeight)).replace("[random_number]",Date.now())).replace("[timestamp]",Date.now())).replace("[page_url]",encodeURIComponent(window.location))).replace("[referrer]",encodeURIComponent(document.referrer))).replace("[ip_address]",this._params.ip_address)).replace("[post_id]",this._params.post_id)).replace("[post_title]",encodeURIComponent(this._params.post_title))).replace("[post_excerpt]",encodeURIComponent(this._params.post_excerpt))).replace("[video_file]",encodeURIComponent(this._player.source))).replace("[video_duration]",this._player.duration||"")).replace("[autoplay]",this._params.player.autoplay||!1)}_initCompanionAds(e){let t=e.getAd(),a=[];try{a=window.AIOVGGetCompanionElements()}catch(i){}if(a.length){let s=new google.ima.CompanionAdSelectionSettings;s.resourceType=google.ima.CompanionAdSelectionSettings.ResourceType.ALL,s.creativeType=google.ima.CompanionAdSelectionSettings.CreativeType.ALL,s.sizeCriteria=google.ima.CompanionAdSelectionSettings.SizeCriteria.SELECT_NEAR_MATCH;for(let r=0;r<a.length;r++){let l=a[r].id,o=a[r].width,n=a[r].height;try{let p=t.getCompanionAds(o,n,s),d=p[0],h=d.getContent();document.getElementById(l).innerHTML=h}catch(c){}}}}_initShareEmbed(){if(!this._params.hasOwnProperty("share")&&!this._params.hasOwnProperty("embed"))return!1;let e=document.createElement("button");e.type="button",e.className="plyr__controls__item plyr__control plyr__share-embed-button aiovg-icon-share",e.innerHTML='<span class="plyr__sr-only">Share</span>',this._playerEl.appendChild(e);let t=this.querySelector(".plyr__share-embed-modal-close-button"),a=this.querySelector(".plyr__share-embed-modal");this._playerEl.appendChild(a),a.style.display="";let i=!1;e.addEventListener("click",()=>{this._player.playing?(i=!0,this._player.pause()):i=!1,e.style.display="none",a.className+=" fadein"}),t.addEventListener("click",()=>{i&&this._player.play(),a.className=a.className.replace(" fadein",""),setTimeout(function(){e.style.display=""},500)}),this._params.hasOwnProperty("embed")&&this.querySelector(".plyr__embed-code-input").addEventListener("focus",function(){this.select(),navigator.clipboard&&navigator.clipboard.writeText?navigator.clipboard.writeText(this.value).catch(()=>{}):document.execCommand("copy")})}_initLogo(){if(!this._params.hasOwnProperty("logo"))return!1;let e="bottom:50px; left:"+this._params.logo.margin+"px;";switch(this._params.logo.position){case"topleft":e="top:"+this._params.logo.margin+"px; left:"+this._params.logo.margin+"px;";break;case"topright":e="top:"+this._params.logo.margin+"px; right:"+this._params.logo.margin+"px;";break;case"bottomright":e="bottom:50px; right:"+this._params.logo.margin+"px;"}let t=document.createElement("div");t.className="plyr__logo",t.innerHTML='<a href="'+this._params.logo.link+'" target="_top" style="'+e+'"><img src="'+this._params.logo.image+'" alt="" /><span class="plyr__sr-only">Logo</span></a>',this._playerEl.appendChild(t)}_initTrailerBadge(){if(!this._params.hasOwnProperty("trailer"))return!1;let e=this._params.trailer,t=document.createElement(e.url?"a":"span");t.className="aiovg-trailer-badge",t.textContent=e.label,e.url&&(t.href=e.url,t.target="_top",this._playerEl.classList.add("aiovg-has-trailer-cta")),this._params.hasOwnProperty("logo")&&"topleft"==this._params.logo.position&&t.classList.add("aiovg-trailer-badge-bottom"),this._playerEl.appendChild(t)}_initEmailCapture(){if(!this.emailCapture||!this._emailCaptureEl)return!1;this._emailCaptureEl.style.backgroundImage="none",this._playerEl.appendChild(this._emailCaptureEl);let e=!1,t=!1,a=()=>{if(!this._emailCaptureEl||e)return!1;e=!0,this._player.ended||(t=!this._player.paused||this._player.seeking,this._player.pause()),this.classList.add("aiovg-show-email-capture");let a=this._emailCaptureEl.querySelector("input");a&&!a.value&&a.focus()},i=()=>{if(!this._emailCaptureEl||!e)return!1;e=!1,this.classList.remove("aiovg-show-email-capture"),this._emailCaptureEl.remove(),this._emailCaptureEl=null,this.emailCapture=!1,t&&this._player.play()},s=e=>{if(!this._emailCaptureEl||this._emailCaptureEl.classList.contains("aiovg-is-loading"))return!1;this._emailCaptureEl.classList.add("aiovg-is-loading");let t=this._emailCaptureEl.dataset.capture_key||"",a=new XMLHttpRequest;a.onreadystatechange=()=>{if(4==a.readyState){let e=null;if(200==a.status&&a.responseText)try{e=JSON.parse(a.responseText)}catch(s){}if(e&&e.success){i();let r=!(e.data&&!1===e.data.remembered),l=document.querySelectorAll(".aiovg-player-element");for(let o=0;o<l.length;o++)l[o].removeCookieConsent(),r&&l[o].removeEmailCapture(t);window.postMessage(r?{message:"aiovg-email-captured",capture_key:t}:{message:"aiovg-cookie-consent"},window.location.origin)}else{let n=this._emailCaptureEl.querySelector(".aiovg-email-capture-error");n&&(n.textContent=e&&e.data&&"string"==typeof e.data?e.data:n.getAttribute("data-error_generic"),n.style.display="block"),this._emailCaptureEl.classList.remove("aiovg-is-loading")}}},a.open("POST",this._params.ajax_url+"?action=aiovg_save_email_lead&security="+this._params.ajax_nonce,!0),a.setRequestHeader("Content-type","application/x-www-form-urlencoded"),a.send(e)},r=parseInt(this._emailCaptureEl.dataset.mid_roll);if(r){let l=!1,o=()=>{if(!this._emailCaptureEl)return this._player.off("timeupdate",o),!1;if(l)return!1;let e=this._player.duration,t=this._player.currentTime;e&&t>=r/100*e&&(l=!0,this._player.off("timeupdate",o),a())};this._player.on("timeupdate",o)}let n=parseInt(this._emailCaptureEl.dataset.post_roll),p=this._params.hasOwnProperty("trailer")&&this._params.trailer.url;n&&!p&&this._player.on("ended",()=>{a()}),this._player.on("play",()=>{if(!this._emailCaptureEl||!e)return!1;t=!0,this._player.pause()}),this._player.on("playing",()=>{if(!this._emailCaptureEl||!e)return!1;t=!0,this._player.pause()}),this._initEmailCaptureForm(e=>s(e))}_initEmailCaptureForm(e){let t=this._emailCaptureEl.querySelector(".aiovg-email-capture-submit"),a=this._emailCaptureEl.querySelector(".aiovg-email-capture-skip"),i=()=>{if("aiovg_videos"==this._params.post_type&&this._params.post_id)return"&video_id="+encodeURIComponent(this._params.post_id);let e="&video_id=0";return this._emailCaptureEl&&this._emailCaptureEl.dataset.video_url&&(e+="&video_url="+encodeURIComponent(this._emailCaptureEl.dataset.video_url)),e};if(t&&t.addEventListener("click",()=>{let t=this._emailCaptureEl.querySelector(".aiovg-email-capture-email"),a=this._emailCaptureEl.querySelector(".aiovg-email-capture-error"),s=t?t.value.trim():"";if(!s||!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(s)){if(a){let r=a.getAttribute("data-invalid_email")||"Please enter a valid email address.";a.textContent=r,a.style.display="block"}return t&&(t.classList.add("aiovg-is-invalid"),t.setAttribute("aria-invalid","true")),!1}a&&(a.style.display="none"),t&&(t.classList.remove("aiovg-is-invalid"),t.removeAttribute("aria-invalid"));let l="email="+encodeURIComponent(s),o=this._emailCaptureEl.querySelector(".aiovg-email-capture-name");o&&o.value.trim()&&(l+="&name="+encodeURIComponent(o.value.trim()));let n=this._emailCaptureEl.querySelector(".aiovg-email-capture-phone");n&&n.value.trim()&&(l+="&phone="+encodeURIComponent(n.value.trim())),l+=i(),e(l+="&page_url="+encodeURIComponent(window.location.href))}),a){let s=()=>e("skipped=1"+i());a.addEventListener("click",s),a.addEventListener("keydown",e=>{(13===e.keyCode||32===e.keyCode)&&(e.preventDefault(),s())})}}_initContextMenu(){if(!window.AIOVGIsContextMenuAdded){window.AIOVGIsContextMenuAdded=!0;let e=document.createElement("div");e.id="aiovg-contextmenu",e.style.display="none",e.innerHTML='<div class="aiovg-contextmenu-content">'+this._params.contextmenu.content+"</div>",document.body.appendChild(e)}let t=document.getElementById("aiovg-contextmenu"),a="";this._playerEl.addEventListener("contextmenu",function(e){if(3==e.keyCode||3==e.which){e.preventDefault(),e.stopPropagation();let i=t.offsetWidth,s=t.offsetHeight,r=e.pageX,l=e.pageY,o=document.documentElement,n=(window.pageXOffset||o.scrollLeft)-(o.clientLeft||0),p=(window.pageYOffset||o.scrollTop)-(o.clientTop||0),d=r+i>window.innerWidth+n?r-i:r,h=l+s>window.innerHeight+p?l-s:l;t.style.display="",t.style.left=d+"px",t.style.top=h+"px",clearTimeout(a),a=setTimeout(function(){t.style.display="none"},1500)}}),document.addEventListener("click",()=>{t.style.display="none"})}_initIntersectionObserver(){if(this._intersectionObserver)return!1;this._intersectionObserver=new IntersectionObserver((e,t)=>{e.forEach(e=>{e.isIntersecting?(this._isInViewport=!0,this._render(),this._isRendered&&t.unobserve(this)):this._isInViewport=!1})},{root:null,rootMargin:"0px",threshold:0}),this._intersectionObserver.observe(this)}async _updateViewsCount(){if(this._params.statistics&&"aiovg_videos"==this._params.post_type){let e=new FormData;e.append("action","aiovg_update_views_count"),e.append("post_id",parseInt(this._params.post_id)),e.append("duration",this._player.duration||0),e.append("security",this._params.ajax_nonce),fetch(this._params.ajax_url,{method:"POST",body:e})}}async _setCookie(){let e=new FormData;e.append("action","aiovg_set_cookie"),e.append("security",this._params.ajax_nonce),fetch(this._params.ajax_url,{method:"POST",body:e})}static isValidUrl(e){if(""===e)return!1;try{return new URL(e),!0}catch(t){return!1}}removeCookieConsent(){if(this._isRendered||!this._cookieConsentEl)return!1;this._cookieConsentEl.remove(),this.cookieConsent=!1,this._render()}removeEmailCapture(e){if(!this._emailCaptureEl||e&&this._emailCaptureEl.dataset.capture_key!==e)return!1;this.classList.remove("aiovg-show-email-capture"),this._emailCaptureEl.remove(),this._emailCaptureEl=null,this.emailCapture=!1,this._isRendered||this._render()}pause(){this._player&&this._player.pause()}seekTo(e){this._player&&(this._player.currentTime=e,this._hasVideoStarted||this._player.play())}}window.AIOVGIsContextMenuAdded=!1,document.addEventListener("DOMContentLoaded",function(){customElements.get("aiovg-video")||customElements.define("aiovg-video",e),window.addEventListener("message",function(e){if(e.origin!=window.location.origin||!e.data.hasOwnProperty("context")||"iframe"!=e.data.context||!e.data.hasOwnProperty("message"))return!1;if("aiovg-cookie-consent"==e.data.message){let t=document.querySelectorAll(".aiovg-player-element");for(let a=0;a<t.length;a++)t[a].removeCookieConsent()}if("aiovg-email-captured"==e.data.message){let i=document.querySelectorAll(".aiovg-player-element");for(let s=0;s<i.length;s++)i[s].removeCookieConsent(),i[s].removeEmailCapture(e.data.capture_key||"")}if("aiovg-video-playing"==e.data.message){let r=document.querySelectorAll("aiovg-video");for(let l=0;l<r.length;l++)r[l].pause()}})})}(); -
all-in-one-video-gallery/trunk/public/templates/player-vidstack.php
r3804420 r3826337 1945 1945 plyr.classList.remove( 'aiovg-is-ended' ); 1946 1946 }); 1947 1948 // Stream track names come from the playlist and Plyr prints them as HTML 1949 if ( settings.hasOwnProperty( 'hls' ) || settings.hasOwnProperty( 'dash' ) ) { 1950 const addTextTrack = video.addTextTrack.bind( video ); 1951 const escape = ( value ) => 'string' === typeof value ? value.replace( /</g, '<' ).replace( />/g, '>' ) : value; 1952 1953 video.addTextTrack = ( kind, label, language ) => addTextTrack( kind, escape( label ), escape( language ) ); 1954 } 1947 1955 1948 1956 // HLS -
all-in-one-video-gallery/trunk/public/video.php
r3804420 r3826337 149 149 $attributes[ $format ] = aiovg_sanitize_url( $attributes[ $format ] ); 150 150 $is_video_available = 1; 151 break;152 151 } 153 152 }
Note:
See TracChangeset
for help on using the changeset viewer.