{"id":156,"date":"2016-09-27T13:21:51","date_gmt":"2016-09-27T13:21:51","guid":{"rendered":"http:\/\/demo.awplife.com\/video-gallery-premium\/?page_id=156"},"modified":"2022-07-07T13:51:17","modified_gmt":"2022-07-07T08:21:17","slug":"youtube-gallery","status":"publish","type":"page","link":"https:\/\/awplife.com\/demo\/video-gallery-premium\/","title":{"rendered":"Youtube Gallery"},"content":{"rendered":"<style type=\"text\/css\">\n\n.single-image figure {\n\tmargin:0 !important;\n}\n.single-image {\n\tposition: relative;\n\tleft: 0;\n\ttop: 0;\n\tfloat: left;\n}\n#image_gallery_4, #nev_vimeo_api_4, #nev_twitch_api_4, #nev_dm_api_4, #nev_wis_api_4, .youram-simple_4, .vimeo-api-gallery-wrapper_4, .vg_load_more_4, #loadMoreBtn_4 {\n\t--vg-load-btn-padding-y: 12px;\n\t--vg-load-btn-padding-x: 32px;\n\t--vg-load-btn-radius: 8px;\n\t--vg-load-btn-bg: #4f46e5;\n\t--vg-load-btn-color: #ffffff;\n\t--vg-load-btn-hover-bg: #4338ca;\n\t--vg-load-btn-rgba-bg: rgba(79, 70, 229, 0.2);\n\t--vg-load-btn-rgba-hover: rgba(67, 56, 202, 0.5);\n\t--vg-thumb-aspect-ratio: auto;\n\t--vg-primary: #4f46e5;\n\t--vg-title-size: 17px;\n\t--vg-title-color: #0a0a0a;\n\t--vg-desc-size: 12px;\n\t--vg-desc-color: #3a3a3a;\n\t--vg-video-icon-display: none;\n\t--vg-thumbnail-radius: 8px;\n\t--vg-gutter: 8px;\n\t--vg-card-border-color: rgba(238, 242, 246, 1);\n\t--vg-card-bg-color: rgba(255, 255, 255, 1);\n\t--vg-radius: 8px;\n\t--vg-card-radius: 8px;\n\t--vg-card-padding: 8px;\n\t--vg-title-desc-align: center;\n\t--vg-api-title-desc-align: left;\n\t--vg-api-flex-align: flex-start;\n\t--vg-overlay-initial-opacity: 1;\n\t--vg-play-initial-scale: scale(1);\n\t--vg-badge-initial-transform: translateY(0);\n\t--vg-grayscale-pct: 0%;\n\t--vg-gallery-initial-opacity: 0;\n\t--vg-gallery-transition: opacity 0.4s ease;\n}\n:root {\n\t--vg-lightbox-bg: #000000;\n\t--vg-lightbox-opacity: 0.9;\n}\n<\/style>\n\t\t\t<div class=\"vg-gallery-loader\" id=\"vg-loader-4\" style=\"--vg-loader-color: #4f46e5;\">\n\t\t\t\t\t\t\t<div class=\"vg-loader-spinner-icon\"><\/div>\n\t\t\t\t\t<\/div>\n\t\n\t\n\t\t\t\t\t<div id=\"image_gallery_4\" class=\"vg-row all-images \" style=\"--vg-cols-lg: 2; --vg-cols-md: 2; --vg-cols-sm: 3; --vg-cols-xs: 2;\" data-lg-config='{&quot;loop&quot;:true,&quot;thumbnail&quot;:true,&quot;autoplay&quot;:true,&quot;mode&quot;:&quot;lg-slide&quot;,&quot;cta_enabled&quot;:false,&quot;cta_type&quot;:&quot;button&quot;,&quot;cta_btn_text&quot;:&quot;Learn More&quot;,&quot;cta_btn_link&quot;:&quot;&quot;,&quot;cta_btn_bgc&quot;:&quot;#4f46e5&quot;,&quot;cta_btn_txtc&quot;:&quot;#ffffff&quot;,&quot;cta_html&quot;:&quot;&quot;}'>\n\t\t\t\t<div class=\"grid-sizer\"><\/div>\n\t\t\t\t\t<div class=\"vg_result_4 single-image 2 2 3 2\">\n\t\t<div class=\"vg-card vg-card--simple vg-has-card-border vg-card--vimeo\">\n\n\t\t\t<div class=\"vg-card__media\">\n\t\t\t\t<a class=\"vgp-trigger\" href=\"https:\/\/vimeo.com\/259411563\" data-thumb=\"https:\/\/awplife.com\/demo\/video-gallery-premium\/wp-content\/uploads\/sites\/24\/2022\/07\/vimeo_NG.png\" data-sub-html=\"&lt;h4&gt;Averest&lt;\/h4&gt;&lt;p&gt;&lt;\/p&gt;\" target=\"_blank\" rel=\"noopener\">\n\t\t\t\t\t<img decoding=\"async\" class=\"vg-card__img \" loading=\"lazy\" src=\"https:\/\/awplife.com\/demo\/video-gallery-premium\/wp-content\/uploads\/sites\/24\/2022\/07\/vimeo_NG.png\" alt=\"Averest\">\n\t\t\t\t\t\t\t\t\t\t\t<div class=\"vg-card__overlay\">\n\t\t\t\t\t\t\t<button class=\"vg-card__play video_icon_4\" aria-label=\"Play video\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<svg viewBox=\"0 0 24 24\" fill=\"none\" style=\"color: #ffffff;\"><polygon points=\"6,3 20,12 6,21\" fill=\"currentColor\"\/><\/svg>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/button>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t\t<span class=\"vg-card__source-badge vg-source--vimeo\"><svg viewBox=\"0 0 16 16\" fill=\"currentColor\"><path d=\"M15.992 4.248c-.073 1.648-1.223 3.907-3.44 6.786C10.216 14.065 8.268 15.75 6.62 15.75c-1.04 0-1.924-.96-2.652-2.88-.488-1.788-.975-3.575-1.463-5.363-.527-1.928-1.092-2.892-1.695-2.892-.133 0-.6.28-1.4.838L0 5.88c.92-.81 1.828-1.62 2.724-2.436 1.24-1.08 2.164-1.652 2.772-1.716 1.452-.16 2.352.852 2.7 3.036.372 2.328.632 3.78.78 4.356.432 1.92.908 2.88 1.428 2.88.404 0 1.01-.636 1.818-1.908.808-1.272 1.244-2.244 1.312-2.916.144-1.236-.356-1.854-1.5-1.854-.532 0-1.076.12-1.632.372 1.084-3.54 3.152-5.262 6.204-5.16 2.256.072 3.312 1.532 3.168 4.38z\"\/><\/svg>Vimeo<\/span>\t\t\t\t\t\t\t\t\t<\/a>\n\t\t\t<\/div>\n\n\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"vg-card__title-wrap\">\n\t\t\t\t\t\t<h3 class=\"vg-card__title\">Averest<\/h3>\n\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t<\/div>\n\t\t<div class=\"vg_result_4 single-image 2 2 3 2\">\n\t\t<div class=\"vg-card vg-card--simple vg-has-card-border vg-card--youtube\">\n\n\t\t\t<div class=\"vg-card__media\">\n\t\t\t\t<a class=\"vgp-trigger\" href=\"https:\/\/www.youtube.com\/watch?v=NItJ2BcrTgk\" data-thumb=\"https:\/\/awplife.com\/demo\/video-gallery-premium\/wp-content\/uploads\/sites\/24\/2022\/07\/yt_sac_5-1024x576.png\" data-sub-html=\"&lt;h4&gt;Bike Riding&lt;\/h4&gt;&lt;p&gt;&lt;\/p&gt;\" target=\"_blank\" rel=\"noopener\">\n\t\t\t\t\t<img decoding=\"async\" class=\"vg-card__img \" loading=\"lazy\" src=\"https:\/\/awplife.com\/demo\/video-gallery-premium\/wp-content\/uploads\/sites\/24\/2022\/07\/yt_sac_5-1024x576.png\" alt=\"Bike Riding\">\n\t\t\t\t\t\t\t\t\t\t\t<div class=\"vg-card__overlay\">\n\t\t\t\t\t\t\t<button class=\"vg-card__play video_icon_4\" aria-label=\"Play video\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<svg viewBox=\"0 0 24 24\" fill=\"none\" style=\"color: #ffffff;\"><polygon points=\"6,3 20,12 6,21\" fill=\"currentColor\"\/><\/svg>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/button>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t\t<span class=\"vg-card__source-badge vg-source--youtube\"><svg viewBox=\"0 0 16 16\" fill=\"currentColor\"><path d=\"M15.665 4.113a2.003 2.003 0 00-1.418-1.424C12.926 2.25 8 2.25 8 2.25s-4.926 0-6.247.439A2.003 2.003 0 00.335 4.113C0 5.434 0 8 0 8s0 2.566.335 3.887a2.003 2.003 0 001.418 1.424C3.074 13.75 8 13.75 8 13.75s4.926 0 6.247-.439a2.003 2.003 0 001.418-1.424C16 10.566 16 8 16 8s0-2.566-.335-3.887zM6.5 10.5V5.5L10.5 8l-4 2.5z\"\/><\/svg>YouTube<\/span>\t\t\t\t\t\t\t\t\t<\/a>\n\t\t\t<\/div>\n\n\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"vg-card__title-wrap\">\n\t\t\t\t\t\t<h3 class=\"vg-card__title\">Bike Riding<\/h3>\n\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t<\/div>\n\t\t<div class=\"vg_result_4 single-image 2 2 3 2\">\n\t\t<div class=\"vg-card vg-card--simple vg-has-card-border vg-card--youtube\">\n\n\t\t\t<div class=\"vg-card__media\">\n\t\t\t\t<a class=\"vgp-trigger\" href=\"https:\/\/www.youtube.com\/watch?v=tWSdeK67DLg\" data-thumb=\"https:\/\/awplife.com\/demo\/video-gallery-premium\/wp-content\/uploads\/sites\/24\/2022\/07\/tWSdeK67DLg-HD-1024x576.jpg\" data-sub-html=\"&lt;h4&gt;Live Streaming&lt;\/h4&gt;&lt;p&gt;&lt;\/p&gt;\" target=\"_blank\" rel=\"noopener\">\n\t\t\t\t\t<img decoding=\"async\" class=\"vg-card__img \" loading=\"lazy\" src=\"https:\/\/awplife.com\/demo\/video-gallery-premium\/wp-content\/uploads\/sites\/24\/2022\/07\/tWSdeK67DLg-HD-1024x576.jpg\" alt=\"Live Streaming\">\n\t\t\t\t\t\t\t\t\t\t\t<div class=\"vg-card__overlay\">\n\t\t\t\t\t\t\t<button class=\"vg-card__play video_icon_4\" aria-label=\"Play video\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<svg viewBox=\"0 0 24 24\" fill=\"none\" style=\"color: #ffffff;\"><polygon points=\"6,3 20,12 6,21\" fill=\"currentColor\"\/><\/svg>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/button>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t\t<span class=\"vg-card__source-badge vg-source--youtube\"><svg viewBox=\"0 0 16 16\" fill=\"currentColor\"><path d=\"M15.665 4.113a2.003 2.003 0 00-1.418-1.424C12.926 2.25 8 2.25 8 2.25s-4.926 0-6.247.439A2.003 2.003 0 00.335 4.113C0 5.434 0 8 0 8s0 2.566.335 3.887a2.003 2.003 0 001.418 1.424C3.074 13.75 8 13.75 8 13.75s4.926 0 6.247-.439a2.003 2.003 0 001.418-1.424C16 10.566 16 8 16 8s0-2.566-.335-3.887zM6.5 10.5V5.5L10.5 8l-4 2.5z\"\/><\/svg>YouTube<\/span>\t\t\t\t\t\t\t\t\t<\/a>\n\t\t\t<\/div>\n\n\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"vg-card__title-wrap\">\n\t\t\t\t\t\t<h3 class=\"vg-card__title\">Live Streaming<\/h3>\n\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t<\/div>\n\t\t<div class=\"vg_result_4 single-image 2 2 3 2\">\n\t\t<div class=\"vg-card vg-card--simple vg-has-card-border vg-card--youtube\">\n\n\t\t\t<div class=\"vg-card__media\">\n\t\t\t\t<a class=\"vgp-trigger\" href=\"https:\/\/www.youtube.com\/watch?v=L9ZYdShgtPE\" data-thumb=\"https:\/\/awplife.com\/demo\/video-gallery-premium\/wp-content\/uploads\/sites\/24\/2022\/07\/L9ZYdShgtPE-HD-1024x576.jpg\" data-sub-html=\"&lt;h4&gt;Cars&lt;\/h4&gt;&lt;p&gt;&lt;\/p&gt;\" target=\"_blank\" rel=\"noopener\">\n\t\t\t\t\t<img decoding=\"async\" class=\"vg-card__img \" loading=\"lazy\" src=\"https:\/\/awplife.com\/demo\/video-gallery-premium\/wp-content\/uploads\/sites\/24\/2022\/07\/L9ZYdShgtPE-HD-1024x576.jpg\" alt=\"Cars\">\n\t\t\t\t\t\t\t\t\t\t\t<div class=\"vg-card__overlay\">\n\t\t\t\t\t\t\t<button class=\"vg-card__play video_icon_4\" aria-label=\"Play video\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<svg viewBox=\"0 0 24 24\" fill=\"none\" style=\"color: #ffffff;\"><polygon points=\"6,3 20,12 6,21\" fill=\"currentColor\"\/><\/svg>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/button>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t\t<span class=\"vg-card__source-badge vg-source--youtube\"><svg viewBox=\"0 0 16 16\" fill=\"currentColor\"><path d=\"M15.665 4.113a2.003 2.003 0 00-1.418-1.424C12.926 2.25 8 2.25 8 2.25s-4.926 0-6.247.439A2.003 2.003 0 00.335 4.113C0 5.434 0 8 0 8s0 2.566.335 3.887a2.003 2.003 0 001.418 1.424C3.074 13.75 8 13.75 8 13.75s4.926 0 6.247-.439a2.003 2.003 0 001.418-1.424C16 10.566 16 8 16 8s0-2.566-.335-3.887zM6.5 10.5V5.5L10.5 8l-4 2.5z\"\/><\/svg>YouTube<\/span>\t\t\t\t\t\t\t\t\t<\/a>\n\t\t\t<\/div>\n\n\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"vg-card__title-wrap\">\n\t\t\t\t\t\t<h3 class=\"vg-card__title\">Cars<\/h3>\n\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t<\/div>\n\t\t<div class=\"vg_result_4 single-image 2 2 3 2\">\n\t\t<div class=\"vg-card vg-card--simple vg-has-card-border vg-card--youtube\">\n\n\t\t\t<div class=\"vg-card__media\">\n\t\t\t\t<a class=\"vgp-trigger\" href=\"https:\/\/www.youtube.com\/watch?v=7Yf335h-yn0\" data-thumb=\"https:\/\/awplife.com\/demo\/video-gallery-premium\/wp-content\/uploads\/sites\/24\/2016\/09\/DOOM-4K-Gameplay-Max-Settings-1024x578.jpg\" data-sub-html=\"&lt;h4&gt;DOOM 4K Gameplay&lt;\/h4&gt;&lt;p&gt;&lt;\/p&gt;\" target=\"_blank\" rel=\"noopener\">\n\t\t\t\t\t<img decoding=\"async\" class=\"vg-card__img \" loading=\"lazy\" src=\"https:\/\/awplife.com\/demo\/video-gallery-premium\/wp-content\/uploads\/sites\/24\/2016\/09\/DOOM-4K-Gameplay-Max-Settings-1024x578.jpg\" alt=\"DOOM 4K Gameplay\">\n\t\t\t\t\t\t\t\t\t\t\t<div class=\"vg-card__overlay\">\n\t\t\t\t\t\t\t<button class=\"vg-card__play video_icon_4\" aria-label=\"Play video\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<svg viewBox=\"0 0 24 24\" fill=\"none\" style=\"color: #ffffff;\"><polygon points=\"6,3 20,12 6,21\" fill=\"currentColor\"\/><\/svg>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/button>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t\t<span class=\"vg-card__source-badge vg-source--youtube\"><svg viewBox=\"0 0 16 16\" fill=\"currentColor\"><path d=\"M15.665 4.113a2.003 2.003 0 00-1.418-1.424C12.926 2.25 8 2.25 8 2.25s-4.926 0-6.247.439A2.003 2.003 0 00.335 4.113C0 5.434 0 8 0 8s0 2.566.335 3.887a2.003 2.003 0 001.418 1.424C3.074 13.75 8 13.75 8 13.75s4.926 0 6.247-.439a2.003 2.003 0 001.418-1.424C16 10.566 16 8 16 8s0-2.566-.335-3.887zM6.5 10.5V5.5L10.5 8l-4 2.5z\"\/><\/svg>YouTube<\/span>\t\t\t\t\t\t\t\t\t<\/a>\n\t\t\t<\/div>\n\n\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"vg-card__title-wrap\">\n\t\t\t\t\t\t<h3 class=\"vg-card__title\">DOOM 4K Gameplay<\/h3>\n\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t<\/div>\n\t\t<div class=\"vg_result_4 single-image 2 2 3 2\">\n\t\t<div class=\"vg-card vg-card--simple vg-has-card-border vg-card--youtube\">\n\n\t\t\t<div class=\"vg-card__media\">\n\t\t\t\t<a class=\"vgp-trigger\" href=\"https:\/\/www.youtube.com\/watch?v=bqk4i2fii7Q\" data-thumb=\"https:\/\/awplife.com\/demo\/video-gallery-premium\/wp-content\/uploads\/sites\/24\/2016\/09\/Extreme-Snowboarding-2015-To-2016-4K-1024x581.jpg\" data-sub-html=\"&lt;h4&gt;Extreme Snowboarding&lt;\/h4&gt;&lt;p&gt;&lt;\/p&gt;\" target=\"_blank\" rel=\"noopener\">\n\t\t\t\t\t<img decoding=\"async\" class=\"vg-card__img \" loading=\"lazy\" src=\"https:\/\/awplife.com\/demo\/video-gallery-premium\/wp-content\/uploads\/sites\/24\/2016\/09\/Extreme-Snowboarding-2015-To-2016-4K-1024x581.jpg\" alt=\"Extreme Snowboarding\">\n\t\t\t\t\t\t\t\t\t\t\t<div class=\"vg-card__overlay\">\n\t\t\t\t\t\t\t<button class=\"vg-card__play video_icon_4\" aria-label=\"Play video\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<svg viewBox=\"0 0 24 24\" fill=\"none\" style=\"color: #ffffff;\"><polygon points=\"6,3 20,12 6,21\" fill=\"currentColor\"\/><\/svg>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/button>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t\t<span class=\"vg-card__source-badge vg-source--youtube\"><svg viewBox=\"0 0 16 16\" fill=\"currentColor\"><path d=\"M15.665 4.113a2.003 2.003 0 00-1.418-1.424C12.926 2.25 8 2.25 8 2.25s-4.926 0-6.247.439A2.003 2.003 0 00.335 4.113C0 5.434 0 8 0 8s0 2.566.335 3.887a2.003 2.003 0 001.418 1.424C3.074 13.75 8 13.75 8 13.75s4.926 0 6.247-.439a2.003 2.003 0 001.418-1.424C16 10.566 16 8 16 8s0-2.566-.335-3.887zM6.5 10.5V5.5L10.5 8l-4 2.5z\"\/><\/svg>YouTube<\/span>\t\t\t\t\t\t\t\t\t<\/a>\n\t\t\t<\/div>\n\n\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"vg-card__title-wrap\">\n\t\t\t\t\t\t<h3 class=\"vg-card__title\">Extreme Snowboarding<\/h3>\n\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t<div class=\"vg-load-more-container text-center\">\n\t\t\t\t<input type=\"hidden\" id=\"vg_limit_start_4\" name=\"vg_limit_start_4\" value=\"6\" \/>\n\t\t\t\t<input type=\"hidden\" id=\"vg_limit_end_4\" name=\"vg_limit_end_4\" value=\"12\" \/>\n\t\t\t\t<input type=\"hidden\" id=\"vg_total_images_4\" name=\"vg_total_images_4\" value=\"10\" \/>\n\t\t\t\t\t\t\t\t\t<button class=\"btn vg-load-more-btn solid vg_load_more_4\" onclick=\"VgLoadMore_4();\">Load More<\/button>\n\t\t\t\t\t\t\t<\/div>\n\t\t\t<script type=\"text\/javascript\">\tfunction VgLoadMore_4() {\n\t\tvar $grid = jQuery('#image_gallery_4');\n\t\t\n\t\tjQuery(\".vg_load_more_4\")\n\t\t\t.html('<span class=\"vg-btn-spinner\"><\/span>')\n\t\t\t.prop('disabled', true)\n\t\t\t.css({'opacity': '0.8', 'cursor': 'default'});\n\t\tvar vg_limit_start = parseInt(jQuery(\"#vg_limit_start_4\").val());\n\t\tvar vg_limit_end = parseInt(jQuery(\"#vg_limit_end_4\").val());\n\t\tvar vg_total_images = parseInt(jQuery(\"#vg_total_images_4\").val());\n\t\t\n\t\tif(vg_total_images > vg_limit_start){\n\t\t\tjQuery.ajax({\n\t\t\t\tdataType : 'html',\n\t\t\t\ttype: 'POST',\n\t\t\t\turl : 'https:\/\/awplife.com\/demo\/video-gallery-premium\/wp-admin\/admin-ajax.php',\n\t\t\t\tcache: false,\n\t\t\t\tdata : {\n\t\t\t\t\taction: 'nvgall_load_more_local',\n\t\t\t\t\tsecurity: 'c20641e08b',\n\t\t\t\t\tpost_id: 4,\n\t\t\t\t\tvg_limit_start: vg_limit_start,\n\t\t\t\t\tvg_limit_end: vg_limit_end\n\t\t\t\t},\n\t\t\t\tcomplete : function() {},\n\t\t\t\tsuccess: function(response) {\n\t\t\t\t\tvar $items = jQuery('<div>' + response + '<\/div>').find('.single-image');\n\t\t\t\t\tif ($items.length > 0) {\n\t\t\t\t\t\t$grid.append($items);\n\t\t\t\t\t\tif (typeof jQuery.fn.isotope !== 'undefined') {\n\t\t\t\t\t\t\tif (typeof jQuery.fn.imagesLoaded !== 'undefined') {\n\t\t\t\t\t\t\t\t$grid.imagesLoaded(function() {\n\t\t\t\t\t\t\t\t\t$grid.isotope('appended', $items);\n\t\t\t\t\t\t\t\t\t$grid.isotope('layout');\n\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t$grid.isotope('appended', $items);\n\t\t\t\t\t\t\t\t$grid.isotope('layout');\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif (typeof jQuery.fn.isotope !== 'undefined') {\n\t\t\t\t\t\t$grid.isotope('layout');\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\tvar new_start_limit = vg_limit_end;\n\t\t\t\t\tvar new_end_limit = parseInt(vg_limit_end) +  parseInt(6);\n\t\t\t\t\tjQuery(\"#vg_limit_start_4\").val(new_start_limit);\n\t\t\t\t\tjQuery(\"#vg_limit_end_4\").val(new_end_limit);\n\n\t\t\t\t\tif (new_start_limit >= vg_total_images) {\n\t\t\t\t\t\tjQuery(\".vg_load_more_4\")\n\t\t\t\t\t\t\t.html(\"No more videos.\")\n\t\t\t\t\t\t\t.prop('disabled', true)\n\t\t\t\t\t\t\t.css({'opacity': '0.6', 'cursor': 'default'});\n\t\t\t\t\t} else {\n\t\t\t\t\t\tjQuery(\".vg_load_more_4\")\n\t\t\t\t\t\t\t.html(\"Load More\")\n\t\t\t\t\t\t\t.prop('disabled', false)\n\t\t\t\t\t\t\t.css({'opacity': '', 'cursor': ''});\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\terror: function() {\n\t\t\t\t\tjQuery(\".vg_load_more_4\")\n\t\t\t\t\t\t.html(\"Load More\")\n\t\t\t\t\t\t.prop('disabled', false)\n\t\t\t\t\t\t.css({'opacity': '', 'cursor': ''});\n\t\t\t\t}\n\t\t\t});\n\t\t} else {\n\t\t\tjQuery(\".vg_load_more_4\")\n\t\t\t\t.html(\"No more videos.\")\n\t\t\t\t.prop('disabled', true)\n\t\t\t\t.css({'opacity': '0.6', 'cursor': 'default'});\n\t\t}\n\t} \njQuery(document).ready(function () {\n\tvar $grid = jQuery('#image_gallery_4, .youram-simple_4, #nev_vimeo_api_4, #nev_twitch_api_4, #nev_dm_api_4, #nev_wis_api_4');\n\tvar $loader = jQuery('#vg-loader-4');\n\tvar $gallery = $grid;\n\n\t\/\/ 1. Initialize Isotope\n\tif (typeof jQuery.fn.isotope !== 'undefined') {\n\t\t$grid.isotope({\n\t\t\titemSelector: '.single-image, .vg-col',\n\t\t\tlayoutMode: 'masonry',\n\t\t\tpercentPosition: true,\n\t\t\tmasonry: {\n\t\t\t\tcolumnWidth: '.grid-sizer'\n\t\t\t},\n\t\t\ttransitionDuration: 0\n\t\t});\n\t}\n\n\t\/\/ 2. Unified reveal and layout function\n\tvar revealGallery = function() {\n\t\tif ($loader.length) {\n\t\t\t$loader.fadeOut(300, function() {\n\t\t\t\t$loader.remove();\n\t\t\t\t$gallery.css('opacity', 1);\n\t\t\t\tif (typeof jQuery.fn.isotope !== 'undefined') {\n\t\t\t\t\t$grid.isotope('layout');\n\t\t\t\t}\n\t\t\t});\n\t\t} else {\n\t\t\t$gallery.css('opacity', 1);\n\t\t\tif (typeof jQuery.fn.isotope !== 'undefined') {\n\t\t\t\t$grid.isotope('layout');\n\t\t\t}\n\t\t}\n\t};\n\n\t\/\/ 3. Load triggers\n\tif (typeof jQuery.fn.imagesLoaded !== 'undefined') {\n\t\t$gallery.imagesLoaded(function() {\n\t\t\trevealGallery();\n\t\t});\n\t\t$grid.imagesLoaded().progress(function() {\n\t\t\tif (typeof jQuery.fn.isotope !== 'undefined') {\n\t\t\t\t$grid.isotope('layout');\n\t\t\t}\n\t\t});\n\t} else {\n\t\trevealGallery();\n\t}\n\n\t\/\/ 4. Robust layout fallback timers\n\tif (typeof jQuery.fn.isotope !== 'undefined') {\n\t\tsetTimeout(function() {\n\t\t\t$grid.isotope('layout');\n\t\t}, 500);\n\t\tsetTimeout(function() {\n\t\t\t$grid.isotope('layout');\n\t\t}, 1500);\n\t}\n});\n<\/script>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-156","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/awplife.com\/demo\/video-gallery-premium\/wp-json\/wp\/v2\/pages\/156","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/awplife.com\/demo\/video-gallery-premium\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/awplife.com\/demo\/video-gallery-premium\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/awplife.com\/demo\/video-gallery-premium\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/awplife.com\/demo\/video-gallery-premium\/wp-json\/wp\/v2\/comments?post=156"}],"version-history":[{"count":13,"href":"https:\/\/awplife.com\/demo\/video-gallery-premium\/wp-json\/wp\/v2\/pages\/156\/revisions"}],"predecessor-version":[{"id":734,"href":"https:\/\/awplife.com\/demo\/video-gallery-premium\/wp-json\/wp\/v2\/pages\/156\/revisions\/734"}],"wp:attachment":[{"href":"https:\/\/awplife.com\/demo\/video-gallery-premium\/wp-json\/wp\/v2\/media?parent=156"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}