- 🇩🇪Germany marcoka
Just wanted to mention that you can get the thumbnail from youtubes server like this: https://i.ytimg.com/vi/{videoID}/maxresdefault.jpg
Replace {videoID} with videoid
By now the Module loads the first Frame of the video. as background image.
So It has to interact with Youtube or Vimeo to fetch the image right? This is not GDPR-Compliant because even the user's IP is personal data in terms of GDPR.
Therefore you could not send the user's IP to Youtube or Vimeo before the Agreement-Button is clicked. So There must be a way to store Background images locally to make sure A Module, that aims to be helpful when it comes to achieve GDPR Compliance must not load data from an external server before consent is given.
Install the Module
Use a pubkic Video on Vimeo or Youtube
Analyse HTTP headers
See Browser Console error
Implement the Module as formatter for the video Embed field and make it possible to select a field within a particular content type that contains the background image in a particular responsive image style.
After that add the URL of the image selected that way as background image url() to .video-text-overlay
In general the problem is, tht the Module is exactly doing what it should do, but it does not take in account two things
Therefore the mpdule needs an option to host background images localy. The Approach works for public Videos on Vimeo and on youtube as well. As soon as someone uses vimeo in a more professional way, this module is not quite usable right now.
implement a formatter for video embed field
Fixed
1.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Just wanted to mention that you can get the thumbnail from youtubes server like this: https://i.ytimg.com/vi/{videoID}/maxresdefault.jpg
Replace {videoID} with videoid