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

When video is running activity is not detected⚡️ #370

Open
2 tasks
StefanoPitto opened this issue Oct 3, 2023 · 1 comment
Open
2 tasks

When video is running activity is not detected⚡️ #370

StefanoPitto opened this issue Oct 3, 2023 · 1 comment
Assignees
Labels
enhancement A new feature or improvement to an existing feature. triage Has not been reviewed yet and should not be worked on.

Comments

@StefanoPitto
Copy link

What problem does your feature request solve?

When a video is running there is no activity detected. Is there any case when this could be fixed?

Describe the solution you are proposing.

Detect activity when playing video.

Describe alternatives you have considered.

No response

Importance

I Need It

Additional Context

  • This missing feature presents as a bug.
  • This missing feature is forcing me to consider alternatives.
@StefanoPitto StefanoPitto added enhancement A new feature or improvement to an existing feature. triage Has not been reviewed yet and should not be worked on. labels Oct 3, 2023
@SupremeTechnopriest
Copy link
Owner

I would just listen to the play and playing events and call idleTimer.pause() and listen to the pause and end events and call idleTimer.reset()

https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement#events

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement A new feature or improvement to an existing feature. triage Has not been reviewed yet and should not be worked on.
Projects
None yet
Development

No branches or pull requests

2 participants