WordPress/gutenberg
View on GitHubAudio Block: Autoplay does not happen on first load
Open
#22056 opened on May 3, 2020
Good First Issue[Block] Audio[Status] In Progress[Type] Bug
Description
Description
When the audio block is set to automatically play; it is not automatically playing on the first load. After clicking around to other pages or refreshing a few times, the audio starts to play.
To reproduce
- Create a page with an Audio Block, and set the audio to automatically play. Also set the Preload settings to Auto.
- Load the site fresh and the audio does not autoplay.
- Reload the site a couple of times, and the audio starts to autoplay.
- Clear the cache and load the site again and the audio does not autoplay.
- Repeat step 2 and it starts again.
Expected behavior Audio should automatically play on the site.
Editor version
- WordPress version: current
- Default
Desktop (please complete the following information):
- Tested in Mac OS, using updated version of Chrome
Smartphone (please complete the following information):
- Also appeared on iphone