I programmed a website made in react.js, in one part of it I play an .mp3 that before being played requires the user to click on the page to allow sound notifications. The problem is that every time the user enters he necessarily has to click on the bell icon that I placed, otherwise he will not hear sounds. I know that the policy needs to be followed, I do not want to deviate from it, however, is there any way to enable the permissions just once? So that the user does not have to click on something every time he enters my website.
reactjs - How to set audio playback permissions only once on a specific website? - Stack Overflow
与本文相关的文章
评论列表(0)
- 暂无评论