Play Audio Once

Beschreibung

Fügt die Option hinzu, die verhindert, dass eine Audiodatei mehrfach abgespielt wird. Du kannst die Option für die gesamte Website festlegen oder die Audiodateien nur für bestimmte, von dir in deinem Editor hinzugefügte Dateien einschränken.

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.

Unterstützte Editoren:

Das Plugin unterstützt derzeit folgende Editoren:

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

GitHub

Der Quellcode des Plugins wird auf GitHub bereitgestellt.

Installation

  1. Lade „play-audio-once“ in das Verzeichnis „/wp-content/plugins/“ hoch.
  2. Aktiviere das Plugin über das Menü „Plugins“ in WordPress.
  3. Wähle die neu hinzugefügte Option an einen beliebigen Audioblock in deinem Projekt.

Rezensionen

26. April 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!
5. März 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!
Alle 2 Rezensionen lesen

Mitwirkende und Entwickler

„Play Audio Once“ ist Open-Source-Software. Folgende Menschen haben an diesem Plugin mitgewirkt:

Mitwirkende

„Play Audio Once“ wurde in 3 Sprachen übersetzt. Danke an die Übersetzer für ihre Mitwirkung.

Übersetze „Play Audio Once“ in deine Sprache.

Interessiert an der Entwicklung?

Durchstöbere den Code, sieh dir das SVN-Repository an oder abonniere das Entwicklungsprotokoll per RSS.

Änderungsprotokoll

3.0.3

  • Updated dependencies

ältere Änderungen