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

autoplay for vimeo modal #51

Open
edycastro1 opened this issue Mar 2, 2016 · 6 comments
Open

autoplay for vimeo modal #51

edycastro1 opened this issue Mar 2, 2016 · 6 comments

Comments

@edycastro1
Copy link

hello everyone,

I just wanna know if it's possible to apply an autoplay for vimeo modal. Can you help me?

Tks,
Edy

@screeley
Copy link
Contributor

screeley commented Mar 4, 2016

Can you provider a jsfiddle of the code you are using?

@edycastro1
Copy link
Author

Hello,

This is the page: http://gilproducoes.com.br/2016/social/trabalhos-aniversarios-15-anos.html

When you click on the thumb, open the modal with vimeo video without autoplay. Can you help to solve that?

@screeley
Copy link
Contributor

screeley commented Mar 7, 2016

Try:

$.embedly.defaults = {
  key:':your-key',
  query: {
    maxwidth:768,
    autoplay: 1
  },
  display: $.noop
};

@dt1973
Copy link

dt1973 commented Mar 7, 2016

@edycastro1

Creating a reduced test case like JSFiddle is the best way to debug problems and report issues. Read http://css-tricks.com/reduced-test-cases/ on why they’re so great.

  • A reduced test case clearly demonstrates the bug or issue
  • It contains the bare minimum HTML, CSS, and JavaScript required to demonstrate the bug
  • A link to your production site is not a reduced test case

Creating a reduced test case is the best way to get your issue addressed. They help you point out the problem. They help us debug the problem. They help others understand the problem.

@edycastro1
Copy link
Author

@screeley Thanks a lot. This tip works, look: http://gilproducoes.com.br/2016/social/trabalhos-aniversarios-15-anos.html

But, now I have another problem. When I close the modal, video keeps playing. Any idea about what happen?

@screeley
Copy link
Contributor

Sadly no, a reduced test case would help.

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