W3C home > Mailing lists > Public > whatwg@whatwg.org > May 2015

[whatwg] sandboxed iframe allow-auto-play

From: Benjamin Kelly <bkelly@mozilla.com>
Date: Fri, 29 May 2015 10:27:28 -0400
Message-ID: <CA+1UsbQj5LfXhbmVtjc3vdOTZBMioDsBOVWcVbor-sQfU3pwEg@mail.gmail.com>
To: whatwg@whatwg.org

Recently I was talking with a web developer who told me one of his biggest
problems is dealing with "bad ads" that play audio/video immediately.

I was wondering if we could address this use case with some changes like:

1) Change sandboxed iframes to disable audio/video playing without user
interaction by default.
2) Add a new sandbox token "allow-auto-play" that permits playing without
user interaction.

Ideally this would effect flash running in the iframe as well, but its
unclear to me how feasible that is.  Still, this might be a nice step
towards improving this use case even without flash support.



Received on Friday, 29 May 2015 14:27:58 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 17:00:31 UTC