W3C home > Mailing lists > Public > public-media-capture@w3.org > September 2018

How to check if mediaElement.srcObject can be used

From: Ben Wiley <therealbenwiley@gmail.com>
Date: Sun, 9 Sep 2018 22:55:38 -0400
Message-ID: <CAOD6y0jn681k-nwGGDzAhamOoOU0wV8jJaTPXgbpBCaVi67qMg@mail.gmail.com>
To: public-media-capture@w3.org
Hi all, I'm new to this list.

I'm wondering if there is there a reliable cross-browser way to determine
whether `mediaElement.srcObject = stream` is available. It's a bit awkward
to test for since it's a property assignment, not a method call.

Ben
Received on Monday, 10 September 2018 08:29:05 UTC

This archive was generated by hypermail 2.3.1 : Monday, 10 September 2018 08:29:06 UTC