Play Audio Once

0

Adds an option to the audio block in Gutenberg-editor to prevent the file from being played multiple times. In the frontend, the option, if activated, is executed on the audio file if t

Version
Last updated
Active installations
WordPress Version
Tested up to
PHP Version
pa_languages
pa_tag
Rating
Total ratings

Description

Adds an option to the audio block in Gutenberg-editor to prevent the file from being played multiple times.

In the frontend, the option, if activated, is executed on the audio file if the visitor’s browser has JavaScript activated. The fact 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.

GitHub

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