Closed amrithrajnalam closed 1 year ago
fancybox youtube video how to make autoplay stop
Fancybox.bind('[data-fancybox="gallery"]', { Thumbs: false, Iframes: { iframeAttr: { scrolling : 'no', } }
});
in the above code scrolling : no is not applying for iframe
Hi,
Here's a demo on how to disable autoplay - https://jsfiddle.net/6ag1wcxv/
Fancybox.bind('[data-fancybox]', { Html : { videoAutoplay : false } });
fancybox youtube video how to make autoplay stop
});
in the above code scrolling : no is not applying for iframe