Skip to content
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

Multiple Vimeo videos getting swapped randomly #210

Closed
ndimatteo opened this issue May 4, 2015 · 2 comments
Closed

Multiple Vimeo videos getting swapped randomly #210

ndimatteo opened this issue May 4, 2015 · 2 comments

Comments

@ndimatteo
Copy link

I'm having a weird issue where in certain instances when I have multiple videos on a page, fitvids seems to be putting 1 of the videos in place of all the rest of the videos, instead of doing each separately.

You can test this out here: https://twentyoverten.com (scroll down a bit to see the two videos).

  1. The videos should load properly on initial load
  2. Now simply click a link (try the explore providence button) on that page
  3. Go back via the back button
  4. Video 1 will be playing in both spots

I have no idea why this would be happening, I even tried wrapping the fitvids() in an .each() function for the videos, but it still occurs.

Any ideas here?

@davatron5000
Copy link
Owner

This is the Chrome Back Button bug https://code.google.com/p/chromium/issues/detail?can=2&q=iframe&colspec=ID%20Pri%20M%20Iteration%20ReleaseBlock%20Cr%20Status%20Owner%20Summary%20OS%20Modified&id=395533&thanks=395533&ts=1405933036

Unfortunately we can't fix it. It's based on how the browser is managing it's iframe memory state.

@davatron5000
Copy link
Owner

Fixed in #231

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants