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

Enable re-using a video element after "emptied" #2

Open
martinstark opened this issue Mar 2, 2023 · 1 comment
Open

Enable re-using a video element after "emptied" #2

martinstark opened this issue Mar 2, 2023 · 1 comment

Comments

@martinstark
Copy link
Collaborator

Reset state to initial state to allow a filter to be re used for consecutive plays.

@martinstark
Copy link
Collaborator Author

martinstark commented Mar 8, 2024

Unsure if this is a good idea, it should be possible to re-use an old video element by simply creating a new media-event-filter instance with the old video element after it has emptied. It should achieve the same as introducing state-reset functionality to the filter, without adding complexity to the code or the API.

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

1 participant