{"id":117754,"date":"2020-02-25T07:57:44","date_gmt":"2020-02-25T07:57:44","guid":{"rendered":"https:\/\/de.wordpress.org\/plugins\/video-link-gallery\/"},"modified":"2020-02-25T07:58:43","modified_gmt":"2020-02-25T07:58:43","slug":"video-link-gallery","status":"publish","type":"plugin","link":"https:\/\/tg.wordpress.org\/plugins\/video-link-gallery\/","author":15700354,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.2","stable_tag":"1.0.2","tested":"5.3.21","requires":"4.7","requires_php":"7.1","requires_plugins":"","header_name":"Video-Link-Gallery","header_author":"Martin Bergann","header_description":"Video-link-gallery supporting youtube, vimeo and direct Video-URLs - showing videos in PhotoSwipe-Lightbox of Dmitry Semenov","assets_banners_color":"092425","last_updated":"2020-02-25 07:58:43","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.paypal.me\/MartinBergann\/","header_plugin_uri":"https:\/\/www.coderey.de\/wordpress-plugins\/video-link-gallery\/","header_author_uri":"https:\/\/www.coderey.de","rating":0,"author_block_rating":0,"active_installs":0,"downloads":1056,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"":"<p>no special infos yet<\/p>"},"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":"2249730","resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":"2249730","resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":"2249730","resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":"2249730","resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.2"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"2249730","resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":"2249730","resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":"2249730","resolution":"3","location":"assets","locale":""},"screenshot-4.png":{"filename":"screenshot-4.png","revision":"2249730","resolution":"4","location":"assets","locale":""},"screenshot-5.png":{"filename":"screenshot-5.png","revision":"2249730","resolution":"5","location":"assets","locale":""}},"screenshots":{"1":"gallery-view \/ thumbnails","2":"PhotoSwipe-Lightbox with Youtube-Video","3":"PhotoSwipe-Lightbox with Vimeo-Video","4":"PhotoSwipe-Lightbox with local hosted video","5":"class- and directory-structure - designed to extend easily"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[237,13896,6400,1609,1610],"plugin_category":[50,56],"plugin_contributors":[182128],"plugin_business_model":[],"class_list":["post-117754","plugin","type-plugin","status-publish","hentry","plugin_tags-lightbox","plugin_tags-photoswipe","plugin_tags-video-gallery","plugin_tags-vimeo","plugin_tags-youtube","plugin_category-media","plugin_category-social-and-sharing","plugin_contributors-mbergann","plugin_committers-mbergann"],"banners":{"banner":"https:\/\/ps.w.org\/video-link-gallery\/assets\/banner-772x250.png?rev=2249730","banner_2x":"https:\/\/ps.w.org\/video-link-gallery\/assets\/banner-1544x500.png?rev=2249730","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/video-link-gallery\/assets\/icon-128x128.png?rev=2249730","icon_2x":"https:\/\/ps.w.org\/video-link-gallery\/assets\/icon-256x256.png?rev=2249730","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/video-link-gallery\/assets\/screenshot-1.png?rev=2249730","caption":"gallery-view \/ thumbnails"},{"src":"https:\/\/ps.w.org\/video-link-gallery\/assets\/screenshot-2.png?rev=2249730","caption":"PhotoSwipe-Lightbox with Youtube-Video"},{"src":"https:\/\/ps.w.org\/video-link-gallery\/assets\/screenshot-3.png?rev=2249730","caption":"PhotoSwipe-Lightbox with Vimeo-Video"},{"src":"https:\/\/ps.w.org\/video-link-gallery\/assets\/screenshot-4.png?rev=2249730","caption":"PhotoSwipe-Lightbox with local hosted video"},{"src":"https:\/\/ps.w.org\/video-link-gallery\/assets\/screenshot-5.png?rev=2249730","caption":"class- and directory-structure - designed to extend easily"}],"raw_content":"<!--section=description-->\n<p>This plugin creates a video-gallery for youtube- or vimeo-videos or direct video-file-links by simply defining the gallery with shortcodes.\nThe Videos will be opened in a lightbox.<\/p>\n\n<p>By default the \"<a href=\"https:\/\/photoswipe.com\/\">PhotoSwipe<\/a>\"-Lightbox of Dmitry Semenov is used.\n(at the moment it is the only one)<\/p>\n\n<p>This plugin is really simple and clean designed to be easily extendable.\n* 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.\n* there is a \"src\/Lightbox\"-directory where every lightbox is defined in an own php-class, implementing a class-interface\n* 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.<\/p>\n\n<h4>Parameters and video-provider-specific specials<\/h4>\n\n<p>All parameters - general parameters and also video-provider-specific parameters are set directly in the [[video-gallery]]-Shortcode.<\/p>\n\n<h4>general<\/h4>\n\n\n\n\n  parameter\n  description\n  default\n\n\n\n\n  lightbox\n  name of the lightbox-class that should be used\n  PhotoSwipe\n\n\n\n\n<h4>Youtube<\/h4>\n\n\n\n\n  parameter\n  description\n  default\n\n\n\n\n  yt_nocookie\n  use youtube-nocookie.com instead of youtube.com in video-links to be GDPR(DSGVO)-save\n  true\n\n\n\n\n<h4>Vimeo<\/h4>\n\n<p>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.\nIn this API-call we also get the original title of the video.\nFor this reason we need the php CURL extension.\nThe thumbnail will be taken from the API-response.\nWhen no manual video-title is defined, the video-provider-class uses also the original video-title from API-response automaticly.<\/p>\n\n<h3>Extending the Plugin<\/h3>\n\n<p>You can easily extend the Plugin by writing your own classes for Video-Platforms or other Lightboxes - you just have to implement the Interfaces.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload this plugin files to the <code>\/wp-content\/plugins\/video-link-gallery<\/code> directory, or install the plugin through the WordPress plugins screen directly.<\/li>\n<li>Activate the plugin through the 'Plugins' screen in WordPress<\/li>\n<li>now you can use the [video-gallery]-Shortcode as descripted!<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>My Video is not listed in the thumb-gallery - what am I doing wrong?<\/dt>\n<dd><p>Let me take my crystal ball:\n - Maybe you have a typo in your video-definition?\n - Or you might have a closing square bracket in your video-title that is confusing my regular-expression?!<\/p><\/dd>\n<dt>How can I extend the plugin to support more video-plattforms?<\/dt>\n<dd><p>You just have to copy-and-edit a given (or create a new) VideoProvider-Class. The VideoProvider-Class MUST implement the VideoProviderInterface.\nTo get a faster and more clean result you SHOULD also use the VideoProviderAbstract class to extend from that\n - so you don't have to write some methods that are identical in most cases a second time.<\/p><\/dd>\n<dt>How can I extend the plugin to support more lightboxes?<\/dt>\n<dd><p>You just have to copy-and-edit a given (or create a new) Lightbox-Class. The Lightbox-Class MUST implement the LightboxInterface.\nThe Lightbox-Class creates the html-code for thumbnails and also the lightbox itself.<\/p>\n\n<p>In future versions it's also planned to decouple this a little bit... but at the moment it was the simplest way to implement the lightbox.<\/p><\/dd>\n<dt>How can I change the lightbox<\/dt>\n<dd><p>There is a parameter \"lightbox\" - for more details: see Parameters-section in description<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.2 (2020-02-23)<\/h4>\n\n<ul>\n<li>de-couple VideoGallery-Shortcode from VideoProviders<\/li>\n<li>make plugin ready for wordpress-plugin-directory<\/li>\n<\/ul>\n\n<h4>1.0.1 (2020-02-17)<\/h4>\n\n<ul>\n<li>small bugfix in Youtube-VideoProvider: choosen PreviewImage-URL was not always available.<\/li>\n<\/ul>\n\n<h4>1.0.0 (2020-02-17)<\/h4>\n\n<ul>\n<li>initial released version after a few days of development<\/li>\n<\/ul>","raw_excerpt":"Video-Gallery defined by shortcodes for youtube, vimeo and direct links, opening videos in a lightbox (default-lightbox: &quot;PhotoSwipe&quot;)","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/tg.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/117754","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tg.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/tg.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/tg.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=117754"}],"author":[{"embeddable":true,"href":"https:\/\/tg.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/mbergann"}],"wp:attachment":[{"href":"https:\/\/tg.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=117754"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/tg.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=117754"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/tg.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=117754"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/tg.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=117754"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/tg.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=117754"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/tg.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=117754"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}