Open dsy4567 opened 1 year ago
建议添加一个模式:默认启用自动播放,如果用户暂停了音乐,则禁用自动播放;如果用户重新播放音乐,则重新启用自动播放。
It is recommended to add a mode: autoplay is enabled by default. If the user pauses music, autoplay is disabled; Re-enable autoplay if the user plays music again.
设置了autoplay="true" 参数也不自动播放啊
应该需要在播放前与页面交互 https://developers.google.com/web/updates/2017/09/autoplay-policy-changes
建议添加一个模式:默认启用自动播放,如果用户暂停了音乐,则禁用自动播放;如果用户重新播放音乐,则重新启用自动播放。
It is recommended to add a mode: autoplay is enabled by default. If the user pauses music, autoplay is disabled; Re-enable autoplay if the user plays music again.