Easy YouTube Gallery
Use this plugin when you wish to quick insert gallery grid composed from custom selected YouTube videos. For automated latest or random videos collected from YouTube channel, favourites, liked videos or playlist check out My YouTube Channel Features Custom set of ID’s provided as shortcode attribute id (single of multiple ID’s separated by comma) Custom additional class for targeted styling (if you need to blend gallery in your theme) Custom number of columns to distribute thumbnails to (min 1, max 8) Custom set video titles as shortcode content (separate by newline or pipe) Responsive thumbnails Autoplay with Magnific PopUp lightbox Well marked with classes Classes Main container: .easy_youtube_gallery .col-# for number of columns (default is 1, supported up to 8) .ar-16_9 for 16:9, .ar-4_3 for 4:3 or .ar-square for 1:1 aspect ratio custom class provided by shortcode attribute class Anchor: .eytg-item .eytg-item-# for order number of item .eytg-item-first for first item in gallery block .eytg-item-mid for middle items in gallery block .eytg-item-last for last item in gallery block Title: (new in 1.0.4) .eytg-title for custom video title .top positioning custom video title on top of thumbnail .bottom positioning custom video title on bottom of thumbnail Thumbnail: .eytg-thumbnail is class for span where we set video thumbnail as background image Play icon .eytg-thumbnail:before is pseudoclass for play icon How To Use? Full shortcode [easy_youtube_gallery id=uMK0prafzw0,8Uee_mcxvrw,HcXNPI-IPPM,JvMXVHVr72A,AIXUgtNC4Kc,K8nrF5aXPlQ,cegdR0GiJl4,L-wpS49KN00,KbW9JqM7vho ar=16_9 cols=3 thumbnail=hqdefault controls=0 playsinline=1 privacy=1 title=top wall=1 class=mySuperClass] Title One Second Title Video 3 Fourth Video YouTube 5 Sixth YouTube Video No. 7 Player #8 9th item [/easy_youtube_gallery] Basic shortcode [easy_youtube_gallery id=uMK0prafzw0,8Uee_mcxvrw,HcXNPI-IPPM cols=3] Please note! If you doing copy&paste from code above, before you paste content to page, post or text widget content, clear all formatting by paste© to/from Notepad or other plain text editor! Shortcode parameters id (required) single YouTube video ID or multiple ID’s separated with comma ar (optional) aspect ratio of thumbnails; default is ar-16_9 for 16:9, but also supported ar-4_3 for 4:3 and ar-square for 1:1 cols (optional) for number of columns to distribute thumbnails in; devault is 1, supported up to 8 thumbnail (optional) for YouTube size of thumbnail; default is hqdefault but we can use: 0 have resolution 480x360px 1, 2 and 3 have resolution 120x90px (first, second or third frame) default have resolution 120x90px (Default Quality) mqdefault have resolution 320x180px (Medium Quality) hqdefault have resolution 480x360px (High Quality) sddefault have resolution 640x480px (Standard Definition) and does not exists for lowres videos maxresdefault have resolution 1920x1080px (Full HD) and does not exists for lowres videos controls (optional) to optionally hide playback controls in lightbox player (default is 1 that means “display controls”, but you can set it to 0 to hide controls) privacy (optional) enables enhanced privacy which means that YouTube won’t store information about visitors on your web page unless they play the video. (0 or 1) playsinline controls whether videos play inline or fullscreen in an HTML5 player on iOS. Learn more on Google Developers (0 or 1) class (optional) to add custom style class if you wish to target specific styling for your own needs wall (optional) render video wall with player at top and thumbnails below (0 or 1) title (optional) set custom video titles position (top or bottom) TODO Replace MagnificPopUp with newer library VisualComposer block Inline player instead of opening in lightbox
NextGEN Gallery Image Chooser
NextGEN Gallery (NGG) is an excellent gallery for WordPress. Its major drawback, as far as I’m concerned, is the minimalistic image chooser. So I’ve taken the liberty to adapt the equally excellent g2image image chooser, which also is embedded in the WPG2 connector to Gallery2. This image chooser allows to browse through hierarchical albums and galleries, insert NGG tags for albums and galleries, as well as NGG and HTML tags for one or more images and thumbnails at a time. On the left side of the image chooser pop-up there is the tree view of all albums and galleries. On the top are the albums and their galleries, then follow the galleries, which are not attached to any album. On the upper right side there are the controls to insert the tags with their relevant options. Depending on which insert mode (NGG or HTML tag, image or thumbnail) is selected, only the relevant options are shown. Below the controls, the thumbnails of the images in the selected gallery are shown, optionally together with their title, summary and description. There multiple images can be selected for insertion. At present, the NGG tags [album], [nggallery], [thumb], [singlepic], and [imagebrowser], plus some html links are supported. Default settings can be altered on the settings page. NOTE: This plugin does not work with the new Gutenberg editor. There now is a new plugin that allows you to insert NGG tags for images, galleries and albums as Gutenberg blocks: Image Chooser Block for NextGEN Gallery. Alternatively you can switch to the classic editor, e.g. by using the Classic Editor plugin. At this time, the image chooser is available in English (default) and German. Other translations are welcome and will be included in the next release.