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

Allow recording of videos at any duration #301

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

Conversation

TLAlice
Copy link

@TLAlice TLAlice commented Jan 11, 2022

Changed the recordVideo function so that instead of pressing record and then recording for 4 seconds, gameplay starts being recorded upon pressing record until pressing it again

@netlify
Copy link

netlify bot commented Jan 11, 2022

✔️ Deploy Preview for wasm4 ready!

🔨 Explore the source changes: 7085765

🔍 Inspect the deploy log: https://app.netlify.com/sites/wasm4/deploys/61dd85e7c3c79500076f0373

😎 Browse the preview: https://deploy-preview-301--wasm4.netlify.app

Changed the recordVideo function so that instead of pressing record and then recording for 4 seconds, gameplay starts being recorded upon pressing record until pressing it again
@aduros
Copy link
Owner

aduros commented Jan 12, 2022

Hi Alice, thanks for the PR!

I think we need to keep some sort of maximum timeout for the video recording. Otherwise it's likely that the user will forget to press the record key a second time, which will probably run the browser out of memory and crash the tab 😁

Can you change it to keep the setTimeout, but increase it to 30-60 seconds, but still allow you to press record again to stop early?

@joshgoebel
Copy link
Contributor

Do we not show any indication that the video is being recored to remind them?

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.

3 participants