michaelzangl / wp-video-embed-privacy Goto Github PK
View Code? Open in Web Editor NEWWordpress plugin for making ebedding videos GDPR compliant
Wordpress plugin for making ebedding videos GDPR compliant
=== Embed videos and respect privacy === Contributors: michael.zangl Tags: youtube, germany, deutschland Requires at least: 4.5 Tested up to: 4.9.4 Stable tag: 2.0 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Allows you to embed youtube videos without sending data to google on every page view. Required for a GDPR (German: DSGVO) compliant website. == Description == This is meant to be used in the european union, but can be used in any other country where you want some more privacy for your users. No settings required, youtube links get replaced. Adjust the displayed message according to your local needs. See https://github.com/michaelzangl/wp-video-embed-privacy/wiki for more technical information. = German Background = Das deutsche Datenschutzrecht - und jetzt die europäische DSGVO - ist relativ streng. Der normale Youtube Einbindenlink entspricht nicht (unbedingt) den Datenschutzbestimmungen. Dieses Plugin baut erst eine Verbindung zu Youtube auf, wenn der Nutzer aktiv auf den Abspielen-Knopf klickt. Es ist kein Setup erforderlich und es gibt dementsprechend auch keine Einstellungen. == Installation == You need to enable url_allow_fopen. As any other wordpress plugin. Download the relase zip from the github repository or from wordpress.org, upload it to your wordpress. It simply works out of the box, no configuration required. == Frequently Asked Questions == If you find a problem, please open an issue on github: https://github.com/michaelzangl/wp-video-embed-privacy/issues = How to add a youtube video = Simply post the youtube link as usual. Or use the [embed]-Shortcode. Do not use the HTML-Embed-link (<embed...> = Can I enable caching = Yes, click the ckeckbox in settings == Screenshots == 1. Example video before the Youtube-Player is loaded == Changelog == = 1.0 = * First version = 1.2 = * Add link to google privacy page = 2.0 = * Add settings * Internationalize * Prevent external requests to preview generator.
In almost all cases the videos are now too wide for my website. It overlaps with the sidebar in Divi and is bigger than the viewport on mobile devices.
This is because of:
<div class="video-wrapped" style="width: ' . $w . 'px; height: ' . $h . 'px; background-image: url(\'' . $preview . '\')"
in video-embed-privacy.php
If I delete width: ' . $w . 'px; height: ' . $h . 'px;
and instead use CSS styling like this through the Custom CSS field of my theme:
.video-wrapped { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; } .video-wrapped iframe, .video-container object, .video-container embed, .video-container video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
everything becomes responsive and fits nicely.
Es wird nur eine schwarzes Bild hinter dem Text angezeigt, kein Vorschaubild (thumbnail).
Both input-fields "Play button text" and "HMTL below youtube play link" won't save data.
Hi, we are running a Multisite Installation on segelnblogs.de where users can set up their own sites and I really love the simplicity of this plugin and would like to thank you for making it! However, I also do have some Feedback which I hope is welcome:
a) While most Plugins are configurable in "Settings" or "Tools" Section of the Backend this plugin's settings are accessed via the Plugins Page itself. - That is very uncommon and I actually only found them when I decided to delete the Plugin because I could not find a way to modify the messages...
We also use the Plugin in a MU Environment and although it works perfectly there our users will not be able to do any settings on their pages because they have for sure no access to network wide predefined plugins in the Plugin Backend.
Maybe moving the settings to a more common place would make for a better UX.
b) The Text-Fields for HTML Messages are rather small, considering it will often contain some css classes to style the overlay.
c) Maybe add a simple setting to have users easily dim a whole video thumbnail (e.g. black,50% opacity) and make the Text more outstanding.
Hi,
am trying to adjust several sites to DSGVO compliance. This plugin solution for youtube embeds works great for me. But according to my taste it looks awful. And sad to say to my clients taste, too.
http://jugendkonzertchor.de/media/#video-produktionen
Isn't it possible to set up my own pic to use as place marker? I don't want this ugly one from a server. And isn't it possible to have some sort of window with explanations? Have a look at this solution for elementor: https://heddesheimer.de/blog/youtube-videos-datenschutzkonform-einbinden-dsgvo/
There is no way to turn that message off, but it is displayed so much nicer.
In my case I'll try to improve this plugin a bit by css, but I would appreciate a lot to use a pic I generate myself. Will you work on an update?
I have everything done like explained and it won't work.
I run it on a Word Press site (example: https://www.vonguteneltern.de/fragen-an-die-hebamme-34-wie-bereite-ich-mich-aufs-stillen-vor/).
Checked:
Anyone any ideas?
Thanks, Christian
I tried out release 2.1. - it works fine for me. But after clicking on "Play" a numeric key appears directly below the video. How do I get rid of it?
The preview picture feature is not working. It's giving me "wrong key". Looking into preview.php I see that a settings.php file is invoked which I don't seem to find in your repository. Looks like preview.php can't fetch the key that it needs to re-calculate the sha256 hash for comparing it to the provided "$s" parameter.
Missing some strings for translation, like "telemetry"...
Hi Michael,
I really like your plugin, it works good and increased my site's speed (which was not the main cause I installed it (GDPR), but it's nice nevertheless :) )
But there is one main issue: the video player is not responsive - on mobile pages that's really a problem.
Is there a way to fix that?
Regards
Ich weiß, dass es sich hierbei wohl eher um meine Unfähigkeit, als um ein Problem mit dem Plugin handelt, aber ich weiß mir aktuell nicht anders zu helfen und poste daher einfach mal.
Ich hab das aktuelle Release installiert und sehe keinerlei Unterschied bei meinen, per URL eingebundenen, YouTube-Videos.
Beispiel:
https://janbpunkt.de/2018/04/25/angespielt-frostpunk/
Ich nutze WP Super Cache, kann es damit zu tun haben?
Testweise habe ich den Cache geleert, was aber keinerlei Änderung zur Folge hatte.
Möglich auch, dass das Theme dazwischen haut?!
Über eine kurze Antwort freue ich mich bestimmt richtig ;)
Danke.
On bright thumbnails the text gets very hard to read. I would suggest giving .video-wrapped-play a semi-transparent background.
Is it possible to add the ?rel=0 parameter for youtube-videos?
Hallo,
ich versuche, das Caching der Vorschaubilder zu aktivieren. Der Haken ist gesetzt bei den Plugin-Einstellungen. Aber ich stehe total auf dem Schlauch.
In den FAQs heißt es
Can I enable caching
Yes, rename the file in the video-embed-privacy/preview directory
Welches File muß ich denn umbenennen, und wie muß es heißen?
Danke!
Hello,
in Page Builder like Divi or Extra this plugin does not work?
Many greetings
… though it is. Installed stable 2.0 - no issues at all.
Hello, thanks for the plugin!
We have realised that the plugin does not recognise Youtube links if they include a later start position, e.g.
https://www.youtube.com/watch?v=ymK6mBciJEc?start=97 - it only works if ?start=97 is omitted. (We are using v2.2)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.