Changeset 2144933
- Timestamp:
- 08/24/2019 06:49:11 PM (7 years ago)
- Location:
- simple-youtube-gdpr
- Files:
-
- 219 added
- 11 edited
-
tags/0.8 (added)
-
tags/0.8/LICENSE.txt (added)
-
tags/0.8/README.txt (added)
-
tags/0.8/freemius (added)
-
tags/0.8/freemius/LICENSE.txt (added)
-
tags/0.8/freemius/assets (added)
-
tags/0.8/freemius/assets/css (added)
-
tags/0.8/freemius/assets/css/admin (added)
-
tags/0.8/freemius/assets/css/admin/account.css (added)
-
tags/0.8/freemius/assets/css/admin/add-ons.css (added)
-
tags/0.8/freemius/assets/css/admin/affiliation.css (added)
-
tags/0.8/freemius/assets/css/admin/checkout.css (added)
-
tags/0.8/freemius/assets/css/admin/common.css (added)
-
tags/0.8/freemius/assets/css/admin/connect.css (added)
-
tags/0.8/freemius/assets/css/admin/debug.css (added)
-
tags/0.8/freemius/assets/css/admin/dialog-boxes.css (added)
-
tags/0.8/freemius/assets/css/admin/gdpr-optin-notice.css (added)
-
tags/0.8/freemius/assets/css/admin/index.php (added)
-
tags/0.8/freemius/assets/css/customizer.css (added)
-
tags/0.8/freemius/assets/css/index.php (added)
-
tags/0.8/freemius/assets/img (added)
-
tags/0.8/freemius/assets/img/index.php (added)
-
tags/0.8/freemius/assets/img/plugin-icon.png (added)
-
tags/0.8/freemius/assets/img/simple-youtube-gdpr.png (added)
-
tags/0.8/freemius/assets/img/theme-icon.png (added)
-
tags/0.8/freemius/assets/index.php (added)
-
tags/0.8/freemius/assets/js (added)
-
tags/0.8/freemius/assets/js/index.php (added)
-
tags/0.8/freemius/assets/js/nojquery.ba-postmessage.js (added)
-
tags/0.8/freemius/assets/js/nojquery.ba-postmessage.min.js (added)
-
tags/0.8/freemius/assets/js/postmessage.js (added)
-
tags/0.8/freemius/config.php (added)
-
tags/0.8/freemius/includes (added)
-
tags/0.8/freemius/includes/class-freemius-abstract.php (added)
-
tags/0.8/freemius/includes/class-freemius.php (added)
-
tags/0.8/freemius/includes/class-fs-admin-notices.php (added)
-
tags/0.8/freemius/includes/class-fs-api.php (added)
-
tags/0.8/freemius/includes/class-fs-logger.php (added)
-
tags/0.8/freemius/includes/class-fs-options.php (added)
-
tags/0.8/freemius/includes/class-fs-plugin-updater.php (added)
-
tags/0.8/freemius/includes/class-fs-security.php (added)
-
tags/0.8/freemius/includes/class-fs-storage.php (added)
-
tags/0.8/freemius/includes/class-fs-user-lock.php (added)
-
tags/0.8/freemius/includes/customizer (added)
-
tags/0.8/freemius/includes/customizer/class-fs-customizer-support-section.php (added)
-
tags/0.8/freemius/includes/customizer/class-fs-customizer-upsell-control.php (added)
-
tags/0.8/freemius/includes/customizer/index.php (added)
-
tags/0.8/freemius/includes/debug (added)
-
tags/0.8/freemius/includes/debug/class-fs-debug-bar-panel.php (added)
-
tags/0.8/freemius/includes/debug/debug-bar-start.php (added)
-
tags/0.8/freemius/includes/debug/index.php (added)
-
tags/0.8/freemius/includes/entities (added)
-
tags/0.8/freemius/includes/entities/class-fs-affiliate-terms.php (added)
-
tags/0.8/freemius/includes/entities/class-fs-affiliate.php (added)
-
tags/0.8/freemius/includes/entities/class-fs-billing.php (added)
-
tags/0.8/freemius/includes/entities/class-fs-entity.php (added)
-
tags/0.8/freemius/includes/entities/class-fs-payment.php (added)
-
tags/0.8/freemius/includes/entities/class-fs-plugin-info.php (added)
-
tags/0.8/freemius/includes/entities/class-fs-plugin-license.php (added)
-
tags/0.8/freemius/includes/entities/class-fs-plugin-plan.php (added)
-
tags/0.8/freemius/includes/entities/class-fs-plugin-tag.php (added)
-
tags/0.8/freemius/includes/entities/class-fs-plugin.php (added)
-
tags/0.8/freemius/includes/entities/class-fs-pricing.php (added)
-
tags/0.8/freemius/includes/entities/class-fs-scope-entity.php (added)
-
tags/0.8/freemius/includes/entities/class-fs-site.php (added)
-
tags/0.8/freemius/includes/entities/class-fs-subscription.php (added)
-
tags/0.8/freemius/includes/entities/class-fs-user.php (added)
-
tags/0.8/freemius/includes/entities/index.php (added)
-
tags/0.8/freemius/includes/fs-core-functions.php (added)
-
tags/0.8/freemius/includes/fs-essential-functions.php (added)
-
tags/0.8/freemius/includes/fs-plugin-info-dialog.php (added)
-
tags/0.8/freemius/includes/i18n.php (added)
-
tags/0.8/freemius/includes/index.php (added)
-
tags/0.8/freemius/includes/l10n.php (added)
-
tags/0.8/freemius/includes/managers (added)
-
tags/0.8/freemius/includes/managers/class-fs-admin-menu-manager.php (added)
-
tags/0.8/freemius/includes/managers/class-fs-admin-notice-manager.php (added)
-
tags/0.8/freemius/includes/managers/class-fs-cache-manager.php (added)
-
tags/0.8/freemius/includes/managers/class-fs-gdpr-manager.php (added)
-
tags/0.8/freemius/includes/managers/class-fs-key-value-storage.php (added)
-
tags/0.8/freemius/includes/managers/class-fs-license-manager.php (added)
-
tags/0.8/freemius/includes/managers/class-fs-option-manager.php (added)
-
tags/0.8/freemius/includes/managers/class-fs-plan-manager.php (added)
-
tags/0.8/freemius/includes/managers/class-fs-plugin-manager.php (added)
-
tags/0.8/freemius/includes/managers/index.php (added)
-
tags/0.8/freemius/includes/sdk (added)
-
tags/0.8/freemius/includes/sdk/Exceptions (added)
-
tags/0.8/freemius/includes/sdk/Exceptions/ArgumentNotExistException.php (added)
-
tags/0.8/freemius/includes/sdk/Exceptions/EmptyArgumentException.php (added)
-
tags/0.8/freemius/includes/sdk/Exceptions/Exception.php (added)
-
tags/0.8/freemius/includes/sdk/Exceptions/InvalidArgumentException.php (added)
-
tags/0.8/freemius/includes/sdk/Exceptions/OAuthException.php (added)
-
tags/0.8/freemius/includes/sdk/Exceptions/index.php (added)
-
tags/0.8/freemius/includes/sdk/FreemiusBase.php (added)
-
tags/0.8/freemius/includes/sdk/FreemiusWordPress.php (added)
-
tags/0.8/freemius/includes/sdk/LICENSE.txt (added)
-
tags/0.8/freemius/includes/sdk/index.php (added)
-
tags/0.8/freemius/includes/supplements (added)
-
tags/0.8/freemius/includes/supplements/fs-essential-functions-1.1.7.1.php (added)
-
tags/0.8/freemius/includes/supplements/fs-essential-functions-2.2.1.php (added)
-
tags/0.8/freemius/includes/supplements/index.php (added)
-
tags/0.8/freemius/index.php (added)
-
tags/0.8/freemius/languages (added)
-
tags/0.8/freemius/languages/freemius-da_DK.mo (added)
-
tags/0.8/freemius/languages/freemius-da_DK.po (added)
-
tags/0.8/freemius/languages/freemius-en.mo (added)
-
tags/0.8/freemius/languages/freemius-en.po (added)
-
tags/0.8/freemius/languages/freemius-es_ES.mo (added)
-
tags/0.8/freemius/languages/freemius-es_ES.po (added)
-
tags/0.8/freemius/languages/freemius-fr_FR.mo (added)
-
tags/0.8/freemius/languages/freemius-fr_FR.po (added)
-
tags/0.8/freemius/languages/freemius-he_IL.mo (added)
-
tags/0.8/freemius/languages/freemius-he_IL.po (added)
-
tags/0.8/freemius/languages/freemius-hu_HU.mo (added)
-
tags/0.8/freemius/languages/freemius-hu_HU.po (added)
-
tags/0.8/freemius/languages/freemius-it_IT.mo (added)
-
tags/0.8/freemius/languages/freemius-it_IT.po (added)
-
tags/0.8/freemius/languages/freemius-ja_JP.mo (added)
-
tags/0.8/freemius/languages/freemius-ja_JP.po (added)
-
tags/0.8/freemius/languages/freemius-nl_NL.mo (added)
-
tags/0.8/freemius/languages/freemius-nl_NL.po (added)
-
tags/0.8/freemius/languages/freemius-ru_RU.mo (added)
-
tags/0.8/freemius/languages/freemius-ru_RU.po (added)
-
tags/0.8/freemius/languages/freemius.pot (added)
-
tags/0.8/freemius/languages/index.php (added)
-
tags/0.8/freemius/require.php (added)
-
tags/0.8/freemius/start.php (added)
-
tags/0.8/freemius/templates (added)
-
tags/0.8/freemius/templates/account (added)
-
tags/0.8/freemius/templates/account.php (added)
-
tags/0.8/freemius/templates/account/billing.php (added)
-
tags/0.8/freemius/templates/account/index.php (added)
-
tags/0.8/freemius/templates/account/partials (added)
-
tags/0.8/freemius/templates/account/partials/activate-license-button.php (added)
-
tags/0.8/freemius/templates/account/partials/addon.php (added)
-
tags/0.8/freemius/templates/account/partials/deactivate-license-button.php (added)
-
tags/0.8/freemius/templates/account/partials/index.php (added)
-
tags/0.8/freemius/templates/account/partials/site.php (added)
-
tags/0.8/freemius/templates/account/payments.php (added)
-
tags/0.8/freemius/templates/add-ons.php (added)
-
tags/0.8/freemius/templates/add-trial-to-pricing.php (added)
-
tags/0.8/freemius/templates/admin-notice.php (added)
-
tags/0.8/freemius/templates/ajax-loader.php (added)
-
tags/0.8/freemius/templates/auto-installation.php (added)
-
tags/0.8/freemius/templates/checkout.php (added)
-
tags/0.8/freemius/templates/connect.php (added)
-
tags/0.8/freemius/templates/contact.php (added)
-
tags/0.8/freemius/templates/debug (added)
-
tags/0.8/freemius/templates/debug.php (added)
-
tags/0.8/freemius/templates/debug/api-calls.php (added)
-
tags/0.8/freemius/templates/debug/index.php (added)
-
tags/0.8/freemius/templates/debug/logger.php (added)
-
tags/0.8/freemius/templates/debug/plugins-themes-sync.php (added)
-
tags/0.8/freemius/templates/debug/scheduled-crons.php (added)
-
tags/0.8/freemius/templates/email.php (added)
-
tags/0.8/freemius/templates/firewall-issues-js.php (added)
-
tags/0.8/freemius/templates/forms (added)
-
tags/0.8/freemius/templates/forms/affiliation.php (added)
-
tags/0.8/freemius/templates/forms/deactivation (added)
-
tags/0.8/freemius/templates/forms/deactivation/contact.php (added)
-
tags/0.8/freemius/templates/forms/deactivation/form.php (added)
-
tags/0.8/freemius/templates/forms/deactivation/index.php (added)
-
tags/0.8/freemius/templates/forms/deactivation/retry-skip.php (added)
-
tags/0.8/freemius/templates/forms/index.php (added)
-
tags/0.8/freemius/templates/forms/license-activation.php (added)
-
tags/0.8/freemius/templates/forms/optout.php (added)
-
tags/0.8/freemius/templates/forms/premium-versions-upgrade-handler.php (added)
-
tags/0.8/freemius/templates/forms/premium-versions-upgrade-metadata.php (added)
-
tags/0.8/freemius/templates/forms/resend-key.php (added)
-
tags/0.8/freemius/templates/forms/subscription-cancellation.php (added)
-
tags/0.8/freemius/templates/forms/trial-start.php (added)
-
tags/0.8/freemius/templates/gdpr-optin-js.php (added)
-
tags/0.8/freemius/templates/index.php (added)
-
tags/0.8/freemius/templates/js (added)
-
tags/0.8/freemius/templates/js/index.php (added)
-
tags/0.8/freemius/templates/js/jquery.content-change.php (added)
-
tags/0.8/freemius/templates/js/open-license-activation.php (added)
-
tags/0.8/freemius/templates/js/style-premium-theme.php (added)
-
tags/0.8/freemius/templates/partials (added)
-
tags/0.8/freemius/templates/partials/network-activation.php (added)
-
tags/0.8/freemius/templates/plugin-icon.php (added)
-
tags/0.8/freemius/templates/plugin-info (added)
-
tags/0.8/freemius/templates/plugin-info/description.php (added)
-
tags/0.8/freemius/templates/plugin-info/features.php (added)
-
tags/0.8/freemius/templates/plugin-info/index.php (added)
-
tags/0.8/freemius/templates/plugin-info/screenshots.php (added)
-
tags/0.8/freemius/templates/powered-by.php (added)
-
tags/0.8/freemius/templates/pricing.php (added)
-
tags/0.8/freemius/templates/secure-https-header.php (added)
-
tags/0.8/freemius/templates/sticky-admin-notice-js.php (added)
-
tags/0.8/freemius/templates/tabs-capture-js.php (added)
-
tags/0.8/freemius/templates/tabs.php (added)
-
tags/0.8/includes (added)
-
tags/0.8/includes/class-simple-youtube-gdpr-activator.php (added)
-
tags/0.8/includes/class-simple-youtube-gdpr-deactivator.php (added)
-
tags/0.8/includes/class-simple-youtube-gdpr-i18n.php (added)
-
tags/0.8/includes/class-simple-youtube-gdpr-loader.php (added)
-
tags/0.8/includes/class-simple-youtube-gdpr.php (added)
-
tags/0.8/includes/index.php (added)
-
tags/0.8/includes/simple_html_dom.php (added)
-
tags/0.8/index.php (added)
-
tags/0.8/languages (added)
-
tags/0.8/languages/simple-youtube-gdpr-de_DE.mo (added)
-
tags/0.8/languages/simple-youtube-gdpr-de_DE.po (added)
-
tags/0.8/languages/simple-youtube-gdpr-fr_FR.mo (added)
-
tags/0.8/languages/simple-youtube-gdpr-fr_FR.po (added)
-
tags/0.8/languages/simple-youtube-gdpr-ru_RU.mo (added)
-
tags/0.8/languages/simple-youtube-gdpr-ru_RU.po (added)
-
tags/0.8/languages/simple-youtube-gdpr.pot (added)
-
tags/0.8/public (added)
-
tags/0.8/public/class-simple-youtube-gdpr-public.php (added)
-
tags/0.8/public/css (added)
-
tags/0.8/public/css/simple-youtube-gdpr-public.css (added)
-
tags/0.8/public/index.php (added)
-
tags/0.8/public/js (added)
-
tags/0.8/public/js/simple-youtube-gdpr-public.js (added)
-
tags/0.8/public/partials (added)
-
tags/0.8/public/partials/simple-youtube-gdpr-public-display.php (added)
-
tags/0.8/simple-youtube-gdpr.php (added)
-
trunk/README.txt (modified) (6 diffs)
-
trunk/languages/simple-youtube-gdpr-de_DE.mo (modified) (previous)
-
trunk/languages/simple-youtube-gdpr-de_DE.po (modified) (6 diffs)
-
trunk/languages/simple-youtube-gdpr-fr_FR.mo (modified) (previous)
-
trunk/languages/simple-youtube-gdpr-fr_FR.po (modified) (6 diffs)
-
trunk/languages/simple-youtube-gdpr-ru_RU.mo (modified) (previous)
-
trunk/languages/simple-youtube-gdpr-ru_RU.po (modified) (5 diffs)
-
trunk/public/class-simple-youtube-gdpr-public.php (modified) (9 diffs)
-
trunk/public/css/simple-youtube-gdpr-public.css (modified) (2 diffs)
-
trunk/public/js/simple-youtube-gdpr-public.js (modified) (4 diffs)
-
trunk/simple-youtube-gdpr.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
simple-youtube-gdpr/trunk/README.txt
r2143715 r2144933 1 === WordPress YouTube and Vimeo videos security Plugin (GDPR) ===1 === WordPress YouTube, Vimeo and more elements security Plugin (GDPR) === 2 2 Contributors: 2plus2is4 3 3 Donate link: https://money.yandex.ru/to/41001417963743 4 Tags: iframe, YouTube, GDPR, Vimeo, thumbnails, Consent, Compliance4 Tags: iframe, YouTube, GDPR, Vimeo, Flickr, Issuu, thumbnails, Consent, Compliance 5 5 Requires at least: 5.0.1 6 6 Tested up to: 5.2.2 7 Stable tag: 0. 77 Stable tag: 0.8 8 8 Requires PHP: 5.2.4 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html 11 11 12 Integrate YouTube and Vimeo videos securely!12 Integrate YouTube elements securely! 13 13 14 14 == Description == 15 15 16 Simple YouTube GDPR automatically detects and blocks Iframes from YouTube and Vimeo. Only with a click by the visitor the content is loaded.16 WordPress YouTube security Plugin automatically detects and blocks Iframes from YouTube. Only with a click by the visitor the content is loaded. 17 17 18 Simple YouTube GDPR automatically saves YouTube and Vimeothumbnails locally without the visitor's IP address being transmitted to the video platform.18 Plugin automatically saves YouTube thumbnails locally without the visitor's IP address being transmitted to the video platform. 19 19 20 20  … … 24 24 * Google gets NO cookies 25 25 * No content changes required 26 * Allows you to keep YouTube videos under GDPR law26 * Allows you to keep YouTube, Vimeo [premium] and more elements under GDPR law 27 27 28 28 == Want more? == 29 If you enjoy this plugin and you want your other contentto be safe, consider purchasing the [premium version](https://checkout.freemius.com/mode/dialog/plugin/4426/plan/7118/).29 If you enjoy blocking YouTube videos and you want your other content (Vimeo, Flickr, Issuu) to be safe, consider purchasing the [premium version](https://checkout.freemius.com/mode/dialog/plugin/4426/plan/7118/). 30 30 31 31 = Premium features = 32 * All free features 32 33 * Integrate Vimeo videos securely! 34 * Integrate Issuu content securely! 35 * Integrate Flickr photos securely! 33 36 34 37 == Installation == … … 53 56 This is an only image plugin can get from YouTube. 54 57 55 = Do I need to have the YouTubeAPI? =58 = Do I need to have any API? = 56 59 57 60 No. … … 60 63 61 64 Yes. Class: 62 * `syg__box` - main wrapping `<div>` (`syg__box-%SERVICE%` where `%SERVICE%` can be youtube or vimeo)65 * `syg__box` - main wrapping `<div>` (`syg__box-%SERVICE%` where `%SERVICE%` can be youtube, vimeo, issuu, flickr) 63 66 * `syg__box__img` - the thumbnail 64 67 * `syg__box__text__btn` - thumbnail play button 65 * `syg__box-youtube-iframe` - video `<iframe>` (where `%SERVICE%` can be youtube or vimeo)68 * `syg__box-youtube-iframe` - video `<iframe>` (where `%SERVICE%` can be youtube, vimeo, issuu) 66 69 67 70 = What are standard width and height of iframe? = … … 78 81 == Screenshots == 79 82 80 Integrate YouTube and Vimeo videos securely!83 Integrate YouTube, Vimeo and more elements securely! 81 84 82 85 1. YouTube video is replaced with a static preview image and a play button. 83 86 84 87 == Changelog == 88 89 = 0.8 = 90 91 * CSS classes changed 85 92 86 93 = 0.7 = … … 95 102 == Upgrade Notice == 96 103 104 = 0.8 = 105 * HTML structure changed 106 97 107 = 0.7 = 98 108 * No content on the page bug is fixed. -
simple-youtube-gdpr/trunk/languages/simple-youtube-gdpr-de_DE.po
r2143715 r2144933 2 2 msgstr "" 3 3 "Project-Id-Version: Simple YouTube GDPR\n" 4 "POT-Creation-Date: 2019-08-2 2 15:02+0300\n"5 "PO-Revision-Date: 2019-08-2 2 15:03+0300\n"4 "POT-Creation-Date: 2019-08-24 21:35+0300\n" 5 "PO-Revision-Date: 2019-08-24 21:37+0300\n" 6 6 "Last-Translator: \n" 7 7 "Language-Team: \n" … … 22 22 "X-Poedit-SearchPathExcluded-0: *.js\n" 23 23 24 #: public/class-simple-youtube-gdpr-public.php:2 2124 #: public/class-simple-youtube-gdpr-public.php:284 25 25 msgid "Click to Play Video" 26 26 msgstr "Anklicken um abzuspielen" 27 27 28 #: public/class-simple-youtube-gdpr-public.php:2 2228 #: public/class-simple-youtube-gdpr-public.php:285 29 29 msgid "YouTube Video Thumbnail" 30 30 msgstr "YouTube Video Miniaturansicht" 31 31 32 #: public/class-simple-youtube-gdpr-public.php:2 2532 #: public/class-simple-youtube-gdpr-public.php:288 33 33 msgid "By loading the video, you agree to YouTube's privacy policy." 34 34 msgstr "" … … 36 36 "YouTube zu." 37 37 38 #: public/class-simple-youtube-gdpr-public.php:2 2738 #: public/class-simple-youtube-gdpr-public.php:290 39 39 #, fuzzy 40 40 #| msgid "https://policies.google.com/privacy?hl=en&gl=en" … … 42 42 msgstr "https://policies.google.com/privacy?hl=de" 43 43 44 #: public/class-simple-youtube-gdpr-public.php:228 45 #: public/class-simple-youtube-gdpr-public.php:257 46 msgid "Learn more" 47 msgstr "Google-Datenschutzerklärung" 44 #: public/class-simple-youtube-gdpr-public.php:291 45 #: public/class-simple-youtube-gdpr-public.php:319 46 #: public/class-simple-youtube-gdpr-public.php:371 47 msgid "Read policy" 48 msgstr "Richtlinie lesen" 48 49 49 #: public/class-simple-youtube-gdpr-public.php:2 3150 #: public/class-simple-youtube-gdpr-public.php: 26051 msgid " Loadvideo"52 msgstr "Video laden"50 #: public/class-simple-youtube-gdpr-public.php:294 51 #: public/class-simple-youtube-gdpr-public.php:322 52 msgid "Play video" 53 msgstr "Video abspielen" 53 54 54 #: public/class-simple-youtube-gdpr-public.php:254 55 #, fuzzy 56 #| msgid "By loading the video, you agree to YouTube's privacy policy." 55 #: public/class-simple-youtube-gdpr-public.php:316 57 56 msgid "By loading the video, you agree to Vimeo's privacy policy." 58 57 msgstr "" 59 "Durch das Laden des Videos stimm st duden Datenschutzbestimmungen von "60 " YouTubezu."58 "Durch das Laden des Videos stimmen Sie den Datenschutzbestimmungen von " 59 "Vimeo zu." 61 60 62 #: public/class-simple-youtube-gdpr-public.php:256 61 #: public/class-simple-youtube-gdpr-public.php:318 62 msgid "https://vimeo.com/privacy" 63 msgstr "https://vimeo.com/privacy" 64 65 #: public/class-simple-youtube-gdpr-public.php:368 66 msgid "By loading the issuu element, you agree to its privacy policy." 67 msgstr "" 68 "Durch das Laden des issuu-Elements stimmen Sie dessen " 69 "Datenschutzbestimmungen zu." 70 71 #: public/class-simple-youtube-gdpr-public.php:370 63 72 #, fuzzy 64 73 #| msgid "https://policies.google.com/privacy?hl=en&gl=en" 65 msgid "https:// vimeo.com/privacy"74 msgid "https://issuu.com/legal/privacy" 66 75 msgstr "https://policies.google.com/privacy?hl=de" 76 77 #: public/class-simple-youtube-gdpr-public.php:374 78 msgid "Show element" 79 msgstr "Element anzeigen" 67 80 68 81 #: simple-youtube-gdpr.php:101 … … 70 83 msgstr "Klicken Sie hier, um Ihren Plan zu aktualisieren" 71 84 72 #: simple-youtube-gdpr.php:101 73 msgid "Get Vimeo Blocker!" 74 msgstr "Holen Sie sich Vimeo Blocker!" 85 #: simple-youtube-gdpr.php:102 86 msgid "Block Vimeo and more!" 87 msgstr "Block Vimeo und mehr!" 88 89 #: simple-youtube-gdpr.php:114 90 msgid "Payment in RUB - Russian Rubles" 91 msgstr "Zahlung in RUB - Russische Rubel" 92 93 #: simple-youtube-gdpr.php:115 94 msgid "Donate" 95 msgstr "Spenden" 75 96 76 97 #. Plugin Name of the plugin/theme 77 98 msgid "Simple YouTube GDPR" 78 msgstr " Simple YouTube GDPR"99 msgstr "WordPress YouTube, Vimeo und mehr Elemente Security Plugin (GDPR)" 79 100 80 101 #. Plugin URI of the plugin/theme … … 94 115 msgstr "https://alexeyvolkov.com/" 95 116 117 #~ msgid "Learn more" 118 #~ msgstr "Google-Datenschutzerklärung" 119 120 #~ msgid "Get Vimeo Blocker!" 121 #~ msgstr "Holen Sie sich Vimeo Blocker!" 122 96 123 #~ msgid "" 97 124 #~ "Replaces all YouTube video iframes with a local image and loads a no " -
simple-youtube-gdpr/trunk/languages/simple-youtube-gdpr-fr_FR.po
r2143715 r2144933 2 2 msgstr "" 3 3 "Project-Id-Version: Simple YouTube GDPR\n" 4 "POT-Creation-Date: 2019-08-2 2 15:09+0300\n"5 "PO-Revision-Date: 2019-08-2 2 15:09+0300\n"4 "POT-Creation-Date: 2019-08-24 21:32+0300\n" 5 "PO-Revision-Date: 2019-08-24 21:34+0300\n" 6 6 "Last-Translator: \n" 7 7 "Language-Team: \n" … … 22 22 "X-Poedit-SearchPathExcluded-0: *.js\n" 23 23 24 #: public/class-simple-youtube-gdpr-public.php:2 2124 #: public/class-simple-youtube-gdpr-public.php:284 25 25 msgid "Click to Play Video" 26 26 msgstr "Cliquez pour lire la vidéo" 27 27 28 #: public/class-simple-youtube-gdpr-public.php:2 2228 #: public/class-simple-youtube-gdpr-public.php:285 29 29 msgid "YouTube Video Thumbnail" 30 30 msgstr "Vignette de la vidéo YouTube" 31 31 32 #: public/class-simple-youtube-gdpr-public.php:2 2532 #: public/class-simple-youtube-gdpr-public.php:288 33 33 msgid "By loading the video, you agree to YouTube's privacy policy." 34 34 msgstr "" … … 36 36 "YouTube." 37 37 38 #: public/class-simple-youtube-gdpr-public.php:2 2738 #: public/class-simple-youtube-gdpr-public.php:290 39 39 msgid "https://policies.google.com/privacy?hl=en" 40 40 msgstr "https://policies.google.com/privacy?hl=fr" 41 41 42 #: public/class-simple-youtube-gdpr-public.php:228 43 #: public/class-simple-youtube-gdpr-public.php:257 44 msgid "Learn more" 45 msgstr "Apprendre encore plus" 42 #: public/class-simple-youtube-gdpr-public.php:291 43 #: public/class-simple-youtube-gdpr-public.php:319 44 #: public/class-simple-youtube-gdpr-public.php:371 45 msgid "Read policy" 46 msgstr "Lire la politique" 46 47 47 #: public/class-simple-youtube-gdpr-public.php:2 3148 #: public/class-simple-youtube-gdpr-public.php: 26049 msgid " Loadvideo"50 msgstr " Chargerla vidéo"48 #: public/class-simple-youtube-gdpr-public.php:294 49 #: public/class-simple-youtube-gdpr-public.php:322 50 msgid "Play video" 51 msgstr "Lire la vidéo" 51 52 52 #: public/class-simple-youtube-gdpr-public.php: 25453 #: public/class-simple-youtube-gdpr-public.php:316 53 54 msgid "By loading the video, you agree to Vimeo's privacy policy." 54 55 msgstr "" … … 56 57 "Vimeo." 57 58 58 #: public/class-simple-youtube-gdpr-public.php: 25659 #: public/class-simple-youtube-gdpr-public.php:318 59 60 msgid "https://vimeo.com/privacy" 60 61 msgstr "https://vimeo.com/privacy" 62 63 #: public/class-simple-youtube-gdpr-public.php:368 64 msgid "By loading the issuu element, you agree to its privacy policy." 65 msgstr "" 66 "En chargeant l'élément issuu, vous acceptez sa politique de " 67 "confidentialité." 68 69 #: public/class-simple-youtube-gdpr-public.php:370 70 msgid "https://issuu.com/legal/privacy" 71 msgstr "https://issuu.com/legal/privacy" 72 73 #: public/class-simple-youtube-gdpr-public.php:374 74 msgid "Show element" 75 msgstr "Afficher l'élément" 61 76 62 77 #: simple-youtube-gdpr.php:101 … … 65 80 66 81 #: simple-youtube-gdpr.php:101 67 msgid "Get Vimeo Blocker!" 68 msgstr "Obtenez Vimeo Blocker!" 82 msgid "Block Vimeo and more!" 83 msgstr "Bloquer Vimeo et plus!" 84 85 #: simple-youtube-gdpr.php:113 86 msgid "Payment in RUB - Russian Rubles" 87 msgstr "Paiement en roubles russes" 88 89 #: simple-youtube-gdpr.php:113 90 msgid "Donate" 91 msgstr "Faire un don" 69 92 70 93 #. Plugin Name of the plugin/theme 71 94 msgid "Simple YouTube GDPR" 72 msgstr "Plugin de sécurité de vidéos WordPress YouTube et Vimeo (GDPR)" 95 msgstr "" 96 "WordPress YouTube, Vimeo et plusieurs autres plugin de sécurité (GDPR)" 73 97 74 98 #. Plugin URI of the plugin/theme … … 87 111 msgid "https://alexeyvolkov.com/" 88 112 msgstr "https://alexeyvolkov.com/" 113 114 #~ msgid "Learn more" 115 #~ msgstr "Apprendre encore plus" 116 117 #~ msgid "Get Vimeo Blocker!" 118 #~ msgstr "Obtenez Vimeo Blocker!" -
simple-youtube-gdpr/trunk/languages/simple-youtube-gdpr-ru_RU.po
r2143715 r2144933 2 2 msgstr "" 3 3 "Project-Id-Version: Simple YouTube GDPR\n" 4 "POT-Creation-Date: 2019-08-2 2 15:03+0300\n"5 "PO-Revision-Date: 2019-08-2 2 15:05+0300\n"4 "POT-Creation-Date: 2019-08-24 21:37+0300\n" 5 "PO-Revision-Date: 2019-08-24 21:40+0300\n" 6 6 "Last-Translator: \n" 7 7 "Language-Team: \n" … … 23 23 "X-Poedit-SearchPathExcluded-0: *.js\n" 24 24 25 #: public/class-simple-youtube-gdpr-public.php:2 2125 #: public/class-simple-youtube-gdpr-public.php:284 26 26 msgid "Click to Play Video" 27 27 msgstr "Нажмите для запуска видео" 28 28 29 #: public/class-simple-youtube-gdpr-public.php:2 2229 #: public/class-simple-youtube-gdpr-public.php:285 30 30 msgid "YouTube Video Thumbnail" 31 31 msgstr "Миниатюра YouTube видео" 32 32 33 #: public/class-simple-youtube-gdpr-public.php:2 2533 #: public/class-simple-youtube-gdpr-public.php:288 34 34 msgid "By loading the video, you agree to YouTube's privacy policy." 35 35 msgstr "" 36 36 "Загружая видео, вы соглашаетесь с политикой конфиденциальности YouTube." 37 37 38 #: public/class-simple-youtube-gdpr-public.php:2 2738 #: public/class-simple-youtube-gdpr-public.php:290 39 39 #, fuzzy 40 40 #| msgid "https://policies.google.com/privacy?hl=en&gl=en" … … 42 42 msgstr "https://policies.google.com/privacy?hl=ru" 43 43 44 #: public/class-simple-youtube-gdpr-public.php:228 45 #: public/class-simple-youtube-gdpr-public.php:257 46 msgid "Learn more" 47 msgstr "Политика конфиденциальности Google" 44 #: public/class-simple-youtube-gdpr-public.php:291 45 #: public/class-simple-youtube-gdpr-public.php:319 46 #: public/class-simple-youtube-gdpr-public.php:371 47 msgid "Read policy" 48 msgstr "Прочитать политику конфиденциальности" 48 49 49 #: public/class-simple-youtube-gdpr-public.php:231 50 #: public/class-simple-youtube-gdpr-public.php:260 51 msgid "Load video" 50 #: public/class-simple-youtube-gdpr-public.php:294 51 #: public/class-simple-youtube-gdpr-public.php:322 52 #, fuzzy 53 #| msgid "Load video" 54 msgid "Play video" 52 55 msgstr "Запустить видео" 53 56 54 #: public/class-simple-youtube-gdpr-public.php:254 55 #, fuzzy 56 #| msgid "By loading the video, you agree to YouTube's privacy policy." 57 #: public/class-simple-youtube-gdpr-public.php:316 57 58 msgid "By loading the video, you agree to Vimeo's privacy policy." 58 59 msgstr "" 59 "Загружая видео, вы соглашаетесь с политикой конфиденциальности YouTube."60 "Загружая видео, вы соглашаетесь с политикой конфиденциальности Vimeo." 60 61 61 #: public/class-simple-youtube-gdpr-public.php: 25662 #: public/class-simple-youtube-gdpr-public.php:318 62 63 #, fuzzy 63 64 #| msgid "https://policies.google.com/privacy?hl=en&gl=en" … … 65 66 msgstr "https://policies.google.com/privacy?hl=ru" 66 67 68 #: public/class-simple-youtube-gdpr-public.php:368 69 msgid "By loading the issuu element, you agree to its privacy policy." 70 msgstr "" 71 "Загружая элемент Issue, вы соглашаетесь с его политикой конфиденциальности." 72 73 #: public/class-simple-youtube-gdpr-public.php:370 74 msgid "https://issuu.com/legal/privacy" 75 msgstr "https://issuu.com/legal/privacy" 76 77 #: public/class-simple-youtube-gdpr-public.php:374 78 msgid "Show element" 79 msgstr "Показать элемент" 80 67 81 #: simple-youtube-gdpr.php:101 68 82 msgid "Click to Upgrade your plan" 69 msgstr " Нажмите, чтобы обновить план"83 msgstr "Обновить план" 70 84 71 #: simple-youtube-gdpr.php:101 72 msgid "Get Vimeo Blocker!" 73 msgstr "Vimeo блокировщик!" 85 #: simple-youtube-gdpr.php:102 86 msgid "Block Vimeo and more!" 87 msgstr "Блокировать Vimeo и прочее!" 88 89 #: simple-youtube-gdpr.php:114 90 msgid "Payment in RUB - Russian Rubles" 91 msgstr "Платёж через Яндекс.Деньги" 92 93 #: simple-youtube-gdpr.php:115 94 msgid "Donate" 95 msgstr "Пожертвовать" 74 96 75 97 #. Plugin Name of the plugin/theme 76 98 msgid "Simple YouTube GDPR" 77 msgstr " Блокировщик YouTube видео"99 msgstr "WordPress плагин для блокировки YouTube, Vimeo и других элементов" 78 100 79 101 #. Plugin URI of the plugin/theme … … 93 115 msgstr "https://alexeyvolkov.com/" 94 116 117 #~ msgid "Learn more" 118 #~ msgstr "Политика конфиденциальности Google" 119 120 #~ msgid "Get Vimeo Blocker!" 121 #~ msgstr "Vimeo блокировщик!" 122 95 123 #~ msgid "" 96 124 #~ "Replaces all YouTube video iframes with a local image and loads a no " -
simple-youtube-gdpr/trunk/public/class-simple-youtube-gdpr-public.php
r2143715 r2144933 147 147 continue; 148 148 } 149 foreach ( $figure->find( 'iframe' ) as $iframe ) { 149 150 if ( $figure->find( 'iframe' )[0] ) { 151 $iframe = $figure->find( 'iframe' )[0]; 150 152 if ( '' === trim( $iframe->src ) ) { 151 153 // if empty -> next item … … 157 159 $imgDiv = str_get_html( $imgHTML ); 158 160 // from raw HTML to Node Object 159 $i frame= $imgDiv->find( 'div.syg__box' )[0];161 $imgDiv = $imgDiv->find( 'div.syg__box' )[0]; 160 162 // Find the only one(first) div.syg__box 161 163 } catch ( Exception $e ) { 162 164 continue; 163 165 } 166 // // Replace <figure> with <img> 167 168 if ( $figure->find( 'div.wp-block-embed__wrapper' )[0] ) { 169 $imgDiv->class .= ' ' . $figure->find( 'div.wp-block-embed__wrapper' )[0]->class; 170 $figure->find( 'div.wp-block-embed__wrapper' )[0]->outertext = $imgDiv->outertext; 171 } 172 164 173 } 165 // Replace <figure> with <img> 166 if ( !$iframe->class ) { 167 // if no class -> create 168 $iframe->class = ''; 169 } 170 $iframe->class = $iframe->class . ' ' . $figure->class; 171 // syg__box wp-block-embed-youtube 172 $figure->outertext = $iframe->outertext; 174 173 175 } 174 176 // is__premium_only … … 183 185 * @return bool|string 184 186 */ 185 private function getThumbnail( $iframeHTML, $type = 'youtube' ) 186 { 187 $iframeHTML = str_get_html( $iframeHTML ); 188 $iframe = $iframeHTML->find( 'iframe' )[0]; 189 // Find the only one(first) iframe 187 private function getThumbnail( $contentHTML, $type = 'youtube' ) 188 { 189 $contentHTML = str_get_html( $contentHTML ); 190 191 if ( $contentHTML->find( 'iframe' ) && $contentHTML->find( 'iframe' )[0] ) { 192 $iframe = $contentHTML->find( 'iframe' )[0]; 193 // Find the only one(first) iframe 194 } 195 190 196 $upload_dir = wp_upload_dir(); 191 197 // wp_upload_dir()[baseurl] => http://example.com/content/uploads … … 200 206 $this->save_local_thumbnail( $youtube_id ); 201 207 } 202 $youtube_lazyload = '<div class="syg__box syg__box-youtube">' . '<img src="' . $upload_dir['baseurl'] . '/simple-youtube-gdpr-thumbnails/' . md5( $youtube_id ) . '.jpg" title="' . esc_html( __( 'Click to Play Video', 'simple-youtube-gdpr' ) ) . '" class="syg__box__img" id="' . $youtube_id . '" alt="' . esc_html( __( 'YouTube Video Thumbnail', 'simple-youtube-gdpr' ) ) . '" decoding="async" referrerpolicy="no-referrer">' . '<div class="syg__box__text">' . '<p> ' . esc_html( __( 'By loading the video, you agree to YouTube\'s privacy policy.', 'simple-youtube-gdpr' ) ) . '<br > ' . '<a href = "' . esc_html( __( 'https://policies.google.com/privacy?hl=en', 'simple-youtube-gdpr' ) ) . '" target="_blank" rel="noopener" > ' . esc_html( __( ' Learn more', 'simple-youtube-gdpr' ) ) . '</a > ' . '</p > ' . '<p ><a class="syg__box__text__btn" role = "button" > ' . esc_html( __( 'Loadvideo', 'simple-youtube-gdpr' ) ) . '</a ></p > ' . '</div > ' . '</div > ';208 $youtube_lazyload = '<div class="syg__box syg__box-youtube">' . '<img src="' . $upload_dir['baseurl'] . '/simple-youtube-gdpr-thumbnails/' . md5( $youtube_id ) . '.jpg" title="' . esc_html( __( 'Click to Play Video', 'simple-youtube-gdpr' ) ) . '" class="syg__box__img" id="' . $youtube_id . '" alt="' . esc_html( __( 'YouTube Video Thumbnail', 'simple-youtube-gdpr' ) ) . '" decoding="async" referrerpolicy="no-referrer">' . '<div class="syg__box__text">' . '<p> ' . esc_html( __( 'By loading the video, you agree to YouTube\'s privacy policy.', 'simple-youtube-gdpr' ) ) . '<br > ' . '<a href = "' . esc_html( __( 'https://policies.google.com/privacy?hl=en', 'simple-youtube-gdpr' ) ) . '" target="_blank" rel="noopener" > ' . esc_html( __( 'Read policy', 'simple-youtube-gdpr' ) ) . '</a > ' . '</p > ' . '<p ><a class="syg__box__text__btn" role = "button" > ' . esc_html( __( 'Play video', 'simple-youtube-gdpr' ) ) . '</a ></p > ' . '</div > ' . '</div > '; 203 209 // .syg__box 204 210 return $youtube_lazyload; … … 206 212 case 'vimeo': 207 213 break; 214 case 'flickr': 215 break; 216 case 'issuu': 217 break; 208 218 } 209 219 return false; … … 221 231 switch ( $type ) { 222 232 case 'vimeo': 233 break; 234 case 'flickr': 223 235 break; 224 236 default: … … 252 264 * @return bool 253 265 */ 254 private function isThumbnailExists( $ video_id)255 { 256 $ youtube_id = esc_html( $video_id );266 private function isThumbnailExists( $content_id, $type = 'video' ) 267 { 268 $content_id = esc_html( $content_id ); 257 269 $upload_dir = wp_upload_dir(); 258 return file_exists( $upload_dir['basedir'] . '/simple-youtube-gdpr-thumbnails/' . md5( $video_id ) . '.jpg' ); 270 switch ( $type ) { 271 case 'video': 272 return file_exists( $upload_dir['basedir'] . '/simple-youtube-gdpr-thumbnails/' . md5( $content_id ) . '.jpg' ); 273 break; 274 case 'flickr': 275 return file_exists( $upload_dir['basedir'] . '/simple-youtube-gdpr-thumbnails/' . $content_id ); 276 break; 277 } 259 278 } 260 279 … … 272 291 switch ( $type ) { 273 292 case 'vimeo': 293 break; 294 case 'flickr': 274 295 break; 275 296 default: … … 289 310 $upload_dir['path'] = $upload_dir['basedir'] . '/simple-youtube-gdpr-thumbnails/'; 290 311 // Set upload folder 291 $image_name = md5( $video_id ) . '.jpg'; 292 // Make it MD5 -> so all (_!@#$%^)(*&) symbols are sanitized 312 switch ( $type ) { 313 case 'flickr': 314 break; 315 default: 316 $image_name = md5( $video_id ) . '.jpg'; 317 // Make it MD5 -> so all (_!@#$%^)(*&) symbols are sanitized 318 break; 319 } 293 320 $unique_file_name = wp_unique_filename( $upload_dir['path'], $image_name ); 294 321 // Generate unique name -
simple-youtube-gdpr/trunk/public/css/simple-youtube-gdpr-public.css
r2143715 r2144933 4 4 overflow: hidden; 5 5 max-width: 100%; 6 min-width: 20em; 7 height: auto; 8 min-height: 12em; 9 background-color: #eaeaea; 10 } 11 12 .syg__box::before, .syg__box::after { 13 display: none; 14 padding: 0 !important; 6 15 } 7 16 … … 20 29 -webkit-filter: brightness(75%); 21 30 filter: brightness(75%); 31 } 32 33 .syg__box-flickr:hover .syg__box__img { 34 -webkit-filter: brightness(100%); 35 filter: brightness(100%); 22 36 } 23 37 -
simple-youtube-gdpr/trunk/public/js/simple-youtube-gdpr-public.js
r2143715 r2144933 21 21 22 22 for (var i = 0; i < videos.length; i++) {// loop in all videos boxes 23 24 25 23 // Get Play Button 26 24 var syg__box__text__btn = videos[i].getElementsByClassName('syg__box__text__btn')[0]; … … 28 26 if (typeof (syg__box__text__btn) === 'undefined' || syg__box__text__btn === null || !syg__box__text__btn) { 29 27 console.warn('No YouTube Play Button found'); 30 return; 28 console.debug(videos[i]); 29 continue; 31 30 } 32 31 // Put click events on Play buttons … … 43 42 var videoImage = videoContainer__local.getElementsByClassName('syg__box__img')[0]; 44 43 // if we don't have video image -> return 45 if (typeof (videoImage) === 'undefined' || videoImage === null || !videoImage) { 46 console.warn('No YouTube Image found'); 47 return; 48 } 49 // Change - Replace 50 if (videoContainer__local.classList.contains('syg__box-youtube')) { 51 videoContainer__local.replaceChild(getYouTubeIFrame(videoImage), videoImage); 44 if (typeof (videoImage) != 'undefined' && videoImage != null && videoImage) { 45 // Change - Replace 46 if (videoContainer__local.classList.contains('syg__box-youtube')) { 47 videoContainer__local.classList.remove('syg__box'); 48 videoContainer__local.replaceChild(getYouTubeIFrame(videoImage), videoImage); 49 } 50 51 /* Premium Code Stripped by Freemius */ 52 52 53 } 53 54 … … 55 56 56 57 // Remove 57 videoContainer__local.removeChild(syg__box__text); 58 if (videoContainer__local.getElementsByClassName('syg__box__text') && videoContainer__local.getElementsByClassName('syg__box__text')[0] && syg__box__text) { 59 videoContainer__local.removeChild(syg__box__text); 60 } 58 61 }); 59 62 }// for youtube -
simple-youtube-gdpr/trunk/simple-youtube-gdpr.php
r2143715 r2144933 17 17 * Plugin URI: https://alexeyvolkov.com/blog/simple-youtube-gdpr 18 18 * Description: Integrate YouTube and Vimeo videos securely! 19 * Version: 0. 719 * Version: 0.8 20 20 * Author: Alexey Volkov 21 21 * Author URI: https://alexeyvolkov.com/ … … 91 91 function add_action_links( $links ) 92 92 { 93 $mylinks = array( '<a href="' . syg_fs()->get_upgrade_url() . '" title="' . esc_html( __( 'Click to Upgrade your plan' ) ) . '"><strong style="display: inline;">' . esc_html( __( 'Get Vimeo Blocker!', 'simple-youtube-gdpr' ) ) . '</strong></a>' );93 $mylinks = array( '<a href="' . syg_fs()->get_upgrade_url() . '" title="' . esc_html( __( 'Click to Upgrade your plan', 'simple-youtube-gdpr' ) ) . '"><strong style="display: inline;">' . esc_html( __( 'Block Vimeo and more!', 'simple-youtube-gdpr' ) ) . '</strong></a>' ); 94 94 return array_merge( $mylinks, $links ); 95 95 } … … 106 106 if ( strpos( $file, 'simple-youtube-gdpr.php' ) !== false ) { 107 107 $new_links = array( 108 'donate' => '<a href="https://money.yandex.ru/to/41001417963743" target="_blank" title=" Payment in RUB - Russian Rubles">♥ Donate</a>',108 'donate' => '<a href="https://money.yandex.ru/to/41001417963743" target="_blank" title="' . esc_html( __( 'Payment in RUB - Russian Rubles', 'simple-youtube-gdpr' ) ) . '">♥ ' . esc_html( __( 'Donate', 'simple-youtube-gdpr' ) ) . '</a>', 109 109 ); 110 110 $links = array_merge( $links, $new_links ); … … 119 119 * Rename this for your plugin and update it as you release new versions. 120 120 */ 121 define( 'SIMPLE_YOUTUBE_GDPR_VERSION', '0. 7' );121 define( 'SIMPLE_YOUTUBE_GDPR_VERSION', '0.8' ); 122 122 /** 123 123 * The code that runs during plugin activation.
Note: See TracChangeset
for help on using the changeset viewer.