Video recording web app

有些话、适合烂在心里 提交于 2019-12-08 11:53:21

问题


I have a website requirement , users can able to record video (with sound) and upload to server. First i think about flash and red5(media server) but found that flash does not support IPAD or iphone. Now am think about HTML5 video recording, but somebody told me that html5 video recording still in beta and not stable and it does not support all browsers.

Please advice which is best , help is highly appreciable.

Thanks,


回答1:


To upload a video from an iPhone to a web server, you can use an <input> tag. This will prompt the user to record a video which will then be selected as the file to upload.

<input autocomplete="off" type="file" name="video_file" accept="video/*" capture />

Wrap this in and you can change the appearance of the tag to look more like a video recording button.




回答2:


There's simply no way as of now to do video recording through mobile browser. Potential solution is

  1. Direct mobile browser user to appstore/google play and encourage to download a dedicated app (downside - you have to write it ;)

  2. Allow for file upload from mobile device (user uploads prerecorded video). File uploads are supported from IOS6 only. Not sure about Android.

  3. Use flash where possible (a challenge in itself).

Hint: would I accept such requirement as a contractor/agency etc? Nooo! Never ;)



来源:https://stackoverflow.com/questions/17783092/video-recording-web-app

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!