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 getUserMedia()
support.
I would like to be able to present mobile users one of two scenarios:
- User's browser supports the API, so two upload buttons are displayed, one activating the camera and one activating the image gallery.
- User's browser doesn't support the API, so just one upload buttons is displayed, hopefully activating the gallery if their browser supports the accept parameter.