You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@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!
The text was updated successfully, but these errors were encountered:
@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!
The text was updated successfully, but these errors were encountered: