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\/174643328869561614-rsd-1.jpg","w":1920,"h":1280,"thumb":"https:\/\/domainpropertygroup.com.au\/wp-content\/uploads\/2025\/12\/174643328869561614-rsd-1.jpg","title":"","type":"image"},{"src":"https:\/\/domainpropertygroup.com.au\/wp-content\/uploads\/2025\/12\/174643328513053761-rsd-1.jpg","w":1920,"h":1280,"thumb":"https:\/\/domainpropertygroup.com.au\/wp-content\/uploads\/2025\/12\/174643328513053761-rsd-1.jpg","title":"","type":"image"},{"src":"https:\/\/domainpropertygroup.com.au\/wp-content\/uploads\/2025\/12\/174643328383437238-rsd-1.jpg","w":1920,"h":1280,"thumb":"https:\/\/domainpropertygroup.com.au\/wp-content\/uploads\/2025\/12\/174643328383437238-rsd-1.jpg","title":"","type":"image"},{"src":"https:\/\/domainpropertygroup.com.au\/wp-content\/uploads\/2025\/12\/174640293712188723-rsd-1.jpg","w":1920,"h":1280,"thumb":"https:\/\/domainpropertygroup.com.au\/wp-content\/uploads\/2025\/12\/174640293712188723-rsd-1.jpg","title":"","type":"image"},{"src":"https:\/\/domainpropertygroup.com.au\/wp-content\/uploads\/2025\/12\/174640293441627144-rsd-2.jpg","w":1920,"h":1280,"thumb":"https:\/\/domainpropertygroup.com.au\/wp-content\/uploads\/2025\/12\/174640293441627144-rsd-2.jpg","title":"","type":"image"},{"src":"https:\/\/domainpropertygroup.com.au\/wp-content\/uploads\/2025\/12\/174640293956755673-rsd-1.jpg","w":1920,"h":1280,"thumb":"https:\/\/domainpropertygroup.com.au\/wp-content\/uploads\/2025\/12\/174640293956755673-rsd-1.jpg","title":"","type":"image"},{"src":"https:\/\/domainpropertygroup.com.au\/wp-content\/uploads\/2025\/12\/174640294097143193-rsd-1.jpg","w":1920,"h":1280,"thumb":"https:\/\/domainpropertygroup.com.au\/wp-content\/uploads\/2025\/12\/174640294097143193-rsd-1.jpg","title":"","type":"image"},{"src":"https:\/\/domainpropertygroup.com.au\/wp-content\/uploads\/2025\/12\/174640294060569001-rsd-1.jpg","w":1920,"h":1280,"thumb":"https:\/\/domainpropertygroup.com.au\/wp-content\/uploads\/2025\/12\/174640294060569001-rsd-1.jpg","title":"","type":"image"},{"src":"https:\/\/domainpropertygroup.com.au\/wp-content\/uploads\/2025\/12\/174640294040073282-rsd-1.jpg","w":1920,"h":1280,"thumb":"https:\/\/domainpropertygroup.com.au\/wp-content\/uploads\/2025\/12\/174640294040073282-rsd-1.jpg","title":"","type":"image"},{"src":"https:\/\/domainpropertygroup.com.au\/wp-content\/uploads\/2025\/12\/174643328720482886-rsd-1.jpg","w":1920,"h":1280,"thumb":"https:\/\/domainpropertygroup.com.au\/wp-content\/uploads\/2025\/12\/174643328720482886-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');
}
});
Level 5/502/8-10 Moore Street,
West Gosford
NSW
2250
Ready to move in, these brand-new apartments in West Gosford offer unbeatable value and lifestyle for first home buyers, investors, and anyone looking for convenience without the congestion.
Better M1 freeway access without the traffic
Closer to the train station than you realise
Moments from the waterfront to unwind
All while still being just minutes from the heart of Gosford. With modern finishes, thoughtful layouts and impressive rental returns, this is your opportunity to secure a slice of the Central Coast's fastest-rising pocket ...
Read More
Ready to move in, these brand-new apartments in West Gosford offer unbeatable value and lifestyle for first home buyers, investors, and anyone looking for convenience without the congestion.
Better M1 freeway access without the traffic
Closer to the train station than you realise
Moments from the waterfront to unwind
All while still being just minutes from the heart of Gosford. With modern finishes, thoughtful layouts and impressive rental returns, this is your opportunity to secure a slice of the Central Coast's fastest-rising pocket - before the rest catch on.
Welcome to Vista West Gosford - a boutique collection of 35 brand-new, thoughtfully and architecturally designed apartments, perfectly positioned just moments from Gosford Waterfront, train station and freeway access.
Combining quality, comfort, and convenience, Vista offers the ideal opportunity to make your move from renting to owning in one of the Central Coast's most connected pockets. Or, capitalise on the brand new offering with maximum tax depreciation on a new investment property amidst a thriving rental market.
Apartment 502 is one of the larger floorplans offering a flexible living and dining layout sure to fit all your furniture with ease. Wide hallway entry, ample storage, spacious master bathroom all adorn this apartment ready for immediate occupancy.
Secure lift access, video intercom, EV charger in basement. What else?
Don't just follow the crowd into Gosford CBD - discover why West Gosford is the smarter move. Enquire now to secure your future in one of the Central Coast's most underrated and connected suburbs.
Inspect by appointment or as advertised. Strata Levies $794.91 Quarterly.
Read Less