Re: [screen-wake-lock] Require transient activation (#351)

To make this change in Chromium we should do analysis of the compatibility impact and announce a deprecation.

It looks like requiring transient activation [is not a normative requirement](https://html.spec.whatwg.org/multipage/media.html#allowed-to-play) for the `<video>` tag. I am not familiar with which browsers enforce this requirement. One data point is that [NoSleep.js](https://github.com/richtr/NoSleep.js) recommends wrapping the call to their library in an input handler. I assume that is because it falls back to using a `<video>` element and some browsers require user activation to play a video (or to take a wake lock while playing video).

-- 
GitHub Notification of comment by reillyeon
Please view or discuss this issue at https://github.com/w3c/screen-wake-lock/pull/351#issuecomment-1261528236 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 28 September 2022 22:30:04 UTC