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

Doesn't support multiple videos on same page #21

Open
sethbrasile opened this issue Aug 19, 2014 · 5 comments
Open

Doesn't support multiple videos on same page #21

sethbrasile opened this issue Aug 19, 2014 · 5 comments
Milestone

Comments

@sethbrasile
Copy link

When I add a second video, the thumbnail collection works for both, but if you play both videos, they both assume the video id of whichever video I specified last.

http://codepen.io/sethbrasile/pen/rqofd

@sethbrasile
Copy link
Author

Submitted PR #22 to fix.

Example:

http://codepen.io/sethbrasile/pen/glxyu

Only caveat I can see is that the documentation may need to mention that the div loading the video will automatically have the youtube ID of the video set to the ID attribute.

@sergegl
Copy link

sergegl commented Sep 5, 2014

Hey Seth your fix didn't work for me.

Anyway a fix would be very helpful.

@sethbrasile
Copy link
Author

As I said in the PR, I did not check any other use cases (such as the "HTML5 driven application" example).

What's your setup like? I wouldn't mind spending the time to try and make this work in every situation.

@rob-meh
Copy link

rob-meh commented Jul 13, 2015

You can get multiple videos to work if you use ONLY the "HTML5 driven application" example.
I have 3 videos on the same page right now all working as intended.

I don't think this is really being maintained anymore by @mike-zarandona.

@mike-zarandona mike-zarandona added this to the v2.0.0 milestone Aug 11, 2015
@stratboy
Copy link

Same problem here: multiple instances are currently not supported.

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

No branches or pull requests

5 participants