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\/2025\/12\/176069812105692782-rsd-1.jpg","w":1920,"h":1280,"thumb":"https:\/\/domainpropertygroup.com.au\/wp-content\/uploads\/2025\/12\/176069812105692782-rsd-1.jpg","title":"","type":"image"},{"src":"https:\/\/domainpropertygroup.com.au\/wp-content\/uploads\/2025\/12\/176069804878322786-rsd-1.jpg","w":1920,"h":1280,"thumb":"https:\/\/domainpropertygroup.com.au\/wp-content\/uploads\/2025\/12\/176069804878322786-rsd-1.jpg","title":"","type":"image"},{"src":"https:\/\/domainpropertygroup.com.au\/wp-content\/uploads\/2025\/12\/176069811967464042-rsd-1.jpg","w":1920,"h":1280,"thumb":"https:\/\/domainpropertygroup.com.au\/wp-content\/uploads\/2025\/12\/176069811967464042-rsd-1.jpg","title":"","type":"image"},{"src":"https:\/\/domainpropertygroup.com.au\/wp-content\/uploads\/2025\/12\/176069812036372152-rsd-1.jpg","w":1920,"h":1280,"thumb":"https:\/\/domainpropertygroup.com.au\/wp-content\/uploads\/2025\/12\/176069812036372152-rsd-1.jpg","title":"","type":"image"},{"src":"https:\/\/domainpropertygroup.com.au\/wp-content\/uploads\/2025\/12\/176069803765038777-rsd-1.jpg","w":1920,"h":1280,"thumb":"https:\/\/domainpropertygroup.com.au\/wp-content\/uploads\/2025\/12\/176069803765038777-rsd-1.jpg","title":"","type":"image"},{"src":"https:\/\/domainpropertygroup.com.au\/wp-content\/uploads\/2025\/12\/176069811996601215-rsd-1.jpg","w":1920,"h":1280,"thumb":"https:\/\/domainpropertygroup.com.au\/wp-content\/uploads\/2025\/12\/176069811996601215-rsd-1.jpg","title":"","type":"image"},{"src":"https:\/\/domainpropertygroup.com.au\/wp-content\/uploads\/2025\/12\/176069804820543736-rsd-1.jpg","w":1920,"h":1280,"thumb":"https:\/\/domainpropertygroup.com.au\/wp-content\/uploads\/2025\/12\/176069804820543736-rsd-1.jpg","title":"","type":"image"},{"src":"https:\/\/domainpropertygroup.com.au\/wp-content\/uploads\/2025\/12\/176069803798183532-rsd-1.jpg","w":1920,"h":1280,"thumb":"https:\/\/domainpropertygroup.com.au\/wp-content\/uploads\/2025\/12\/176069803798183532-rsd-1.jpg","title":"","type":"image"},{"src":"https:\/\/domainpropertygroup.com.au\/wp-content\/uploads\/2025\/12\/176069804912812487-rsd-1.jpg","w":1920,"h":1280,"thumb":"https:\/\/domainpropertygroup.com.au\/wp-content\/uploads\/2025\/12\/176069804912812487-rsd-1.jpg","title":"","type":"image"},{"src":"https:\/\/domainpropertygroup.com.au\/wp-content\/uploads\/2025\/12\/176069804406483988-rsd-1.jpg","w":1920,"h":1280,"thumb":"https:\/\/domainpropertygroup.com.au\/wp-content\/uploads\/2025\/12\/176069804406483988-rsd-1.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');
}
});
4/78 Donnison Street,
Gosford
NSW
2250
In a small walk-up brick complex of only five apartments, this spacious two-bedroom home offers generous proportions, ultimate convenience and privacy.
Key features to make it your home;
- Light filled, air-conditioned and open-plan living space
- Spacious kitchen with breakfast bar, dishwasher, gas stove, stone benches
- Large, sunny South-Easterly facing front balcony
- Single lock up garage on ground level
- Great separation between living and bedrooms
- King sized master & 2nd bedroom with mirrored built-in wardrobes
- Main bathroom ...
Read More
In a small walk-up brick complex of only five apartments, this spacious two-bedroom home offers generous proportions, ultimate convenience and privacy.
Key features to make it your home;
- Light filled, air-conditioned and open-plan living space
- Spacious kitchen with breakfast bar, dishwasher, gas stove, stone benches
- Large, sunny South-Easterly facing front balcony
- Single lock up garage on ground level
- Great separation between living and bedrooms
- King sized master & 2nd bedroom with mirrored built-in wardrobes
- Main bathroom with separate tub and shower
- Internal laundry with second toilet
- Security building with intercom
- Gas hot water system and heating point in living room
In a boutique complex, an easy walk to Gosford Train Station or just off the M1 for commuters. This is your opportunity to move into easy apartment living for the new year and enjoy being so close to shops, public transport, cafes, bars, hospitals, schools and the Gosford waterfront.
Disclaimer: Virtual furniture pictured. All property details are deemed reliable but not guaranteed. Balcony re-waterproofing to be completed during tenancy, dates yet to be confirmed. Air-conditioning and intercom to be replaced in new year. Prospective tenants should conduct their own due diligence and consult relevant professionals taking into account their personal circumstances before making any decisions. Water usage included in rent.
Read Less