Chrisj Posted May 3, 2021 Share Posted May 3, 2021 Viewing a php/html web page, that I have, from a mobile phone, a visitor can tap the page and their video screen appears and they can then proceed to record and submit a video recording, successfully. But, I'm wondering if the accept="video/*" code is outdated and should be somehow replaced with 'getUserMedia' code. If so, is it a direct replacement or do I need other tweaks on this existing line: <input type="file" name="fileToUpload" id="fileToUpload" accept="video/*" capture="user" onchange="submitForm();"> I look forward to all comments/suggestions, thanks Quote Link to comment https://forums.phpfreaks.com/topic/312596-acceptvideo-vs-getusermedia/ Share on other sites More sharing options...
requinix Posted May 3, 2021 Share Posted May 3, 2021 One is Javascript, one is not. Does what you have now work? Is there anything that says it's obsolete or deprecated? If not then keep using it. Quote Link to comment https://forums.phpfreaks.com/topic/312596-acceptvideo-vs-getusermedia/#findComment-1586302 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.