admin管理员组文章数量:1390749
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.
本文标签: reactjsHow to set audio playback permissions only once on a specific websiteStack Overflow
版权声明:本文标题:reactjs - How to set audio playback permissions only once on a specific website? - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744649606a2617605.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论