New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iFrame being reloaded #1552

Open
buggles333 opened this Issue Aug 28, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@buggles333

buggles333 commented Aug 28, 2018

I have Photoswipe using 10 images and 1 embedded youtube iFrame, I am using beforeChange to pause the video when moving from the slide and then afterChange to resume playing when the slide comes back into view.

This is working well as long as I only slide one left or one right. If I slide any more items than that then the iFrame seems to be reloaded and the video starts from the beginning.

Does this sound like the preload function causing issues? If so, anyone have any idea how to get round it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment