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

Issue with controls when using multiple videos #257

Closed
thiagupct opened this issue Jun 1, 2016 · 4 comments
Closed

Issue with controls when using multiple videos #257

thiagupct opened this issue Jun 1, 2016 · 4 comments

Comments

@thiagupct
Copy link

Youtube Video 1:
<div class="plyr" data-plyr='{"controls": ["play-large", "play", "progress", "current-time", "mute", "volume", "captions", "fullscreen"], "clickToPlay": "true"}'>

Youtube Video 2:
<div class="plyr" data-plyr='{"controls": "[]", "clickToPlay": "false", "loadSprite": "false"}'>

When loaded plyr accepts controls from video 2 and loads same for the two videos. How can we provide different controls for different videos. Any help is much appreciated!!

@sampotts
Copy link
Owner

sampotts commented Jun 1, 2016

Did you try this?

<div class="plyr" data-plyr='{"controls": [], "clickToPlay": "false", "loadSprite": "false"}'>

@thiagupct
Copy link
Author

@sampotts Thanks, no it wasn't. Any other solution

@heinhoang
Copy link

I meet the same problem

sampotts pushed a commit that referenced this issue Jun 7, 2016
@sampotts
Copy link
Owner

sampotts commented Jun 7, 2016

Fixed in v1.7.0

@sampotts sampotts closed this as completed Jun 7, 2016
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

3 participants