Audio Controls with Auto-Play and Speed Management

Controls audio playback with speed adjustment and auto-play

Version au 18/04/2025. Voir la dernière version.

Auteur
Raymond Duong
Notes
0 0 0
Version
1.10
Créé
17/04/2025
Mis à jour
18/04/2025
Taille
27,1 ko
Licence
N/A
S'applique à

Key features of this script:

Creates a floating control panel at the bottom right of the screen
Displays audio duration in MM format once loaded
Provides play/pause button and speed adjustment buttons
Automatically saves playback speed to localStorage
Loads saved playback speed from previous sessions
Auto-plays the audio after a 5-second delay
Sets default playback speed to 0.7x if no saved setting exists
Handles dynamically loaded audio elements through a MutationObserver