Hacker News new | past | comments | ask | show | jobs | submit login
Show HN: Video-input, an HTML element that acts like a video form field (github.com/wgryc)
46 points by cl42 on Nov 18, 2020 | hide | past | favorite | 15 comments




Neat demo, totally get what you're doing now. One note: The demo has audio feedback echo. Why would the demo play back the microphone's input?


Thank you! I'll officially label you as "first bug reporter". Fixed!


Update: NOW it's fixed. Apparently the default echo cancellation in WebRTC isn't great. I made it so the video gets muted on recording and unmuted on playback.


P.S. Thanks again for the feedback.


Demo is super helpful! Looks great


Could you explain the use case? I don't understand how a video form field would work. Is it a specific field for uploading videos?


That's correct! Since more and more people are working remotely, I've found a few cases where having a video presented of someone speaking their answer to a question is very helpful. What's been annoying is that the common approach is to set up a streaming solution or have someone upload a file they've recorded elsewhere.

What this does is enable someone to record directly on the site and then it takes the recording, converts it into a webm file, and uploads it... So the server gets a POST request with a media file attached. Much simpler to handle, at least for me.


So kind of like super easy to upload google cameos from a browser? https://www.google.com/cameos/2ZhjhGne/4NgPQa?hl=en


Yup! Something like this but for any website -- especially if you are doing remote interviews, applying for a web-based event, etc.

I didn't actually know about cameos, so thanks for sharing that link too.


That makes a ton of sense.


This could be useful for teachers grading student answers during remote learning periods.


I love that idea! Yes, anything with asynchronous video communications is a good place to start. This isn't a use case I considered but it's a perfect one.

Better still, the video field has a timer already so you can limit responses to a specific amount of time, just like a teacher would.


No demo?


Hmmm... Good point! If you clone the repo you can definitely see "sample.html" but you are right, I should have a live demo.

I will post one shortly.




Consider applying for YC's Summer 2025 batch! Applications are open till May 13

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: