Play Audio Once

Adds an option to the audio block in Gutenberg-editor to prevent the file from being…

Author:threadi (profile at wordpress.org)
WordPress version required:5.8
WordPress version tested:7.2
Plugin version:3.0.4
Added to WordPress repository:02-03-2022
Last updated:21-11-2026
Rating, %:100
Rated by:2
Plugin URI:
Total downloads:4 405
Active installs:10+
plugin download
Click to start download

Adds the option to prevent an audio file from being played multiple times. You can set the option for the complete website
or restrict the audio files only for specific files added from you in your editor.

In the frontend, the option, if activated, is executed on the audio file if the visitor’s browser has JavaScript activated. That an audio file was played is saved in the browser session – not as a cookie. The storage takes place at the moment of playback, which means that it is no longer possible to rewind or fast-forward. The user is not offered an option to reset.

Supported editors

The plugin actually supports following editors:

  • Block Editor
  • Multiple plugins, which adds audio widget in Elementor

GitHub

The source-code of this plugin is hosted on GitHub.


ChangeLog