https://github.com/dtapuska/useractivation
Currently there are ways to determine if a user gesture is active:
- Copy and Pasting items to the clipboard
- Requesting play on a media element and checking its status
Some of these actions are destructive to the user (ie. replacing the clipboard text) and while we cannot necessarily prevent them, it is advisable to provide functionality to the platform to discourage their use.
A few examples of use are:
- Video autoplay
- Audio play
Cc @dtapuska
https://github.com/dtapuska/useractivation
Cc @dtapuska