Skip to content
This repository has been archived by the owner on Jan 10, 2025. It is now read-only.

Grab Thumbnail Picture from YouTube Video Url and save it to a ProcessWire image field

License

Notifications You must be signed in to change notification settings

baumrock/RockVideoThumbnailGrabber

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

RockVideoThumbnailGrabber

Grab Thumbnail Picture from YouTube Video Url and save it to a ProcessWire image field.

This makes it possible to show a video preview image without connecting to Youtube so it is GDPR compliant without the need to request consent from the user.

Usage

// site/init.php
$grabber = $modules->get('RockVideoThumbnailGrabber');
$grabber->add("your-video-url-field", "your-thumbnail-image-field");

See also

https://processwire.com/talk/topic/4614-youtube-and-vimeo-thumbnail-grabber/ --> this might be a better choice. I simply didn't know about that module!

About

Grab Thumbnail Picture from YouTube Video Url and save it to a ProcessWire image field

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages