FooGallery is a WordPress plugin that allows for the creation of elegant, responsive galleries and grids with images and video’s.
Complianz integrates with the FooGallery plugin, allowing you to embed YouTube video’s within FooGallery elements while managing consent with Complianz.
This integration is available as an MU Plugin on GitHub: https://github.com/Really-Simple-Plugins/complianz-integrations/blob/master/foo-gallery.php
Configuration
- Upload the “foo-gallery.php” integration file to the /wp-content/mu-plugins/ directory on your site.
- Create a gallery/grid with the FooGallery plugin, and insert one or more YouTube video’s.
- Save your gallery, and copy it’s shortcode to the page or post where it should be displayed.
Example
The result will be a FooGallery grid/gallery that requires consent before YouTube is loaded.