Play Audio Once

Lýsing

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. 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.

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.

Uppsetning

  1. Upload „play-audio-once“ to the „/wp-content/plugins/“ directory.
  2. Activate the plugin through the „Plugins“ menu in WordPress.
  3. Choose the newly added option on any audio-block in your project.

Umsagnir

5. mars, 2022
I needed a way to play an mp3 clip for a student who would then answer one or more questions. It was very important that the clip could only be played once to prevent the student from playing the clip over and over again before answering the questions. This plugin does exactly that. It’s incredibly easy to implement and has been „bullet proof“. Thanks and thanks again!
Skoða 1 umsögn

Þátttakendur & höfundar

“Play Audio Once&#8221 er opinn hugbúnaður. Eftirfarandi aðilar hafa lagt sitt af mörkum við smíði þessarar viðbótar.

Höfundar

“Play Audio Once” has been translated into 3 locales. Thank you to the translators for their contributions.

Translate “Play Audio Once” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Breytingarsaga

3.0.0

  • Added setting for enable play audio once on frontend for all audio files
  • Added hook documentation
  • Optimized class loader
  • Optimized some code spellings

older changes