Wordpress plugins
Video-Link-Gallery

Video-Link-Gallery

Version : 1.0.2
Tested up to : 5.3.2
Number of download : 14
Average rating : 0 / 5 on 0 votes 0 votes, 0 avg.rating

Screenshots

Video-Link-Gallery
Video-Link-Gallery
Video-Link-Gallery
Video-Link-Gallery

This plugin creates a video-gallery for youtube- or vimeo-videos or direct video-file-links by simply defining the gallery with shortcodes. The Videos will be opened in a lightbox. By default the “PhotoSwipe“-Lightbox of Dmitry Semenov is used. (at the moment it is the only one) This plugin is really simple and clean designed to be easily extendable. * there is a “src/VideoProvider”-directory where every Video-Platform (like youtube or vimeo) is defined in an own php-class implementing a class-interface. * there is a “src/Lightbox”-directory where every lightbox is defined in an own php-class, implementing a class-interface * there is a “src/Shortcodes”-directory where the “[video-gallery]”-Shortcode is defined – that is where the magic happenes – but there is no need to edit this file. Parameters and video-provider-specific specials All parameters – general parameters and also video-provider-specific parameters are set directly in the [[video-gallery]]-Shortcode. general parameter description default lightbox name of the lightbox-class that should be used PhotoSwipe Youtube parameter description default yt_nocookie use youtube-nocookie.com instead of youtube.com in video-links to be GDPR(DSGVO)-save true Vimeo In vimeo the preview-image-URL doesn’t use the video-ID – so you need to make an API-request to get the image-URL. In this API-call we also get the original title of the video. For this reason we need the php CURL extension. The thumbnail will be taken from the API-response. When no manual video-title is defined, the video-provider-class uses also the original video-title from API-response automaticly. Extending the Plugin You can easily extend the Plugin by writing your own classes for Video-Platforms or other Lightboxes – you just have to implement the Interfaces.

Download now