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

is there any event in playing ? #500

Open
cnhuye opened this issue Aug 21, 2021 · 1 comment
Open

is there any event in playing ? #500

cnhuye opened this issue Aug 21, 2021 · 1 comment

Comments

@cnhuye
Copy link

cnhuye commented Aug 21, 2021

Is your feature request related to a problem? Please describe.
is there any events in playing ?

if i click play button, i have a play event at start.

but in the playing, switch to next image, I can not find a event to know which one is it.

I want to know, which image is the showing one. then I can control show the current image index, or auto close play.

any way to do this ?

@fengyuanchen
Copy link
Owner

No support for that.

mohantechnology added a commit to mohantechnology/viewerjs that referenced this issue Aug 28, 2021
 'onImgPlaying' is called before calling play()

 issue fengyuanchen#500
mohantechnology added a commit to mohantechnology/viewerjs that referenced this issue Aug 29, 2021
 demo to show the effect

issue fengyuanchen#500
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

2 participants