Re: [mediacapture-output] Controlling 3rd party iframe audio output on a page?

Content attributes are `<iframe something="...">` in the HTML. IDL attributes are `iframeEl.something = "..."` in JavaScript. You can have both by saying that the IDL attribute reflects the content attribute. (Almost all content attributes are reflected as IDL attributes, in fact. But not necessarily vice-versa.)

If the idea is to not change after the iframe is created, then I'm not sure which is better. Again it kind of depends on what you mean by "created". The `sandbox=""` attribute on iframes has one model, where it re-reads the value on navigation of the iframe (e.g. setting `.src = "..."`, or clicking a link inside the page). I think that is also the model used by feature policy and the allowX attributes.

-- 
GitHub Notification of comment by domenic
Please view or discuss this issue at https://github.com/w3c/mediacapture-output/issues/63#issuecomment-289802711 using your GitHub account

Received on Tuesday, 28 March 2017 15:13:37 UTC