4 ms·
Show HN: Video-input, an HTML element that acts like a video form field
- GirkovArpa 6y agoNo demo?
- cl42 6y agoHmmm... 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.
- mips_avatar 6y agoCould you explain the use case? I don't understand how a video form field would work. Is it a specific field for uploading videos?
- cl42 6y agoThat'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.
- mips_avatar 6y agoThat makes a ton of sense.
- mips_avatar 6y agoSo kind of like super easy to upload google cameos from a browser? https://www.google.com/cameos/2ZhjhGne/4NgPQa?hl=en https://www.google.com/cameos/2ZhjhGne/4NgPQa?hl=en
- cl42 6y agoYup! 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.
- cl42 6y agoFor those curious, here's a demo: https://phaseai.com/resources/video-input-form-js-demo https://phaseai.com/resources/video-input-form-js-demo
- mips_avatar 6y agoNeat 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?
- andiey 6y agoDemo is super helpful! Looks great
- tk75x 6y agoThis could be useful for teachers grading student answers during remote learning periods.
- cl42 6y agoI 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.