What we we actually check is whether the play invocation is called within user input callbacks. If site calls `media.play()` within an user input call back, eg. `onclick()`, then we would allow this invocation. So basically it's not specifically check the certain media element. As it's possible to stop propagating `click` event in the DOM tree, it's meaningless to check whether the certain element is being clicked. For example, if site creates a transparent layer covered above the media element, when users think they are clicking the media element, but they actually click on the a transparent element. And site has a ability to stop propagating the `click` event to the media element. In addition, according to the spec [1], user activation is going to be changed to `being active within a certain timeframe`, that means if you click somewhere (even if it's unrelated with the media interface) and then site can call `media.play()` successfully within a certain timeframe, even if it's not called from an user input callback. Therefore, based on these background, I would still keep this bug as `WONTFIX`. [1] https://html.spec.whatwg.org/#transient-activation
Bug 1588138 Comment 11 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
What we actually check is whether the play invocation is called within user input callbacks. If site calls `media.play()` within an user input call back, eg. `onclick()`, then we would allow this invocation. So basically it's not specifically check the certain media element. As it's possible to stop propagating `click` event in the DOM tree, it's meaningless to check whether the certain element is being clicked. For example, if site creates a transparent layer covered above the media element, when users think they are clicking the media element, but they actually click on the a transparent element. And site has a ability to stop propagating the `click` event to the media element. In addition, according to the spec [1], user activation is going to be changed to `being active within a certain timeframe`, that means if you click somewhere (even if it's unrelated with the media interface) and then site can call `media.play()` successfully within a certain timeframe, even if it's not called from an user input callback. Therefore, based on these background, I would still keep this bug as `WONTFIX`. [1] https://html.spec.whatwg.org/#transient-activation