javascript - Use the web to record a video of about ten seconds, which is compatible with various browsers. Are there any methods to achieve this?
滿天的星座
滿天的星座 2017-06-26 10:58:42
0
2
877

We are currently using webcam.js to implement the camera function, which is compatible with various browsers. Currently, there are new requirements and recording is required. However, I looked at the github project address and it seems that video recording is not supported. What methods are available? Do it?
h5’s api is definitely not working, it only supports Google and Firefox.

滿天的星座
滿天的星座

reply all (2)
洪涛

The idea of graceful downgrade is to determine whether the browser supports H5. If it supports H5, use H5. If it does not support it, use Flash. Use Flash to record the video in the web page, save the recorded video locally, and then upload it to the server. , are not supported, the only option is to allow users to install the flash plug-in, which is similar to the browser video playback process

    大家讲道理

    Just use H5, if it doesn’t support prompts, it’s better not to use flash if you don’t need it for compatibility

      Latest Downloads
      More>
      Web Effects
      Website Source Code
      Website Materials
      Front End Template
      About us Disclaimer Sitemap
      php.cn:Public welfare online PHP training,Help PHP learners grow quickly!