Detect HTML5 Media Capture API Support

后端 未结 2 1946
天命终不由人
天命终不由人 2021-01-02 04:26

Is there a way to detect whether a browser supports the HTML5 Media Capture API for a mobile website I\'m building? I can only seem to find solutions for detecting get

2条回答
  •  情深已故
    2021-01-02 05:18

    You can use modernizr, on the docs page you can see in the table of features supported and detected that they detect both the HTML Media Capture and also the getUserMedia

提交回复
热议问题