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

added instance of video in callback #7585

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

subCode321
Copy link

@subCode321 subCode321 commented Feb 28, 2025

Resolves #7468

Changes:

The callback to create video now returns the video instance that can be used to control loop, hide, volume

Screenshots of the change:

PR Checklist

Sorry, something went wrong.

Copy link

welcome bot commented Feb 28, 2025

🎉 Thanks for opening this pull request! Please check out our contributing guidelines if you haven't already. And be sure to add yourself to the list of contributors on the readme page!

@davepagurek
Copy link
Contributor

Thanks for the fix @subCode321! We're also a few weeks away from releasing p5 2.0, which lives on the dev-2.0 branch, and has a beta you can try out here: https://github.com/processing/p5.js/releases/tag/v2.0.0-beta.3

I think this is still worth merging into the main branch, but we should also test if the same issue is needed in 2.0, and if we need to make a second PR into dev-2.0 with a similar fix?

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

Successfully merging this pull request may close these issues.

createVideo() callback could return instance of video
2 participants