Re: Can getUserMedia() get called on a callback/event ?

2015-01-10 0:13 GMT+01:00 Martin Thomson <martin.thomson@gmail.com>:
> On 9 January 2015 at 14:33, Iñaki Baz Castillo <ibc@aliax.net> wrote:
>> This is a non practical design. What about all those JavaScript async
>> loaders (AMD, requireJS) etc? Those loaders execute code in callbacks
>> so gUM wouldn't work. What about if the JS app needs to wait until the
>> DOM is loaded before calling gUM? Writing the <script> tag that calls
>> gUM on the bottom of the <body> is just an old-fashion workaround.
>
>
> I don't understand the minutiae here, but I understand that certain
> asynchronous actions preserve the engagement gesture status.

Let's simplify: do you agree that gUM should be able to be called when
the page is loaded (without user interaction)?


-- 
Iñaki Baz Castillo
<ibc@aliax.net>

Received on Friday, 9 January 2015 23:37:33 UTC