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\/175283850425335398-rsd.jpg","w":1270,"h":834,"thumb":"https:\/\/domainpropertygroup.com.au\/wp-content\/uploads\/2025\/12\/175283850425335398-rsd.jpg","title":"","type":"image"},{"src":"https:\/\/domainpropertygroup.com.au\/wp-content\/uploads\/2025\/12\/175283850206415842-rsd.jpg","w":1920,"h":1280,"thumb":"https:\/\/domainpropertygroup.com.au\/wp-content\/uploads\/2025\/12\/175283850206415842-rsd.jpg","title":"","type":"image"},{"src":"https:\/\/domainpropertygroup.com.au\/wp-content\/uploads\/2025\/12\/175283846749846490-rsd.jpg","w":1920,"h":1280,"thumb":"https:\/\/domainpropertygroup.com.au\/wp-content\/uploads\/2025\/12\/175283846749846490-rsd.jpg","title":"","type":"image"},{"src":"https:\/\/domainpropertygroup.com.au\/wp-content\/uploads\/2025\/12\/175283850179770315-rsd.jpg","w":1920,"h":1280,"thumb":"https:\/\/domainpropertygroup.com.au\/wp-content\/uploads\/2025\/12\/175283850179770315-rsd.jpg","title":"","type":"image"},{"src":"https:\/\/domainpropertygroup.com.au\/wp-content\/uploads\/2025\/12\/175283849869059898-rsd.jpg","w":1288,"h":862,"thumb":"https:\/\/domainpropertygroup.com.au\/wp-content\/uploads\/2025\/12\/175283849869059898-rsd.jpg","title":"","type":"image"},{"src":"https:\/\/domainpropertygroup.com.au\/wp-content\/uploads\/2025\/12\/175283850411353143-rsd.jpg","w":1920,"h":1280,"thumb":"https:\/\/domainpropertygroup.com.au\/wp-content\/uploads\/2025\/12\/175283850411353143-rsd.jpg","title":"","type":"image"},{"src":"https:\/\/domainpropertygroup.com.au\/wp-content\/uploads\/2025\/12\/175283850365038777-rsd.jpg","w":1920,"h":1280,"thumb":"https:\/\/domainpropertygroup.com.au\/wp-content\/uploads\/2025\/12\/175283850365038777-rsd.jpg","title":"","type":"image"},{"src":"https:\/\/domainpropertygroup.com.au\/wp-content\/uploads\/2025\/12\/175283846737574907-rsd.jpg","w":1920,"h":1280,"thumb":"https:\/\/domainpropertygroup.com.au\/wp-content\/uploads\/2025\/12\/175283846737574907-rsd.jpg","title":"","type":"image"},{"src":"https:\/\/domainpropertygroup.com.au\/wp-content\/uploads\/2025\/12\/175283850346240544-rsd.jpg","w":1920,"h":1280,"thumb":"https:\/\/domainpropertygroup.com.au\/wp-content\/uploads\/2025\/12\/175283850346240544-rsd.jpg","title":"","type":"image"},{"src":"https:\/\/domainpropertygroup.com.au\/wp-content\/uploads\/2025\/12\/174640293924686197-rsd.jpg","w":1920,"h":1280,"thumb":"https:\/\/domainpropertygroup.com.au\/wp-content\/uploads\/2025\/12\/174640293924686197-rsd.jpg","title":"","type":"image"},{"src":"https:\/\/domainpropertygroup.com.au\/wp-content\/uploads\/2025\/12\/174640293441627144-rsd-1.jpg","w":1920,"h":1280,"thumb":"https:\/\/domainpropertygroup.com.au\/wp-content\/uploads\/2025\/12\/174640293441627144-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/501/8-10 Moore Street,
West Gosford
NSW
2250
Step into a brand-new apartment where convenience meets lifestyle. This sleek and modern home at Vista West Gosford gives you more time for evenings by the water, weekends out, or easy commuting.
Why apartment 501 works for your lifestyle:
Effortless living - open plan kitchen, living and dining flow straight out to the East facing balcony, perfect for relaxing or entertaining with no fuss.
Ready to go - brand-new modern appliances (gas stove, dishwasher, dryer), reverse-cycle air-conditioning and instantaneous ...
Read More
Step into a brand-new apartment where convenience meets lifestyle. This sleek and modern home at Vista West Gosford gives you more time for evenings by the water, weekends out, or easy commuting.
Why apartment 501 works for your lifestyle:
Effortless living - open plan kitchen, living and dining flow straight out to the East facing balcony, perfect for relaxing or entertaining with no fuss.
Ready to go - brand-new modern appliances (gas stove, dishwasher, dryer), reverse-cycle air-conditioning and instantaneous gas hot water set for your comfort.
Smart storage & layout: built-in wardrobes to carpeted bedrooms + built-in hallway cupboards mean you have space for what you need, without clutter.
Comfortable, low-maintenance living with oversized bathroom and walk-in showers, ensuite, secure basement parking with storage cage, complete with EV charger and lift access.
Ultra-connected lifestyle - just a stroll to the waterfront, pop down to cafés, catch the train or jump on the M1 so everything you need is right nearby.
Live where everything's at your fingertips, contact us today to book your private inspection.
Enjoy an immediate $25,000 cash rebate on your purchase, or opt for a furniture package to design your new home exactly the way you like it!
Strata Levies: $772.45 Quarterly
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. Virtual furniture pictured.
Read Less