Play Audio Once
Play Audio Once
Description
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.
Installation
- Upload “play-audio-once” to the “/wp-content/plugins/” directory.
- Activate the plugin through the “Plugins” menu in WordPress.
- Choose the newly added option on any audio-block in your project.
Reviews
Does one thing very well, just as it says on the tin!
By Dan Knauss (dpknauss) on April 26, 2026
This is a an excellent single-use plugin that enhances the audio player block for a special use case: you want to play all the way through a recording one time only per user session when the block is set to autoplay. Autoplay on every page load is an annoying thing to inflict on people, so the relevant use case probably should be yours if you are using autoplay!
View Once Only! Excellent
By rolandksmith on March 5, 2022
Changelog
3.0.4
- Now requires PHP 8.2 or newer
- Set compatibility with WordPress 7.1
- Updated settings lib to 3.0.0
- Enabled DataView for settings, if WordPress 7.0 or newer is used
- Updated dependencies
- Fixed support for “Responsive Addons for Elementor” which was not loaded
- Fixed missing removing of our settings on uninstallation