function eplGalleryResizePlayer(ratio) {
var iframes = jQuery('.pswp__container').find('iframe');
var width = 0;
ratio = ratio || 9 / 16;
if( iframes.length > 0 ) {
jQuery('.pswp__container').find('.pswp__item').each( function() {
if( null != jQuery(this).find('.pswp__img').width() ) {
width = jQuery(this).find('.pswp__img').width();
}
});
iframes.each(function () {
var current = jQuery(this);
var height = width * ratio;
console.log([width,height]);
current.width(width).height(height);
});
}
}
function eplgallery_init_opts(index = 0) {
window.eplGallery = document.querySelectorAll('.pswp')[0];
window.eplGalleryItems = [{"src":"https:\/\/domainpropertygroup.com.au\/wp-content\/uploads\/2026\/02\/171979218639638678-rsd.jpg","w":1920,"h":1280,"thumb":"https:\/\/domainpropertygroup.com.au\/wp-content\/uploads\/2026\/02\/171979218639638678-rsd.jpg","title":"","type":"image"},{"src":"https:\/\/domainpropertygroup.com.au\/wp-content\/uploads\/2026\/02\/171979218643675814-rsd.jpg","w":1920,"h":1280,"thumb":"https:\/\/domainpropertygroup.com.au\/wp-content\/uploads\/2026\/02\/171979218643675814-rsd.jpg","title":"","type":"image"},{"src":"https:\/\/domainpropertygroup.com.au\/wp-content\/uploads\/2026\/02\/171979218697704618-rsd.jpg","w":1920,"h":1280,"thumb":"https:\/\/domainpropertygroup.com.au\/wp-content\/uploads\/2026\/02\/171979218697704618-rsd.jpg","title":"","type":"image"},{"src":"https:\/\/domainpropertygroup.com.au\/wp-content\/uploads\/2026\/02\/171979218917429208-rsd.jpg","w":1920,"h":1280,"thumb":"https:\/\/domainpropertygroup.com.au\/wp-content\/uploads\/2026\/02\/171979218917429208-rsd.jpg","title":"","type":"image"},{"src":"https:\/\/domainpropertygroup.com.au\/wp-content\/uploads\/2026\/02\/171979218989553873-rsd.jpg","w":1920,"h":1280,"thumb":"https:\/\/domainpropertygroup.com.au\/wp-content\/uploads\/2026\/02\/171979218989553873-rsd.jpg","title":"","type":"image"},{"src":"https:\/\/domainpropertygroup.com.au\/wp-content\/uploads\/2026\/02\/171979219066607443-rsd.jpg","w":1920,"h":1280,"thumb":"https:\/\/domainpropertygroup.com.au\/wp-content\/uploads\/2026\/02\/171979219066607443-rsd.jpg","title":"","type":"image"},{"src":"https:\/\/domainpropertygroup.com.au\/wp-content\/uploads\/2026\/02\/171979219093210249-rsd.jpg","w":1920,"h":1280,"thumb":"https:\/\/domainpropertygroup.com.au\/wp-content\/uploads\/2026\/02\/171979219093210249-rsd.jpg","title":"","type":"image"},{"src":"https:\/\/domainpropertygroup.com.au\/wp-content\/uploads\/2026\/02\/171979219116381012-rsd.jpg","w":1920,"h":1280,"thumb":"https:\/\/domainpropertygroup.com.au\/wp-content\/uploads\/2026\/02\/171979219116381012-rsd.jpg","title":"","type":"image"},{"src":"https:\/\/domainpropertygroup.com.au\/wp-content\/uploads\/2026\/02\/171979219109714604-rsd.jpg","w":1920,"h":1280,"thumb":"https:\/\/domainpropertygroup.com.au\/wp-content\/uploads\/2026\/02\/171979219109714604-rsd.jpg","title":"","type":"image"}];
window.eplGalleryOptions = {
// optionName: 'option value'
// for example:
index: index // start at first slide
};
window.eplGallery = new PhotoSwipe(eplGallery, PhotoSwipeUI_Default, eplGalleryItems, eplGalleryOptions);
eplGallery.init();
eplGallery.listen('afterInit', function () {
eplGalleryResizePlayer(9/16);
});
eplGallery.listen('beforeChange', function () {
var currItem = jQuery(eplGallery.currItem.container);
jQuery('.pswp__video').removeClass('active');
var currItemIframe = currItem.find('.pswp__video').addClass('active');
jQuery('.pswp__video').each(function () {
if (!jQuery(this).hasClass('active')) {
jQuery(this).find('iframe').each(function() {
var src = jQuery(this).attr('src');
src = src.replace(/[\?&]autoplay=1/g, '');
jQuery(this).attr('src', src);
});
}
});
eplGalleryResizePlayer(9/16);
});
eplGallery.listen('close', function () {
jQuery('.pswp__video').each(function () {
jQuery(this).find('iframe').each(function() {
var src = jQuery(this).attr('src');
src = src.replace(/[\?&]autoplay=1/g, '');
src = src + '?autoplay=0';
jQuery(this).attr('src', src );
console.log(src);
});
});
console.log('closed');
});
}
function trigger_autoplay_event() {
jQuery(document).on('click', '.epl-gallery-overlay', function(e) {
let slide = jQuery(this).closest('.pswp__zoom-wrap').find('.pswp__video');
let iframe = slide.find("iframe")[0];
let src = iframe.src;
if (src.indexOf('autoplay=') !== -1) {
src = src.replace(/autoplay=\d/g, function(match) {
return match === 'autoplay=0' ? 'autoplay=1' : 'autoplay=0';
});
} else {
src += (src.includes('?') ? '&' : '?') + 'autoplay=1';
}
iframe.src = src;
console.log('trigerred video');
});
}
jQuery('document').ready( function() {
trigger_autoplay_event();
eplGalleryResizePlayer(9 / 16);
jQuery(window).bind("load", handle_resize);
jQuery(window).bind("resize", handle_resize);
jQuery(window).bind("orientationchange", handle_resize);
function handle_resize() {
eplGalleryResizePlayer(9 / 16);
console.log( 'resized');
}
});
7 Brisbane Water Drive,
Koolewong
NSW
2256
Deprecated: preg_split(): Passing null to parameter #3 ($limit) of type int is deprecated in /home/domainpropertygr/public_html/wp-content/themes/central-coast-websites-child/easypropertylistings/content-listing-single-6-2col-option-2.php on line 108
This well-presented two bedroom duplex offers comfortable living in a convenient location with scenic outlooks across Brisbane Waters.
Featuring a versatile study, air conditioning and a modern kitchen with generous cupboard space, this home is ideal for those seeking extra room to work from home or spread out. The layout includes a separate laundry and toilet for added convenience.
Step outside to your private rear deck overlooking an enclosed backyard - perfect for relaxing or entertaining. A car space is located at the front of ...
Read More
This well-presented two bedroom duplex offers comfortable living in a convenient location with scenic outlooks across Brisbane Waters.
Featuring a versatile study, air conditioning and a modern kitchen with generous cupboard space, this home is ideal for those seeking extra room to work from home or spread out. The layout includes a separate laundry and toilet for added convenience.
Step outside to your private rear deck overlooking an enclosed backyard - perfect for relaxing or entertaining. A car space is located at the front of the property.
Enjoy water views from the loungeroom and a lifestyle location close to public transport. Ride or walk to Woy Woy or Gosford via the nearby bike track.
Features include:
Two spacious bedrooms
Separate study
Air conditioning
Modern kitchen with ample storage
Separate laundry and toilet
Private rear deck
Enclosed backyard
Car space at front
Water views across Brisbane Waters
Close to public transport and cycle paths
Read Less