{"id":3383,"date":"2021-06-17T11:38:00","date_gmt":"2021-06-17T11:38:00","guid":{"rendered":"https:\/\/qmlifestyle.com\/?page_id=3383"},"modified":"2021-06-17T11:38:01","modified_gmt":"2021-06-17T11:38:01","slug":"qm-lifestyle-wine-lovers-at-onyria","status":"publish","type":"page","link":"https:\/\/qmlifestyle.com\/en\/qm-lifestyle-wine-lovers-at-onyria\/","title":{"rendered":"QM LIFESTYLE &#8211; WINE LOVERS AT ONYRIA"},"content":{"rendered":"\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p class=\"has-text-align-center\">With the participation of several wine producers, the event took place on June 5, 2021 at the Lake House of the Onyria Quinta da Marinha Hotel.<br>With lunch included, wine tasting, live music and Dj Set.<\/p>\n\n\n\n<div style=\"height:35px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p class=\"has-text-align-center\"><div class=\"rss-inner-page-slider-1 wine-lovers-onyria\" style=\"background:#000000;\">\n\t\t\t\t\t<div class=\"rss-inner-slider-sec bottomleft\"><div class=\"rss-innerpage-slider-wapp\"><div class=\"rss-inner-slider-item\" style=\"background:url(https:\/\/qmlifestyle.com\/wp-content\/uploads\/2021\/06\/210605_DS_Onyria_ALL_001_bx.jpg) no-repeat center center; background-size:cover;\"><\/div><div class=\"rss-inner-slider-item\" style=\"background:url(https:\/\/qmlifestyle.com\/wp-content\/uploads\/2021\/06\/210605_DS_Onyria_ALL_007_bx.jpg) no-repeat center center; background-size:cover;\"><\/div><div class=\"rss-inner-slider-item\" style=\"background:url(https:\/\/qmlifestyle.com\/wp-content\/uploads\/2021\/06\/210605_DS_Onyria_ALL_010_bx.jpg) no-repeat center center; background-size:cover;\"><\/div><div class=\"rss-inner-slider-item\" style=\"background:url(https:\/\/qmlifestyle.com\/wp-content\/uploads\/2021\/06\/210605_DS_Onyria_ALL_011_bx-1.jpg) no-repeat center center; background-size:cover;\"><\/div><div class=\"rss-inner-slider-item\" style=\"background:url(https:\/\/qmlifestyle.com\/wp-content\/uploads\/2021\/06\/210605_DS_Onyria_ALL_015_bx.jpg) no-repeat center center; background-size:cover;\"><\/div><div class=\"rss-inner-slider-item\" style=\"background:url(https:\/\/qmlifestyle.com\/wp-content\/uploads\/2021\/06\/210605_DS_Onyria_ALL_032_bx.jpg) no-repeat center center; background-size:cover;\"><\/div><div class=\"rss-inner-slider-item\" style=\"background:url(https:\/\/qmlifestyle.com\/wp-content\/uploads\/2021\/06\/210605_DS_Onyria_ALL_045_bx.jpg) no-repeat center center; background-size:cover;\"><\/div><div class=\"rss-inner-slider-item\" style=\"background:url(https:\/\/qmlifestyle.com\/wp-content\/uploads\/2021\/06\/210605_DS_Onyria_ALL_049_bx.jpg) no-repeat center center; background-size:cover;\"><\/div><div class=\"rss-inner-slider-item\" style=\"background:url(https:\/\/qmlifestyle.com\/wp-content\/uploads\/2021\/06\/210605_DS_Onyria_ALL_055_bx.jpg) no-repeat center center; background-size:cover;\"><\/div><div class=\"rss-inner-slider-item\" style=\"background:url(https:\/\/qmlifestyle.com\/wp-content\/uploads\/2021\/06\/210605_DS_Onyria_ALL_056_bx.jpg) no-repeat center center; background-size:cover;\"><\/div><div class=\"rss-inner-slider-item\" style=\"background:url(https:\/\/qmlifestyle.com\/wp-content\/uploads\/2021\/06\/210605_DS_Onyria_ALL_057_bx.jpg) no-repeat center center; background-size:cover;\"><\/div><div class=\"rss-inner-slider-item\" style=\"background:url(https:\/\/qmlifestyle.com\/wp-content\/uploads\/2021\/06\/210605_DS_Onyria_ALL_060_bx.jpg) no-repeat center center; background-size:cover;\"><\/div><div class=\"rss-inner-slider-item\" style=\"background:url(https:\/\/qmlifestyle.com\/wp-content\/uploads\/2021\/06\/210605_DS_Onyria_ALL_063_bx-1.jpg) no-repeat center center; background-size:cover;\"><\/div><div class=\"rss-inner-slider-item\" style=\"background:url(https:\/\/qmlifestyle.com\/wp-content\/uploads\/2021\/06\/210605_DS_Onyria_ALL_068_bx.jpg) no-repeat center center; background-size:cover;\"><\/div><div class=\"rss-inner-slider-item\" style=\"background:url(https:\/\/qmlifestyle.com\/wp-content\/uploads\/2021\/06\/210605_DS_Onyria_ALL_070_bx.jpg) no-repeat center center; background-size:cover;\"><\/div><div class=\"rss-inner-slider-item\" style=\"background:url(https:\/\/qmlifestyle.com\/wp-content\/uploads\/2021\/06\/210605_DS_Onyria_ALL_071_bx.jpg) no-repeat center center; background-size:cover;\"><\/div><div class=\"rss-inner-slider-item\" style=\"background:url(https:\/\/qmlifestyle.com\/wp-content\/uploads\/2021\/06\/210605_DS_Onyria_ALL_072_bx.jpg) no-repeat center center; background-size:cover;\"><\/div><div class=\"rss-inner-slider-item\" style=\"background:url(https:\/\/qmlifestyle.com\/wp-content\/uploads\/2021\/06\/210605_DS_Onyria_ALL_074_bx.jpg) no-repeat center center; background-size:cover;\"><\/div><div class=\"rss-inner-slider-item\" style=\"background:url(https:\/\/qmlifestyle.com\/wp-content\/uploads\/2021\/06\/210605_DS_Onyria_ALL_077bx-1.jpg) no-repeat center center; background-size:cover;\"><\/div><div class=\"rss-inner-slider-item\" style=\"background:url(https:\/\/qmlifestyle.com\/wp-content\/uploads\/2021\/06\/210605_DS_Onyria_ALL_078_bx.jpg) no-repeat center center; background-size:cover;\"><\/div><div class=\"rss-inner-slider-item\" style=\"background:url(https:\/\/qmlifestyle.com\/wp-content\/uploads\/2021\/06\/210605_DS_Onyria_ALL_079_bx.jpg) no-repeat center center; background-size:cover;\"><\/div><div class=\"rss-inner-slider-item\" style=\"background:url(https:\/\/qmlifestyle.com\/wp-content\/uploads\/2021\/06\/210605_DS_Onyria_ALL_080_bx.jpg) no-repeat center center; background-size:cover;\"><\/div><div class=\"rss-inner-slider-item\" style=\"background:url(https:\/\/qmlifestyle.com\/wp-content\/uploads\/2021\/06\/210605_DS_Onyria_ALL_081_bx.jpg) no-repeat center center; background-size:cover;\"><\/div><div class=\"rss-inner-slider-item\" style=\"background:url(https:\/\/qmlifestyle.com\/wp-content\/uploads\/2021\/06\/210605_DS_Onyria_ALL_082_bx.jpg) no-repeat center center; background-size:cover;\"><\/div><div class=\"rss-inner-slider-item\" style=\"background:url(https:\/\/qmlifestyle.com\/wp-content\/uploads\/2021\/06\/210605_DS_Onyria_ALL_083_bx.jpg) no-repeat center center; background-size:cover;\"><\/div><div class=\"rss-inner-slider-item\" style=\"background:url(https:\/\/qmlifestyle.com\/wp-content\/uploads\/2021\/06\/210605_DS_Onyria_ALL_084_bx.jpg) no-repeat center center; background-size:cover;\"><\/div><div class=\"rss-inner-slider-item\" style=\"background:url(https:\/\/qmlifestyle.com\/wp-content\/uploads\/2021\/06\/210605_DS_Onyria_ALL_087_bx.jpg) no-repeat center center; background-size:cover;\"><\/div><div class=\"rss-inner-slider-item\" style=\"background:url(https:\/\/qmlifestyle.com\/wp-content\/uploads\/2021\/06\/210605_DS_Onyria_ALL_091_bx.jpg) no-repeat center center; background-size:cover;\"><\/div><div class=\"rss-inner-slider-item\" style=\"background:url(https:\/\/qmlifestyle.com\/wp-content\/uploads\/2021\/06\/210605_DS_Onyria_ALL_092_bx.jpg) no-repeat center center; background-size:cover;\"><\/div><div class=\"rss-inner-slider-item\" style=\"background:url(https:\/\/qmlifestyle.com\/wp-content\/uploads\/2021\/06\/210605_DS_Onyria_ALL_095_bx.jpg) no-repeat center center; background-size:cover;\"><\/div><div class=\"rss-inner-slider-item\" style=\"background:url(https:\/\/qmlifestyle.com\/wp-content\/uploads\/2021\/06\/210605_DS_Onyria_ALL_100_bx.jpg) no-repeat center center; background-size:cover;\"><\/div><div class=\"rss-inner-slider-item\" style=\"background:url(https:\/\/qmlifestyle.com\/wp-content\/uploads\/2021\/06\/210605_DS_Onyria_ALL_109bx.jpg) no-repeat center center; background-size:cover;\"><\/div><div class=\"rss-inner-slider-item\" style=\"background:url(https:\/\/qmlifestyle.com\/wp-content\/uploads\/2021\/06\/210605_DS_Onyria_ALL_112_bx.jpg) no-repeat center center; background-size:cover;\"><\/div><div class=\"rss-inner-slider-item\" style=\"background:url(https:\/\/qmlifestyle.com\/wp-content\/uploads\/2021\/06\/210605_DS_Onyria_ALL_121_bx.jpg) no-repeat center center; background-size:cover;\"><\/div><div class=\"rss-inner-slider-item\" style=\"background:url(https:\/\/qmlifestyle.com\/wp-content\/uploads\/2021\/06\/210605_DS_Onyria_ALL_122_bx.jpg) no-repeat center center; background-size:cover;\"><\/div><div class=\"rss-inner-slider-item\" style=\"background:url(https:\/\/qmlifestyle.com\/wp-content\/uploads\/2021\/06\/210605_DS_Onyria_ALL_139_bx.jpg) no-repeat center center; background-size:cover;\"><\/div><\/div><\/div><\/div><style>\n\t\t\t\t.rss-inner-page-slider-1 .slickprev {\n\t\t\t\t\tbackground:url('https:\/\/qmlifestyle.com\/wp-content\/plugins\/responsive-slick-slider\/public\/images\/arrow-left.png');\n\t\t\t\t\tbackground-size:cover;\n\t\t\t\t\twidth:41px;\n\t\t\t\t\theight:42px;\n\t\t\t\t}\n\t\t\t\t.rss-inner-page-slider-1 .slicknext {\n\t\t\t\t\tbackground:url('https:\/\/qmlifestyle.com\/wp-content\/plugins\/responsive-slick-slider\/public\/images\/arrow-right.png');\n\t\t\t\t\tbackground-size:cover;\n\t\t\t\t\twidth:41px;\n\t\t\t\t\theight:42px;\n\t\t\t\t}\n\t\t\t\t.rss-banner-caption{\n\t\t\t\t  max-width:500px;\n\t\t\t\t  background:rgba(0,0,0,);\n\t\t\t\t  color:#FFFFFF;\n\t\t\t\t}\n\t\t\t\tvideo {\n\t\t\t\t\tbackground:#000000;\n\t\t\t\t}\n\t\t\t\t.width100{\n\t\t\t\t\twidth:100%;\n\t\t\t\t}\n\t\t\t<\/style>\n\t\t\t<script type=\"text\/javascript\">\n\t\t\t\tjQuery(document).ready(function($) {\n\t\t\t\t\tvar slick_vd=jQuery('.rss-inner-page-slider-1 .rss-innerpage-slider-wapp').slick({\n\t\t\t\t\t\tcenterMode:false,\n\t\t\t\t\t\tcenterPadding:'0px',\n\t\t\t\t\t\tdots: true,\n\t\t\t\t\t\tarrows: true,\n\t\t\t\t\t\tinfinite: true,\n\t\t\t\t\t\t\t\t\t\t\t\tfade: true,\n\t\t\t\t\t\t\t\t\t\t\t\tautoplay:true,\n\t\t\t\t\t\tautoplaySpeed:4000,\n\t\t\t\t\t\tspeed: 1000,\n\t\t\t\t\t\tpauseOnHover: false,\n\t\t\t\t\t\t\/\/ pauseOnDotsHover: false,\n\t\t\t\t\t\t\/\/ pauseOnFocus: false,\n\t\t\t\t\t\tslidesToShow: 1,\n\t\t\t\t\t\tslidesToScroll: 1,\n\t\t\t\t\t\taccessibility:true, \n\t\t\t\t\t\tprevArrow: '<span class=\"slickprev \"><\/span>',\n\t\t\t\t\t\tnextArrow: '<span class=\"slicknext \"><\/span>'\n\t\t\t\t\t});\n\t\t\t\n\t\t\t\t\tjQuery('.rss-inner-page-slider-1 .slick-slider .slick-track, .rss-inner-page-slider-1 .slick-slider .slick-list,.rss-inner-page-slider-1 .slick-slider .slick-slide,.rss-inner-banner-left-section').height(500);\n\t\t\t\n\t\t\t\n\t\t\t\t\tvar windowwidth=jQuery(window).width();\n\t\t\t\n\t\t\t\t\tif(windowwidth >  960){\n\t\t\t\t\t \n\t\t\t\t\t}\n\t\t\t\t\telse{\n\t\t\t\t\tjQuery('.rss-inner-page-slider-1').width('100%');\n\t\t\t\t\t}\n\t\t\t\n\t\t\t\t\t\t\t\t\t\t\tvar windowwidth=jQuery(window).width();\n\t\t\t\t\t\tif(windowwidth >  960){\n\t\t\t\t\t\t\tjQuery('.rss-inner-page-slider-1 .slick-slider .slick-track, .rss-inner-page-slider-1 .slick-slider .slick-list,.rss-inner-page-slider-1 .slick-slider .slick-slide,.rss-inner-banner-left-section').height(500);\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse{\n\t\t\t\t\t\t\tvar height= windowwidth * 0.52083333333333;\n\t\t\t\t\t\t\tjQuery('.rss-inner-page-slider-1 .slick-slider .slick-track, .rss-inner-page-slider-1 .slick-slider .slick-list,.rss-inner-page-slider-1 .slick-slider .slick-slide,.rss-inner-banner-left-section,.rss-inner-page-slider-1').height(height);\n\t\t\t\t\t\t}\n\t\t\t\t\t \n\t\t\n\t\t\t\t\t jQuery('.rss-html5-video').on('ended',function () {\n\t\t\t\t\t\t\t\t\t\t\t\tslick_vd.slick('slickPlay');\n\t\t\t\t\t\tslick_vd.slick(\"slickNext\");\n\t\t\t\t\t\t \t\t\t\t\t });\n\t\t\t\t\t jQuery('.rss-html5-video').on('playing',function () {\n\t\t\t\t\t\tslick_vd.slick('slickPause');\n\t\t\t\t\t });\n\t\t\t\t\tvar current_slid=jQuery('.slick-current');\n\t\t\t\t\tvar html_video=current_slid.find('video')[0];\n\t\t\t\t\tif(html_video)\n\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\thtml_video.play();\n\t\t\t\t\t\t\/\/console.log(current_slid.find('video')[0].play());\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\tvar currentSlide, slideType, player, command;\n\t\t\t\t\tcurrentSlide = jQuery('.slick-current');\n\t\t\t\t\tslideType = currentSlide.attr(\"class\").split(\" \")[1];\n\t\t\t\t\tplayer = currentSlide.find(\"iframe\").get(0);\n\t\t\t\t\tsetTimeout(function() {\n\t\t\t\t\t\tif (slideType == \"youtube\") {\n\t\t\t\t\t\tconsole.log(\"hiii\");\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tcommand = {\n\t\t\t\t\t\t\t\t  \"event\": \"command\",\n\t\t\t\t\t\t\t\t  \"func\": \"playVideo\"\n\t\t\t\t\t\t\t\t};\n\t\t\t\t\t\t\t\t\t\t\t\t\tvar ID = '';\n\t\t\t\t\t\tvar url=jQuery('.slick-current .rss-youtubevideo').attr('src');\n\t\t\t\t\t\tvar heights=jQuery('.slick-current .rss-youtubevideo').attr('height');\n\t\t\t\t\t\turl = url.replace(\/(>|<)\/gi, '').split(\/(vi\\\/|v=|\\\/v\\\/|youtu\\.be\\\/|\\\/embed\\\/)\/);\n\t\t\t\t\t\tif (url[2] !== undefined) {\n\t\t\t\t\t\t\t ID = url[2].split(\/[^0-9a-z_\\-]\/i);\n\t\t\t\t\t\t\t ID = ID[0];\n\t\t\t\t\t\t\t} \n\t\t\t\t\t\telse \n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tID = url;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar players;\n\t\t\t\t\t\tvar data=jQuery('.slick-current .rss-youtubevideo').attr('videourl');\n\t\t\t\t\t\tonYouTubePlayerAPIReady(data,ID,heights);\n\t\t\t\t\t\tfunction onYouTubePlayerAPIReady(data,ID,heights) {\n\t\t\t\t\t\t\tplayers = new YT.Player(data, {\n\t\t\t\t\t\t\t  height: heights,\n\t\t\t\t\t\t\t  width: '100%',\n\t\t\t\t\t\t\t  videoId: ID,\n\t\t\t\t\t\t\t  events: {\n\t\t\t\t\t\t\t\tonReady: onPlayerReady,\n\t\t\t\t\t\t\t\tonStateChange: onPlayerStateChange\n\t\t\t\t\t\t\t  }\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t}\n\t\t\t\t\t\tfunction onPlayerReady(event) {\n\t\t\t\t\t\t\tconsole.log(\"hellooooo\");\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tslick_vd.slick('slickPause');\n\t\t\t\t\t\t\tevent.target.playVideo();\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t}\n\t\t\t\t\t\tfunction onPlayerStateChange(event) {\n\t\t\t\t\t\t\tif(event.data === 1) {\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tslick_vd.slick('slickPause');\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif(event.data === 0) {          \n\t\t\t\t\t\t\t  \t\t\t\t\t\t\t\tslick_vd.slick('slickPlay');\n\t\t\t\t\t\t\t\tslick_vd.slick(\"slickNext\");\n\t\t\t\t\t\t\t\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 (slideType == \"vimeo\") {\n\t\t\t\t\t\t\/\/alert(\"hii\");\n\t\t\t\t\t\t\t\t\t\t\t\tcommand = {\n\t\t\t\t\t\t\t\t\t\"method\": \"play\",\n\t\t\t\t\t\t\t\t\t\"value\": \"true\"\n\t\t\t\t\t\t\t\t};\n\t\t\t\t\t\tjQuery(\".slick-current iframe\").vimeo(\"play\");\n\t\t\t\t\t\t\t\t\t\t\t\tjQuery(\".slick-current iframe\").on(\"finish\", function(e){\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tslick_vd.slick('slickPlay');\n\t\t\t\t\t\t\t\tslick_vd.slick(\"slickNext\");\n\t\t\t\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\tjQuery(\".slick-current iframe\").on(\"play\", function(e){\n\t\t\t\t\t\t\t\t slick_vd.slick('slickPause');\n\t\t\t\t\t\t\t  });\n\t\t\t\t\t}\n\t\t\t\t}, 3000);\n\t\t\t\n\t\t\t\tif (player != undefined) {\n\t\t\t\t\t\/\/post our command to the iframe.\n\t\t\t\t\tplayer.contentWindow.postMessage(JSON.stringify(command), \"*\");\n\t\t\t\t}\n\t\t\t\n\t\t \n\t\t\t\tjQuery('.rss-inner-page-slider-1 .rss-innerpage-slider-wapp').on('afterChange', function(event, slick, currentSlide, nextSlide){\n\t\t\t\t\t\t\t\t\t\tslick_vd.slick('slickPlay');\n\t\t\t\t\t\t\t\t\t\tvar current_slid=jQuery(slick.$slides.get(currentSlide));\n\t\t\t\t\tvar html_video=current_slid.find('video')[0];\n\t\t\t\t\tif(html_video)\n\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\tslick_vd.slick('slickPause');\n\t\t\t\t\t\thtml_video.play();\n\t\t\t\t\t\t\/\/console.log(current_slid.find('video')[0].play());\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\tvar currentSlide, slideType, player, command;\n\t\t\t\t\tcurrentSlide = $(slick.$slider).find(\".slick-current\");\n\t\t\t\t\tslideType = currentSlide.attr(\"class\").split(\" \")[1];\n\t\t\t\t\tplayer = currentSlide.find(\"iframe\").get(0);\n\t\t\t\t\tif (slideType == \"youtube\") {\n\t\t\t\t\t\t\tconsole.log(\"628\");\n\t\t\t\t\t\t\t\t\t\t\t\t\tslick_vd.slick('slickPause');\n\t\t\t\t\t\t\t command = {\n\t\t\t\t\t\t\t  \"event\": \"command\",\n\t\t\t\t\t\t\t  \"func\": \"playVideo\"\n\t\t\t\t\t\t\t}; \n\t\t\t\t\t\t\t\n\t\t\t\t\t\tvar ID = '';\n\t\t\t\t\t\tvar url=jQuery('.slick-current .rss-youtubevideo').attr('src');\n\t\t\t\t\t\tvar heights=jQuery('.slick-current .rss-youtubevideo').attr('height');\n\t\t\t\t\t\turl = url.replace(\/(>|<)\/gi, '').split(\/(vi\\\/|v=|\\\/v\\\/|youtu\\.be\\\/|\\\/embed\\\/)\/);\n\t\t\t\t\t\tif (url[2] !== undefined) {\n\t\t\t\t\t\t\t ID = url[2].split(\/[^0-9a-z_\\-]\/i);\n\t\t\t\t\t\t\t ID = ID[0];\n\t\t\t\t\t\t\t} \n\t\t\t\t\t\telse \n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tID = url;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar players;\n\t\t\t\t\t\tvar data=jQuery('.slick-current .rss-youtubevideo').attr('videourl');\n\t\t\t\t\t\tonYouTubePlayerAPIReady(data,ID,heights);\n\t\t\t\t\t\tfunction onYouTubePlayerAPIReady(data,ID,heights) {\n\t\t\t\t\t\t\tplayers = new YT.Player(data, {\n\t\t\t\t\t\t\t  height: heights,\n\t\t\t\t\t\t\t  width: '100%',\n\t\t\t\t\t\t\t  videoId: ID,\n\t\t\t\t\t\t\t  events: {\n\t\t\t\t\t\t\t\tonReady: onPlayerReady,\n\t\t\t\t\t\t\t\tonStateChange: onPlayerStateChange\n\t\t\t\t\t\t\t  }\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t}\n\t\t\t\t\t\tfunction onPlayerReady(event) {\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tslick_vd.slick('slickPause');\n\t\t\t\t\t\t\tcurrentSlide = $(slick.$slider).find(\".slick-current\");\n\t\t\t\t\t\t\tslideType = currentSlide.attr(\"class\").split(\" \")[1];\n\t\t\t\t\t\t\tif (slideType == \"youtube\") {\n\t\t\t\t\t\t\t\tevent.target.playVideo();\n\t\t\t\t\t\t\t}\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t}\n\t\t\t\t\t\tfunction onPlayerStateChange(event) {\n\t\t\t\t\t\t\tif(event.data === 1) {\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tslick_vd.slick('slickPause');\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif(event.data === 0) {          \n\t\t\t\t\t\t\t  \t\t\t\t\t\t\t\tslick_vd.slick('slickPlay');\n\t\t\t\t\t\t\t\tslick_vd.slick(\"slickNext\");\n\t\t\t\t\t\t\t\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 (slideType == \"vimeo\") {\n\t\t\t\t\t\t\t\t\t\t\t\tcommand = {\n\t\t\t\t\t\t\t\t\t\"method\": \"play\",\n\t\t\t\t\t\t\t\t\t\"value\": \"true\"\n\t\t\t\t\t\t\t\t};\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\tjQuery(\".slick-current iframe\").on(\"finish\", function(e){\n\t\t\t\t\t\t\t \t\t\t\t\t\t\t slick_vd.slick(\"slickNext\");\n\t\t\t\t\t\t\t \t\t\n\t\t\t\t\t\t});\n\t\t\t\t\t\tjQuery(\".slick-current iframe\").on(\"play\", function(e){\n\t\t\t\t\t\t\t\t slick_vd.slick('slickPause');\n\t\t\t\t\t\t\t  });\n\t\t\t\t\t}\n\t\t\t\t\tif (player != undefined) {\n\t\t\t\t\t\/\/post our command to the iframe.\n\t\t\t\t\t\tplayer.contentWindow.postMessage(JSON.stringify(command), \"*\");\n\t\t\t\t\t}\n\t\t\t\t});\n\n\t\t\t\tjQuery('.rss-inner-page-slider-1 .rss-innerpage-slider-wapp').on('beforeChange', function(event, slick, currentSlide, nextSlide){\n\t\t\t\n\t\t\t\t\tvar current_slid=$(slick.$slides.get(currentSlide));\n\t\t\t\t\tvar html_video=current_slid.find('video')[0];\n\t\t\t\t\tif(html_video)\n\t\t\t\t\t{\n\t\t\t\t\t\tsetTimeout(function (){html_video.pause();},500);\t\n\t\t\t\t\t}\n\t\t\t\t\tvar currentSlide, slideType, player, command;\n\t\t\t\t\tcurrentSlide = $(slick.$slider).find(\".slick-current\");\n\t\t\t\t\t slideType = currentSlide.attr(\"class\").split(\" \")[1];\n\t\t\t\t\t player = currentSlide.find(\"iframe\").get(0);\n\t\t\t\t\t\n\t\t\t\t\tif (slideType == \"youtube\") {\n\t\t\t\t\t\t\/\/alert(222);\n\t\t\t\t\t\t\tconsole.log(\"628\");\n\t\t\t\t\t\tcommand = {\n\t\t\t\t\t\t  \"event\": \"command\",\n\t\t\t\t\t\t  \"func\": \"pauseVideo\"\n\t\t\t\t\t\t};\n\t\t\t\t\t}\n\t\t\t\t\telse{\n\t\t\t\t\t\tcommand = {\n\t\t\t\t\t\t  \"method\": \"pause\",\n\t\t\t\t\t\t  \"value\": \"true\"\n\t\t\t\t\t\t};\n\t\t\t\t\t}\n\t\t\t\t\tif (player != undefined) {\n\t\t\t\t\t\t\/\/post our command to the iframe.\n\t\t\t\t\t\tplayer.contentWindow.postMessage(JSON.stringify(command), \"*\");\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\n\t\t\t\t\/\/jQuery('.rss-inner-slider-item').fitVids();\n\t\t\t});\/\/Close for ready\n\t\t\n\t\t\tfunction banner_height(){\n\t\t\t\tvar header_height=jQuery('#header').outerHeight();\n\t\t\t\tvar top_height=jQuery('#top-menu-container').outerHeight();\n\t\t\t\tvar win_height = jQuery(window).height()-header_height-top_height;\n\t\t\t\t\/\/win_height = jQuery(window).height()-jQuery('#header').height();\n\t\t\t\t\/\/jQuery('.homepage-slider-01 .homepage-slider-item').css('height',win_height+'px');\n\t\t\t}\n\n\t\t\tbanner_height();\n\t\t\tjQuery(window).resize(function(e) {\n\t\t\t\tbanner_height();\n\t\t\t\t\n\t\t\t\tvar windowwidth=jQuery(window).width();\n\t\t\t\t\/\/alert(windowwidth);\n\t\t\t\tif(windowwidth >  960){\n\t\t\t\t\t \n\t\t\t\t}\n\t\t\t\telse{\n\t\t\t\t\tjQuery('.rss-inner-page-slider-1').width('100%');\n\t\t\t\t}\n\t\t\t\n\t\t\t\t\t\t\t\t\tvar windowwidth=jQuery(window).width();\n\t\t\t\t\tif(windowwidth >  960){\n\t\t\t\t\t\tjQuery('.rss-inner-page-slider-1 .slick-slider .slick-track, .rss-inner-page-slider-1 .slick-slider .slick-list, .rss-inner-page-slider-1 .slick-slider .slick-slide, .rss-inner-banner-left-section,.rss-inner-page-slider-1').height(500);\n\t\t\t\t\t}\n\t\t\t\t\telse{\n\t\t\t\t\t\tvar height= windowwidth * 0.52083333333333;\n\t\t\t\t\t\tjQuery('.rss-inner-page-slider-1 .slick-slider .slick-track, .rss-inner-page-slider-1 .slick-slider .slick-list, .rss-inner-page-slider-1 .slick-slider .slick-slide,.rss-inner-banner-left-section,.rss-inner-page-slider-1').height(height);\n\t\t\t\t\t}\n\t\t\t\t \n\t\t\t});\n\t\t<\/script><\/p>\n","protected":false},"excerpt":{"rendered":"<p>With the participation of several wine producers, the event took place on June 5, 2021 at the Lake House of the Onyria Quinta da Marinha Hotel.With lunch included, wine tasting, live music and Dj Set.<\/p>\n","protected":false},"author":101,"featured_media":0,"parent":0,"menu_order":1,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"footnotes":""},"class_list":["post-3383","page","type-page","status-publish","hentry"],"acf":[],"app_text":"","app_image":"","thumb":false,"blocks":[{"blockName":"core\/spacer","height":30,"className":[]},{"blockName":"core\/paragraph","text":"With the participation of several wine producers, the event took place on June 5, 2021 at the Lake House of the Onyria Quinta da Marinha Hotel.<br>With lunch included, wine tasting, live music and Dj Set.","className":[]},{"blockName":"core\/spacer","height":35,"className":[]},{"blockName":"slider","text":"[vsz_slick_slider id='3368']","slider":"3368","className":[]}],"_links":{"self":[{"href":"https:\/\/qmlifestyle.com\/en\/wp-json\/wp\/v2\/pages\/3383","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/qmlifestyle.com\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/qmlifestyle.com\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/qmlifestyle.com\/en\/wp-json\/wp\/v2\/users\/101"}],"replies":[{"embeddable":true,"href":"https:\/\/qmlifestyle.com\/en\/wp-json\/wp\/v2\/comments?post=3383"}],"version-history":[{"count":1,"href":"https:\/\/qmlifestyle.com\/en\/wp-json\/wp\/v2\/pages\/3383\/revisions"}],"predecessor-version":[{"id":3385,"href":"https:\/\/qmlifestyle.com\/en\/wp-json\/wp\/v2\/pages\/3383\/revisions\/3385"}],"wp:attachment":[{"href":"https:\/\/qmlifestyle.com\/en\/wp-json\/wp\/v2\/media?parent=3383"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}