didn't find a way to enable by default the sound in an AMP Story. Is it possible ? Thanks
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
No, it is not possible to enable audio by default. Browsers often explicitly blacklist this behavior and only allow audio to be enabled after a user gesture, e.g:
- https://developers.google.com/web/updates/2017/09/autoplay-policy-changes
- https://webkit.org/blog/7734/auto-play-policy-changes-for-macos/
The global muted state of an amp-story
starts off muted; users must always unmute the story for audio to play out.