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\/01\/176973949447052338-rsd.jpg","w":1920,"h":1280,"thumb":"https:\/\/domainpropertygroup.com.au\/wp-content\/uploads\/2026\/01\/176973949447052338-rsd.jpg","title":"","type":"image"},{"src":"https:\/\/domainpropertygroup.com.au\/wp-content\/uploads\/2026\/01\/170683786534960087-rsd.jpg","w":1275,"h":803,"thumb":"https:\/\/domainpropertygroup.com.au\/wp-content\/uploads\/2026\/01\/170683786534960087-rsd.jpg","title":"","type":"image"},{"src":"https:\/\/domainpropertygroup.com.au\/wp-content\/uploads\/2026\/01\/170683786430045817-rsd.jpg","w":1290,"h":951,"thumb":"https:\/\/domainpropertygroup.com.au\/wp-content\/uploads\/2026\/01\/170683786430045817-rsd.jpg","title":"","type":"image"},{"src":"https:\/\/domainpropertygroup.com.au\/wp-content\/uploads\/2026\/01\/170683786558424059-rsd.jpg","w":1290,"h":947,"thumb":"https:\/\/domainpropertygroup.com.au\/wp-content\/uploads\/2026\/01\/170683786558424059-rsd.jpg","title":"","type":"image"},{"src":"https:\/\/domainpropertygroup.com.au\/wp-content\/uploads\/2026\/01\/176973949476651627-rsd.jpg","w":1920,"h":1280,"thumb":"https:\/\/domainpropertygroup.com.au\/wp-content\/uploads\/2026\/01\/176973949476651627-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');
}
});
190 Railway Street,
Woy Woy
NSW
2256
Ideally located within a short walk to Woy Woy Railway Station and Town Centre, this original two bedroom cottage occupies a large level 698 square metre block with 15.24 metre street frontage.
With R1 "General Residential" Zoning it provides an excellent opportunity for a range of future development options (S.T.C.A.)
Features Include:
- Functional kitchen
- Separate living and dining
- Covered front veranda
- 2 generous bedrooms with built ins
- Timber flooring throughout
- Air conditioning and ...
Read More
Ideally located within a short walk to Woy Woy Railway Station and Town Centre, this original two bedroom cottage occupies a large level 698 square metre block with 15.24 metre street frontage.
With R1 "General Residential" Zoning it provides an excellent opportunity for a range of future development options (S.T.C.A.)
Features Include:
- Functional kitchen
- Separate living and dining
- Covered front veranda
- 2 generous bedrooms with built ins
- Timber flooring throughout
- Air conditioning and ceiling fans
- Tidy bathroom with bathtub
- Internal laundry with separate toilet
- Large fully fenced rear yard
- Garage space, carport and multiple storage options
- In catchment for entry to highly regarded Woy Woy Primary & Secondary
Schools
Immediately available with existing tenancy or vacant possession at settlement.
Please call Brian on 0412230500 for further information or to arrange inspection.
Disclaimer: We have obtained all information herein from sources we believe to be reliable; however, we cannot guarantee its accuracy. Prospective purchasers are advised to carry out their own investigations
Read Less