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

Video cards pausing on click (after first in stack) #92

Open
reidblomquist opened this issue Jan 12, 2017 · 0 comments
Open

Video cards pausing on click (after first in stack) #92

reidblomquist opened this issue Jan 12, 2017 · 0 comments
Labels

Comments

@reidblomquist
Copy link

reidblomquist commented Jan 12, 2017

@gajus - let me just start out by saying thanks for opensourcing this awesome work!

I'd really like to use swing in an upcoming project, but have run into a bit of a wall getting videos to work exactly as I want. I've put together a gist you can find here - https://gist.github.com/reidblomquist/0baa89bcf09c38de4ecaa2b9b4d6e3ab you should be able to clone that down and just run with python -m SimpleHTTPServer 9001 or some such.

Desired outcome: You can click on videos to mute/unmute (basic function to test more enhanced click-enabled functionality). Throwing cards out of stack will pause and mute that card's video, playing the next (muted) inline video.

Actual outcome: Everything works fine on top card, cards further down in stack pause when clicked.

In digging in - it seems like dragstart is called, then the media is paused - and a click event is never fired on these further down cards until after the initial mousedown/dragstart/pause event chain. Wondering if you might be able to point me in the right direction as to where to look to attempt to resolve this. Cheers!

@gajus gajus added the question label Jan 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants