Play Audio Once

Περιγραφή

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.

Εγκατάσταση

  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.

Κριτικές

5 Μαρτίου 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!
Ανάγνωση 1 κριτικής

Συνεισφέροντες & Προγραμματιστές

“Play Audio Once” είναι λογισμικό ανοιχτού κώδικα. Οι παρακάτω έχουν συνεισφέρει στη δημιουργία του.

Συντελεστές

Το “Play Audio Once” έχει μεταφραστεί σε 2 γλώσσες. Ευχαριστούμε τους μεταφραστές για τις συνεισφορές τους.

Μεταφράστε το “Play Audio Once” στην γλώσσα σας.

Ενδιαφέρεστε για την ανάπτυξη;

Περιηγηθείτε στον κώδικα, ανατρέξτε στο αποθετήριο SVN ή εγγραφείτε στο αρχείο καταγραφής αλλαγών ανάπτυξης μέσω RSS .

Σύνοψη αλλαγών

1.0.0

  • Initial commit

1.0.1

  • Updated dependencies

1.0.2

  • Updated compatibility-flag for WordPress 6.0

1.0.3

  • Updated compatibility-flag for WordPress 6.0.1
  • Added build-system in repository

1.1.0

  • Added translations for german (formal), spanisch and italian
  • Fixed setting of default value for our plugin-option
  • Updated compatibility-flag for WordPress 6.2
  • Updated dependencies
  • Cleanup repository

1.1.1

  • Optimized translation-handling during plugin-build
  • Compatible with WordPress Coding Standards
  • Updated compatibility-flag for WordPress 6.3
  • Updated dependencies

1.1.2

  • Updated compatibility-flag for WordPress 6.4
  • Updated dependencies
  • Compatible with WordPress Coding Standards 3.0

1.1.3

  • Removed language files from release
  • Cleaned js-files
  • Updated dependencies (security fixes in them)

1.1.4

  • Updated compatibility-flag for WordPress 6.5
  • Updated dependencies (security fixes in them)