Re: [Bug 22365] New: The spec should explicitly say something about getUserMedia() in an iframe.

On 2013-06-17 14:01, Harald Alvestrand wrote:
> On 06/17/2013 12:53 PM, Adam Bergkvist wrote:
>> On 2013-06-17 12:25, Harald Alvestrand wrote:
>>>> [1]
>>>> http://lists.w3.org/Archives/Public/public-media-capture/2012Mar/0085.html
>>>>
>>>>
>>>>
>>> was this the wrong link? This link points to Dom's request to abandon
>>> the two-callbacks pattern.
>>
>> Yes. Wrong link. This is the correct one.
>>
>> http://lists.w3.org/Archives/Public/public-media-capture/2012Mar/0024.html
>>
>>
>
> Thanks!
>
> Anant's argument seems logical - that the infobar/doorhanger method of
> applying for permission is confusing when it comes to embedded content.

Yes, this issue is closely related to UI.

> Would it make sense to say that GetUserMedia from an iframe can only
> work if an existing permission is active for that origin? (either a
> stored permission or a permission granted in the current session
> (whatever a session is))?

I think it makes sense for some cases, but it's makes it tricky for an 
iframe to acquire permissions.

I still think an option for the main page to allow the iframe to use 
getUserMedia() gives us more.

/Adam

Received on Monday, 17 June 2013 14:03:41 UTC